FS#39219 - [nvidia-libgl] conflict with mesa
Attached to Project:
Arch Linux
Opened by Olivier Langlois (lano1106) - Saturday, 08 March 2014, 04:57 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Saturday, 08 March 2014, 18:53 GMT
Opened by Olivier Langlois (lano1106) - Saturday, 08 March 2014, 04:57 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Saturday, 08 March 2014, 18:53 GMT
|
Details
Description:
Those files are present in mesa: nvidia-libgl /usr/lib/libEGL.so nvidia-libgl /usr/lib/libEGL.so.1 nvidia-libgl /usr/lib/libGLESv1_CM.so nvidia-libgl /usr/lib/libGLESv1_CM.so.1 nvidia-libgl /usr/lib/libGLESv2.so nvidia-libgl /usr/lib/libGLESv2.so.2 Also one or more of these files are dependent of libnvidia-glsi.so.334.21 which is missing. If you force the installation of this package to overwrite mesa files, a bunch of applications stop working because of the missing dependency. firefox being one of them Additional info: * package version: 334.21-2 Steps to reproduce: |
This task depends upon
Closed by Sven-Hendrik Haase (Svenstaro)
Saturday, 08 March 2014, 18:53 GMT
Reason for closing: Fixed
Saturday, 08 March 2014, 18:53 GMT
Reason for closing: Fixed
:: Synchronizing package databases...
core is up to date
extra 1455.0 KiB 3.91M/s 00:00 [########################################################################################] 100%
community 2.1 MiB 5.05M/s 00:00 [########################################################################################] 100%
multilib is up to date
Foreign packages: - 14 / 14
==> Package upgrade only (new release):
extra/nvidia-utils 334.21-1 1 -> 2
extra/nvidia-libgl 334.21-1 1 -> 2
extra/opencl-nvidia 334.21-1 1 -> 2
==> Continue upgrade ? [Y/n]
==> [V]iew package detail [M]anually select packages
==> --------------------------------------------------
==>
:: Starting full system upgrade...
warning: webkitgtk2: ignoring package upgrade (1.10.2-8 => 2.2.5-2)
resolving dependencies...
looking for inter-conflicts...
Packages (3): nvidia-libgl-334.21-2 nvidia-utils-334.21-2 opencl-nvidia-334.21-2
Total Download Size: 25.08 MiB
Total Installed Size: 120.19 MiB
Net Upgrade Size: 1.00 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages ...
nvidia-utils-334.21-2-x86_64 15.1 MiB 7.39M/s 00:02 [########################################################################################] 100%
nvidia-libgl-334.21-2-x86_64 1396.0 B 0.00B/s 00:00 [########################################################################################] 100%
opencl-nvidia-334.21-2-x86_64 9.9 MiB 6.16M/s 00:02 [########################################################################################] 100%
(3/3) checking keys in keyring [########################################################################################] 100%
(3/3) checking package integrity [########################################################################################] 100%
(3/3) loading package files [########################################################################################] 100%
(3/3) checking for file conflicts [########################################################################################] 100%
error: failed to commit transaction (conflicting files)
nvidia-libgl: /usr/lib/libEGL.so exists in filesystem
nvidia-libgl: /usr/lib/libEGL.so.1 exists in filesystem
nvidia-libgl: /usr/lib/libGLESv1_CM.so exists in filesystem
nvidia-libgl: /usr/lib/libGLESv1_CM.so.1 exists in filesystem
nvidia-libgl: /usr/lib/libGLESv2.so exists in filesystem
nvidia-libgl: /usr/lib/libGLESv2.so.2 exists in filesystem
Errors occurred, no packages were upgraded.
~ $
Kind regards.
Andrzej
# pacman -U /var/cache/pacman/pkg/nvidia-libgl-334.21-1
will revert back.
- in mesa-libgl: add 'libegl' 'libgles' provides/conflicts/replaces
- in nvidia-libgl: add 'libegl' 'libgles' provides/conflicts/replaces
EDIT
nvidia-libgl /usr/lib/libGLESv1_CM.so.1
nvidia-libgl /usr/lib/libGLESv1_CM.so.334.21
nvidia-libgl /usr/lib/libGLESv2.so.2
nvidia-libgl /usr/lib/libGLESv2.so.334.21
But the broken links in nvidia-libgl is just weird, you can see the link target is actually in the package, either through `pacman -Ql nvidia-libgl`, or `bsdtar -tf nvidia-libgl-334.21-2-x86_64.pkg.tar.xz`, but it is not installed to the disk.
applications didn’t find libnvidia-glsi.so anymore after i tried it.
If you got time, maybe try my patch to the PKGBUILD, and install the built packages together with mesa 10.1.0-2.
Attaching a revised patch to fix this too.
Uploaded here, if you're interested: http://pkgbuild.com/~fyan/staging/
All my applications work sofar. I'm not able to run weston with GLES2, though.
"[16:09:57.016] Failed to load module: libGLESv2.so.2: cannot open shared object file: No such file or directory"
This worked when I was using the nvidia-beta from AUR. Det has some routines in his *.install to handle the GLES and EGL stuff.
EDIT: Now using the second patch and weston works.
I installed mesa-10.1.0-2 x86_64 from [testing] and packages (x86_64) form Felix link.
System rebooted without errors, and it's look like everything work fine.
==> Package upgrade only (new release):
extra/clutter 1.16.4-1 1 -> 2
extra/nvidia-utils 334.21-1 1 -> 3
extra/nvidia-libgl 334.21-1 1 -> 3
extra/opencl-nvidia 334.21-1 1 -> 3
But still:
error: failed to commit transaction (conflicting files)
nvidia-libgl: /usr/lib/libEGL.so exists in filesystem
nvidia-libgl: /usr/lib/libEGL.so.1 exists in filesystem
nvidia-libgl: /usr/lib/libGLESv1_CM.so exists in filesystem
nvidia-libgl: /usr/lib/libGLESv1_CM.so.1 exists in filesystem
nvidia-libgl: /usr/lib/libGLESv2.so exists in filesystem
nvidia-libgl: /usr/lib/libGLESv2.so.2 exists in filesystem
resolving dependencies...
looking for inter-conflicts...
Packages (2): nvidia-libgl-334.21-3 nvidia-utils-334.21-3
Total Download Size: 21.48 MiB
Total Installed Size: 119.33 MiB
Net Upgrade Size: 39.84 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages ...
nvidia-utils-334.21-3-x86_64 21.5 MiB 271K/s 01:21 [#######################################################] 99%
nvidia-libgl-334.21-3-x86_64 21.5 MiB 270K/s 01:22 [#######################################################] 100%
(2/2) checking keys in keyring [#######################################################] 100%
(2/2) checking package integrity [#######################################################] 100%
(2/2) loading package files [#######################################################] 100%
(2/2) checking for file conflicts [#######################################################] 100%
error: failed to commit transaction (conflicting files)
nvidia-libgl: /usr/lib/libEGL.so exists in filesystem
nvidia-libgl: /usr/lib/libEGL.so.1 exists in filesystem
nvidia-libgl: /usr/lib/libGLESv1_CM.so exists in filesystem
nvidia-libgl: /usr/lib/libGLESv1_CM.so.1 exists in filesystem
nvidia-libgl: /usr/lib/libGLESv2.so exists in filesystem
nvidia-libgl: /usr/lib/libGLESv2.so.2 exists in filesystem
Errors occurred, no packages were upgrade
http://144.76.100.20/svens_stuff/mesa-10.0.3-2-x86_64.pkg.tar.xz
http://144.76.100.20/svens_stuff/mesa-libgl-10.0.3-2-x86_64.pkg.tar.xz
Thanks
[ 10.172] (II) NVIDIA(0): Display (Samsung SyncMaster (DFP-0)) does not support NVIDIA
[ 10.172] (II) NVIDIA(0): 3D Vision stereo.
XPCOMGlueLoad error for file /usr/lib/firefox/libxul.so:
libnvidia-glsi.so.334.21: cannot open shared object file: No such file or directory
If I downgrade to nvidia-libgl-334.21-1 I get:
XPCOMGlueLoad error for file /usr/lib/firefox/libxul.so:
libEGL.so.1: cannot open shared object file: No such file or directory
EDIT: Nevermind, I had been putting off my full system update due to file conflicts, the latest versions of nvidia-utils and nvidia-libgl fixed it. I can get 3D working great with your mesa package and the latest nvidia-libgl.
$ wget http://144.76.100.20/svens_stuff/mesa-10.0.3-2-x86_64.pkg.tar.xz
# pacman -U mesa-10.0.3-2-x86_64.pkg.tar.xz
# pacman -Su
After rebooting my system, I was able to run 3D software with no problem.