You are not logged in.

#1 2015-02-17 17:58:47

altiris
Member
Registered: 2014-12-23
Posts: 50

[SOLVED] Steam won't open, libGL errors

I made a post about this yesterday but I was using Antergos. I am on Arch linux now (was easier than I thought big_smile), kernel 3.18.6.1-ARCH with xf86-video-ati and everything has been fully updated. Ive installed Steam from the multilib repository, and upon launching steam in a terminal I get these errors

Running Steam on arch rolling 64-bit
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(0_client)
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

What can I do to fix this? Am I missing something?

Thanks

Last edited by altiris (2015-02-18 13:42:05)

Offline

#2 2015-02-18 01:22:51

Tempel
Member
Registered: 2010-01-19
Posts: 10

Re: [SOLVED] Steam won't open, libGL errors

I have the same issue.  I tried running "LIBGL_DEBUG=verbose steam" (recommended in plenty of other places) and got

Running Steam on arch  64-bit
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(1422054110)
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/steam/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' 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/steam/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' 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

From this, it looks like Steam includes libstdc++ (the C++ standard library), but has a version that is incompatible with the radeonsi driver.  I've learned that much, but I don't yet know how to fix it.

Edit:  And I'll add that the package delivering radeonsi_dri.so (from lib32-mesa) hasn't updated in over a week, so the change must have happened within Steam.

Another edit: My desktop with a radeonsi card has this problem.  My HTPC with Intel graphics does not, and Steam launches fine on it.

Last edited by Tempel (2015-02-18 02:48:14)

Offline

#3 2015-02-18 03:35:14

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,330
Website

Re: [SOLVED] Steam won't open, libGL errors

Moving to multimedia + games per OP request.

EDIT: note I have no experience with steam, but have you been checking the wiki, specificially these two sections:
https://wiki.archlinux.org/index.php/St … ime_issues
https://wiki.archlinux.org/index.php/St … libGL.so.1

Last edited by Trilby (2015-02-18 11:53:25)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#4 2015-02-18 05:51:59

altiris
Member
Registered: 2014-12-23
Posts: 50

Re: [SOLVED] Steam won't open, libGL errors

Trilby wrote:

Moving to multimedia + games per OP request.

Thank you.

So upon googling I've come to the conclusion that the the cause for these errors (I believe someone else said it here too) is because steam ships and uses older libraries. I think if I go through and remove these libraries that would solve the problem, but there are so many I have no clue where to start. Instead I will be looking st doing this, https://wiki.archlinux.org/index.php/St … ve_runtime or trying out steam-native which I think does the same thing as I tried installing it and it just took forever, constantly installing more libraries.

Offline

#5 2015-02-18 13:38:48

altiris
Member
Registered: 2014-12-23
Posts: 50

Re: [SOLVED] Steam won't open, libGL errors

Alright so with the help from a user comment, http://www.reddit.com/r/linux_gaming/co … rom_steam/ I located the files

libstdc++

and

libgcc_s

and removed them. After that I was able to load up steam. Now because I tried a crapload of things I don't know if doing this will really solve the problem, it did for me, so hopefully it will for others. Please report back!

Remove libstdc++

rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/installed/libstdc++6-4.6-pic_4.6.3-1ubuntu5+srt4_amd64 && rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/installed/libstdc++6-4.6-pic_4.6.3-1ubuntu5+srt4_amd64.md5 && rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/installed/libstdc++6_4.8.1-2ubuntu1~12.04+steamrt2+srt1_amd64 && rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/installed/libstdc++6_4.8.1-2ubuntu1~12.04+steamrt2+srt1_amd64.md5 && rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/gcc/x86_64-linux-gnu/4.6/libstdc++_pic.a && rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/gcc/x86_64-linux-gnu/4.6/libstdc++_pic.map && rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libstdc++.so.6 && rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.18 && rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/share/doc/libstdc++6 && rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/share/doc/libstdc++6-4.6-pic && rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/installed/libstdc++6-4.6-pic_4.6.3-1ubuntu5+srt4_i386 && rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/installed/libstdc++6-4.6-pic_4.6.3-1ubuntu5+srt4_i386.md5 && rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/installed/libstdc++6_4.8.1-2ubuntu1~12.04+steamrt2+srt1_i386 && rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/installed/libstdc++6_4.8.1-2ubuntu1~12.04+steamrt2+srt1_i386.md5 && rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/gcc/i686-linux-gnu/4.6/libstdc++_pic.a && rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/gcc/i686-linux-gnu/4.6/libstdc++_pic.map && rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libstdc++.so.6 && rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libstdc++.so.6.0.18 && rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/share/doc/libstdc++6 && rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/share/doc/libstdc++6-4.6-pic && rm ~/.local/share/Steam/ubuntu12_32/steam-runtime.old/i386/usr/share/doc/libstdc++6

Remove libgcc_s

rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/lib/x86_64-linux-gnu/libgcc_s.so.1 && rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/lib/i386-linux-gnu/libgcc_s.so.1

There may be more of these files you have to remove, so try these commands first, then run updatedb command try and locate any of these librarires again. (If you get command not found when running updatedb you need to install the mlocate package)

I also ran

 rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libxcb.so.1

at some point but I dobut that does anything. Steam replaces these files very frequently so I would make sure to save these in a document, or a .sh file so you can just execute them whenever they come back.

HAPPY GAMING!


Edit: heh, something pointing this was out was in wiki https://wiki.archlinux.org/index.php/st … ime_issues I didn't notice it the 3 times or so I looked...

Last edited by altiris (2015-02-20 23:04:06)

Offline

#6 2015-04-02 13:20:49

ouroboros8
Member
Registered: 2013-11-25
Posts: 5

Re: [SOLVED] Steam won't open, libGL errors

*thumbs up* removing those worked for me.

Last edited by ouroboros8 (2015-04-02 13:23:53)

Offline

#7 2015-08-01 08:04:24

Bornbyforce
Member
Registered: 2015-08-01
Posts: 1

Re: [SOLVED] Steam won't open, libGL errors

This also worked for me on Antergos. Thanks.
Also this may help others: On first installation of steam the directory structure is different. Just find the two libs and rename them. When Steam runs for the first time, it updates itself which installs these libs again. As a result it fails again when it tries to restart after update. You have to go back and rename them.

Offline

#8 2015-08-01 11:24:09

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,330
Website

Re: [SOLVED] Steam won't open, libGL errors

It seems this post is destined to be "necrobumped" every two months until it is given a proper burial.

Closed.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB