FS#47688 - [primus] nvidia 361.16-1 Breaks primus
Attached to Project:
Community Packages
Opened by Nic (xenos) - Sunday, 10 January 2016, 07:58 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Saturday, 16 January 2016, 09:16 GMT
Opened by Nic (xenos) - Sunday, 10 January 2016, 07:58 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Saturday, 16 January 2016, 09:16 GMT
|
Details
Description: After upgrading to nvidia-361.16-1 /
nvidia-utils-361.16-1 / lib32-nvidia-utils-361.16-1 using
primus to run glxgears or glxgears64 produces the following
error:
primus: fatal: failed to load any of the libraries: /usr/lib/nvidia/libGL.so.1:/usr/lib32/nvidia/libGL.so.1 libGLX.so.0: cannot open shared object file: No such file or directory I have checked the system and libGLX.so.0 is present. Downgrading to 358.16-3 fixes the error. Steps to reproduce: Upgrade to nvidia-361.16-1 in testing, reboot and run primusrun glxgears. Running optirun glxgears works however. |
This task depends upon
Closed by Sven-Hendrik Haase (Svenstaro)
Saturday, 16 January 2016, 09:16 GMT
Reason for closing: Fixed
Saturday, 16 January 2016, 09:16 GMT
Reason for closing: Fixed
Edit, nevermind, I see we're talking bumblebee.
export LD_LIBRARY_PATH=/usr/lib/nvidia
Then it works fine.
I guess the packager simply needs to edit the default "primusrun" bash script, and uncomment and change the following line:
# PRIMUS_libGL=${PRIMUS_libGL}:/usr/lib/nvidia-current:/usr/lib32/nvidia-current
to
PRIMUS_libGL=${PRIMUS_libGL}:/usr/lib/nvidia:/usr/lib32/nvidia
EDIT: You've put lib-32 instead of lib32 in the path.