-
Notifications
You must be signed in to change notification settings - Fork 72
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
Issues with gamescope and gamemode #1024
Comments
In future, please upload your log as a file to GitHub and not to a filehost. For what it's worth, the filehost also warned that your log was laced with a virus. I have found no such traces, however. Your log looks mostly normal. However, your GameMode path looks wrong. Check where it is installed with
The GameMode error may be a false positive coming from a Proton log, unless you can confirm the GameMode daemon does not start. However, if it does not start, that is likely because of an incorrect path as GameMode should be at Outside of this, you're using a heavily outdated version of SteamTinkerLaunch, it is not a good idea to use "stable" versions as you end up missing out on features and fixes. You could try updating SteamTinkerLaunch and to match, your version of GameScope (ensuring you're using the latest git version of both ofc). The GameScope error is really strange and sounds like something is being built incorrectly in the launch command, as There were changes to accomodate an updated GameScope version in git, and it could be that your GameScope version is too new. Since STL v12.12 is from March 2023 I don't recommend using that version. It usually causes all kinds of issues when people stick to stable versions of software. Good luck! |
Gamemode seems to work fine: I updated steamtinkerlaunch to the current git master version, but I still get the following:
As for gamescope, I need to use an old version due to an incompatibility with the NVIDIA driver. |
That's good then. Just curious though, where did you see this error message? If it's in a Proton/Steam log, then it's probably safe to ignore.
I can re-create a crash by pasting in your GameScope commands to STL, with GameScope built from ValveSoftware/gamescope@dc81258c. I cannot re-create it running from Terminal (as long as I am not sure yet which argument is causing the hang, as other GameScope launches are fine in my tests. I'll investigate. |
It seems EDIT: Actually, |
Using these options with the Steam Client will cause game crashes for me, sometimes immediately on start and sometimes a few seconds after game start. However, I will investigate first to see if STL is perhaps building parts of the GameScope arguments incorrectly. I am particularly interested to see if it is handling arguments |
Huh, I restarted the Steam Client and now I'm not able to replicate any crashing with I can intermittently reproduce a crash from the Steam Client with |
I'm getting all kinds of weirdness from the Steam Client (games hanging a few seconds after launch, immediate game crashes, games not launching) when using combinations of With these options, crashes are intermittent. Without, things work fine, at least in the 5 or so launches I tested with NieR:Automata and Cookie Clicker each (using GE-Proton8-27 and Proton 8.0-5). With SteamTinkerLaunch, crashing is much more consistent (but not constant) when using The fact that this is not a constant crash with STL is the most strange part to me, and indicates an issue with the Steam Client/GameScope. |
This is really odd. The following launch options in the Steam Client work for me when pasted in manually: However, the following does not (it's copy and pasted from above but with With SteamTinkerLaunch, both of those fail. Only the following When using those same I wonder if this is an upstream bug of some kind with how GameScope parses incoming commands... This doesn't seem to be really consistent, and there is odd behaviour without SteamTinkerLaunch. I would be very interested to know if you can see the "unrecognised option" error when running without SteamTinkerLaunch, with some combinations of the above! If you are able to, make note of what combination causes it, and it may be worthwhile reporting it upstream too. I will also try, so that you can reference that the issue is still present on a newer commit. If you're interested, |
I found an interesting issue when troubleshooting #1026. It seems in cases like this, we are parsing some arguments wrong:
When we then try to parse I managed to catch this because I encountered some odd parsing errors. I think we got (un)lucky with your example as we were only setting checkbox values, and they seemed to get set correctly as I will do some more testing and open a different PR. Fwiw, there is still crashing with your SteamTinkerLaunch GAMESCOPE_ARGS: But there is also still crashing on my end when using them without STL and running directly from the Steam Client. So far, cases that crash with the Steam Client also crash with STL, and games that work with the Steam Client are once again working with SteamTinkerLaunch -- The discrepancy I described above no longer occurs for the most part ( I will push the changes to a branch and then into a PR. |
The changes were merged with #1027 and are available in In my tests, I think this issue is resolved.
|
Closing due to lack of response. Please re-open if you have more to add after testing the latest master. 🙂 |
System Information
Issue Description
Enabling gamescope sometimes errors with
/usr/bin/gamescope: unrecognized option '--verb=waitforexitandrun'
Gamemode on the other hand is unable to find libgamemodeauto.so.0, which is located at
/usr/lib32/libgamemodeauto.so.0
Logs
steamtinkerlaunch.log
The text was updated successfully, but these errors were encountered: