protonscr

Problem with libstdc++.so.6 bundled with steam-runtime 2014-04-15

steamclosed reviewedruntime
ValveSoftware/steam-for-linux#3273 · opened 2014-04-26 by jsa1983 · updated 2017-02-26 · 39 comments · github
Jjsa1983 2014-04-26 github

Not sure if this belongs here or in https://github.com/ValveSoftware/steam-runtime/issues/13, where I originally posted. Just posting here in case it need to be here as it is a linux specific problem.

After a graphics drivers and llvm update (mesa git 2014.04.26, compiled with llvm 3.5; llvm 3.5 svn 207303) I have experienced the following problem:

libGL error: dlopen /usr/lib/i386-linux-gnu/dri/radeonsi_dri.so failed (/home/jose/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libstdc++.so.6: version GLIBCXX_3.4.18' not found (required by /usr/lib/i386-linux-gnu/libLLVM-3.5.0.so.1)) libGL error: dlopen ${ORIGIN}/dri/radeonsi_dri.so failed (${ORIGIN}/dri/radeonsi_dri.so: no se puede abrir el archivo del objeto compartido: No existe el archivo o el directorio) libGL error: dlopen /usr/lib/dri/radeonsi_dri.so failed (/usr/lib/dri/radeonsi_dri.so: no se puede abrir el archivo del objeto compartido: No existe el archivo o el directorio) libGL error: unable to load driver: radeonsi_dri.so libGL error: driver pointer missing libGL error: failed to load driver: radeonsi libGL error: dlopen /usr/lib/i386-linux-gnu/dri/swrast_dri.so failed (/home/jose/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libstdc++.so.6: versionGLIBCXX_3.4.18' not found (required by /usr/lib/i386-linux-gnu/libLLVM-3.5.0.so.1))
libGL error: dlopen ${ORIGIN}/dri/swrast_dri.so failed (${ORIGIN}/dri/swrast_dri.so: no se puede abrir el archivo del objeto compartido: No existe el archivo o el directorio)
libGL error: dlopen /usr/lib/dri/swrast_dri.so failed (/usr/lib/dri/swrast_dri.so: no se puede abrir el archivo del objeto compartido: No existe el archivo o el directorio)
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
ExecCommandLine: "/home/jose/.local/share/Steam/ubuntu12_32/steam"
System startup time: 8,15 seconds
libGL error: dlopen /usr/lib/i386-linux-gnu/dri/radeonsi_dri.so failed (/home/jose/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libstdc++.so.6: version GLIBCXX_3.4.18' not found (required by /usr/lib/i386-linux-gnu/libLLVM-3.5.0.so.1)) libGL error: dlopen ${ORIGIN}/dri/radeonsi_dri.so failed (${ORIGIN}/dri/radeonsi_dri.so: no se puede abrir el archivo del objeto compartido: No existe el archivo o el directorio) libGL error: dlopen /usr/lib/dri/radeonsi_dri.so failed (/usr/lib/dri/radeonsi_dri.so: no se puede abrir el archivo del objeto compartido: No existe el archivo o el directorio) libGL error: unable to load driver: radeonsi_dri.so libGL error: driver pointer missing libGL error: failed to load driver: radeonsi libGL error: dlopen /usr/lib/i386-linux-gnu/dri/swrast_dri.so failed (/home/jose/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libstdc++.so.6: versionGLIBCXX_3.4.18' not found (required by /usr/lib/i386-linux-gnu/libLLVM-3.5.0.so.1))
libGL error: dlopen ${ORIGIN}/dri/swrast_dri.so failed (${ORIGIN}/dri/swrast_dri.so: no se puede abrir el archivo del objeto compartido: No existe el archivo o el directorio)
libGL error: dlopen /usr/lib/dri/swrast_dri.so failed (/usr/lib/dri/swrast_dri.so: no se puede abrir el archivo del objeto compartido: No existe el archivo o el directorio)
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
Running Steam on ubuntu 14.04 64-bit

However the command strings /home/jose/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libstdc++.so.6 | grep GLIB did show version 3.4.18.

Removing the libstdc++.so.6 libstdc++.so.6.0.16 files solved the issue and now steam starts with direct GPU acceleration.

Jjsa1983 2014-04-26 github

By the way, the system's lib is 4.8.2-19ubuntu1 (libstdc++.so.6.0.19), using Ubuntu 14.04 as indicated in the log.

Jjsa1983 2014-04-26 github

Sorry, my bad... the bundled library only provides the following versions, among which is not 3.4.18:

GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBCXX_3.4.14
GLIBCXX_3.4.15
GLIBCXX_3.4.16

So it seems the bundled lib must be updated.

Jjsa1983 2014-05-04 github

Now it's the same with libgcc_s.so.1 as stated in bug #3280

Running Steam on ubuntu 14.04 64-bit
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(1398287272_client)
libGL error: dlopen /usr/lib/i386-linux-gnu/dri/radeonsi_dri.so failed (/home/jose/.local/share/Steam/ubuntu12_32/steam-runtime/i386/lib/i386-linux-gnu/libgcc_s.so.1: version GCC_4.7.0' not found (required by /usr/lib/i386-linux-gnu/dri/radeonsi_dri.so)) libGL error: dlopen ${ORIGIN}/dri/radeonsi_dri.so failed (${ORIGIN}/dri/radeonsi_dri.so: no se puede abrir el archivo del objeto compartido: No existe el archivo o el directorio) libGL error: dlopen /usr/lib/dri/radeonsi_dri.so failed (/usr/lib/dri/radeonsi_dri.so: no se puede abrir el archivo del objeto compartido: No existe el archivo o el directorio) libGL error: unable to load driver: radeonsi_dri.so libGL error: driver pointer missing libGL error: failed to load driver: radeonsi libGL error: dlopen /usr/lib/i386-linux-gnu/dri/swrast_dri.so failed (/home/jose/.local/share/Steam/ubuntu12_32/steam-runtime/i386/lib/i386-linux-gnu/libgcc_s.so.1: versionGCC_4.7.0' not found (required by /usr/lib/i386-linux-gnu/dri/swrast_dri.so))

libGL error: dlopen ${ORIGIN}/dri/swrast_dri.so failed (${ORIGIN}/dri/swrast_dri.so: no se puede abrir el archivo del objeto compartido: No existe el archivo o el directorio)
libGL error: dlopen /usr/lib/dri/swrast_dri.so failed (/usr/lib/dri/swrast_dri.so: no se puede abrir el archivo del objeto compartido: No existe el archivo o el directorio)
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
Installing breakpad exception handler for appid(steam)/version(1398287272_client)
Installing breakpad exception handler for appid(steam)/version(1398287272_client)
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 78: saw unknown, expected number
[0504/205725:WARNING:proxy_service.cc(958)] PAC support disabled because there is no system implementation
libGL error: dlopen /usr/lib/i386-linux-gnu/dri/radeonsi_dri.so failed (/home/jose/.local/share/Steam/ubuntu12_32/steam-runtime/i386/lib/i386-linux-gnu/libgcc_s.so.1: version GCC_4.7.0' not found (required by /usr/lib/i386-linux-gnu/dri/radeonsi_dri.so)) libGL error: dlopen ${ORIGIN}/dri/radeonsi_dri.so failed (${ORIGIN}/dri/radeonsi_dri.so: no se puede abrir el archivo del objeto compartido: No existe el archivo o el directorio) libGL error: dlopen /usr/lib/dri/radeonsi_dri.so failed (/usr/lib/dri/radeonsi_dri.so: no se puede abrir el archivo del objeto compartido: No existe el archivo o el directorio) libGL error: unable to load driver: radeonsi_dri.so libGL error: driver pointer missing libGL error: failed to load driver: radeonsi libGL error: dlopen /usr/lib/i386-linux-gnu/dri/swrast_dri.so failed (/home/jose/.local/share/Steam/ubuntu12_32/steam-runtime/i386/lib/i386-linux-gnu/libgcc_s.so.1: versionGCC_4.7.0' not found (required by /usr/lib/i386-linux-gnu/dri/swrast_dri.so))
libGL error: dlopen ${ORIGIN}/dri/swrast_dri.so failed (${ORIGIN}/dri/swrast_dri.so: no se puede abrir el archivo del objeto compartido: No existe el archivo o el directorio)
libGL error: dlopen /usr/lib/dri/swrast_dri.so failed (/usr/lib/dri/swrast_dri.so: no se puede abrir el archivo del objeto compartido: No existe el archivo o el directorio)
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
Error: OpenGL GLX context is not using direct rendering, which may cause performance problems.

For more information visit https://support.steampowered.com/kb_article.php?ref=9938-EYZB-7457.

Bbootkiller 2014-05-07 github

I have the same issue with my HD4770 open source driver:

Running Steam on arch rolling 64-bit
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(1399425731_client)
libGL error: dlopen /usr/lib32/xorg/modules/dri/r600_dri.so failed (/home/boot/.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/r600_dri.so))
libGL error: unable to load driver: r600_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: r600
Installing breakpad exception handler for appid(steam)/version(1399425731_client)
Installing breakpad exception handler for appid(steam)/version(1399425731_client)

(steam:1708): Gtk-WARNING **: Unable to locate theme engine in module_path: "qtcurve",

(steam:1708): Gtk-WARNING **: Unable to locate theme engine in module_path: "qtcurve",
Installing breakpad exception handler for appid(steam)/version(1399425731_client)
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 78: saw unknown, expected number
libGL error: dlopen /usr/lib32/xorg/modules/dri/r600_dri.so failed (/home/boot/.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/r600_dri.so))
libGL error: unable to load driver: r600_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: r600
[0507/232305:WARNING:proxy_service.cc(958)] PAC support disabled because there is no system implementation
Installing breakpad exception handler for appid(steam)/version(1399425731_client)
Installing breakpad exception handler for appid(steam)/version(1399425731_client)
[HTTP Remote Control] HTTP server listening on port 49164.
Installing breakpad exception handler for appid(steam)/version(1399425731_client)
Installing breakpad exception handler for appid(steam)/version(1399425731_client)
Process 1708 created /boot-ValveIPCSharedObjects5
Installing breakpad exception handler for appid(steam)/version(1399425731_client)
Installing breakpad exception handler for appid(steam)/version(1399425731_client)
Generating new string page texture 2: 48x256, total string texture memory is 49.15 KB
Generating new string page texture 3: 256x256, total string texture memory is 311.30 KB
Installing breakpad exception handler for appid(steam)/version(1399425731_client)
Installing breakpad exception handler for appid(steam)/version(1399425731_client)
Installing breakpad exception handler for appid(steam)/version(1399425731_client)
Installing breakpad exception handler for appid(steam)/version(1399425731_client)
Adding licenses for the following package(s): 0, 7, 12, 63, 70, 79, 293, 601, 2620, 2835, 7128, 7879, 8089, 8112, 8187, 8312, 8636, 8645, 8647, 8648, 11734, 11793, 12893, 13054, 13082, 13132, 13152, 14633, 14871, 14938, 15479, 15638, 16020, 16342, 16360, 16521, 16523, 16549, 18773, 27531, 29856, 32889
roaming config store loaded successfully - 6977 bytes.
migrating temporary roaming config store
Installing breakpad exception handler for appid(steam)/version(1399425731_client)
libGL error: dlopen /usr/lib32/xorg/modules/dri/r600_dri.so failed (/home/boot/.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/r600_dri.so))
libGL error: unable to load driver: r600_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: r600
ExecCommandLine: "/home/boot/.local/share/Steam/ubuntu12_32/steam"
System startup time: 13.68 seconds
libGL error: dlopen /usr/lib32/xorg/modules/dri/r600_dri.so failed (/home/boot/.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/r600_dri.so))
libGL error: unable to load driver: r600_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: r600
Generating new string page texture 71: 128x256, total string texture memory is 442.37 KB
Generating new string page texture 72: 128x256, total string texture memory is 131.07 KB
Generating new string page texture 73: 64x256, total string texture memory is 507.90 KB
Generating new string page texture 74: 8x256, total string texture memory is 516.10 KB
Generating new string page texture 75: 32x256, total string texture memory is 548.86 KB
Installing breakpad exception handler for appid(steam)/version(1399425731_client)
Running Steam on arch rolling 64-bit
STEAM_RUNTIME has been set by the user to: /home/boot/.local/share/Steam/ubuntu12_32/steam-runtime
ExecCommandLine: "/home/boot/.steam/root/ubuntu12_32/steam steam://open/driverhelperready"
ExecSteamURL: "steam://open/driverhelperready"
Generating new string page texture 88: 256x256, total string texture memory is 393.22 KB
Generating new string page texture 89: 128x256, total string texture memory is 679.94 KB
Generating new string page texture 117: 256x256, total string texture memory is 942.08 KB
Generating new string page texture 121: 64x256, total string texture memory is 1.01 MB
Generating new string page texture 122: 128x256, total string texture memory is 1.14 MB
Generating new string page texture 123: 384x256, total string texture memory is 1.53 MB
Generating new string page texture 124: 256x256, total string texture memory is 1.79 MB
Installing breakpad exception handler for appid(steam)/version(1399425731_client)
Installing breakpad exception handler for appid(steam)/version(1399425731_client)
Generating new string page texture 255: 128x256, total string texture memory is 1.93 MB
Installing breakpad exception handler for appid(steam)/version(1399425731_client)
Bbartmanus 2014-05-09 github

I'm also experiencing these issues on Fedora rawhide. At first i thought everything was rendered in software but after a conversation with the OSS radeon driver devs it became clear it was steam specific.

$ cat /home/bart/.local/share/Steam/ubuntu12_32/steam-runtime/version.txt 
steam-runtime-release_2014-04-15
$ uname -a
Linux sendell 3.15.0-0.rc4.git0.1.fc21.x86_64 #1 SMP Mon May 5 19:59:35 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

Upon startup, steam pops up an error dialog saying "OpenGL GLX context is not using direct rendering, which may cause performance problems."

The relevant console output

$ LIBGL_DEBUG=verbose steam
Running Steam on fedora 21 64-bit
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(1398287272_client)
libGL: screen 0 does not appear to be DRI3 capable
libGL: pci id for fd 7: 1002:689e, driver r600
libGL: OpenDriver: trying /usr/lib/dri/tls/r600_dri.so
libGL: OpenDriver: trying /usr/lib/dri/r600_dri.so
libGL error: dlopen /usr/lib/dri/r600_dri.so failed (/home/bart/.local/share/Steam/ubuntu12_32/steam-runtime/i386/lib/i386-linux-gnu/libgcc_s.so.1: version `GCC_4.7.0' not found (required by /usr/lib/dri/r600_dri.so))
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/lib/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib/dri/swrast_dri.so
libGL error: dlopen /usr/lib/dri/swrast_dri.so failed (/home/bart/.local/share/Steam/ubuntu12_32/steam-runtime/i386/lib/i386-linux-gnu/libgcc_s.so.1: version `GCC_4.7.0' not found (required by /usr/lib/dri/swrast_dri.so))
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
...

A workaround I've found to work is to move these files out of the way. AFAIK system provided libraries are then used.

$ mv /home/bart/.local/share/Steam/ubuntu12_32/steam-runtime/i386/lib/i386-linux-gnu/libgcc_s.so.1{,.disable}
$ LIBGL_DEBUG=verbose steam
Running Steam on fedora 21 64-bit
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(1398287272_client)
libGL: screen 0 does not appear to be DRI3 capable
libGL: pci id for fd 7: 1002:689e, driver r600
libGL: OpenDriver: trying /usr/lib/dri/tls/r600_dri.so
libGL: OpenDriver: trying /usr/lib/dri/r600_dri.so
libGL error: dlopen /usr/lib/dri/r600_dri.so failed (/home/bart/.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/lib/dri/r600_dri.so))
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/lib/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib/dri/swrast_dri.so
libGL: driver does not expose __driDriverGetExtensions_swrast(): /usr/lib/dri/swrast_dri.so: undefined symbol: __driDriverGetExtensions_swrast
libGL: Can't open configuration file /home/bart/.drirc: No such file or directory.
libGL: Can't open configuration file /home/bart/.drirc: No such file or directory.
...

The same workaround for this library and then apps actually start and work fine

mv /home/bart/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libstdc++.so.6{,.disable}
$ LIBGL_DEBUG=verbose steam
Running Steam on fedora 21 64-bit
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(1398287272_client)
libGL: screen 0 does not appear to be DRI3 capable
libGL: pci id for fd 7: 1002:689e, driver r600
libGL: OpenDriver: trying /usr/lib/dri/tls/r600_dri.so
libGL: OpenDriver: trying /usr/lib/dri/r600_dri.so
libGL: driver does not expose __driDriverGetExtensions_r600(): /usr/lib/dri/r600_dri.so: undefined symbol: __driDriverGetExtensions_r600
libGL: Can't open configuration file /home/bart/.drirc: No such file or directory.
libGL: Can't open configuration file /home/bart/.drirc: No such file or directory.
...
Bbootkiller 2014-05-09 github

This is only going to get worse as distributions start updating to the most recent version of Mesa.

Eezombie 2014-05-11 github

]$ LANG=us_EN.UTF-8 LIBGL_DEBUG=verbose steam
Running Steam on rfremix 20 64-bit
STEAM_RUNTIME is disabled by the user
Installing breakpad exception handler for appid(steam)/version(1398287272_client)
libGL: OpenDriver: trying /usr/lib/dri/tls/r600_dri.so
libGL: OpenDriver: trying /usr/lib/dri/r600_dri.so
libGL: driver does not expose __driDriverGetExtensions_r600(): /usr/lib/dri/r600_dri.so: undefined symbol: __driDriverGetExtensions_r600
libGL: Can't open configuration file /home/lv77/.drirc: No such file or directory.
libGL: Can't open configuration file /home/lv77/.drirc: No such file or directory.
Installing breakpad exception handler for appid(steam)/version(1398287272_client)

(process:13465): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
Installing breakpad exception handler for appid(steam)/version(1398287272_client)
libGL: OpenDriver: trying /usr/lib/dri/tls/r600_dri.so
libGL: OpenDriver: trying /usr/lib/dri/r600_dri.so
libGL: driver does not expose __driDriverGetExtensions_r600(): /usr/lib/dri/r600_dri.so: undefined symbol: __driDriverGetExtensions_r600
libGL: Can't open configuration file /home/lv77/.drirc: No such file or directory.
libGL: Can't open configuration file /home/lv77/.drirc: No such file or directory.
[0511/174007:WARNING:proxy_service.cc(958)] PAC support disabled because there is no system implementation

Installing breakpad exception handler for appid(steam)/version(1398287272_client)
libGL: OpenDriver: trying /usr/lib/dri/tls/r600_dri.so
libGL: OpenDriver: trying /usr/lib/dri/r600_dri.so
libGL: driver does not expose __driDriverGetExtensions_r600(): /usr/lib/dri/r600_dri.so: undefined symbol: __driDriverGetExtensions_r600
libGL: Can't open configuration file /home/lv77/.drirc: No such file or directory.
libGL: Can't open configuration file /home/lv77/.drirc: No such file or directory.
ExecCommandLine: "/home/lv77/.local/share/Steam/ubuntu12_32/steam"
System startup time: 12.17 seconds
libGL: OpenDriver: trying /usr/lib/dri/tls/r600_dri.so
libGL: OpenDriver: trying /usr/lib/dri/r600_dri.so
libGL: driver does not expose __driDriverGetExtensions_r600(): /usr/lib/dri/r600_dri.so: undefined symbol: __driDriverGetExtensions_r600
libGL: Can't open configuration file /home/lv77/.drirc: No such file or directory.
libGL: Can't open configuration file /home/lv77/.drirc: No such file or directory.
Running Steam on rfremix 20 64-bit
STEAM_RUNTIME is disabled by the user

Operating System Version:
Linux 3.10 (64 bit)
Kernel Name: Linux
Kernel Version: 3.14.2-200.fc20.x86_64
X Server Vendor: Fedora Project
X Server Release: 11404000
X Window Manager: Xfwm4
Steam Runtime Version:

Video Card:
Driver: X.Org Gallium 0.4 on AMD CAYMAN

Driver Version:  3.0 Mesa 10.1.1
OpenGL Version: 3.0
Desktop Color Depth: 24 bits per pixel
Ttomtomme 2014-05-12 github

deleting libgcc_s.so.1 of steam-runtime helped in my case https://github.com/ValveSoftware/steam-for-linux/issues/3291

Ggrote 2014-06-21 github

Thanks @bartmanus your workarounds helped me! :)

HHalf-Shot 2014-06-24 github

May I ask what is the purpose of including librarys which most distros have installed by default. I know there is a need to a universal platform but this is doing more harm than good. These two library's are causing problems every time the runtime is updated/reinstalled.

Hhvr 2014-06-25 github

@Half-Shot In order to not include base libs such as libstdc+ they'd need to have the games compile against the oldest version of the DSOs to be found on the targeted distributions, otherwise if you compile against a newer libstdc++ you might end up depending on symbols not existing in older versions of that DSO. You might also want to read up more on Binary Compatibility if the topic interests you.

Mmjevans 2014-07-10 github

This is really in installer issue.

Systems may be 32 or 64 bit and may also have older / newer than reference platform versions. In the case of systems with newer, existing, libraries those should likely be preferred.

In my case Portal 2 (Beta) works wonderfully when I removed /home/user/.local/share/Steam/SteamApps/common/Portal 2/bin/libstdc++.so.6 (which before was causing)

Game update: AppID 620 "Portal 2 (Beta)", ProcID 4865, IP 0.0.0.0:0
ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
pid 4867 != 4866, skipping destruction (fork without exec?)
ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
libGL error: dlopen /usr/lib32/xorg/modules/dri/r600_dri.so failed (/home/user/.local/share/Steam/SteamApps/common/Portal 2/bin/libstdc++.so.6: version GLIBCXX_3.4.20' not found (required by /usr/lib32/xorg/mod ules/dri/r600_dri.so)) libGL error: unable to load driver: r600_dri.so libGL error: driver pointer missing libGL error: failed to load driver: r600 libGL error: dlopen /usr/lib32/xorg/modules/dri/swrast_dri.so failed (/home/user/.local/share/Steam/SteamApps/common/Portal 2/bin/libstdc++.so.6: versionGLIBCXX_3.4.20' not found (required by /usr/lib32/libLLV
M-3.4.so))
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
SDL video target is 'x11'

SDL failed to create GL compatibility profile (whichProfile=0!

PROBLEM: You appear to have OpenGL 1.4.0, but we need at least 2.0.0!
Could not find required OpenGL entry point 'glGetError'! Either your video card is unsupported, or your OpenGL driver needs to be updated.

Edit:

You are also less likely to see this for users of Nvidia hardware as the current OSS driver lacks reclocking (in common versions) and Nvidia's probably building their binary driver with a fairly old libc6. It is a matter of speculation about Intel driver issues similar to this; I suspect Intel graphics gamers are an extreme minority.

KKorvox 2014-08-15 github

There was a Steam update today, that also updated the runtime, and regenerated the included libstdc++, which again broke Steam. So I removed it again. But this problem is still unresolved.

CCaptainKraft 2014-08-15 github

This problem happened to me today as well.

Wwilx 2014-10-28 github

This (or similar) issue appears to be a problem on Ubuntu 14.10 as well. It helped me to remove libstdc++.so.6 and libgcc_s.so.1 from the Steam runtime. Ubuntu 14.10 appears to be shipping with the same SO versions of these libraries but newer minor versions.

FFloatingGhost 2014-10-29 github

Antergos (Arch)
3.17.1-1-ARCH #1 SMP PREEMPT Wed Oct 15 15:04:35 CEST 2014 x86_64 GNU/Linux

Running latest mesa, same error

Ees20490446e 2014-11-06 github

Same problem using Ubuntu 14.10 x64 with the "xserver-xorg-video-radeon" libre driver. Following Steam technical support let the issue equally unresolved, and games using the Source engine haven't been playable for two months.

Ssylware 2014-11-13 github

c++ runtime ABI and ABI of gcc runtime support libs are a mess (nothing new here). Static linking of those in steam runtime and games should be done (you have specific compilation option to perform those tasks in gcc, static something). That will allow collision avoidance of the libs provided by the steam runtime and those which are dependencies of system libs (i.e. GL).

Jjorti 2014-11-14 github

Same problem here with Fedora 21. If I rename these files, I avoid the warning "OpenGL GLX context is not using direct rendering", but some games fail to start. I have to launch the games from the command line.

  ~/.local/share/Steam/ubuntu12_32/steam-runtime/pwi386/usr/lib/i386-linux-gnu/libstdc++.so.6
  ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/lib/i386-linux-gnu/libgcc_s.so.1
Ssoerengrunewald 2015-01-16 github

Also using F21 x64 and for me the following command was the solution

$ ln -sf /usr/lib/libstdc++.so.6.0.20 ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libstdc++.so.6
Llouima 2015-01-16 github

Debian maintainers found a workaround by rm -f'in the libraries before actually running the steam binary. Maybe you should suggest other distro maintainers doing the same until this issue get fixed.

# remove steam-runtime's libstdc++, which is incompatible with newer mesa drivers
# (https://bugs.freedesktop.org/78242)
rm -f $ubuntu32/steam-runtime/i386/usr/lib/i386-linux-gnu/libstdc++.so.6*
rm -f $ubuntu32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libstdc++.so.6*

See http://sources.debian.net/src/steam/1.0.0.49-1/debian/scripts/steam/#L21

Jjorti 2015-01-16 github

I can start steam removing the libraries, but some games don't start (like Kerbal Space Program). I have to launch it from command line.

Ees20490446e 2015-01-17 github

I confirm that creating a symlink worked for me under Ubuntu, and games run fine:
ln -sf /usr/lib/libstdc++.so.6.0.20 ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libstdc++.so.6

Ddl00 2015-01-26 github

I confirm the symlink also works for me on Arch Linux.

Ppiranna 2015-01-26 github

What about just removing the runtime? Would it work? Or symlink the directory? Would it crash my system libraries?

Hhvr 2015-01-26 github

@piranna whether you symlink libstdc++.so.6 or just remove it should be the same (it would fall back to the next libstdc++.so.6 the linker finds in the library search path)

Ppiranna 2015-01-26 github

I was asking about removing the full runtime so all the libraries it fetch are the system ones...

Ppbhj 2015-01-28 github

Yes, I got the "OpenGL GLX context is not using direct rendering, which may cause performance problems.

For more information visit https://support.steampowered.com/kb_article.php?ref=9938-EYZB-7457." error.

Disabling the libstdc++.so.6 as for others (in both the i386 and amd64 branches of the steam-runtime) fixed it for me too.

Kkod-kristoff 2015-07-06 github

Does the symlink solution work after a steam update?

I tried to remove steam's libstd-files, but when steam updated itself it restored the files (and my problem).

Another woraround with an explanation is found here: https://wirejungle.wordpress.com/2015/01/09/how-to-fix-broken-steam-linux-client-with-radeon-graphics-driver-workaround/

LLucretia 2016-05-11 github

On Gentoo 64-bit. I just moved from fglrx to amdgpu and got the following output from steam:

/home/laguest/.local/share/Steam/steam.sh: line 159: DISTRIB_RELEASE: unbound variable
/home/laguest/.local/share/Steam/steam.sh: line 159: DISTRIB_RELEASE: unbound variable
Running Steam on gentoo 64-bit
/home/laguest/.local/share/Steam/steam.sh: line 159: DISTRIB_RELEASE: 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: 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

** Just sits there doing nothing...

Then used this command, from https://wiki.gentoo.org/wiki/Steam/Client_troubleshooting#libGL_fails_to_load:

find ~/.local/share/Steam/ ( -name libgcc_s.so* -o -name libstdc++.so* ) -print -delete

Steam, then loads.

Ees20490446e 2016-05-11 github

The fix is to enter this commands into the Terminal application:

BEFORE RUNNING STEAM:
ln -sf /usr/lib/libstdc++.so.6.0.20 ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libstdc++.so.6

AFTER RUNNING STEAM:
rm $HOME/.steam/steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libstdc++.so.6
rm $HOME/.steam/steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libstdc++.so.6

CCaptainKraft 2016-06-08 github

This post on the Arch Linux subreddit may be helpful and can prevent this problem from coming back in the future.

https://www.reddit.com/r/archlinux/comments/4l0tir/no_more_steam_broke_on_latest_update_posts_please/

Kkisak-valve maintainer 2016-12-19 github

We will be tracking steam runtime issues cumulatively from now on. Closing in favor of #4768.

Jjitendra3109 2017-02-26 github

jsroyal@Hp:~$ chmod +x genymotion-2.8.1_x64.bin
jsroyal@Hp:~$ ./genymotion-2.8.1_x64.bin
Installing for current user only. To install for all users, restart this installer as root.

Installing to folder [/home/jsroyal/genymotion]. Are you sure [y/n] ? y

  • Trying to find VirtualBox toolset .................... OK (Valid version of VirtualBox found: 5.0.32_Ubuntur112930)
  • Extracting files ..................................... OK (Extract into: [/home/jsroyal/genymotion])
  • Installing launcher icon ............................. OK

Installation done successfully.

You can now use these tools from [/home/jsroyal/genymotion]:

  • genymotion
  • genymotion-shell
  • gmtool

jsroyal@Hp:~$ cd genymotion/
jsroyal@Hp:~/genymotion$ ./genymotion
Logging activities to file: /home/jsroyal/.Genymobile/genymotion.log
libGL error: unable to load driver: r600_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: r600
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast

Is there any solutuion find??

Ssylware 2017-02-26 github

solution: steam client and games binaries do link statically libgcc and libstdc++.

Binaries in the world of linux based OSes should depend on a minimal set of ELF
symbols from a minimum set of system libs (x11/wayland/vulkan/alsa/posix|libc).
A lot of abstraction is dealed by libSDL2 which is open source the right way
(Lesser GNU GPL).

libgcc ABI is too volatile with its problems and c++ ABIs are manifestations of
insanity on earth (is clang c++ ABI does work with gcc c++ ABI?). Only 1-2 (gcc/clang)
compilers are roughly able to deal with advanced c++ code, and they have been in
developpement for decades...

c++ is good as an element to learn object orientation since it's explicit in the syntax.
But it's should stay only an academic language because its implementation complexity
and the tendancy of coders to abuse its complex syntax as a proof of their
mental sic... cleverness.

--
Sylvain

Ees20490446e 2017-02-26 github

Sylvain Bertrand:

A lot of abstraction is dealed by libSDL2 which is open source the right way
(Lesser GNU GPL).

Why is that the right way?

Sylvain Bertrand:

C++ should stay only an academic language because its implementation
complexity and the tendency of coders to abuse its complex syntax as
a proof of their mental sic... cleverness.

What language do you suggest when the application requires performance
to be regular? Lets say a game engine, where we don't want to have
micro-stuttering because of a garbage collector.

Kkparal 2017-02-26 github

This is not a chat, please take your off-topic discussion elsewhere, all 3 of you. Each of your comments is spamming 30 people.

Ees20490446e 2017-02-26 github

Kamil Páral:

Please take your off-topic discussion elsewhere.

Sorry, you are right.