Hi!

it took me a good 1-2 hours to solve this problem!

As always it was pure hell on earth until I fixed it, now I regain happyness and I learned some new commands too (maybe I lost some hairs but who cares..).

This is MY way to solve the issue, it helped in MY situation; yours can be a bit different so if it doesn’t solve your problems, try to find some other solutions or leave a comment here..

I’ve coloured the command in blue, the terminal output in teal and the important infos that the terminal throws at you in orange

  • 1st step

run steam in your terminal and check the output, you may have my same problem if it’s something like this:

[user@tgfpcs ~]$ steam
/home/user/.local/share/Steam/steam.sh: line 161: VERSION_ID: unbound variable
/home/user/.local/share/Steam/steam.sh: line 161: VERSION_ID: unbound variable
Running Steam on antergos 64-bit
/home/user/.local/share/Steam/steam.sh: line 161: VERSION_ID: unbound variable
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(1461972496)
libGL error: unable to load driver: radeonsi_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: radeonsi
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast

 

  • 2nd step (optional)

first try to reset steam, to clean all and start from zero (I reset it too to reproduce these errors):

[user@tgfpcs ~]$ steam --reset
/home/user/.local/share/Steam/steam.sh: line 161: VERSION_ID: unbound variable
mv: cannot stat '/home/user/.steam/registry.vdf': No such file or directory
Installing bootstrap /home/user/.local/share/Steam/bootstrap.tar.xz
Reset complete!

 

  • 3rd step

run Steam and verbosely debug the openGL libraries:

[user@tgfpcs ~]$ LIBGL_DEBUG=verbose steam
/home/user/.local/share/Steam/steam.sh: line 161: VERSION_ID: unbound variable
/home/user/.local/share/Steam/steam.sh: line 161: VERSION_ID: unbound variable
Running Steam on antergos 64-bit
/home/user/.local/share/Steam/steam.sh: line 161: VERSION_ID: unbound variable
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(1461972496)
libGL: OpenDriver: trying /usr/lib32/xorg/modules/dri/tls/radeonsi_dri.so
libGL: OpenDriver: trying /usr/lib32/xorg/modules/dri/radeonsi_dri.so
libGL: dlopen /usr/lib32/xorg/modules/dri/radeonsi_dri.so failed (/home/user/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /usr/lib32/xorg/modules/dri/radeonsi_dri.so))
libGL error: unable to load driver: radeonsi_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: radeonsi
libGL: OpenDriver: trying /usr/lib32/xorg/modules/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib32/xorg/modules/dri/swrast_dri.so
libGL: dlopen /usr/lib32/xorg/modules/dri/swrast_dri.so failed (/home/user/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /usr/lib32/xorg/modules/dri/swrast_dri.so))
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast

 

  • 4rt step

rename the libraries that create problems:

[user@tgfpcs ~]$ cd /home/user/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/

[user@tgfpcs i386-linux-gnu]$ ls
libfreetype.so.6 libX11.so.6 libxcb.so.1 libXext.so.6 libXrandr.so.2
libfreetype.so.6.8.0 libX11.so.6.3.0 libxcb.so.1.1.0 libXext.so.6.4.0 libXrandr.so.2.2.0
libstdc++.so.6 libXau.so.6 libXdmcp.so.6 libXinerama.so.1 libXrender.so.1
libstdc++.so.6.0.18 libXau.so.6.0.0 libXdmcp.so.6.0.0 libXinerama.so.1.0.0 libXrender.so.1.3.0
[user@tgfpcs i386-linux-gnu]$ mv libstdc++.so.6 libstdc++.so.6.bak

 

  • 5th step

Re-do the same operation:

[user@tgfpcs i386-linux-gnu]$ LIBGL_DEBUG=verbose steam

Steam will update itself, loading all libraries but will end up creating issues with libstdc++

run the same 4rt step command, if you ls the directory you will find way more lib files:

[user@tgfpcs i386-linux-gnu]$ cd /home/user/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/
[user@tgfpcs i386-linux-gnu]$ mv libstdc++.so.6 libstdc++.so.6.bak

 

  • 6th step

again by running steam with debug you will encounter another problem:

[user@tgfpcs i386-linux-gnu]$ LIBGL_DEBUG=verbose steam
/home/user/.local/share/Steam/steam.sh: line 161: VERSION_ID: unbound variable
/home/user/.local/share/Steam/steam.sh: line 161: VERSION_ID: unbound variable
Running Steam on antergos 64-bit
/home/user/.local/share/Steam/steam.sh: line 161: VERSION_ID: unbound variable
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(1461972496)
libGL: OpenDriver: trying /usr/lib32/xorg/modules/dri/tls/radeonsi_dri.so
libGL: OpenDriver: trying /usr/lib32/xorg/modules/dri/radeonsi_dri.so
libGL: dlopen /usr/lib32/xorg/modules/dri/radeonsi_dri.so failed (/usr/lib32/libgcrypt.so.20: symbol gpgrt_lock_lock, version GPG_ERROR_1.0 not defined in file libgpg-error.so.0 with link time reference)
libGL error: unable to load driver: radeonsi_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: radeonsi
libGL: OpenDriver: trying /usr/lib32/xorg/modules/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib32/xorg/modules/dri/swrast_dri.so
libGL: dlopen /usr/lib32/xorg/modules/dri/swrast_dri.so failed (/usr/lib32/libgcrypt.so.20: symbol gpgrt_lock_lock, version GPG_ERROR_1.0 not defined in file libgpg-error.so.0 with link time reference)
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast

 

  • 7th step

I didn’t found this command so easily but anyway there it is.
Basically steam comes with their own libgpg-error.so that don’t work well, you need to find them and remove them (also renaming may work):

[user@tgfpcs ~]$ find ~/.steam/root/ -name "libgpg-error.so*"
/home/user/.steam/root/ubuntu12_32/steam-runtime/amd64/lib/x86_64-linux-gnu/libgpg-error.so.0
/home/user/.steam/root/ubuntu12_32/steam-runtime/amd64/lib/x86_64-linux-gnu/libgpg-error.so.0.8.0
/home/user/.steam/root/ubuntu12_32/steam-runtime/i386/lib/i386-linux-gnu/libgpg-error.so.0
/home/user/.steam/root/ubuntu12_32/steam-runtime/i386/lib/i386-linux-gnu/libgpg-error.so.0.8.0

[user@tgfpcs ~]$ find ~/.steam/root/ -name "libgpg-error.so*" -print -delete

(rerunning the command will give you no output, meaning that the files are gone)

 

  • 8th and last step

that’s it!!! now you can run steam!!

  • PS. you may want to delete the same libstdc++ libs, but 64bit version, if some games are not launching! (it happened with Mini Metro to me)

sources:

 

drop a like or comment if you liked this post, other are coming soon!!

 

TA SALÜDE!

Advertisements