GameMode: Difference between revisions
imported>MetaDark No edit summary |
imported>MetaDark mNo edit summary |
||
Line 17: | Line 17: | ||
{{Note|CPU & GPU optimisations require root-level access. GameMode defines Polkit actions under <code>share/polkit-1/actions</code> to allow any user to perform the optimisations, but Polkit will only load these actions when installed in the system profile. If you install GameMode into a user profile, the optimisations will fail to apply.}} | {{Note|CPU & GPU optimisations require root-level access. GameMode defines Polkit actions under <code>share/polkit-1/actions</code> to allow any user to perform the optimisations, but Polkit will only load these actions when installed in the system profile. If you install GameMode into a user profile, the optimisations will fail to apply.}} | ||
== Running == | |||
To run games with gamemode start it like this: | |||
<syntaxhighlight> | |||
$ gamemoderun ./game | |||
</syntaxhighlight> | |||
When you have started your game you can verify that gamemode is running with the command: | |||
<syntaxhighlight> | |||
$ gamemoded -s | |||
</syntaxhighlight> | |||
==== Steam ==== | |||
To make sure Steam starts a game with gamemode, right click the game, select Properties..., then Launch Options and enter: | |||
<syntaxhighlight> | |||
gamemoderun %command% | |||
</syntaxhighlight> | |||
== Verifying Optimisations == | == Verifying Optimisations == | ||
Line 60: | Line 79: | ||
: All Tests Passed! | : All Tests Passed! | ||
</syntaxhighlight> | </syntaxhighlight> | ||