Closed geekysquirrel closed 1 year ago
Given that SteamOS doesn't have the feature of simultanously launching applications out of the box, I'm assuming the issue is with SteamTinkerLaunch but I may be wrong. I would expect a window to be drawn above every other window when it is selected/given focus.
This isn't a SteamTinkerLaunch issue. This is to do with how Steam Deck Game Mode handles rendering applications. Given that this happens with some applications and not others, this is further proof that STL is not to blame. It is just GameScope not functioning correctly with multiple windows.
Steam Deck Game Mode runs inside of something called GameScope, which is an isolated compositor for running applications. It does not have good support for multiple application windows.
This is not an issue STL can do much about. You may be able to mitigate the issue by tinkering with the timings for how your applications are launched, or the windowing settings for your game (such as setting it to fullscreen or something).
I am not sure why you would consider this a SteamTinkerLaunch issue. All STL does is launch the applications, it doesn't manage rendering them. Once the processes start, rendering is up to the compositor. GameScope has various issues with multiple application windows:
You'll have to try and figure out how to resolve these kinds of issues on their own. Bugs with GameScope are not SteamTinkerLaunch bugs. The windowing should work as expected in Steam Deck Game Mode or, better yet, a Linux desktop with a regular compositing session.
Keep in mind that SteamTinkerLaunch is a Linux Desktop utility that can also run on Steam Deck, so any issues like this that crop up in Game Mode are caused by the Game Mode session (some users report window flickering, etc).
Because this has come up so frequently from Steam Deck users who are very quick to blame SteamTinkerLaunch, I have documented this in the FAQ: https://github.com/sonic2kk/steamtinkerlaunch/wiki/Troubleshooting#steamos-windowing-orderinputresolution-is-broken-with-forked-applications-in-game-mode
I'm not an expert on SteamOS; just trying to hunt down why this doesn't work and since the issue only occurs when using STL I thought it's worth a shot. Thanks for explaining and adding the section in the FAQs. I'm sure others will appreciate it too :)
No problem, I was a bit grumpy this morning so sorry for my tone (had a rough week...)
I saw you followed up on a GameScope issue. I hope this issue can be resolved for other users. Just to try and explain a little better again: The way STL works is basically this:
/path/to/proton_folder/proton run /path/to/executable_file.exe
(arguments can be passed before and after the exe, but this is a basic example)No worries, happens to all of us. Thanks again, this makes a lot of sense. Programming is such a vast field and although I'm familiar with Linux and software engineering in general, I have little experience with game development. Let's see if anything comes out of that issue; in the meantime I think it might be worth exploring whether I can find a workaround in Desktop mode.
System Information
Issue Description
When I use trainers as described here (i.e. "use custom command"/"fork custom command"), for some trainers the forked command is always displayed on top of the game, even if I switch away from the trainer in the steam overlay menu ("STEAM button" -> My game menu (top item) -> Select game application (bottom of the menu)).
It seems others are having similar issues.
I've been wondering what causes the issue. I seem to be able to run some trainers OK (e.g. this one and others that use the same UI) but some others just won't work (e.g. this one and others that use the same UI). However, it doesn't seem to be an issue with that UI only, I've seen it happen for various other trainers, e.g. from Mr. AntiFun where some trainers work and others don't.
Given that SteamOS doesn't have the feature of simultanously launching applications out of the box, I'm assuming the issue is with SteamTinkerLaunch but I may be wrong. I would expect a window to be drawn above every other window when it is selected/given focus.
Logs
steamtinkerlaunch.log