Bug#876033: primusrun doesn't find libGL.so.1

Bernd Vaske bernd_vaske at gmx.net
Tue Sep 19 23:10:56 UTC 2017


Hello,

the problem comes from the transition of mesa to glvnd.
A workaround is to link the missing libs from

/usr/lib/x86_64-linux-gnu/libGL.so.1 to 
/usr/lib/x86_64-linux-gnu/nvidia/libGL.so.1
and
/usr/lib/i386-linux-gnu/libGL.so.1 to 
/usr/lib/i386-linux-gnu/nvidia/libGL.so.1

That will result in primusrun starting again but most likely resulting 
in a black window for the application which is started.

To get primusrun to work properly you have to start it with 
__GLVND_DISALLOW_PATCHING=1

example:

__GLVND_DISALLOW_PATCHING=1 primusrun glxgears

Best regards



More information about the pkg-nvidia-devel mailing list