ValveSoftware / gamescope

SteamOS session compositing window manager
Other
3.05k stars 200 forks source link

Steam Overlay not loading when running steam under gamescope #1418

Open blackdragon2447 opened 2 months ago

blackdragon2447 commented 2 months ago

When running steam under gamescope, even with -e, steam does not load the steam overlay correctly, resulting in nothing happening when pressing Shift+Tab.

Command used to start gamescope:

gamescope -W 2256 -H 1504 -w 2256 -h 1504 -r 60 --backend sdl -e --mangoapp -- steam

I have also tried not using --mangoapp and --backend sdl, neither of which result in the overlay working.

Relevant log line:

ERROR: ld.so: object '/home/blackdragon2447/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.

Full relevant log: console-linux.txt

matte-schwartz commented 2 months ago

You're probably running into the same issue as https://github.com/ValveSoftware/gamescope/issues/835

HolySoap commented 2 months ago

The overlay issue should be fixed with the -e command and v3.14.24.

I also have two questions.

  1. Is there a reason why you start whole Steam with gamescope and not just the game?
  2. Why do you use the upscaling option with the same resolution as the one you wanna use?

Just start Steam normal and launch any game you like with this launch option: gamescope -f -e -w 2256 -h 1504 -r 60 -- %command%

blackdragon2447 commented 2 months ago
1. Is there a reason why you start whole Steam with gamescope and not just the game?

Because the compositor I was using does not (want to) support XWayland, so I need to run steam in something which does.

2. Why do you use the upscaling option with the same resolution as the one you wanna use?

Oops, that is just me misreading the options description...

Zhaith-Izaliel commented 2 months ago

I can confirm this issue happens, wether you run gamescope as its own session or embedded inside another wayland compositor. Both in big picture and in desktop mode. Hope it will be fixed soon ! :)