protonscr

Steam overlay has broken

steamclosed reviewedruntime
ValveSoftware/steam-for-linux#3093 · opened 2014-01-12 by maximvl · updated 2016-10-22 · 39 comments · github
Mmaximvl 2014-01-12 github

Some latest changes have broken overlay, I tried tf2 and dota2. Overlay just does not appear, neither by shift+tab nor by links from games.

My steam info: https://gist.github.com/maximvl/8382582

Ggdrewb-valve maintainer 2014-01-13 github

Can you post your /tmp/gameoverlayui.log and /tmp/gameoverlayrenderer.log?

Ggdrewb-valve maintainer 2014-01-13 github

Also, are you running the stable client or the Steam beta client? If you aren't running beta do you still have a problem after switching to the beta?

Ggdrewb-valve maintainer 2014-01-13 github

I just tried Portal and TF2 several times and I did see one failure of the overlay to start in TF2, but repeated successes after that so I'm not sure what's going on.

Does the overlay always fail for you?

TTele42 2014-01-13 github

This issue may be due to using bleeding edge mesa.

Mmaximvl 2014-01-13 github

@gdrewb-valve sure, here are they: https://gist.github.com/maximvl/8405575, turning beta updates on does not help too, logs of beta steam: https://gist.github.com/maximvl/8405649. Im not able to switch to overlay at all.

Mmaximvl 2014-01-13 github

@Tele42 xorg-edgers are used, Driver Version: 3.0 Mesa 10.1.0-devel is current driver.

Ggdrewb-valve maintainer 2014-01-13 github

Unfortunately the logs don't tell me much new, so we'll have to try and find a reliable repro here, which will take a while.

?ghost 2014-01-22 github

Using Mesa 10.1 from Xorg-Edgers on Ubuntu 14.04, Steam Overlay fails aswell.

System:
https://gist.github.com/gutigen/8553657

Logs:
https://gist.github.com/gutigen/8553672
https://gist.github.com/gutigen/8553678

Mmaximvl 2014-01-26 github

Latest steam and xord-edgers updates fixed this, probably drivers cause the problem. Anyway it works now, should I close issue?

?ghost 2014-01-26 github

Problem fixed with latest updates.

Vvedranmiletic 2014-02-24 github

I can reproduce this on Ubuntu 14.04 pre-beta with latest Steam.

?ghost 2014-02-24 github

Yep, issue present again. Ubuntu 14.04 with Oibaf PPA.

?ghost 2014-02-26 github

Same problem here, overlay does not work in any game I try. Ubuntu 14.04 with Mesa 10.1~rc1 from the main repo. Latest Steam Beta client.

Potentially interesting tidbit from the console output:

ERROR: ld.so: object '/home/alexandre/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/alexandre/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
Ssylware 2014-03-03 github

Same thing on up-to-date fedora rawhide with nodebug kernel. Dota2 and Portal2. The store payment is then not working anymore in Dota2.
https://gist.github.com/sylware/9337087

If I disable, in the properties, the steam overlay, Portal2 won't start and Dota2 does report the following error:
SDL_GL_LoadLibrary(NULL) failed: Failed loading libGL.so.1: /lib/libxcb-dri3.so.0: undefined symbol: xcb_send_fd

HHalf-Shot 2014-03-06 github

Same thing on mesa 10.1rc3 with alexmonthy's error. All games affected.

Mml- 2014-03-07 github

Delete
~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libxcb.so.1

Try again.

Ssylware 2014-03-07 github

@ml-
Worked like a charm. Overlay back in dota2 and portal2. Thx!

HHalf-Shot 2014-03-07 github

@ml- Many internets to you, worked perfectly. Wonder what brought that on.

?ghost 2014-03-08 github

Such fix, wow, many thanks :)

HHarlemSquirrel 2014-03-13 github

Perfect

Eedmondo 2014-03-18 github

@ml- THANKS A LOT!!! Link delete, overlay running again.

Mmccstar100 2014-03-23 github

Thank you verry much i had this problem for like a week and now i can finally accsess the tf2 store again!
Thank YOU!

Aayr-ton 2014-06-06 github

Same problem here.

@ml- rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libxcb.so.1 doesn't happen for me.

I'm using Ubuntu 14.04 64 bits with nvidia-331-updates.

My custom launch options are LD_PRELOAD="libpthread.so.0 libGL.so.1" __GL_THREADED_OPTIMIZATIONS=1 $OPTIMUS_PREFIX %command% and the error I got is:

ERROR: ld.so: object '/home/ayrton/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
Iinfruset 2014-06-22 github

Same problem here with Civ 5:

ERROR: ld.so: object '~/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored.

Ubuntu 12.04, 32 bits.

Aayr-ton 2014-06-27 github

Well, I solved my problem removing all bumblebee stuff and installing nvidia-prime.
Doing this I also removed the launchd options. Now everything is working with my nvidia video card. And also, the performance is awesome.

Sstephanfriedrich 2015-03-01 github

Hy this Problem still exists, with civilisation 5.

@ml- rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libxcb.so.1 doesn't fix these for me, now i cant start steam.

Got thes error "Fatal ERROR: Failed to load Steamui.so"

Jjacobblock 2015-04-07 github

FYI, the archlinux steam page had a fix that worked for me (https://wiki.archlinux.org/index.php/Steam#Steam_runtime_issues):

find ~/.steam/root/ \( -name "libgcc_s.so*" -o -name "libstdc++.so*" -o -name "libxcb.so*" \) -print -delete
Cchrisjamesberg 2015-04-13 github

This still doesn't work for me. Civ 5 crashes after starting a game from main menu. Running Ubuntu trusty on new Chromebook Pixel.

FFale 2015-06-18 github

I had the same problem with Counter strike on Fedora. Disabling SELinux, it worked

Ssylware 2015-06-19 github

On Thu, Jun 18, 2015 at 03:20:20PM -0700, Fabio Alessandro Locati wrote:

I had the same problem with Counter strike on Fedora. Disabling SELinux, it worked

Don't even have SElinux compiled in... something else, maybe the keyboard.

?ghost 2015-11-21 github

Here it is again, this time while trying to start Insurgency:

Game update: AppID 222880 "Insurgency", ProcID 5601, IP 0.0.0.0:0
ERROR: ld.so: object '/home/luca/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/luca/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
pid 5604 != 5603, skipping destruction (fork without exec?)
ERROR: ld.so: object '/home/luca/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/luca/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
libGL error: unable to load driver: r600_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: r600
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 156 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateContext)
Value in failed request: 0x0
Serial number of failed request: 109
Current serial number in output stream: 110
Game removed: AppID 222880 "Insurgency", ProcID 5601

Using Steam on Debian with libgl1-mesa-dri:i386 and libgl1-mesa-glx:i386 installed (Using an AMD A10-5800K) and using a script to remove:
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/lib/i386-linux-gnu/libgcc_s.so.1
rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/lib/x86_64-linux-gnu/libgcc_s.so.1
rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libstdc++.so.6
rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libxcb.so.1

Forcing Steam to run on the systems libraries which works well for Counter-Strike_Source.

EDIT: Disabling the Steam Overlay doesn't do the trick.

Ggiulianisanches 2016-02-21 github

Having this same issue right now.

I'm using Debian Stable with some backports pacakges (mainly nvidia-driver, xserver-xorg-video-intel, bumblebee-nvidia and primus).

But it happens only when trying to run dota 2 with primusrun or optirun (-b primus)
error.txt

EDIT: Fixed using a downgraded version of libdrm (https://github.com/ValveSoftware/steam-for-linux/issues/3506)

Ssieira 2016-08-11 github

Same issue with ubuntu 16.04 trying to launch home gone home (fglx)

Ddoug65536 2016-09-16 github

Removing ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libxcb.so.1 did not work. Can't buy MvM tickets in TF2. Why do I have to use that crappy overlay to buy? Idiotic design.

Ssylware 2016-09-17 github

On Fri, Sep 16, 2016 at 02:29:17PM -0700, Doug Gale wrote:

Removing
~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libxcb.so.1
did not work. Can't buy MvM tickets in TF2. Why do I have to use that crappy
overlay to buy? Idiotic design.

It's related to the c++ ABI nightmare and some gcc BIP. valve SDK2 should
include static libstdc++ and static libgcc.
(c++ is already idiotic in itself...)

Sylvain

SSpitfire1900 2016-10-22 github

I am also getting this error, the script below used to fix this before upgrading to Ubuntu 16.10.

uname -a:
Linux mainstay 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

Script:
LD_PRELOAD='/usr/lib/x86_64-linux-gnu/libstdc++.so.6' DISPLAY=:0 steam

Output:

Running Steam on ubuntu 16.10 64-bit
STEAM_RUNTIME is enabled automatically
/bin/bash: /home/kyle/.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
ERROR: ld.so: object '/usr/lib/x86_64-linux-gnu/libstdc++.so.6' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
Installing breakpad exception handler for appid(steam)/version(1476379980)
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
TTele42 2016-10-22 github

@Spitfire1900, This line
ERROR: ld.so: object '/usr/lib/x86_64-linux-gnu/libstdc++.so.6' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
is telling you that preloading that library failed because it is 64 bit, while steam is 32 bit, so I was ignored. You could try preloading both the 32 bit and 64 bit variant.

SSpitfire1900 2016-10-22 github

@Tele42 , I have tried with 32-bit lib as well.

kyle@mainstay:/etc/pam.d$ LD_PRELOAD='/usr/lib/i386-linux-gnu/libstdc++.so.6' DISPLAY=:0 steam
ERROR: ld.so: object '/usr/lib/i386-linux-gnu/libstdc++.so.6' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/usr/lib/i386-linux-gnu/libstdc++.so.6' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
...
ERROR: ld.so: object '/usr/lib/i386-linux-gnu/libstdc++.so.6' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
Running Steam on ubuntu 16.10 64-bit
ERROR: ld.so: object '/usr/lib/i386-linux-gnu/libstdc++.so.6' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
STEAM_RUNTIME is enabled automatically
ERROR: ld.so: object '/usr/lib/i386-linux-gnu/libstdc++.so.6' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/usr/lib/i386-linux-gnu/libstdc++.so.6' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/usr/lib/i386-linux-gnu/libstdc++.so.6' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/usr/lib/i386-linux-gnu/libstdc++.so.6' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/usr/lib/i386-linux-gnu/libstdc++.so.6' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/usr/lib/i386-linux-gnu/libstdc++.so.6' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
grep: symbol lookup error: grep: undefined symbol: pcre_jit_stack_alloc
/bin/bash: /home/kyle/.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
Installing breakpad exception handler for appid(steam)/version(1476379980)
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

Additionally, I have opened a separate issue for this: #4677