GameMode: Difference between revisions
imported>MetaDark mNo edit summary |
imported>MetaDark No edit summary |
||
Line 14: | Line 14: | ||
gamemode | gamemode | ||
]; | ]; | ||
</syntaxhighlight> | |||
== Verifying Optimisations == | |||
<code>gamemoded -t</code> can be used to verify that the optimisations get applied: | |||
<syntaxhighlight> | |||
: Loading config | |||
Loading config file [/nix/store/p8dbmpdak57psrb5c0mz7crsc95nfzs6-gamemode-1.6.1/share/gamemode/gamemode.ini] | |||
Loading config file [/etc/gamemode.ini] | |||
: Running tests | |||
:: Basic client tests | |||
:: Passed | |||
:: Dual client tests | |||
gamemode request succeeded and is active | |||
Quitting by request... | |||
:: Passed | |||
:: Gamemoderun and reaper thread tests | |||
...Waiting for child to quit... | |||
...Waiting for reaper thread (reaper_frequency set to 5 seconds)... | |||
:: Passed | |||
:: Supervisor tests | |||
:: Passed | |||
:: Feature tests | |||
::: Verifying CPU governor setting | |||
::: Passed | |||
::: Verifying Scripts | |||
:::: Running start script [/nix/store/ig8aqj0973jgn6mhnr7smmqb6p7alrz4-libnotify-0.7.9/bin/notify-send 'GameMode started'] | |||
:::: Passed | |||
:::: Running end script [/nix/store/ig8aqj0973jgn6mhnr7smmqb6p7alrz4-libnotify-0.7.9/bin/notify-send 'GameMode ended'] | |||
:::: Passed | |||
::: Passed | |||
::: Verifying GPU Optimisations | |||
::: Passed | |||
::: Verifying renice | |||
::: Passed | |||
::: Verifying ioprio | |||
::: Passed | |||
:: Passed | |||
: All Tests Passed! | |||
</syntaxhighlight> | </syntaxhighlight> | ||