gamemode icon indicating copy to clipboard operation
gamemode copied to clipboard

[Bug] gamemoded 1.8.2 ignores [cpu] settings like governor=ignore from gamemode.ini

Open urshurak opened this issue 7 months ago • 2 comments

Hello,

I'm experiencing an issue on Arch Linux where gamemoded seems to ignore specific configuration keys in /etc/gamemode.ini.

I was attempting to disable the CPU governor and split-lock mitigation features to work around a local Polkit permission issue. However, the gamemoded -t diagnostic test shows that the configuration keys are explicitly being ignored, which then causes the test to fail.

System Information:

OS: Arch Linux x86_64 (rolling release, fully up-to-date as of June 18th 2025)
Gamemode Version: 1.8.2-1 (from the official Arch repositories)
Host: B550M Steel Legend
Kernel: Linux 6.15.2-zen1-1-zen
Packages: 1159 (pacman), 8 (flatpak)
Shell: zsh 5.9
Display (DELD10F): 2560x1440 @ 165 Hz in 32" [External]
DE: GNOME 48.2
WM: Mutter (Wayland)
CPU: AMD Ryzen 5 3600 (12) @ 4.21 GHz
GPU: NVIDIA GeForce RTX 2080 Ti Rev. A [Discrete]

Steps to Reproduce:

Ensure gamemode version 1.8.2-1 is installed.
Create or edit /etc/gamemode.ini to contain the following exact content:
Ini, TOML

[cpu]
governor=ignore
split_lock_mitigate=ignore

Restart the user service: systemctl --user restart gamemoded.service
Run the diagnostic test: gamemoded -t

Expected Behavior:

gamemoded should parse the configuration, recognize the governor=ignore key, and skip the CPU governor feature test during the diagnostic. The test should not fail on this specific feature.

Actual Behavior:

The gamemoded -t output clearly logs "Config: Value ignored" for both settings, and then proceeds to run the CPU governor test anyway, which subsequently fails.

Full Diagnostic Log:

Here is the complete terminal output of the test:

: Loading config Loading config file [/etc/gamemode.ini] Config: Value ignored [cpu] governor=ignore Config: Value ignored [cpu] split_lock_mitigate=ignore : 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 ERROR: Governor was not set to performance (was actually powersave)! ::: Failed! ::: Verifying Scripts ::: Passed (no scripts configured to run) ::: Verifying GPU Optimisations ::: Passed (gpu optimisations not configured to run) ::: Verifying renice ::: Passed (no renice configured) ::: Verifying ioprio ::: Passed ERROR: :: Failed! : Tests Failed!

Regards,

Urshurak

urshurak avatar Jun 17 '25 23:06 urshurak

yup same here

rifqilubis avatar Jul 27 '25 11:07 rifqilubis

i got a fix https://github.com/FeralInteractive/gamemode/issues/537#issuecomment-2994303412

rifqilubis avatar Jul 27 '25 11:07 rifqilubis