You are not logged in.

#1 2022-05-01 20:55:15

fading_shades
Member
Registered: 2022-05-01
Posts: 4

Steam bumblebee `failed to load any of the libraries libGL`

I used to play Yu-Gi-Oh! Master Duel on the same machine when I had Windows installed on it, but when I switched to Linux, it's not working anymore.

I'm using a laptop with the Optimus technology. optirun glxgears works fine with no errors (I use the nvidia-390xx-dkms driver).

❯ optirun glxinfo | grep "OpenGL renderer"
OpenGL renderer string: NVS 5200M/PCIe/SSE2

I even tried to install another game with steam, and it works with the optirun command fine, the game is called Tap Ninja, but it might be a native game to Linux, I'm not sure.

This is the log when I run the game with optirun and then primusrun
https://bpa.st/4WKQ

With optirun it shows this error

primus: fatal: failed to load any of the libraries: /usr/lib/nvidia/libGL.so.1:/usr/lib32/nvidia/libGL.so.1:/usr/lib/libGL.so.1:/usr/lib32/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
/usr/lib/libGL.so.1: cannot open shared object file: No such file or directory
/usr/lib32/libGL.so.1: cannot open shared object file: No such file or directory

However these files do exist in the /usr/lib and /usr/lib32 dirs.

❯ ls /usr/lib/libGL.so* -al
lrwxrwxrwx 1 root root     10 /usr/lib/libGL.so -> libGL.so.1
lrwxrwxrwx 1 root root     14 /usr/lib/libGL.so.1 -> libGL.so.1.7.0
-rwxr-xr-x 1 root root 538448 /usr/lib/libGL.so.1.7.0
❯ ls /usr/lib32/libGL.so* -al
lrwxrwxrwx 1 root root     10 /usr/lib32/libGL.so -> libGL.so.1
lrwxrwxrwx 1 root root     14 /usr/lib32/libGL.so.1 -> libGL.so.1.7.0
-rwxr-xr-x 1 root root 435444 /usr/lib32/libGL.so.1.7.0

I tried the fix mentioned here however it just showed a dark blank window
https://i.imgur.com/1KPaBAp_d.webp?maxwidth=760
And the fix mentions that it works on Gentoo, since the directories specified in the LD_LIBRARY_PATH don't actually exist on my OS.



Mod Edit - Replaced oversized image with link.
CoC - Pasting pictures and code

Last edited by Slithery (2022-05-01 21:15:25)

Offline

Board footer

Powered by FluxBB