-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mangohud, Gamescope, Mangoapp won't work. (FLATPAK) #1148
Comments
Aren't there limitations with Flatpaks being unable to use these custom programs? See also #1137 and the upstream issues linked in this comment: #1137 (comment) Flatpak Steam is not official nor endorsed by Valve and so may have many issues like this. GameScope in particular seems like it simply will not work when part of Steam Flatpak, when using SteamTinkerLaunch or not. If Steam Flatpak can find these programs without SteamTinkerLaunch, i.e. if Also, configuration with GOverlay may cause issues. Any third-party configurations are likely to break SteamTinkerLaunch integration as a general rule of thumb. |
Yeah it appears something is wrong with my installation then, as it will not work even with the launch option. Sorry for the trouble. Thank you for the detailed response (and adding labels to my report)! |
No problem! For what it's worth, I don't think anything is wrong with your installation. This appears to be a general problem with Flatpak Steam that has no workaround, you cannot use GameScope at least with Steam Flatpak at present to my knowledge. |
This would probably be better in the wiki, but I'm just spewing info I've collected and not trying to be precise, so sorry @sonic2kk ^.^;; Just FYI it is possible to get gamescope to work in Flatpak. Contrary to what Flatpak Proton-GE states, you can even use any Proton you like due to STL being able to ignore the defined Steam Linux Runtime. Install Flatpak gamescope: For ease, but not necessary, install Flatpak Proton-GE: If Steam is running, close it, and re-open it to make sure everything's sane. Run a game with STL and enter the
Steam Linux Runtime is slightly less important in the Flatpak because Flatpak is already a container that creates a specific environment for all games, which is what SLR does anyway. Although, I guess, if a specific SLR has a specific setting for a specific version of Proton disabling the SLR may break it. The reason gamescope for the most part didn't work in Flatpak before seems to be because SLR made a container inside the Flatpak container and gamescope got confused. Flatpak GE-Proton only just figured that disabling the SLR was the fix on 16th July, 2024: I will state however that I am having weird FPS issues I'm trying to iron out. These seem to be general gamescope issues, but some of the accepted fixes seem less willing to work in Flatpak. There also seems to be an issue that STL can't get the PID of the game properly so spams the log and struggles to die. Taking a look at that soon. Maybe I'll come up with a fix... |
So disabling the Steam Linux Runtime should fix the issue? It looks like Flatpak GE-Proton removes the runtime from the compatibility tool manifest, so I guess SteamTinkerLaunch wouldn't use any SLR in that case since there wouldn't be one for it to look for? I wonder if we should disable the Steam Linux Runtime by default for games when we're running in Flatpak, or force disable it. That could be problematic though, since Proton versions are built against a specific Steam Linux Runtime. Some native games also require specific versions, for example Counter-Strike 2 requires the Steam Linux Runtime 3.0 (Sniper), and Deadlock is likely to require the same once its native build is out (I assume all native Source 2 games going forward will). Maybe it is best to keep all the SteamTinkerLaunch logic as-is, and let the Flatpak versions of tools ignore the Steam Linux Runtime by not specifying it. Thanks for the useful write-up, I'll make a note of this on the wiki and link to this comment. EDIT: Added this as a note to the wiki under "Caveats": https://github.com/sonic2kk/steamtinkerlaunch/wiki/Steam-Flatpak#caveats |
Indeed. I wouldn't change any of the logic for Flatpak. There should be as little "special" logic as possible. Maybe at most if INFLATPAK is true, and USEGAMESCOPE is true just put a WARN in the log "that there may be issues, you may need to disable the SLR, but if you do things may break". But a bit more helpful. |
System Information
Issue Description
Mangoapp and gamescope output a notification that they're not found by the OS, even though they're installed (not with flatpak).
Mangohud doesn't output a notification and it is not displayed. It has been configured with GOverlay.
Logs
The log that is asked for in "/dev/shm/steamtinkerlaunch/steamtinkerlaunch.log" is outdated by almost an hour, and it won't update regardless if I launch a game or not, so I'll submit the next best thing which is the log located in ~/.var/app/com.valvesoftware.Steam/config/steamtinkerlaunch/logs/steamtinkerlaunch
The text was updated successfully, but these errors were encountered: