Here is the test case I've used; I'm using glmark2 as "the game".
sudo apt install gamemode glmark2
Reboot.
Log in and check that gamemode is not running by default:
ps -efH | grep gamemode | grep -v grep
Check what CPU `scaling_governor` is enabled by default, it should
report `powersave`
cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
powersave
powersave
powersave
powersave
Invoke gamemode.
gamemoderun glmark2
This should have activated `gamemoded`, check the process has been
started:
ps -efH | grep gamemode | grep -v grep
While the game is running check what CPU `scaling_governor` is active,
it should report `performance`.
cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
performance
performance
performance
performance
Quit the game and check the CPU `scaling_governor` again, it should now
report `powersave`.
cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
powersave
powersave
powersave
powersave
I have also used the GameMode extension for GNOME and it correctly
reports when gamemode has been activated.
* https://github.com/gicmo/gamemode-extension
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1853830
Title:
[FFe] gamemode
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gamemode/+bug/1853830/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs