Steam - OpenGL problem [Solved]

A place where Linux Gamers can share their experience and help each other with Linux Games, native or emulated ;)

Moderator: Moderators

Post Reply
xpto
Baby Hen
Posts: 12
Joined: Tue Jul 09, 2013 0:52

Steam - OpenGL problem [Solved]

Post by xpto » Mon Jun 29, 2015 13:27

I can't play Steam games: No More Room in Hell and Left 4 Dead 2. This games don't run.
Also tried playing Gone Home which launches but crashes when game is loading. I believe the game crashes due to steam in-game overlay. Gone Home is playable when launched without steam.

I launch steam and a error window pops up with message
Error: OpenGL GLX context is not using direct rendering, which may cause performance problems.

For more information visit https://support.steampowered.com/kb_art ... -EYZB-7457.
I launch No More Room in Hell game and the following error message pops:
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.
(I can play No More Room in Hell on this machine on a Ubuntu 14.04 LTS based distro. So, my hardware must be supported yet.)

and the game quits.
Then I quit Steam.

Steam log doing the actions described above.

Code: Select all

/home/vasco/.local/share/Steam/steam.sh: line 159: DISTRIB_RELEASE: unbound variable
/home/vasco/.local/share/Steam/steam.sh: line 159: DISTRIB_RELEASE: unbound variable
Running Steam on sabayon  64-bit
/home/vasco/.local/share/Steam/steam.sh: line 159: DISTRIB_RELEASE: unbound variable
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(1433441724)
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
Installing breakpad exception handler for appid(steam)/version(1433441724)

(steam:32520): Gtk-WARNING **: Incapaz de localizar motor de temas na module_path: "equinox",

(steam:32520): Gtk-WARNING **: Incapaz de localizar motor de temas na module_path: "equinox",

(steam:32520): Gtk-WARNING **: Incapaz de localizar motor de temas na module_path: "equinox",

(steam:32520): Gtk-WARNING **: Incapaz de localizar motor de temas na module_path: "equinox",

(steam:32520): Gtk-WARNING **: Incapaz de localizar motor de temas na module_path: "equinox",

(steam:32520): Gtk-WARNING **: Incapaz de localizar motor de temas na module_path: "equinox",
Installing breakpad exception handler for appid(steam)/version(1433441724)
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
[0629/094511:ERROR:browser_main_loop.cc(170)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
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.
Installing breakpad exception handler for appid(steamwebhelper)/version(20150604103540)
Installing breakpad exception handler for appid(steamwebhelper)/version(1433414140)
Installing breakpad exception handler for appid(steamwebhelper)/version(20150604103540)
Installing breakpad exception handler for appid(steamwebhelper)/version(1433441724)
Installing breakpad exception handler for appid(steamwebhelper)/version(1433441724)
Installing breakpad exception handler for appid(steam)/version(1433441724)
Installing breakpad exception handler for appid(steam)/version(1433441724)
Installing breakpad exception handler for appid(steam)/version(1433441724)
Installing breakpad exception handler for appid(steam)/version(1433441724)
Installing breakpad exception handler for appid(steam)/version(1433441724)
Installing breakpad exception handler for appid(steam)/version(1433441724)
FillInMachineIDInfo took a total of 0 milliseconds
Installing breakpad exception handler for appid(steam)/version(1433441724)
Installing breakpad exception handler for appid(steam)/version(1433441724)

** (steam:32520): WARNING **: Unknown device type 14

** (steam:32520): WARNING **: Could not create object for /org/freedesktop/NetworkManager/Devices/0: unknown object type
Installing breakpad exception handler for appid(steam)/version(1433441724)

** (steam:32520): WARNING **: Ignoring invalid property 'secondaries'

** (steam:32520): WARNING **: Ignoring invalid property 'route-data'

** (steam:32520): WARNING **: Ignoring invalid property 'gateway'

** (steam:32520): WARNING **: Ignoring invalid property 'address-data'

** (steam:32520): WARNING **: Ignoring invalid property 'route-data'

** (steam:32520): WARNING **: Ignoring invalid property 'address-data'

** (steam:32520): WARNING **: Ignoring invalid property 'secondaries'

** (steam:32520): WARNING **: Ignoring invalid property 'route-data'

** (steam:32520): WARNING **: Ignoring invalid property 'address-data'

** (steam:32520): WARNING **: Ignoring invalid property 'route-data'

** (steam:32520): WARNING **: Ignoring invalid property 'address-data'
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(1433441724)
Installing breakpad exception handler for appid(steam)/version(1433441724)
Adding licenses for the following package(s): 0, 609, 4314, 21469, 30170, 36144, 71953, 71956, 71957, 71958, 71961, 71962, 71975
roaming config store loaded successfully - 3190 bytes.
migrating temporary roaming config store
Installing breakpad exception handler for appid(steam)/version(1433441724)
Failed to init SteamVR because it isn't installed
sh: lspci: command not found
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
ExecCommandLine: ""/home/vasco/.local/share/Steam/ubuntu12_32/steam" "
Installing breakpad exception handler for appid(steam)/version(1433441724)
System startup time: 4,12 seconds
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
/home/vasco/.steam/root/steam.sh: line 159: DISTRIB_RELEASE: unbound variable
Generating new string page texture 70: 128x256, total string texture memory is 442,37 KB
Generating new string page texture 71: 128x256, total string texture memory is 131,07 KB
Generating new string page texture 72: 64x256, total string texture memory is 507,90 KB
Generating new string page texture 73: 32x256, total string texture memory is 540,67 KB
/home/vasco/.steam/root/steam.sh: line 159: DISTRIB_RELEASE: unbound variable
Running Steam on sabayon  64-bit
STEAM_RUNTIME has been set by the user to: /home/vasco/.local/share/Steam/ubuntu12_32/steam-runtime
Installing breakpad exception handler for appid(steam)/version(1433441724)
ExecCommandLine: "/home/vasco/.steam/root/ubuntu12_32/steam steam://open/driverhelperready"
ExecSteamURL: "steam://open/driverhelperready"
Generating new string page texture 82: 8x256, total string texture memory is 548,86 KB
[0629/094516:ERROR:renderer_main.cc(212)] Running without renderer sandbox
Generating new string page texture 103: 128x256, total string texture memory is 679,94 KB
Generating new string page texture 104: 384x256, total string texture memory is 1,07 MB
Generating new string page texture 106: 128x256, total string texture memory is 1,20 MB
Generating new string page texture 139: 64x256, total string texture memory is 196,61 KB
Game update: AppID 224260 "No More Room in Hell", ProcID 32654, IP 0.0.0.0:0
ERROR: ld.so: object '/home/vasco/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/vasco/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
-> Red  1.000, Green  1.000, Blue  1.000
<- Red  1.300, Green  1.300, Blue  1.300
ERROR: ld.so: object '/home/vasco/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
pid 32658 != 32657, skipping destruction (fork without exec?)
ERROR: ld.so: object '/home/vasco/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/vasco/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
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
SDL video target is 'x11'
SDL video target is 'x11'
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.
ERROR: ld.so: object '/home/vasco/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
-> Red  1.300, Green  1.300, Blue  1.300
<- Red  1.000, Green  1.000, Blue  1.000
Game removed: AppID 224260 "No More Room in Hell", ProcID 32654 
Generating new string page texture 185: 24x256, total string texture memory is 1,23 MB
[2015-06-29 09:45:11] Startup - updater built Jun  4 2015 10:35:42
[2015-06-29 09:45:11] Verifying installation...
[2015-06-29 09:45:11] Verification complete
[2015-06-29 09:45:33] Shutdown
glxinfo output

Code: Select all

$ glxinfo | grep version
server glx version string: 1.4
client glx version string: 1.4
GLX version: 1.4
OpenGL core profile version string: 3.1 (Core Profile) Mesa 10.5.6
OpenGL core profile shading language version string: 1.40
OpenGL version string: 3.0 Mesa 10.5.6
OpenGL shading language version string: 1.30
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 10.5.6
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
Both glxspheres and glxspheres64 run smoothly.

Code: Select all

$ glxspheres
Polygons in scene: 62464
Visual ID of window: 0x217
Context is Direct
OpenGL Renderer: Gallium 0.4 on AMD RV770
60.202042 frames/sec - 67.185479 Mpixels/sec
59.999123 frames/sec - 66.959021 Mpixels/sec

Code: Select all

$ ldd $(which glxspheres)
        linux-gate.so.1 (0xf77b9000)
        libGL.so.1 => /usr/lib32/libGL.so.1 (0xf769d000)
        libX11.so.6 => /usr/lib32/libX11.so.6 (0xf7564000)
        libGLU.so.1 => /usr/lib32/libGLU.so.1 (0xf74dc000)
        libm.so.6 => /lib32/libm.so.6 (0xf7496000)
        libc.so.6 => /lib32/libc.so.6 (0xf72d9000)
        libexpat.so.1 => /usr/lib32/libexpat.so.1 (0xf72af000)
        libglapi.so.0 => /usr/lib32/libglapi.so.0 (0xf725b000)
        libXext.so.6 => /usr/lib32/libXext.so.6 (0xf7248000)
        libXdamage.so.1 => /usr/lib32/libXdamage.so.1 (0xf7244000)
        libXfixes.so.3 => /usr/lib32/libXfixes.so.3 (0xf723d000)
        libX11-xcb.so.1 => /usr/lib32/libX11-xcb.so.1 (0xf723a000)
        libxcb-glx.so.0 => /usr/lib32/libxcb-glx.so.0 (0xf7220000)
        libxcb-dri2.so.0 => /usr/lib32/libxcb-dri2.so.0 (0xf721a000)
        libxcb-dri3.so.0 => /usr/lib32/libxcb-dri3.so.0 (0xf7216000)
        libxcb-present.so.0 => /usr/lib32/libxcb-present.so.0 (0xf7211000)
        libxcb-randr.so.0 => /usr/lib32/libxcb-randr.so.0 (0xf7201000)
        libxcb-xfixes.so.0 => /usr/lib32/libxcb-xfixes.so.0 (0xf71f9000)
        libxcb-render.so.0 => /usr/lib32/libxcb-render.so.0 (0xf71ee000)
        libxcb-shape.so.0 => /usr/lib32/libxcb-shape.so.0 (0xf71e9000)
        libxcb-sync.so.1 => /usr/lib32/libxcb-sync.so.1 (0xf71e1000)
        libxcb.so.1 => /usr/lib32/libxcb.so.1 (0xf71bd000)
        libxshmfence.so.1 => /usr/lib32/libxshmfence.so.1 (0xf71ba000)
        libXxf86vm.so.1 => /usr/lib32/libXxf86vm.so.1 (0xf71b3000)
        libdrm.so.2 => /usr/lib32/libdrm.so.2 (0xf71a4000)
        libpthread.so.0 => /lib32/libpthread.so.0 (0xf7185000)
        libdl.so.2 => /lib32/libdl.so.2 (0xf7180000)
        libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2/32/libstdc++.so.6 (0xf7075000)
        libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2/32/libgcc_s.so.1 (0xf7059000)
        /lib/ld-linux.so.2 (0xf77ba000)
        libXau.so.6 => /usr/lib32/libXau.so.6 (0xf7054000)
        libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf704d000)

Code: Select all

$ eselect opengl list
Available OpenGL implementations:
  [1]   xorg-x11 *
Video card

Code: Select all

04:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV770 [Radeon HD 4850] (prog-if 00 [VGA controller])
	Subsystem: Hightech Information System Ltd. RV770 [Radeon HD 4850]
	Flags: bus master, fast devsel, latency 0, IRQ 43
	Memory at e0000000 (64-bit, prefetchable) [size=256M]
	Memory at febe0000 (64-bit, non-prefetchable) [size=64K]
	I/O ports at e000 [size=256]
	[virtual] Expansion ROM at feb00000 [disabled] [size=128K]
	Capabilities: [50] Power Management version 3
	Capabilities: [58] Express Legacy Endpoint, MSI 00
	Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
	Kernel driver in use: radeon
	Kernel modules: radeon

Code: Select all

$ uname -a
Linux pupu 3.12.0-sabayon #1 SMP Mon Mar 23 02:43:53 UTC 2015 x86_64 Intel(R) Core(TM)2 Quad CPU Q8200 @ 2.33GHz GenuineIntel GNU/Linux
Something I find strange

Code: Select all

$ more /etc/env.d/000opengl 
# Configuration file for eselect
# This file has been automatically generated.
LDPATH="/usr/lib32/opengl/xorg-x11/lib:/usr/lib64/opengl/xorg-x11/lib"
OPENGL_PROFILE="xorg-x11"
$ ls /usr/lib64/opengl/xorg-x11/lib
ls: impossível aceder a /usr/lib64/opengl/xorg-x11/lib: No such file or directory
$ ls /usr/lib32/opengl/xorg-x11/lib
ls: impossível aceder a /usr/lib32/opengl/xorg-x11/lib: No such file or directory
Previously, this directories had some files, for instance: libGL.so.1.2.0. I don't know if this is a problem.

AFAIK, linux steam is 32 bits.
Could this problem be related to 32 bit libraries? If so, could it be caused by the removal of some emul-linux-x86-* packages from entropy repository?
Last edited by xpto on Mon Jun 29, 2015 16:31, edited 1 time in total.

xpto
Baby Hen
Posts: 12
Joined: Tue Jul 09, 2013 0:52

Steam - OpenGL problem [Solved]

Post by xpto » Mon Jun 29, 2015 16:28

After running LIBGL_DEBUG=verbose steam I found the problem was about a missing GLIBCXX version

Code: Select all

libGL: screen 0 does not appear to be DRI3 capable
libGL: pci id for fd 7: 1002:9442, driver r600
libGL: OpenDriver: trying /usr/lib32/dri/tls/r600_dri.so
libGL: OpenDriver: trying /usr/lib32/dri/r600_dri.so
libGL: dlopen /usr/lib32/dri/r600_dri.so failed (/home/vasco/.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/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/lib32/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib32/dri/swrast_dri.so
libGL: dlopen /usr/lib32/dri/swrast_dri.so failed (/home/vasco/.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/dri/swrast_dri.so))
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
Installing breakpad exception handler for appid(steam)/version(1433441724)
I found the solution on Problem with libstdc++.so.6 bundled with steam-runtime 2014-04-15.

Code: Select all

rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libstdc++.so.6*

Darksurf
Old Dear Hen
Posts: 787
Joined: Sat Sep 16, 2006 4:01

Re: Steam - OpenGL problem [Solved]

Post by Darksurf » Thu Jul 23, 2015 21:59

I've created a quick script to get rid of the crap from steam that causes us to not be able to play after an update of steam.

create an empty txt file. call it steamfix.sh or whatever. paste this inside. sudo chmod +x steamfix.sh
then ./steamfix.sh and enjoy steam!

#!/bin/bash

STEAMRUNTIME="~/.local/share/Steam/ubuntu12_32/steam-runtime"

rm ${STEAMRUNTIME}/i386/installed/libstdc++* ;
rm ${STEAMRUNTIME}/amd64/installed/libstdc++* ;

rm ${STEAMRUNTIME}/i386/usr/share/doc/libstdc++* ;
rm ${STEAMRUNTIME}/i386/usr/lib/gcc/i686-linux-gnu/4.6/libstdc++* ;
rm ${STEAMRUNTIME}/i386/usr/lib/i386-linux-gnu/libstdc++* ;
rm ${STEAMRUNTIME}/i386/usr/lib/i386-linux-gnu/libxcb* ;
rm ${STEAMRUNTIME}/i386/usr/lib/i386-linux-gnu/libstdc++* ;
rm ${STEAMRUNTIME}/i386/lib/i386-linux-gnu/libgcc* ;

rm ${STEAMRUNTIME}/amd64/usr/share/doc/libstdc++* ;
rm ${STEAMRUNTIME}/amd64/usr/lib/gcc/x86_64-linux-gnu/4.6/libstdc++* ;
rm ${STEAMRUNTIME}/amd64/usr/lib/x86_64-linux-gnu/libstdc++* ;
rm ${STEAMRUNTIME}/amd64/usr/lib/x86_64-linux-gnu/libxcb* ;
rm ${STEAMRUNTIME}/amd64/usr/lib/x86_64-linux-gnu/libstdc++* ;

rm ${STEAMRUNTIME}/i386/lib/i386-linux-gnu/libgcc* ;
rm ${STEAMRUNTIME}/amd64/lib/x86_64-linux-gnu/libgcc* ;

rm ${STEAMRUNTIME}.old/i386/usr/share/doc/libstdc++* ;
~ Y </0 5+Up1</ P30p[Ez +Ry 2 R34</ D1s? ~

Post Reply