Steam overlay has broken #3093

Closed
maximvl opened this Issue Jan 12, 2014 · 39 comments

Comments

Projects
None yet

maximvl commented Jan 12, 2014

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

Contributor

gdrewb-valve commented Jan 13, 2014

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

gdrewb-valve was assigned Jan 13, 2014

Contributor

gdrewb-valve commented Jan 13, 2014

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?

Contributor

gdrewb-valve commented Jan 13, 2014

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?

Tele42 commented Jan 13, 2014

This issue may be due to using bleeding edge mesa.

maximvl commented Jan 13, 2014

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

maximvl commented Jan 13, 2014

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

Contributor

gdrewb-valve commented Jan 13, 2014

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.

triage-valve was assigned Jan 13, 2014

gutigen commented Jan 22, 2014

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

maximvl commented Jan 26, 2014

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

gutigen commented Jan 26, 2014

Problem fixed with latest updates.

maximvl closed this Jan 26, 2014

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

gutigen commented Feb 24, 2014

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

gdrewb-valve reopened this Feb 24, 2014

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.

sylware commented Mar 3, 2014

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

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

ml- commented Mar 7, 2014

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

Try again.

sylware commented Mar 7, 2014

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

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

gutigen commented Mar 8, 2014

Such fix, wow, many thanks :)

Perfect

edmondo commented Mar 18, 2014

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

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

Owner

Plagman commented Mar 23, 2014

Plagman closed this Mar 23, 2014

ayr-ton commented Jun 6, 2014

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.

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.

ayr-ton commented Jun 27, 2014

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.

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"

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

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

Fale commented Jun 18, 2015

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

sylware commented Jun 19, 2015

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.

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.

ekunuke referenced this issue in ekunuke/vagante_issues Dec 31, 2015

Closed

Can't start game on SteamOS #51

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 (#3506)

sieira commented Aug 11, 2016

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

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.

sylware commented Sep 17, 2016

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

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

Tele42 commented Oct 22, 2016

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

Spitfire1900 commented Oct 22, 2016 edited

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment