FrogTheFrog / moondeck-buddy

A server-side part of the MoonDeck plugin for the SteamDeck.
GNU Lesser General Public License v3.0
153 stars 9 forks source link

Steam Big Picture window covering game on launch #26

Closed XenHat closed 1 year ago

XenHat commented 1 year ago

Since a few updates on either the Host's steam client or something else I can't pinpoint, I have been having issues with remote play on a Windows host: The Steam Big Picture window covers the game with an infinite loading animation, providing a confusing feedback, as the game does indeed launch correctly in the background (I can hear the game menu music).

Would it be possible to resolve this? Ideally, not using Big Picture mode unless requested would work, assuming Gamescope still works in "desktop" client mode. Failing that, closing the "Steam Big Picture" window would suffice as it works around the issue. However I have to walk to the computer to do this every time I start the game, or the game crashes.

P.S. The issue doesn't happen if the game is launched in desktop mode prior to connecting.

image image image

FrogTheFrog commented 1 year ago

I will probably not have time to do anything about this unfortunately (for a month or so). You could try to remove 'big picture' launch options from the 'launchApp' method and it might just work.

That aside, have you tried Steam client beta? It mentions something exactly like the issue that you have https://store.steampowered.com/news/group/4397053/view/3642887728426098465

Maz111111 commented 1 year ago

I do have this issue only when playing Fallout 4. It may depend on the loader. I don't know. Workaround: start the game on the steam deck via moondeck as usual when it comes to this infinite loading screen switch to mouse mode (long press start button) Then trigger the steam Menu (click on the steam icon bottom left). leave mouse mode (long press start button again) choose the first entry (I don't know what this is called on an english deck - directly translated it is called Startpage maybe on the deck it is called homepage) Choose the game which is currently running in the background (normally this should be the first game in the list) and click resume. Tada

FrogTheFrog commented 1 year ago

I can seem to replicate this issue with either stable or beta version of Steam client :/. Could any of you try to remove the userdata from the Steam directory? Or better, get a fresh install of Steam somewhere?

Maz111111 commented 1 year ago

So I tried deleting the userdata folder on a other PC with nvidia gamestream but without any visible success. After click play in the loader the game launches but stays in the background as described. It doesn't bother me since it only affects Fallout 4 anyway. My workaround is enough for me. I also have no way of enabling a fresh install of Steam.

XenHat commented 1 year ago

I can seem to replicate this issue with either stable or beta version of Steam client :/. Could any of you try to remove the userdata from the Steam directory? Or better, get a fresh install of Steam somewhere?

Unfortunately, this issue is difficult to trigger on purpose. Ideally I would like an option to disable launching the game via big picture inside moondeck, but that's beyond my current understanding of the codebase. I have been using my modified binary for the time being as I just want to relax, but if it happens again I would be happy to help diagnosing and maybe orchestrate a fix :)

EDIT: I have a new windows install, I can try using the official buddy binary tomorrow

XenHat commented 1 year ago

Apologies, I've been super busy and distracted. I'll do some tests soon!

XenHat commented 1 year ago

I'll continue testing over the course of the next few days, but so far, it seems to work fine on the latest Moondeck, Moondeck-buddy and Steam Client versions 😄 I wonder if this was just a transient bug on the steam side and if it had nothing to do with moondeck in the first place.