You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a known issue where the steam runtime bundled libstdc++.so.6 is too old for mesa and is being used instead of the newer system varient. This is reported at #3273 and ValveSoftware/steam-runtime#13.
This works fine for me under Ubuntu 15.04 64bits with proprietary driver NVIDIA version 346 and the latest steam client :
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/lib32/nvidia-346/:/usr/lib/nvidia-346/" steam
The logs you send point that libGL mesa drive failed to load the intel driver and then also failed to load the software fallback... probably another lib that needs to be removed from steam-runtime because it breaks recent mesa versions. I still didn't updated ubuntu on test machine, so i can not test it right now.
Please try to start steam from the command line with LIBGL_DEBUG=verbose steam
and report the output, it should give a little more info on what is failing now on 16.10.
I also assume that running glxgears works fine in a normal console (not run from inside steam)
@higuita Thanks a lot for the debugging and the additional steps to get more information. I now get the following output:
Running Steam on ubuntu 16.10 64-bit
STEAM_RUNTIME is enabled automatically
/bin/bash: /home/victor/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/lib/x86_64-linux-gnu/libtinfo.so.5: no version information available (required by /bin/bash)
grep: symbol lookup error: grep: undefined symbol: pcre_jit_stack_alloc
grep: symbol lookup error: grep: undefined symbol: pcre_jit_stack_alloc
grep: symbol lookup error: grep: undefined symbol: pcre_jit_stack_alloc
Installing breakpad exception handler for appid(steam)/version(1476379980)
libGL: Can't open configuration file /home/victor/.drirc: No such file or directory.
libGL: pci id for fd 7: 8086:0a2e, driver i965
libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/tls/i965_dri.so
libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/i965_dri.so
libGL: dlopen /usr/lib/i386-linux-gnu/dri/i965_dri.so failed (/lib/i386-linux-gnu/libgcrypt.so.20: symbol gpgrt_lock_lock, version GPG_ERROR_1.0 not defined in file libgpg-error.so.0 with link time reference)
libGL: OpenDriver: trying ${ORIGIN}/dri/tls/i965_dri.so
libGL: OpenDriver: trying ${ORIGIN}/dri/i965_dri.so
libGL: dlopen ${ORIGIN}/dri/i965_dri.so failed (${ORIGIN}/dri/i965_dri.so: cannot open shared object file: No such file or directory)
libGL: OpenDriver: trying /usr/lib/dri/tls/i965_dri.so
libGL: OpenDriver: trying /usr/lib/dri/i965_dri.so
libGL: dlopen /usr/lib/dri/i965_dri.so failed (/usr/lib/dri/i965_dri.so: cannot open shared object file: No such file or directory)
libGL error: unable to load driver: i965_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: i965
libGL: pci id for fd 7: 8086:0a2e, driver i965
libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/tls/i965_dri.so
libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/i965_dri.so
libGL: dlopen /usr/lib/i386-linux-gnu/dri/i965_dri.so failed (/lib/i386-linux-gnu/libgcrypt.so.20: symbol gpgrt_lock_lock, version GPG_ERROR_1.0 not defined in file libgpg-error.so.0 with link time reference)
libGL: OpenDriver: trying ${ORIGIN}/dri/tls/i965_dri.so
libGL: OpenDriver: trying ${ORIGIN}/dri/i965_dri.so
libGL: dlopen ${ORIGIN}/dri/i965_dri.so failed (${ORIGIN}/dri/i965_dri.so: cannot open shared object file: No such file or directory)
libGL: OpenDriver: trying /usr/lib/dri/tls/i965_dri.so
libGL: OpenDriver: trying /usr/lib/dri/i965_dri.so
libGL: dlopen /usr/lib/dri/i965_dri.so failed (/usr/lib/dri/i965_dri.so: cannot open shared object file: No such file or directory)
libGL error: unable to load driver: i965_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: i965
libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/swrast_dri.so
libGL: dlopen /usr/lib/i386-linux-gnu/dri/swrast_dri.so failed (/lib/i386-linux-gnu/libgcrypt.so.20: symbol gpgrt_lock_lock, version GPG_ERROR_1.0 not defined in file libgpg-error.so.0 with link time reference)
libGL: OpenDriver: trying ${ORIGIN}/dri/tls/swrast_dri.so
libGL: OpenDriver: trying ${ORIGIN}/dri/swrast_dri.so
libGL: dlopen ${ORIGIN}/dri/swrast_dri.so failed (${ORIGIN}/dri/swrast_dri.so: cannot open shared object file: No such file or directory)
libGL: OpenDriver: trying /usr/lib/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib/dri/swrast_dri.so
libGL: dlopen /usr/lib/dri/swrast_dri.so failed (/usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory)
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
correct, that should work, it is the libgpg-error.so.0 that is failing now. Trusting the reddit comment, this is what is needed now (this, or the LD_PRELOAD above)
Nope, neither of the two are working for me. LD_PRELOAD just gives me a ton of errors, renaming the files still fails with libGL error: No matching fbConfigs or visuals found and libGL error: failed to load driver: swrast.
@mr-blobbyyy because steam officially only support steamos and ubuntu 14.04 LTS and this are the lib version include on those systems. Steam have a set of runtime binaries/libs for compatibility, so any game can work for many years without any update... For closed source drivers, this is not usually a problem, but for open source ones (and now too the closed source amdgpu pro) are using the same libs... so trying to load one old lib with a new drive that requires newer lib version creates this problem. This is not easy to solve, but the reality is that very few games require this old compatibility layer, most games can use newer lib versions safely. Long term fix might be isolate system/X/opengl related libs from the game bundled libs
@pluma if this is failing, please run the find above and then run steam like this and post the result:
LIBGL_DEBUG=verbose steam
without this, it is impossible to know what is going wrong on your system.
Also, report what disto/version are you running, if not ubuntu 16.10
@higuita (mind you, this is after using the rename above)
Running Steam on ubuntu 16.04 64-bit
STEAM_RUNTIME is enabled automatically
grep: symbol lookup error: grep: undefined symbol: pcre_jit_stack_alloc
grep: symbol lookup error: grep: undefined symbol: pcre_jit_stack_alloc
/bin/bash: /home/pluma/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/lib/x86_64-linux-gnu/libtinfo.so.5: no version information available (required by /bin/bash)
awk: /home/pluma/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/lib/x86_64-linux-gnu/libtinfo.so.5: no version information available (required by /lib/x86_64-linux-gnu/libreadline.so.6)
grep: symbol lookup error: grep: undefined symbol: pcre_jit_stack_alloc
Installing breakpad exception handler for appid(steam)/version(1476379980)
libGL: screen 0 does not appear to be DRI2 capable
libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/swrast_dri.so
libGL: Can't open configuration file /home/pluma/.drirc: No such file or directory.
libGL: Can't open configuration file /home/pluma/.drirc: No such file or directory.
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
NVIDIA Driver Version: 367.44
As I said: if I set the driver to use the Intel card everything works fine.
i would say you have a problem with your nvidia drivers or bumblebee setup...sadly i do not think that nvidia have anything similar to LIBGL_DEBUG=verbose, but i do not use nvidia for about 8 years.
do any other app/game outside steam work with nvidia?
try running with this command (stolen from @likehopper above) :
I think this explains why Steam was suddenly broken for me. I recall having had problems with Steam the first time I installed it way back and apparently I was using version 361 of the driver (now I'm on 367) because at the bottom of my .bashrc I found this line:
(note that "/usr/lib64" doesn't even exist, so the lib32 path is all Steam needed to work)
So this must have been how I originally got Steam working in the first place and upgrading to 367 broke it.
Now if only there was an easy way to fetch the integer driver version from the output of nvidia-settings -q NvidiaDriverVersion and inject it into that path dynamically so this doesn't break on the next update.
Just as an addendum, this is pretty hacky and someone with better shell skills than me should probably correct this, but this seems to do the trick (just add it to .bashrc and launch steam from the shell):
I also had this issue on a new Dell Inspiron with AMD graphics. It was running Ubuntu 16.04. I had to use the workaround
cd $HOME/.steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu
mv libstdc++.so.6 libstdc++.so.6.bak
cd $HOME/.steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu
mv libstdc++.so.6 libstdc++.so.6.bak
to make Steam work. Please fix this problem!
(I also had to install ia32-libs, of course, as I have a 64 bit system)
Activity
selfslaughter commentedon Apr 26, 2015
Same issue here, DELL Latitude D810: Fresh install of Lubuntu 15.04 / Linux 4.0.0.
ATI Mobility X600 GPU
self_slaughter@SiC:~$ steam
Running Steam on ubuntu 15.04 32-bit
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(0_client)
libGL error: unable to load driver: r300_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: r300
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
self_slaughter@SiC:~$ uname -a
Linux SiC 4.0.0-040000-generic #201504121935 SMP Sun Apr 12 23:58:08 UTC 2015 i686 i686 i686 GNU/Linux
self_slaughter@SiC:/$ locate swrast_dri.so
/usr/lib/i386-linux-gnu/dri/kms_swrast_dri.so
/usr/lib/i386-linux-gnu/dri/swrast_dri.so
self_slaughter@SiC:/$ locate r300_dri.so
/usr/lib/i386-linux-gnu/dri/r300_dri.so
self_slaughter@SiC:~$ LIBGL_DEBUG=verbose glxinfo
name of display: :0.0
libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/tls/r300_dri.so
libGL: OpenDriver: trying /usr/lib/i386-linux-gnu/dri/r300_dri.so
libGL: Can't open configuration file /home/self_slaughter/.drirc: No such file or directory.
libGL: Can't open configuration file /home/self_slaughter/.drirc: No such file or directory.
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
GLX_ARB_create_context, GLX_ARB_create_context_profile,
GLX_ARB_fbconfig_float, GLX_ARB_framebuffer_sRGB, GLX_ARB_multisample,
GLX_EXT_create_context_es2_profile, GLX_EXT_framebuffer_sRGB,
GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info,
GLX_EXT_visual_rating, GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer,
GLX_OML_swap_method, GLX_SGIS_multisample, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group, GLX_SGI_swap_control
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
client glx extensions:
GLX_ARB_create_context, GLX_ARB_create_context_profile,
GLX_ARB_create_context_robustness, GLX_ARB_fbconfig_float,
GLX_ARB_framebuffer_sRGB, GLX_ARB_get_proc_address, GLX_ARB_multisample,
GLX_EXT_buffer_age, GLX_EXT_create_context_es2_profile,
GLX_EXT_fbconfig_packed_float, GLX_EXT_framebuffer_sRGB,
GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info,
GLX_EXT_visual_rating, GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer,
GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer,
GLX_MESA_swap_control, GLX_OML_swap_method, GLX_OML_sync_control,
GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
GLX_SGIX_visual_select_group, GLX_SGI_make_current_read,
GLX_SGI_swap_control, GLX_SGI_video_sync
GLX version: 1.4
GLX extensions:
GLX_ARB_create_context, GLX_ARB_create_context_profile,
GLX_ARB_fbconfig_float, GLX_ARB_framebuffer_sRGB,
GLX_ARB_get_proc_address, GLX_ARB_multisample,
GLX_EXT_create_context_es2_profile, GLX_EXT_framebuffer_sRGB,
GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info,
GLX_EXT_visual_rating, GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer,
GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer,
GLX_MESA_swap_control, GLX_OML_swap_method, GLX_OML_sync_control,
GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
GLX_SGIX_visual_select_group, GLX_SGI_make_current_read,
GLX_SGI_swap_control, GLX_SGI_video_sync
OpenGL vendor string: X.Org R300 Project
OpenGL renderer string: Gallium 0.4 on ATI RV380
OpenGL version string: 2.1 Mesa 10.5.2
OpenGL shading language version string: 1.20
OpenGL extensions:
GL_AMD_shader_trinary_minmax, GL_APPLE_packed_pixels,
GL_APPLE_vertex_array_object, GL_ARB_ES2_compatibility,
GL_ARB_buffer_storage, GL_ARB_clear_buffer_object, GL_ARB_clip_control,
GL_ARB_compressed_texture_pixel_storage, GL_ARB_copy_buffer,
GL_ARB_debug_output, GL_ARB_depth_texture, GL_ARB_draw_buffers,
GL_ARB_draw_elements_base_vertex, GL_ARB_explicit_attrib_location,
GL_ARB_explicit_uniform_location, GL_ARB_fragment_coord_conventions,
GL_ARB_fragment_program, GL_ARB_fragment_program_shadow,
GL_ARB_fragment_shader, GL_ARB_framebuffer_object,
GL_ARB_get_program_binary, GL_ARB_half_float_pixel,
GL_ARB_half_float_vertex, GL_ARB_instanced_arrays,
GL_ARB_internalformat_query, GL_ARB_invalidate_subdata,
GL_ARB_map_buffer_alignment, GL_ARB_map_buffer_range, GL_ARB_multi_bind,
GL_ARB_multisample, GL_ARB_multitexture, GL_ARB_occlusion_query,
GL_ARB_occlusion_query2, GL_ARB_pixel_buffer_object,
GL_ARB_point_parameters, GL_ARB_point_sprite, GL_ARB_provoking_vertex,
GL_ARB_robustness, GL_ARB_sampler_objects, GL_ARB_separate_shader_objects,
GL_ARB_shader_objects, GL_ARB_shading_language_100, GL_ARB_shadow,
GL_ARB_sync, GL_ARB_texture_barrier, GL_ARB_texture_border_clamp,
GL_ARB_texture_compression, GL_ARB_texture_cube_map,
GL_ARB_texture_env_add, GL_ARB_texture_env_combine,
GL_ARB_texture_env_crossbar, GL_ARB_texture_env_dot3,
GL_ARB_texture_float, GL_ARB_texture_mirror_clamp_to_edge,
GL_ARB_texture_mirrored_repeat, GL_ARB_texture_non_power_of_two,
GL_ARB_texture_rectangle, GL_ARB_texture_rg, GL_ARB_texture_storage,
GL_ARB_texture_swizzle, GL_ARB_transpose_matrix, GL_ARB_vertex_array_bgra,
GL_ARB_vertex_array_object, GL_ARB_vertex_attrib_binding,
GL_ARB_vertex_buffer_object, GL_ARB_vertex_program, GL_ARB_vertex_shader,
GL_ARB_window_pos, GL_ATI_blend_equation_separate, GL_ATI_draw_buffers,
GL_ATI_separate_stencil, GL_ATI_texture_env_combine3,
GL_ATI_texture_float, GL_ATI_texture_mirror_once, GL_EXT_abgr,
GL_EXT_bgra, GL_EXT_blend_color, GL_EXT_blend_equation_separate,
GL_EXT_blend_func_separate, GL_EXT_blend_minmax, GL_EXT_blend_subtract,
GL_EXT_compiled_vertex_array, GL_EXT_copy_texture,
GL_EXT_draw_range_elements, GL_EXT_fog_coord, GL_EXT_framebuffer_blit,
GL_EXT_framebuffer_multisample, GL_EXT_framebuffer_multisample_blit_scaled,
GL_EXT_framebuffer_object, GL_EXT_gpu_program_parameters,
GL_EXT_multi_draw_arrays, GL_EXT_packed_depth_stencil,
GL_EXT_packed_pixels, GL_EXT_pixel_buffer_object, GL_EXT_point_parameters,
GL_EXT_polygon_offset, GL_EXT_provoking_vertex, GL_EXT_rescale_normal,
GL_EXT_secondary_color, GL_EXT_separate_specular_color,
GL_EXT_shadow_funcs, GL_EXT_stencil_two_side, GL_EXT_stencil_wrap,
GL_EXT_subtexture, GL_EXT_texture, GL_EXT_texture3D,
GL_EXT_texture_cube_map, GL_EXT_texture_edge_clamp,
GL_EXT_texture_env_add, GL_EXT_texture_env_combine,
GL_EXT_texture_env_dot3, GL_EXT_texture_filter_anisotropic,
GL_EXT_texture_lod_bias, GL_EXT_texture_mirror_clamp,
GL_EXT_texture_object, GL_EXT_texture_rectangle, GL_EXT_texture_sRGB,
GL_EXT_texture_sRGB_decode, GL_EXT_texture_snorm, GL_EXT_texture_swizzle,
GL_EXT_vertex_array, GL_EXT_vertex_array_bgra,
GL_IBM_multimode_draw_arrays, GL_IBM_rasterpos_clip,
GL_IBM_texture_mirrored_repeat, GL_INGR_blend_func_separate,
GL_KHR_context_flush_control, GL_KHR_debug, GL_MESA_pack_invert,
GL_MESA_texture_signed_rgba, GL_MESA_window_pos, GL_MESA_ycbcr_texture,
GL_NV_blend_square, GL_NV_conditional_render, GL_NV_fog_distance,
GL_NV_light_max_exponent, GL_NV_packed_depth_stencil,
GL_NV_texgen_reflection, GL_NV_texture_barrier,
GL_NV_texture_env_combine4, GL_NV_texture_rectangle, GL_OES_EGL_image,
GL_OES_read_format, GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp,
GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod, GL_SUN_multi_draw_arrays
OpenGL ES profile version string: OpenGL ES 2.0 Mesa 10.5.2
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 1.0.16
OpenGL ES profile extensions:
GL_APPLE_texture_max_level, GL_EXT_blend_minmax,
GL_EXT_discard_framebuffer, GL_EXT_draw_buffers, GL_EXT_map_buffer_range,
GL_EXT_multi_draw_arrays, GL_EXT_read_format_bgra,
GL_EXT_separate_shader_objects, GL_EXT_texture_filter_anisotropic,
GL_EXT_texture_format_BGRA8888, GL_EXT_texture_rg,
GL_EXT_texture_type_2_10_10_10_REV, GL_EXT_unpack_subimage,
GL_KHR_context_flush_control, GL_NV_draw_buffers,
GL_NV_fbo_color_attachments, GL_NV_read_buffer, GL_OES_EGL_image,
GL_OES_EGL_image_external, GL_OES_compressed_ETC1_RGB8_texture,
GL_OES_depth24, GL_OES_depth_texture, GL_OES_element_index_uint,
GL_OES_fbo_render_mipmap, GL_OES_get_program_binary, GL_OES_mapbuffer,
GL_OES_packed_depth_stencil, GL_OES_rgb8_rgba8, GL_OES_stencil8,
GL_OES_surfaceless_context, GL_OES_texture_3D, GL_OES_texture_npot,
GL_OES_vertex_array_object
Tele42 commentedon Apr 26, 2015
This is a known issue where the steam runtime bundled libstdc++.so.6 is too old for mesa and is being used instead of the newer system varient. This is reported at #3273 and ValveSoftware/steam-runtime#13.
selfslaughter commentedon Apr 27, 2015
Thanks, I'll try removing it and any other outdated files when I get home 😊
edit: removed the libstd files and steam downloaded, then had to force close it and delete the new libstd files it created. Now it's running 👍 Cheers!
Surprisingly I've got 107 of my games available to linux. Sadly doom isn't one of them lol
Thank god for chocolate doom.
likehopper commentedon May 2, 2015
This works fine for me under Ubuntu 15.04 64bits with proprietary driver NVIDIA version 346 and the latest steam client :
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/lib32/nvidia-346/:/usr/lib/nvidia-346/" steam
hlorridi commentedon Jun 6, 2015
sudo kill $(pgrep steam)
for f in $(find ~/.steam/ -iname libstd); do mv $f $f.bck; done
And that's "fixed"
MrSchism commentedon Jun 6, 2015
I'm glad it worked, @selfslaughter
@likehopper it's a mesa (intel integrated graphics) issue.
@hlorridi that's a decent script, but I'd probably have it check a bit more stringent.
Ruedii commentedon Jun 27, 2015
This is technically a bug with Steam Runtime. Sould it be referred over to there?
kod-kristoff commentedon Jul 6, 2015
I found this good workaround that doesn't that still works after steam upgrades: https://wirejungle.wordpress.com/2015/01/09/how-to-fix-broken-steam-linux-client-with-radeon-graphics-driver-workaround/
monte-fm commentedon Aug 14, 2015
Here is good guide
https://wirejungle.wordpress.com/2015/01/09/how-to-fix-broken-steam-linux-client-with-radeon-graphics-driver-workaround/
phgachoud commentedon Nov 5, 2015
Same problem on ubuntu 15.10 Asus and GeForce G102M
OwenChia commentedon Nov 14, 2015
Same problem on Gentoo and ATI HD5650m.
jhyrman commentedon Dec 2, 2015
FWIW, I installed nvidia-current, restarted, removed steam, purged, updated, installed steam, and now it's working. Ubuntu 15.10 with nVidia.
17 remaining items
IsNoGood commentedon Oct 22, 2016
This happens also for me: Lenovo Carbon X1 Gen 2 and Ubuntu 16.10
higuita commentedon Oct 23, 2016
The logs you send point that libGL mesa drive failed to load the intel driver and then also failed to load the software fallback... probably another lib that needs to be removed from steam-runtime because it breaks recent mesa versions. I still didn't updated ubuntu on test machine, so i can not test it right now.
Please try to start steam from the command line with
LIBGL_DEBUG=verbose steamand report the output, it should give a little more info on what is failing now on 16.10.
I also assume that running
glxgearsworks fine in a normal console (not run from inside steam)victorb commentedon Oct 23, 2016
@higuita Thanks a lot for the debugging and the additional steps to get more information. I now get the following output:
glxgearsworks without any problems.victorb commentedon Oct 23, 2016
I did come across a comment (#4664 (comment)) in a different issue that solves the problem if you preload the libraries like this:
With this I'm no longer seeing the errors from LibGL
higuita commentedon Oct 23, 2016
correct, that should work, it is the libgpg-error.so.0 that is failing now. Trusting the reddit comment, this is what is needed now (this, or the LD_PRELOAD above)
find $HOME/.steam/root/ubuntu12_32/steam-runtime/*/usr/lib/ \( -name "libstdc++.so.6" -o -name "libgpg-error.so.0" -o -name "libxcb.so.1" -o -name "libgcc_s.so.1" \) -exec mv "{}" "{}.bak" \; -printMcKenna-Fan commentedon Oct 24, 2016
Can someone explain why this is still an issue? Why is steam bundling old mesa libraries?
pluma commentedon Oct 24, 2016
Nope, neither of the two are working for me. LD_PRELOAD just gives me a ton of errors, renaming the files still fails with
libGL error: No matching fbConfigs or visuals foundandlibGL error: failed to load driver: swrast.higuita commentedon Oct 24, 2016
@mr-blobbyyy because steam officially only support steamos and ubuntu 14.04 LTS and this are the lib version include on those systems. Steam have a set of runtime binaries/libs for compatibility, so any game can work for many years without any update... For closed source drivers, this is not usually a problem, but for open source ones (and now too the closed source amdgpu pro) are using the same libs... so trying to load one old lib with a new drive that requires newer lib version creates this problem. This is not easy to solve, but the reality is that very few games require this old compatibility layer, most games can use newer lib versions safely. Long term fix might be isolate system/X/opengl related libs from the game bundled libs
@pluma if this is failing, please run the find above and then run steam like this and post the result:
LIBGL_DEBUG=verbose steamwithout this, it is impossible to know what is going wrong on your system.
Also, report what disto/version are you running, if not ubuntu 16.10
pluma commentedon Oct 25, 2016
@higuita (mind you, this is after using the rename above)
NVIDIA Driver Version: 367.44
As I said: if I set the driver to use the Intel card everything works fine.
higuita commentedon Oct 26, 2016
@pluma so intel works, right?
i would say you have a problem with your nvidia drivers or bumblebee setup...sadly i do not think that nvidia have anything similar to LIBGL_DEBUG=verbose, but i do not use nvidia for about 8 years.
do any other app/game outside steam work with nvidia?
try running with this command (stolen from @likehopper above) :
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/lib32/nvidia-346/:/usr/lib/nvidia-346/" steamupdate the nvidia version for what you have installed
pluma commentedon Oct 26, 2016
@higuita Amazing, that seems to do the trick.
I think this explains why Steam was suddenly broken for me. I recall having had problems with Steam the first time I installed it way back and apparently I was using version 361 of the driver (now I'm on 367) because at the bottom of my
.bashrcI found this line:export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/lib32/nvidia-361:/usr/lib64/nvidia-361"(note that "/usr/lib64" doesn't even exist, so the lib32 path is all Steam needed to work)
So this must have been how I originally got Steam working in the first place and upgrading to 367 broke it.
Now if only there was an easy way to fetch the integer driver version from the output of
nvidia-settings -q NvidiaDriverVersionand inject it into that path dynamically so this doesn't break on the next update.pluma commentedon Oct 26, 2016
Just as an addendum, this is pretty hacky and someone with better shell skills than me should probably correct this, but this seems to do the trick (just add it to
.bashrcand launch steam from the shell):rdragonrydr commentedon Dec 25, 2016
I also had this issue on a new Dell Inspiron with AMD graphics. It was running Ubuntu 16.04. I had to use the workaround
cd $HOME/.steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu
mv libstdc++.so.6 libstdc++.so.6.bak
cd $HOME/.steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu
mv libstdc++.so.6 libstdc++.so.6.bak
to make Steam work. Please fix this problem!
(I also had to install ia32-libs, of course, as I have a 64 bit system)
kisak-valve commentedon Dec 25, 2016
Hello, we will be tracking this type of issue at #4768 from now on. Closing.