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

Closed
jsa1983 opened this Issue Apr 26, 2014 · 39 comments

Comments

Projects
None yet
@jsa1983

jsa1983 commented Apr 26, 2014

Not sure if this belongs here or in ValveSoftware/steam-runtime#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.

@jsa1983

This comment has been minimized.

Show comment
Hide comment
@jsa1983

jsa1983 Apr 26, 2014

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.

jsa1983 commented Apr 26, 2014

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.

@jsa1983

This comment has been minimized.

Show comment
Hide comment
@jsa1983

jsa1983 Apr 26, 2014

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.

jsa1983 commented Apr 26, 2014

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.

@jsa1983

This comment has been minimized.

Show comment
Hide comment
@jsa1983

jsa1983 May 4, 2014

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.

jsa1983 commented May 4, 2014

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.

@bootkiller

This comment has been minimized.

Show comment
Hide comment
@bootkiller

bootkiller May 7, 2014

Contributor

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)
Contributor

bootkiller commented May 7, 2014

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)
@bartmanus

This comment has been minimized.

Show comment
Hide comment
@bartmanus

bartmanus May 9, 2014

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.
...

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.
...
@bootkiller

This comment has been minimized.

Show comment
Hide comment
@bootkiller

bootkiller May 9, 2014

Contributor

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

Contributor

bootkiller commented May 9, 2014

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

@ezombie

This comment has been minimized.

Show comment
Hide comment
@ezombie

ezombie May 11, 2014

]$ 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

ezombie commented May 11, 2014

]$ 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
@tomtomme

This comment has been minimized.

Show comment
Hide comment
@tomtomme

tomtomme May 12, 2014

deleting libgcc_s.so.1 of steam-runtime helped in my case #3291

deleting libgcc_s.so.1 of steam-runtime helped in my case #3291

@grote

This comment has been minimized.

Show comment
Hide comment
@grote

grote Jun 21, 2014

Thanks @bartmanus your workarounds helped me! :)

grote commented Jun 21, 2014

Thanks @bartmanus your workarounds helped me! :)

@Half-Shot

This comment has been minimized.

Show comment
Hide comment
@Half-Shot

Half-Shot Jun 24, 2014

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.

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.

@hvr

This comment has been minimized.

Show comment
Hide comment
@hvr

hvr Jun 25, 2014

@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.

hvr commented Jun 25, 2014

@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.

@mjevans

This comment has been minimized.

Show comment
Hide comment
@mjevans

mjevans Jul 10, 2014

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.

mjevans commented Jul 10, 2014

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.

@Korvox

This comment has been minimized.

Show comment
Hide comment
@Korvox

Korvox Aug 15, 2014

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.

Korvox commented Aug 15, 2014

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.

@CaptainKraft

This comment has been minimized.

Show comment
Hide comment
@CaptainKraft

CaptainKraft Aug 15, 2014

This problem happened to me today as well.

This problem happened to me today as well.

@wilx

This comment has been minimized.

Show comment
Hide comment
@wilx

wilx Oct 28, 2014

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.

wilx commented Oct 28, 2014

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.

@FloatingGhost

This comment has been minimized.

Show comment
Hide comment
@FloatingGhost

FloatingGhost Oct 29, 2014

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

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

@es20490446e

This comment has been minimized.

Show comment
Hide comment
@es20490446e

es20490446e Nov 6, 2014

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.

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.

@sylware

This comment has been minimized.

Show comment
Hide comment
@sylware

sylware Nov 13, 2014

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).

sylware commented Nov 13, 2014

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).

@jorti

This comment has been minimized.

Show comment
Hide comment
@jorti

jorti Nov 14, 2014

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

jorti commented Nov 14, 2014

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
@soerengrunewald

This comment has been minimized.

Show comment
Hide comment
@soerengrunewald

soerengrunewald Jan 16, 2015

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

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
@louima

This comment has been minimized.

Show comment
Hide comment
@louima

louima Jan 16, 2015

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

louima commented Jan 16, 2015

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

@jorti

This comment has been minimized.

Show comment
Hide comment
@jorti

jorti Jan 16, 2015

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.

jorti commented Jan 16, 2015

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.

@es20490446e

This comment has been minimized.

Show comment
Hide comment
@es20490446e

es20490446e Jan 17, 2015

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

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

@dl00

This comment has been minimized.

Show comment
Hide comment
@dl00

dl00 Jan 26, 2015

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

dl00 commented Jan 26, 2015

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

@piranna

This comment has been minimized.

Show comment
Hide comment
@piranna

piranna Jan 26, 2015

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

piranna commented Jan 26, 2015

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

@hvr

This comment has been minimized.

Show comment
Hide comment
@hvr

hvr Jan 26, 2015

@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)

hvr commented Jan 26, 2015

@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)

@piranna

This comment has been minimized.

Show comment
Hide comment
@piranna

piranna Jan 26, 2015

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

piranna commented Jan 26, 2015

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

@pbhj

This comment has been minimized.

Show comment
Hide comment
@pbhj

pbhj Jan 28, 2015

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.

pbhj commented Jan 28, 2015

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.

@kode-kristoff

This comment has been minimized.

Show comment
Hide comment
@kode-kristoff

kode-kristoff Jul 6, 2015

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/

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/

kwizart pushed a commit to rpmfusion/steam that referenced this issue Oct 27, 2015

slaanesh
* Mon May 25 2015 Simone Caronni <negativo17@gmail.com> - 1.0.0.50-2
- Add license macro.
- Add workaround for bug 3273, required for running client/games with prime:
  ValveSoftware/steam-for-linux#3273
@Lucretia

This comment has been minimized.

Show comment
Hide comment
@Lucretia

Lucretia May 11, 2016

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.

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.

@es20490446e

This comment has been minimized.

Show comment
Hide comment
@es20490446e

es20490446e May 11, 2016

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

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

@CaptainKraft

This comment has been minimized.

Show comment
Hide comment
@CaptainKraft

CaptainKraft Jun 8, 2016

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/

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/

@Mailaender

This comment has been minimized.

Show comment
Hide comment

kwizart pushed a commit to rpmfusion/steam that referenced this issue Aug 13, 2016

slaanesh
* Mon May 25 2015 Simone Caronni <negativo17@gmail.com> - 1.0.0.50-2
- Add license macro.
- Add workaround for bug 3273, required for running client/games with prime:
  ValveSoftware/steam-for-linux#3273

@mirh mirh referenced this issue in phoronix-test-suite/phoronix-test-suite Sep 9, 2016

Open

Improve handling of hanged children process #126

@kisak-valve

This comment has been minimized.

Show comment
Hide comment
@kisak-valve

kisak-valve Dec 19, 2016

Member

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

Member

kisak-valve commented Dec 19, 2016

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

@jsroyal

This comment has been minimized.

Show comment
Hide comment
@jsroyal

jsroyal Feb 26, 2017

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??

jsroyal commented Feb 26, 2017

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??

@sylware

This comment has been minimized.

Show comment
Hide comment
@sylware

sylware Feb 26, 2017

sylware commented Feb 26, 2017

@es20490446e

This comment has been minimized.

Show comment
Hide comment
@es20490446e

es20490446e Feb 26, 2017

@kparal

This comment has been minimized.

Show comment
Hide comment
@kparal

kparal Feb 26, 2017

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

kparal commented Feb 26, 2017

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

@es20490446e

This comment has been minimized.

Show comment
Hide comment
@es20490446e

es20490446e Feb 26, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment