protonscr

Steam on Lubuntu 15.04 don't start

steamclosed reviewed
ValveSoftware/steam-for-linux#3801 · opened 2015-04-19 by Clonewayx · updated 2016-12-25 · 43 comments · github
CClonewayx 2015-04-19 github

Steam client dont strat.

********:~$ steam
Running Steam on ubuntu 15.04 32-bit
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(1424305157)
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

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: steam 1:1.0.0.48-1ubuntu1 [modified: usr/share/applications/steam.desktop usr/share/icons/hicolor/16x16/apps/steam.png usr/share/icons/hicolor/24x24/apps/steam.png usr/share/icons/hicolor/256x256/apps/steam.png usr/share/icons/hicolor/32x32/apps/steam.png usr/share/icons/hicolor/48x48/apps/steam.png]
ProcVersionSignature: Ubuntu 3.19.0-10.10-generic 3.19.2
Uname: Linux 3.19.0-10-generic i686
ApportVersion: 2.16.2-0ubuntu4
Architecture: i386
CurrentDesktop: LXDE
Date: Fri Mar 27 16:14:50 2015
InstallationDate: Installed on 2013-03-16 (741 days ago)
InstallationMedia: Lubuntu 12.10 "Quantal Quetzal" - Release i386 (20121017.1)
SourcePackage: steam
UpgradeStatus: No upgrade log present (probably fresh install)

https://bugs.launchpad.net/ubuntu/+source/steam/+bug/1437379

Sselfslaughter 2015-04-26 github

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

TTele42 2015-04-26 github

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 https://github.com/ValveSoftware/steam-runtime/issues/13.

Sselfslaughter 2015-04-27 github

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 :+1: 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.

Llikehopper 2015-05-02 github

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

Hhlorridi 2015-06-06 github

sudo kill $(pgrep steam)
for f in $(find ~/.steam/ -iname libstd); do mv $f $f.bck; done
And that's "fixed"

MMrSchism 2015-06-06 github

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

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.

RRuedii 2015-06-27 github

This is technically a bug with Steam Runtime. Sould it be referred over to there?

Kkod-kristoff 2015-07-06 github

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/

Pphgachoud 2015-11-05 github

Same problem on ubuntu 15.10 Asus and GeForce G102M

OOwenChia 2015-11-14 github

Same problem on Gentoo and ATI HD5650m.

Jjhyrman 2015-12-02 github

FWIW, I installed nvidia-current, restarted, removed steam, purged, updated, installed steam, and now it's working. Ubuntu 15.10 with nVidia.

Llegluondunet 2015-12-24 github

I obtained the same problem on a computer (Ubuntu 15.10 - AMD/ATI Hawaii XT Radeon R9 290X - drivers free). I found a workaround here:
http://askubuntu.com/questions/614422/problem-with-installing-steam-on-ubuntu-15-04/614458

Pplastilint 2016-01-24 github

Same problem.

Ttribbloid 2016-02-04 github

same problem using nvidia-355 & nvidia-prime, WITHOUT bumblebee/primus

BBitReign 2016-02-20 github

Same. 7970 - ubuntu 15.10

RRoqueNE 2016-02-21 github

Same. Arch - ATI R300

Ccharlieperomsik 2016-03-06 github

@monte-fm Thank you! Based on your link, easy fix to this problem is, in a terminal:

export LD_PRELOAD='/usr/$LIB/libstdc++.so.6'
export DISPLAY=:0

Worked for me...
Maybe it would make sense for steam to do this automatically if driver pointer is missing?

CChrisNZL 2016-03-07 github
export LD_PRELOAD='/usr/$LIB/libstdc++.so.6'
export DISPLAY=:0

These two lines got it working for me with Ubuntu 15.10. Thanks.

Bbubbapizza 2016-03-19 github

yep, those lines worked for me too - ubuntu 15.10, radeon R9 270

Rrskumar 2016-04-12 github

Shame but same issue. Ubuntu 15.10 :)

Works with steps as suggested by @monte-fm

EEnzime 2016-04-27 github

Just wanted to mention this link, anyone who might be having issues with Steam, this could also be caused by the new version of libgcrypt

https://bugs.archlinux.org/task/48994

DDeXP 2016-05-06 github

Thanks, @Enzime, this worked for me!

Aapiraino 2016-06-07 github

Still present as of Ubuntu 16.04.

In my case the problem was caused by an obsolete version of library libstdc++.so.6 (dated 2014!) shipped with Steam installer v1.0.0.52. I fixed deleting the culprit library and its symlink (Steam will fall back on the system one):

~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/libstdc++.so.6
~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/libstdc++.so.6.0.18

In order to diagnose I launched with env LIBGL_DEBUG=verbose steam and I could spot this error:

libGL: dlopen /usr/lib/i386-linux-gnu/dri/r600_dri.so failed (/home/jman/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /usr/lib/i386-linux-gnu/dri/r600_dri.so))

This thread for ArchLinux helped me a lot:
https://bbs.archlinux.org/viewtopic.php?id=197956

jeez, can't wait for the day we Linux users won't be second-class citizens...

OOwenChia 2016-06-21 github
find ~/.steam/root/ \( -name "libgcc_s.so*" -o -name "libgcrypt.so*" -o -name "libstdc++.so*" -o -name "libxcb.so*" \) -print -delete

This worked for me, Gentoo with Radeon.

https://bbs.archlinux.org/viewtopic.php?pid=1590999#p1590999

UPDATE
It's doesn't worked anymore after I updated steam today (06/24/16).

Bbrantje 2016-10-13 github

Taken from: http://askubuntu.com/questions/614422/problem-with-installing-steam-on-ubuntu-15-04

find $HOME/.steam/root/ubuntu12_32/steam-runtime/*/usr/lib/ -name "libstdc++.so.6" -exec mv "{}" "{}.bak" \; -print

might fix it.

Ppluma 2016-10-14 github

I'm also getting the swrast error messages and no GUI. I'm not sure what caused it, possibly either a steam update or a regular apt-get upgrade of something else.

I'm using Ubuntu 16.04 LTS with a GeForce GTX 870M/PCIe/SSE2 using the official nVidia driver (listed as "proprietary, tested" in the additional drivers selection).

Deleting files like others recommended doesn't fix it. What DOES work around it is switching PRIME to the on-board Intel HD graphics chip in the nVidia settings. But that results in atrocious performance so I'm only using that to install games and then launch them manually without Steam.

I've tried installing steam using the .deb file from the steam website but that refused to launch after the EULA screen, showing the exact same message about swrast in the console (so I had to install using Intel mode).

All of this worked just a few days ago (though I did originally have to hunt down and delete some files like others have suggested here) and ceased working yesterday. Even a clean reinstall after a complete purge didn't fix it -- neither the steam-launcher .deb from the steam website nor the Ubuntu steam:i386 package work when I'm using the nVidia card.

I would be fine if Steam would only work with software rasterisation because it obviously doesn't affect the games and at least I could install and update games without logging out of Ubuntu.

Ddassmann 2016-10-14 github

Same error here on Ubuntu 16.10 (64bit) and intel graphics (no discrete graphics!). Using the LD_PRELOAD trick I can get steam to update itself. However, the error appears again on the updated version.

Vvictorb 2016-10-22 github

Having similar issues but with a Intel Graphics on MacBookPro11,1

$ lsb_release -a

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.10
Release:    16.10
Codename:   yakkety

$ uname -a

Linux tonga 4.8.0-26-generic [#28](/issue/ValveSoftware/steam-for-linux/28)-Ubuntu SMP Tue Oct 18 14:39:52 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

$ steam

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 error: unable to load driver: i965_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: i965
libGL error: unable to load driver: i965_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: i965
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast

IIsNoGood 2016-10-22 github

This happens also for me: Lenovo Carbon X1 Gen 2 and Ubuntu 16.10

Hhiguita 2016-10-23 github

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)

Vvictorb 2016-10-23 github

@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

glxgears works without any problems.

Vvictorb 2016-10-23 github

I did come across a comment (https://github.com/ValveSoftware/steam-for-linux/issues/4664#issuecomment-253823532) in a different issue that solves the problem if you preload the libraries like this:

env LD_PRELOAD='/usr/$LIB/libstdc++.so.6 /$LIB/libgcc_s.so.1 /usr/$LIB/libxcb.so.1 /$LIB/libgpg-error.so.0' steam

With this I'm no longer seeing the errors from LibGL

Hhiguita 2016-10-23 github

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" \; -print

Mmr-blobbyyy 2016-10-24 github

Can someone explain why this is still an issue? Why is steam bundling old mesa libraries?

Ppluma 2016-10-24 github

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.

Hhiguita 2016-10-24 github

@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

Ppluma 2016-10-25 github

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

Hhiguita 2016-10-26 github

@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/" steam

update the nvidia version for what you have installed

Ppluma 2016-10-26 github

@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 .bashrc I 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 NvidiaDriverVersion and inject it into that path dynamically so this doesn't break on the next update.

Ppluma 2016-10-26 github

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

NVIDIA_VERSION=`nvidia-settings -q NvidiaDriverVersion | grep -oP "[0-9]{3}" | sed -n 1p`
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/lib32/nvidia-$NVIDIA_VERSION:/usr/lib/nvidia-$NVIDIA_VERSION"
Rrdragonrydr 2016-12-25 github

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)

Kkisak-valve maintainer 2016-12-25 github

Hello, we will be tracking this type of issue at #4768 from now on. Closing.