Recently I tried to Game, however two issues have been getting in my way.
One was the Steam libraries that has been documented elsewhere. The second problem I haven’t been able to overcome. It seems to be an issue with nvidia-utils/nvidia drivers.
System: MSI GS60 Ghost Pro 3K
Graphics: Nvidia 870M with Bumblebee / Optimus and proprietary nvidia drivers.
Games: Any steam game
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
Optirun complains about other things, but it is not that helpful for debugging.
Ok, so lets checkout that directory:
> tree /usr/lib/nvidia/ | sift libGL Wed 15 Jun 2016 09:13:29 PM CDT ├── libGLESv1_CM.so.1.0.0 ├── libGLESv2.so.2.0.0 ├── libGL.so.1.0.0
Ok, so this next part is aweful since I just wanted to play.
> sudo cp /usr/lib/nvidia/libGL.so.1.0.0 /usr/lib/nvidia/libGL.so.1
And it works! Ok, so how can I make myself not cringe so much at the fix? Should I have linked it instead of copying it?