You are not logged in.
Pages: 1
So I was getting the dreaded unable to load driver error that those of us running steam on open source ati drivers are all familiar with by now. However, I had already cleaned out the old libraries that cause problems, so I ran it with LIBGL_DEBUG=verbose to see if I could figure out the problem:
LIBGL_DEBUG=verbose steam
Running Steam on arch rolling 64-bit
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(1426106357_client)
libGL: OpenDriver: trying /usr/lib64/dri/tls/r600_dri.so
libGL: OpenDriver: trying /usr/lib64/dri/r600_dri.so
libGL: dlopen /usr/lib64/dri/r600_dri.so failed (/usr/lib64/dri/r600_dri.so: wrong ELF class: ELFCLASS64)
libGL: OpenDriver: trying /usr/lib32/dri/tls/r600_dri.so
libGL: OpenDriver: trying /usr/lib32/dri/r600_dri.so
libGL: dlopen /usr/lib32/dri/r600_dri.so failed (/usr/lib32/dri/r600_dri.so: cannot open shared object file: No such file or directory)
libGL error: unable to load driver: r600_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: r600
libGL: OpenDriver: trying /usr/lib64/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib64/dri/swrast_dri.so
libGL: dlopen /usr/lib64/dri/swrast_dri.so failed (/usr/lib64/dri/swrast_dri.so: cannot open shared object file: No such file or directory)
libGL: OpenDriver: trying /usr/lib32/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib32/dri/swrast_dri.so
libGL: dlopen /usr/lib32/dri/swrast_dri.so failed (/usr/lib32/dri/swrast_dri.so: cannot open shared object file: No such file or directory)
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrastThat's strange... it is trying to load /usr/lib32/dri/r600_dri.so but lib32-mesa installs it to /usr/lib32/xorg/modules/dri/r600_dri.so
Fine, so I
sudo ln -s /usr/lib32/xorg/modules/dri /usr/lib32/driand now it works.
Anyway, I just wanted to post this in case anyone else sees a similar issue. If anybody has a clue why libGL is looking for my driver in the wrong place, I'd love to know.
Offline
Probably you override default path with LIBGL_DRIVERS_PATH , you can check with 'env | grep LIBGL'
Last edited by lordheavy (2015-03-15 08:06:26)
Offline
Probably you override default path with LIBGL_DRIVERS_PATH , you can check with 'env | grep LIBGL'
Indeed that is the case, and I was able to track it down to this line in /etc/profile:
export LIBGL_DRIVERS_PATH='/usr/lib64/dri:/usr/lib32/dri'... but now I'm even more curious as to how that got there.
Offline
Pages: 1