protonscr

native steam is not working on ubuntu 16.04

steamclosed reviewed
ValveSoftware/steam-for-linux#4200 · opened 2015-12-24 by Kernel-linux · updated 2019-02-22 · 14 comments · github
3 matching comments, n / p to jump
KKernel-linux 2015-12-24 github

Starting steam with terminal :

Running Steam on ubuntu 16.04 64-bit
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(0)
libGL error: unable to load driver: nouveau_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: nouveau
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast

Ggdrewb-valve maintainer 2015-12-25 github

Most likely a duplicate of the Steam runtime conflicts already logged here. Do a search for swrast_dri if you're interested in possible workarounds.

KKernel-linux 2015-12-25 github

@gdrewb-valve

Using this command solves the problem

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

Also works fine with nvidia proprietary driver

Cchest069 2016-04-04 github

Not to sound dumb but I am having the above problem too. Where do I put the command "LD_PRELOAD='/usr/$LIB/libstdc++.so.6' DISPLAY=:0 steam" to get it to run?

Bbjwest 2016-04-04 github

@chest069, In your launcher or menu. Edit the Steam menu item and add "LD_PRELOAD='/usr/$LIB/libstdc++.so.6' DISPLAY=:0 " to the front of the current command (probably '/usr/bin/steam %U') and don't forget the space after the '0'. If you want to give it a try on the command line first, use the complete "LD_PRELOAD='/usr/$LIB/libstdc++.so.6' DISPLAY=:0 steam" command.

Cchest069 2016-04-05 github

Thanks for the help but I tried it both ways and the game didn't launch, steam did though. The only thing I noticed was it came back and said there was "displaymanager : xrandr version warning. 1.4" and "client has 3 screens". I don't know if any of this is causing it not to launch the game though. Any thoughts?

Ggeoffp 2016-04-09 github

FWIW, this workaround did the trick for me. For me, neither Steam nor Portal 2 would launch on 16.04/Mesa, but now they do!

Cchest069 2016-04-10 github

Well I fixed my issue by putting in a graphics card instead of using the on board graphics and it worked fine. So I guess my on board graphics couldn't handle it and that was the issue. Thanks for all the help.

GGoddard 2016-05-13 github

This doesn't help on AMD radeon cards.

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
grep: symbol lookup error: grep: undefined symbol: pcre_jit_stack_alloc
Installing breakpad exception handler for appid(steam)/version(1454620878)
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

Ff00stx 2016-07-25 github

The posted workaround (LD_PRELOAD) didn't work for me. Ubuntu 16.04.1, video card is a GTX-1060 running proprietary driver version 367.35.

Running Steam on ubuntu 16.04 64-bit
STEAM_RUNTIME is enabled automatically
/bin/bash: /home/richard/.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(1468023329)
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/richard/.drirc: No such file or directory.
libGL: Can't open configuration file /home/richard/.drirc: No such file or directory.
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
Aapkoponen 2016-07-30 github

I have the same problem as @f00stx. Did you find a solution?

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
grep: symbol lookup error: grep: undefined symbol: pcre_jit_stack_alloc
Installing breakpad exception handler for appid(steam)/version(1468023329)
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
KKasijjuf 2016-07-31 github

OP's issue is resolved. @Goddard, @f00stx, and @apkoponen, if you are still experiencing issues, I recommend opening separate issues. Recommending this issue be closed.

Mmmstick 2016-10-24 github

I've mentioned this before in other issue reports regarding the steam runtime that this would easily be solved by a simple bash one liner in the official steam.sh script. Why it hasn't been fixed yet, despite being so easy to do, is beyond me. The solution? If OpenGL renderer is Mesa, use the LD_PRELOAD hack. Otherwise, don't. I just create a steam-wrapper script and have the desktop file point to it instead:

#!/bin/bash
glxinfo | grep OpenGL renderer | grep Mesa && \
    LD_PRELOAD='/usr/$LIB/libstdc++.so.6` DISPLAY=:0 steam || steam
Mmirh 2017-04-14 github

I would dupe this to #4664

Kkisak-valve maintainer 2019-02-22 github

Closing as fixed in steam's 1.0.0.55 bootstrap runtime.

Nothing extracted yet.