Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

native steam is not working on ubuntu 16.04 #4200

Closed
Kernel-linux opened this issue Dec 24, 2015 · 14 comments
Closed

native steam is not working on ubuntu 16.04 #4200

Kernel-linux opened this issue Dec 24, 2015 · 14 comments
Assignees
Labels

Comments

@Kernel-linux
Copy link

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

@gdrewb-valve
Copy link
Contributor

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.

@Kernel-linux
Copy link
Author

@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

@chest069
Copy link

chest069 commented Apr 4, 2016

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?

@bjwest
Copy link

bjwest commented Apr 4, 2016

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

@chest069
Copy link

chest069 commented Apr 5, 2016

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?

@geoffp
Copy link

geoffp commented Apr 9, 2016

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!

@chest069
Copy link

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.

@Goddard
Copy link

Goddard commented May 13, 2016

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

@f00stx
Copy link

f00stx commented Jul 25, 2016

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

@apkoponen
Copy link

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

@Kasijjuf
Copy link

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.

@mmstick
Copy link

mmstick commented Oct 24, 2016

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

@mirh
Copy link

mirh commented Apr 14, 2017

I would dupe this to #4664

@kisak-valve
Copy link
Member

Closing as fixed in steam's 1.0.0.55 bootstrap runtime.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests