If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Debian + Steam + r600

06-29-2014, 04:58 PM

Hello,

I have been playing with Steam + r600 on my Debian machine with no problems with Left for Dead 2, for example. But I have playing other non Steam games for a while and now I have bought some games throught Steam like Portal 2 and I have encountered a problem. First my specs, I have:
- AMD Phenom II x6 1055t
- AMD 5750 Radeon with the r600 oss driver
- Debian SID: right now 3.14 kernel + xserver-xorg-video-radeon 7.4 + libgl1-mesa-dri 10.2 (both amd64 + i386) + libgl1-mesa-glx 10.2 (both amd64 + i386), libsdl1.2debian (both amd64 + i386), libsdl2-2.0-0 (both amd64 + i386)

When I launch Steam it says:

Code:

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.
Running Steam on debian 64-bit
STEAM_RUNTIME has been set by the user to: /home/MYUSER/.steam/ubuntu12_32/steam-runtime

It doesn't detect 3D acceleration it seems, but 3D acceleration works. If I launch a 32 bit game like Papo & Yo or Quake wars demo they work flawless. Also if I execute glxinfo in 32 or 64 binaries it says:

When I launch Left for Dead 2 with the export LIBGL_DEBUG=verbose, it says:

Code:

~/.steam/steam/SteamApps/common/Left 4 Dead 2$ ./hl2.sh
libGL: screen 0 does not appear to be DRI3 capable
libGL: pci id for fd 6: 1002:68be, driver r600
libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/tls/r600_dri.so
libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/r600_dri.so
libGL: driver does not expose __driDriverGetExtensions_r600(): /usr/lib/i386-linux-gnu/dri/r600_dri.so: undefined symbol: __driDriverGetExtensions_r600
libGL: Can't open configuration file /home/MYUSER/.drirc: No such file or directory.
libGL: Can't open configuration file /home/MYUSER/.drirc: No such file or directory.
SDL video target is 'x11'
SDL video target is 'x11'
SDL failed to create GL compatibility profile (whichProfile=0!
This system supports the OpenGL extension GL_EXT_framebuffer_object.
This system supports the OpenGL extension GL_EXT_framebuffer_blit.
This system supports the OpenGL extension GL_EXT_framebuffer_multisample.
This system DOES NOT support the OpenGL extension GL_APPLE_fence.
This system DOES NOT support the OpenGL extension GL_NV_fence.
This system supports the OpenGL extension GL_ARB_sync.
This system supports the OpenGL extension GL_EXT_draw_buffers2.
This system DOES NOT support the OpenGL extension GL_EXT_bindable_uniform.
This system DOES NOT support the OpenGL extension GL_APPLE_flush_buffer_range.
This system supports the OpenGL extension GL_ARB_map_buffer_range.
This system supports the OpenGL extension GL_ARB_vertex_buffer_object.
This system supports the OpenGL extension GL_ARB_occlusion_query.
This system DOES NOT support the OpenGL extension GL_APPLE_texture_range.
This system DOES NOT support the OpenGL extension GL_APPLE_client_storage.
This system DOES NOT support the OpenGL extension GL_ARB_uniform_buffer.
This system supports the OpenGL extension GL_ARB_vertex_array_bgra.
This system supports the OpenGL extension GL_EXT_vertex_array_bgra.
This system supports the OpenGL extension GL_ARB_framebuffer_object.
This system DOES NOT support the OpenGL extension GL_GREMEDY_string_marker.
This system supports the OpenGL extension GL_ARB_debug_output.
This system DOES NOT support the OpenGL extension GL_EXT_direct_state_access.
This system DOES NOT support the OpenGL extension GL_NV_bindless_texture.
This system DOES NOT support the OpenGL extension GL_AMD_pinned_memory.
This system supports the OpenGL extension GL_EXT_framebuffer_multisample_blit_scaled.
This system supports the OpenGL extension GL_EXT_texture_sRGB_decode.
This system DOES NOT support the OpenGL extension GL_NVX_gpu_memory_info.
This system DOES NOT support the OpenGL extension GL_ATI_meminfo.
This system supports the OpenGL extension GL_EXT_texture_compression_s3tc.
This system supports the OpenGL extension GL_EXT_texture_compression_dxt1.
This system supports the OpenGL extension GL_ANGLE_texture_compression_dxt3.
This system supports the OpenGL extension GL_ANGLE_texture_compression_dxt5.
This system DOES NOT support the OpenGL extension GLX_EXT_swap_control_tear.
GL_NV_bindless_texture: DISABLED
GL_AMD_pinned_memory: DISABLED
GL_EXT_texture_sRGB_decode: AVAILABLE
AppFramework : Unable to load module engine.so!
Unable to load interface VCvarQuery001 from engine.so

When I launch Portal 2:

Code:

./portal2_linux
libGL: screen 0 does not appear to be DRI3 capable
libGL: pci id for fd 5: 1002:68be, driver r600
libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/tls/r600_dri.so
libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/r600_dri.so
libGL: driver does not expose __driDriverGetExtensions_r600(): /usr/lib/i386-linux-gnu/dri/r600_dri.so: undefined symbol: __driDriverGetExtensions_r600
libGL: Can't open configuration file /home/MYUSER/.drirc: No such file or directory.
libGL: Can't open configuration file /home/MYUSER/.drirc: No such file or directory.
SDL video target is 'x11'
SDL video target is 'x11'
SDL failed to create GL compatibility profile (whichProfile=0!
SDL failed to create GL compatibility profile (whichProfile=0!
This system supports the OpenGL extension GL_EXT_framebuffer_object.
This system supports the OpenGL extension GL_EXT_framebuffer_blit.
This system supports the OpenGL extension GL_EXT_framebuffer_multisample.
This system DOES NOT support the OpenGL extension GL_APPLE_fence.
This system DOES NOT support the OpenGL extension GL_NV_fence.
This system supports the OpenGL extension GL_ARB_sync.
This system supports the OpenGL extension GL_EXT_draw_buffers2.
This system DOES NOT support the OpenGL extension GL_EXT_bindable_uniform.
This system DOES NOT support the OpenGL extension GL_APPLE_flush_buffer_range.
This system supports the OpenGL extension GL_ARB_map_buffer_range.
This system supports the OpenGL extension GL_ARB_vertex_buffer_object.
This system supports the OpenGL extension GL_ARB_occlusion_query.
This system DOES NOT support the OpenGL extension GL_APPLE_texture_range.
This system DOES NOT support the OpenGL extension GL_APPLE_client_storage.
This system DOES NOT support the OpenGL extension GL_ARB_uniform_buffer.
This system supports the OpenGL extension GL_ARB_vertex_array_bgra.
This system supports the OpenGL extension GL_EXT_vertex_array_bgra.
This system supports the OpenGL extension GL_ARB_framebuffer_object.
This system DOES NOT support the OpenGL extension GL_GREMEDY_string_marker.
This system supports the OpenGL extension GL_ARB_debug_output.
This system DOES NOT support the OpenGL extension GL_EXT_direct_state_access.
This system DOES NOT support the OpenGL extension GL_NV_bindless_texture.
This system DOES NOT support the OpenGL extension GL_AMD_pinned_memory.
This system supports the OpenGL extension GL_EXT_framebuffer_multisample_blit_scaled.
This system supports the OpenGL extension GL_EXT_texture_sRGB_decode.
This system DOES NOT support the OpenGL extension GL_NVX_gpu_memory_info.
This system DOES NOT support the OpenGL extension GL_ATI_meminfo.
This system supports the OpenGL extension GL_EXT_texture_compression_s3tc.
This system supports the OpenGL extension GL_EXT_texture_compression_dxt1.
This system supports the OpenGL extension GL_ANGLE_texture_compression_dxt3.
This system supports the OpenGL extension GL_ANGLE_texture_compression_dxt5.
This system DOES NOT support the OpenGL extension GLX_EXT_swap_control_tear.
Setup file 'GameInfo.txt' doesn't exist in subdirectory 'hl2'.
Check your -game parameter or VCONFIG setting.
Setup file 'GameInfo.txt' doesn't exist in subdirectory 'hl2'.
Check your -game parameter or VCONFIG setting.

I have read the post of Linux_chemist in the thread Updated and Optimized Ubuntu Free Graphics Drivers with a similar problem deleting (or backing up) the file libgcc_s.so.1 in the path /.steam/ubuntu12_32/steam-runtime/i386/lib/i386-linux-gnu to force to use the system file, I have also tried to deleting (or backing up) libstdc++.so.6 in the path /.steam/steam/SteamApps/common/Portal 2/bin, but it doesn't work. I have read similar posts around internet with similar solution, or deleting that files or to be sure to have the 32 bit portion of the driver, but it doesn't work. Steam seems that doens't detect the 32 bit drivers and the games launch by it either. Anyone know how to get it working or I have only to wait for some update?

Oh, sorry I forgot that when I launch a Valve game (L4D2 or Portal 2) Steam also says: "Could not find required OpenGL entry point 'glGetError'! Either your video card is unsupported, or your OpenGL driver needs to be updated." If it helps...

Comment

Thank you very much for the help, but it doesn't work for me. Tried with the steam libgcc and without it, exact the same results. Also tried to downgrade to 10.0 but it gave me error for libwayland-egl that isn't in the 10.0 version so I ended in a broken (but bootable) system, so I also tried in this state and nothing. Revert the changes to actual 10.2.

Comment

Thank you asdfblah, I will read that links more carefully later, but I think I've made almost all of it. Also I backup libgcc (or rename as you wish) but it doesn't work, the libstdc isn't in /.steam/ubuntu12_32/steam-runtime/i386/lib/i386-linux-gnu but in the portal 2/bin dir, like I have explained. Also renamed that file and nothing.

Thank you dungeon, so maybe with xserver 1.16 problem fixed? Right now 1.5.999 is in experimental.