FS#48123 - [bumblebee] libs are present in mesa-libgl
Attached to Project:
Community Packages
Opened by Tomasz Przybył (FadeMind) - Wednesday, 10 February 2016, 19:30 GMT
Last edited by Felix Yan (felixonmars) - Thursday, 11 February 2016, 14:07 GMT
Opened by Tomasz Przybył (FadeMind) - Wednesday, 10 February 2016, 19:30 GMT
Last edited by Felix Yan (felixonmars) - Thursday, 11 February 2016, 14:07 GMT
|
Details
nvidia-utils-361.28-2 need libglvnd 0.0.0.20160210-1 for
working but libglvnd conflict with mesa-libgl.
NVIDIA Optimus users have installed mesa-libgl for providing libGL libs for Intel GPU: [tomasz@arch ~]$ export LANG=C [tomasz@arch ~]$ yaourt libglvnd 1 extra/libglvnd 0.0.0.20160210-1 The GL Vendor-Neutral Dispatch library 2 multilib/lib32-libglvnd 0.0.0.20160210-1 The GL Vendor-Neutral Dispatch library ==> Enter n° of packages to be installed (ex: 1 2 3 or 1-3) ==> -------------------------------------------------------- ==> 1-2 resolving dependencies... looking for conflicting packages... Packages (2) lib32-libglvnd-0.0.0.20160210-1 libglvnd-0.0.0.20160210-1 Total Installed Size: 2.83 MiB :: Proceed with installation? [Y/n] (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) libglvnd: /usr/lib/libGL.so exists in filesystem libglvnd: /usr/lib/libGL.so.1 exists in filesystem libglvnd: /usr/lib/libGLESv1_CM.so exists in filesystem libglvnd: /usr/lib/libGLESv1_CM.so.1 exists in filesystem libglvnd: /usr/lib/libGLESv2.so exists in filesystem libglvnd: /usr/lib/libGLESv2.so.2 exists in filesystem libglvnd: /usr/lib/libGLESv2.so.2.0.0 exists in filesystem lib32-libglvnd: /usr/lib32/libGL.so exists in filesystem lib32-libglvnd: /usr/lib32/libGL.so.1 exists in filesystem lib32-libglvnd: /usr/lib32/libGLESv1_CM.so exists in filesystem lib32-libglvnd: /usr/lib32/libGLESv1_CM.so.1 exists in filesystem lib32-libglvnd: /usr/lib32/libGLESv2.so exists in filesystem lib32-libglvnd: /usr/lib32/libGLESv2.so.2 exists in filesystem lib32-libglvnd: /usr/lib32/libGLESv2.so.2.0.0 exists in filesystem Errors occurred, no packages were upgraded. Downgrade nvidia-utils temporary solve issue and NVIDIA gpu working: http://i.imgur.com/8HNiDih.png |
This task depends upon
Closed by Felix Yan (felixonmars)
Thursday, 11 February 2016, 14:07 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed with latest {lib32-,}nvidia-utils, {lib32-,}libglvnd
Thursday, 11 February 2016, 14:07 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed with latest {lib32-,}nvidia-utils, {lib32-,}libglvnd
$ export LANG=C
$ optirun nvidia-settings -c :8
ERROR: libGLdispatch.so.0: cannot open shared object file: No such file or directory
libGLdispatch.so.0: cannot open shared object file: No such file or directory
libGLdispatch.so.0: cannot open shared object file: No such file or directory
libGLdispatch.so.0: cannot open shared object file: No such file or directory
ERROR: A problem occured when loading the GUI library. Please check your installation and library path. You may need to specify this
library when calling nvidia-settings. Please run `nvidia-settings --help` for usage information.
$ optirun glxinfo|grep Open
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
X Error of failed request: GLXBadContext
Major opcode of failed request: 154 (GLX)
Minor opcode of failed request: 6 (X_GLXIsDirect)
Serial number of failed request: 30
Current serial number in output stream: 29
primus: fatal: failed to load any of the libraries: /usr/lib/nvidia/libGL.so.1:/usr/lib32/nvidia/libGL.so.1
/usr/lib/nvidia/libGL.so.1: cannot open shared object file: No such file or directory
/usr/lib32/nvidia/libGL.so.1: cannot open shared object file: No such file or directory
[tomasz@arch ~]$
libGLdispatch.so.0 is not present at all in nvidia-utils rev 2
[tomasz@arch ~]$ pacman -Ql nvidia-utils |grep libGL
nvidia-utils /usr/lib/libGLESv1_CM_nvidia.so
nvidia-utils /usr/lib/libGLESv1_CM_nvidia.so.1
nvidia-utils /usr/lib/libGLESv1_CM_nvidia.so.361.28
nvidia-utils /usr/lib/libGLESv2_nvidia.so
nvidia-utils /usr/lib/libGLESv2_nvidia.so.2
nvidia-utils /usr/lib/libGLESv2_nvidia.so.361.28
nvidia-utils /usr/lib/libGLX_indirect.so.0
nvidia-utils /usr/lib/libGLX_nvidia.so
nvidia-utils /usr/lib/libGLX_nvidia.so.0
nvidia-utils /usr/lib/libGLX_nvidia.so.361.28
[tomasz@arch ~]$ primusrun nvidia-settings -c :8
ERROR: libGLdispatch.so.0: cannot open shared object file: No such file or directory
libGLdispatch.so.0: cannot open shared object file: No such file or directory
libGLdispatch.so.0: cannot open shared object file: No such file or directory
libGLdispatch.so.0: cannot open shared object file: No such file or directory
ERROR: A problem occured when loading the GUI library. Please check your installation and library path. You may need to specify this
library when calling nvidia-settings. Please run `nvidia-settings --help` for usage information.
[tomasz@arch ~]$ pacman -Ql nvidia-utils |grep libGLdispatch.so.0
[tomasz@arch ~]$
and in this commit all is clear:
https://projects.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/nvidia-utils&id=1b78b323a62edaf1a033b9a7255b793dce0132bf
nvidia for working need libGLdispatch.so.0
rev 2 removed them (with other openGL libs)
[wildhoney@falcon ~]$ optirun glxgears
primus: fatal: failed to load any of the libraries: /usr/lib/nvidia/libGL.so.1:/usr/lib32/nvidia/libGL.so.1
/usr/lib/nvidia/libGL.so.1: cannot open shared object file: No such file or directory
/usr/lib32/nvidia/libGL.so.1: cannot open shared object file: No such file or directory
Tomasz, can you confirm that nvidia-settings works normally when primus backend is selected as the default?
NVIDIA Settings launching fine, but with error about missing libGL, so nope.
In both scenario (primusrun an optirun) is the same.
With nvidia-utils 361.28-1, I can't launch Steam games but glxgears work.
With nvidia-utils 361.28-3, I can't launch anything at all since the nvidia package removed the libs in /usr/lib/nvidia.
nvidia-utils-beta/lib32-nvidia-utils-beta from the AUR works fine though.
[tomasz@arch ~]$ optirun glxgears
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
X Error of failed request: GLXBadContext
Major opcode of failed request: 154 (GLX)
Minor opcode of failed request: 6 (X_GLXIsDirect)
Serial number of failed request: 30
Current serial number in output stream: 29
[tomasz@arch ~]$
Things I tried:
- primusrun / optirun gxlgears
- primusrun / optirun glxspheres64
- primusrun / optirun nvidia-settings
Edit:
Tried playing some games: Shadow of Mordor, Killing Floor, Fisftul of Frags. Only shadow of mordor works.
32bit version does not working.
I confirm:
[tomasz@arch ~]$ optirun glxinfo32 |grep OpenGL
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
X Error of failed request: GLXBadContext
Major opcode of failed request: 154 (GLX)
Minor opcode of failed request: 6 (X_GLXIsDirect)
Serial number of failed request: 30
Current serial number in output stream: 29
[tomasz@arch ~]$ optirun glxinfo |grep OpenGL
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GT 630M/PCIe/SSE2
OpenGL core profile version string: 4.5.0 NVIDIA 361.28
OpenGL core profile shading language version string: 4.50 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.5.0 NVIDIA 361.28
OpenGL shading language version string: 4.50 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL extensions:
[tomasz@arch ~]$ optirun glxinfo32 |grep OpenGL
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GT 630M/PCIe/SSE2
OpenGL core profile version string: 4.4.0 NVIDIA 361.28
OpenGL core profile shading language version string: 4.40 NVIDIA via Cg compiler
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.5.0 NVIDIA 361.28
OpenGL shading language version string: 4.50 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL extensions:
[tomasz@arch ~]$
lib32-libglvnd: /usr/lib32/libGL.so already present in filesystem
lib32-libglvnd: /usr/lib32/libGL.so.1 already present in filesystem
lib32-libglvnd: /usr/lib32/libGLESv1_CM.so already present in filesystem
lib32-libglvnd: /usr/lib32/libGLESv1_CM.so.1 already present in filesystem
lib32-libglvnd: /usr/lib32/libGLESv2.so already present in filesystem
lib32-libglvnd: /usr/lib32/libGLESv2.so.2 already present in filesystem
lib32-libglvnd: /usr/lib32/libGLESv2.so.2.0.0 already present in filesystem
http://i.imgur.com/k0FVjCG.png