ValveSoftware / gamescope

SteamOS session compositing window manager
Other
3.16k stars 214 forks source link

Gamescope breaks Steam Overlay #835

Open Milliw opened 1 year ago

Milliw commented 1 year ago

When I run "Hunt: Showdown" with gamescope the Steam overlay is not working anymore. Also mouse pointer is not shown correctly depending on launch options I tried.

Tried several options: -e, -f, -b, --dbug-hud, --adaptive-sync (latter two don't do anything) Tried different Proton versions: GE-7.51, Experimental, 7.0.6

OS: Nobara 37, Gnome 43.2, Wayland GPU: Nvidia RTX2060, driver v 525.85.05 Kernel: 6.2.6-201.fsync.fc37.x86_64 (Nobara standard)

Only wanted to try gamescope because of mouse escaping the game from time to time and also crashes sometimes. Enabled proton log, too but couldn't find out what of the many entries are breaking the overlay/game.

I think, it has maybe something to do with EAC (Easy Anti-Cheat) or the way the game is started by Steam because at launch the usually displayed, small starting window is not shown but instead there is a black screen/window showing some blue, disturbed graphics in it.

MithicSpirit commented 1 day ago

I believe that the steam overlay works via LD_PRELOAD, so I wonder if the issue is that the preloaded libraries are also affecting gamescope. If so, I think using env -u LD_PRELOAD gamescope -- env LD_PRELOAD="$LD_PRELOAD" %command% would work. I can't test it right now, but it's worth a shot.