protonscr

libGL errors on Ubuntu 16.04 desktop amd64

steamclosed reviewed
ValveSoftware/steam-for-linux#4451 · opened 2016-05-19 by DejanSRB · updated 2019-06-15 · 14 comments · github
1 matching comments, n / p to jump
DDejanSRB 2016-05-19 github

Installation of Steam was without errors but later when I tried to start it for the first time I got all this errors:
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
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(1461972496)
libGL error: unable to load driver: vmwgfx_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: vmwgfx
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast

After some research I executed this two:

rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libstdc++.so.6
rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libgcc_s.so.1

After that Steam had gone thru update process after which I got same errors as above.
I would appreciate some help since I'm trying to switch to Linux after long time on Windows.

Ggdrewb-valve maintainer 2016-05-19 github

Check out the other 16.04 issues here, it's highly likely you're hitting the same thing as the others.

DDejanSRB 2016-05-19 github

So far no luck in other issues. I'll wait patiently for my issue. No hurries, got plenty of other thing to do with Ubuntu. Thanks for trying to resolve it.

GGoddard 2016-05-20 github

Same issue here. What is fix?

DDejanSRB 2016-05-20 github

Nothing so far.

Tteresko 2016-05-21 github

What helped me (on ArchLinux, current) was running it with this command:
LD_PRELOAD='/usr/$LIB/libstdc++.so.6 /usr/$LIB/libgcc_s.so.1 /usr/$LIB/libxcb.so.1 /usr/$LIB/libgpg-error.so' steam

After some tinkering I was able to shorten it to:
LD_PRELOAD='/usr/$LIB/libstdc++.so.6 /usr/$LIB/libgpg-error.so' steam

DDejanSRB 2016-05-22 github

Thank you teresko.
With that second line I did managed to start it. It works fine but in the background there are a lot of errors like this:
ERROR: ld.so: object '/usr/$LIB/libgpg-error.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
grep: symbol lookup error: grep: undefined symbol: pcre_jit_stack_alloc

But to repeat once more. It does work even with errors.

Tteresko 2016-05-22 github

That latter one will probably be due to missing libgpg-error (either 64 or 32 bit variant). The trick with LD_PRELOAD is a workaround, which manually feeds Steam those libs.

OOxalin 2016-05-23 github

You better stick with the first one though, libgcc_s and libxcb being related to some problems here and there.

Tteresko 2016-05-24 github

The libxcb I actually got fixed by installing lib32-qt5-base-bin.

DDejanSRB 2016-05-28 github

Same thing regardless if I use first or second line. Thanks for help both of you. I think it's ok for now since I can start it regardless of errors. When I learn little more of my Ubuntu I'll try to dig deeper into this. :+1:

OOxalin 2016-05-28 github

@DejanSRB, I'll just add a little note: you may see a lot of errors that should be considered as warnings. Steam runs as a 32 bit application, so it may have a look at your libs and discards the 64bit version of them. Then, you may have some 64 bit games launched from Steam, and they will be looking for the 64 bit version of the libs. When Steam or a game encounters a library not meant for the architecture it is looking for, it will throw an error even though it may be able to find a suitable one.

Other times, you may have an error (warning) because Steam is expecting to find something in the library but can't. It may be because it is a different version from what it is expecting.

That being said, if you are able to launch Steam, have fun! ;)

DDejanSRB 2016-05-28 github

Thanks a lot man. I appreciate your time to explain this in details for me. Now I know a lot more about this.

Kkisak-valve maintainer 2019-05-10 github

Hello @DejanSRB, since the last comment on this issue report, Steam's handling of the Steam runtime has changed to prefer host libraries before the steam runtime variants, which should avoid the issue described here. Are you still experiencing this issue on an up to date system?

Kkisak-valve maintainer 2019-06-15 github

Closing as fixed some time ago.

Nothing extracted yet.