Open RushingAlien opened 5 months ago
Also experiencing this. Same [gpu] config.
:: Feature tests
::: Verifying CPU governor setting
::: Passed
::: Verifying Scripts
::: Passed (no scripts configured to run)
::: Verifying GPU Optimisations
ERROR: Current AMD GPU performance level during gamemode does not match requested value!
expected:high was:auto
::: Failed!
::: Verifying renice
::: Passed
::: Verifying ioprio
::: Passed
ERROR: :: Failed!
: Tests Failed!
I had this too, but then noticed that gamemoded
was still lingering from earlier tests. After a killall gamemoded
, the test with gamemoded -t
was successful!
(While gamemoded did its tests I double checked by repeating cat /sys/class/drm/card1/device/power_dpm_force_performance_level
in quick succession in another shell instance. The performance level did indeed change during the tests.)
I do not have this problem, but I will leave my results.
You can see the change by running the command: watch -n 0.2 cat /sys/class/drm/card0/device/power_dpm_force_performance_level
-> changed to hight and return to auto.
: All Tests Passed!
No errors when running tests
I will also attach the buildinfo file, perhaps specifying the versions will help in some way linux-upstream_6.8.9-1_amd64.buildinfo.txt
Kernel: 6.8.9
OS: Linux Mint 21.3 x86_64
Host: 82UH Legion 7 16ARHA7
CPU: AMD Ryzen 9 6900HX with Radeon Graphics (16) @ 4.935GHz
GPU: AMD ATI Radeon RX 6700/6700 XT / 6800M
GPU: AMD ATI 37:00.0 Rembrandt
[gpu]
apply_gpu_optimisations=accept-responsibility
gpu_device=0
amd_performance_level=high
journalctl:
May 07 23:59:51 space pkexec[368629]: pam_unix(polkit-1:session): session opened for user root(uid=0) by (uid=1000)
May 07 23:59:51 space gamemoded[363533]: ERROR: Failed to open file for read /sys/class/powercap/intel-rapl/intel-rapl:0/intel-rapl:0:0/energy_uj
May 07 23:59:51 space pkexec[368633]: pam_unix(polkit-1:session): session opened for user root(uid=0) by (uid=1000)
May 07 23:59:51 space gamemoded[363533]: ERROR: Skipping ioprio on client [368628,368628]: ioprio was (0) but we expected (4)
May 07 23:59:51 space gamemoded[363533]: ERROR: Failed setting client [368628] into SCHED_ISO mode, ignoring error condition: Invalid argument
May 07 23:59:51 space pkexec[368636]: pam_unix(polkit-1:session): session opened for user root(uid=0) by (uid=1000)
May 07 23:59:51 space pkexec[368639]: pam_unix(polkit-1:session): session opened for user root(uid=0) by (uid=1000)
May 07 23:59:51 space pkexec[368646]: pam_unix(polkit-1:session): session opened for user root(uid=0) by (uid=1000)
May 07 23:59:51 space gamemoded[363533]: ERROR: Failed to open file for read /sys/class/powercap/intel-rapl/intel-rapl:0/intel-rapl:0:0/energy_uj
May 07 23:59:51 space pkexec[368650]: pam_unix(polkit-1:session): session opened for user root(uid=0) by (uid=1000)
May 07 23:59:51 space gamemoded[363533]: ERROR: Failed setting client [368645] into SCHED_ISO mode, ignoring error condition: Invalid argument
May 07 23:59:51 space gamemoded[363533]: ERROR: Failed setting client [368628] into SCHED_ISO mode, ignoring error condition: Invalid argument
May 07 23:59:51 space pkexec[368653]: pam_unix(polkit-1:session): session opened for user root(uid=0) by (uid=1000)
May 07 23:59:51 space pkexec[368656]: pam_unix(polkit-1:session): session opened for user root(uid=0) by (uid=1000)
May 07 23:59:51 space gamemoded[363533]: ntering Game Mode...
May 07 23:59:51 space gamemoded[363533]: governor was initially set to [powersave]
May 07 23:59:51 space gamemoded[363533]: Requesting update of governor policy to performance
May 07 23:59:51 space gamemoded[363533]: Requesting GPU optimisations on device:0
May 07 23:59:51 space gamemoded[363533]: Setting ioprio value...
May 07 23:59:51 space gamemoded[363533]: Removing game: 367234 [/usr/bin/gamemoded]
May 07 23:59:51 space gamemoded[363533]: Leaving Game Mode...
May 07 23:59:51 space gamemoded[363533]: Requesting GPU optimisations on device:0
May 07 23:59:51 space gamemoded[363533]: Requesting update of governor policy to powersave
May 07 23:59:51 space gamemoded[363533]: Setting ioprio value...
May 07 23:59:51 space gamemoded[363533]: Adding game: 367234 [/usr/bin/gamemoded]
May 07 23:59:51 space gamemoded[363533]: Entering Game Mode...
May 07 23:59:51 space gamemoded[363533]: governor was initially set to [powersave]
May 07 23:59:51 space gamemoded[363533]: Requesting update of governor policy to performance
May 07 23:59:51 space gamemoded[363533]: Requesting GPU optimisations on device:0
May 07 23:59:51 space gamemoded[363533]: Setting ioprio value...
May 07 23:59:51 space gamemoded[363533]: Removing game: 367234 [/usr/bin/gamemoded]
May 07 23:59:51 space gamemoded[363533]: Leaving Game Mode...
May 07 23:59:51 space gamemoded[363533]: Requesting GPU optimisations on device:0
May 07 23:59:51 space gamemoded[363533]: Requesting update of governor policy to powersave
May 07 23:59:51 space gamemoded[363533]: Setting ioprio value...
May 07 23:59:51 space gamemoded[363533]: Adding game: 367234 [/usr/bin/gamemoded]
May 07 23:59:51 space gamemoded[363533]: Entering Game Mode...
May 07 23:59:51 space gamemoded[363533]: governor was initially set to [powersave]
May 07 23:59:51 space gamemoded[363533]: Requesting update of governor policy to performance
May 07 23:59:51 space gamemoded[363533]: Requesting GPU optimisations on device:0
May 07 23:59:51 space gamemoded[363533]: Setting ioprio value...
May 07 23:59:51 space gamemoded[363533]: Removing game: 367234 [/usr/bin/gamemoded]
May 07 23:59:51 space gamemoded[363533]: Leaving Game Mode...
May 07 23:59:51 space gamemoded[363533]: Requesting GPU optimisations on device:0
May 07 23:59:51 space gamemoded[363533]: Requesting update of governor policy to powersave
May 07 23:59:51 space gamemoded[363533]: Setting ioprio value...
May 07 23:59:51 space gamemoded[363533]: Adding game: 367419 [/usr/bin/gamemoded]
May 07 23:59:51 space gamemoded[363533]: Entering Game Mode...
May 07 23:59:51 space gamemoded[363533]: governor was initially set to [powersave]
May 07 23:59:51 space gamemoded[363533]: Requesting update of governor policy to performance
May 07 23:59:51 space gamemoded[363533]: Requesting GPU optimisations on device:0
May 07 23:59:51 space gamemoded[363533]: Setting ioprio value...
May 07 23:59:51 space gamemoded[363533]: Removing game: 367419 [/usr/bin/gamemoded]
May 07 23:59:51 space gamemoded[363533]: Leaving Game Mode...
May 07 23:59:51 space gamemoded[363533]: Requesting GPU optimisations on device:0
May 07 23:59:51 space gamemoded[363533]: Requesting update of governor policy to powersave
May 07 23:59:51 space gamemoded[363533]: Setting ioprio value...
May 07 23:59:51 space gamemoded[363533]: Adding game: 367419 [/usr/bin/gamemoded]
May 07 23:59:51 space gamemoded[363533]: Entering Game Mode...
May 07 23:59:51 space gamemoded[363533]: governor was initially set to [powersave]
May 07 23:59:51 space gamemoded[363533]: Requesting update of governor policy to performance
May 07 23:59:51 space gamemoded[363533]: Requesting GPU optimisations on device:0
May 07 23:59:51 space gamemoded[363533]: Setting ioprio value...
May 07 23:59:51 space gamemoded[363533]: Removing game: 367419 [/usr/bin/gamemoded]
May 07 23:59:51 space gamemoded[363533]: Leaving Game Mode...
May 07 23:59:51 space gamemoded[363533]: Requesting GPU optimisations on device:0
May 07 23:59:51 space gamemoded[363533]: Requesting update of governor policy to powersave
May 07 23:59:51 space gamemoded[363533]: Setting ioprio value...
May 07 23:59:51 space gamemoded[363533]: Adding game: 367234 [/usr/bin/gamemoded]
May 07 23:59:51 space gamemoded[363533]: Entering Game Mode...
May 07 23:59:51 space gamemoded[363533]: governor was initially set to [powersave]
May 07 23:59:51 space gamemoded[363533]: Requesting update of governor policy to performance
May 07 23:59:51 space gamemoded[363533]: Requesting GPU optimisations on device:0
May 07 23:59:51 space gamemoded[363533]: Setting ioprio value...
May 07 23:59:51 space gamemoded[363533]: Removing game: 367234 [/usr/bin/gamemoded]
May 07 23:59:51 space gamemoded[363533]: Leaving Game Mode...
May 07 23:59:51 space gamemoded[363533]: Requesting GPU optimisations on device:0
May 07 23:59:51 space gamemoded[363533]: Requesting update of governor policy to powersave
May 07 23:59:51 space gamemoded[363533]: Setting ioprio value...
May 07 23:59:51 space gamemoded[363533]: Adding game: 367465 [/usr/bin/gamemoded]
May 07 23:59:51 space gamemoded[363533]: Entering Game Mode...
May 07 23:59:51 space gamemoded[363533]: governor was initially set to [powersave]
May 07 23:59:51 space gamemoded[363533]: Requesting update of governor policy to performance
May 07 23:59:51 space gamemoded[363533]: Requesting GPU optimisations on device:0
May 07 23:59:51 space gamemoded[363533]: Setting ioprio value...
May 07 23:59:51 space gamemoded[363533]: Removing game: 367465 [/usr/bin/gamemoded]
May 07 23:59:51 space gamemoded[363533]: Leaving Game Mode...
May 07 23:59:51 space gamemoded[363533]: Requesting GPU optimisations on device:0
May 07 23:59:51 space gamemoded[363533]: Requesting update of governor policy to powersave
May 07 23:59:51 space gamemoded[363533]: Setting ioprio value...
May 07 23:59:51 space gamemoded[363533]: Adding game: 367465 [/usr/bin/gamemoded]
May 07 23:59:51 space gamemoded[363533]: Entering Game Mode...
May 07 23:59:51 space gamemoded[363533]: governor was initially set to [powersave]
May 07 23:59:51 space gamemoded[363533]: Requesting update of governor policy to performance
May 07 23:59:51 space gamemoded[363533]: Requesting GPU optimisations on device:0
May 07 23:59:51 space gamemoded[363533]: Setting ioprio value...
May 07 23:59:51 space gamemoded[363533]: Removing game: 367465 [/usr/bin/gamemoded]
May 07 23:59:51 space gamemoded[363533]: Leaving Game Mode...
May 07 23:59:51 space gamemoded[363533]: Requesting GPU optimisations on device:0
May 07 23:59:51 space gamemoded[363533]: Requesting update of governor policy to powersave
May 07 23:59:51 space gamemoded[363533]: Setting ioprio value...
May 07 23:59:51 space gamemoded[363533]: Adding game: 368628 [/usr/bin/gamemoded]
May 07 23:59:51 space gamemoded[363533]: Entering Game Mode...
May 07 23:59:51 space gamemoded[363533]: governor was initially set to [powersave]
May 07 23:59:51 space gamemoded[363533]: Requesting update of governor policy to performance
May 07 23:59:51 space gamemoded[363533]: Requesting GPU optimisations on device:0
May 07 23:59:51 space gamemoded[363533]: Setting ioprio value...
May 07 23:59:51 space gamemoded[363533]: Removing game: 368628 [/usr/bin/gamemoded]
May 07 23:59:51 space gamemoded[363533]: Leaving Game Mode...
May 07 23:59:51 space gamemoded[363533]: Requesting GPU optimisations on device:0
May 07 23:59:51 space gamemoded[363533]: Requesting update of governor policy to powersave
May 07 23:59:51 space gamemoded[363533]: Setting ioprio value...
May 07 23:59:51 space gamemoded[363533]: Adding game: 368645 [/usr/bin/gamemoded]
May 07 23:59:51 space gamemoded[363533]: Entering Game Mode...
May 07 23:59:51 space gamemoded[363533]: governor was initially set to [powersave]
May 07 23:59:51 space gamemoded[363533]: Requesting update of governor policy to performance
May 07 23:59:51 space gamemoded[363533]: Requesting GPU optimisations on device:0
May 07 23:59:51 space gamemoded[363533]: Setting ioprio value...
May 07 23:59:51 space gamemoded[363533]: Adding game: 368628 [/usr/bin/gamemoded]
May 07 23:59:51 space gamemoded[363533]: Setting ioprio value...
May 07 23:59:51 space gamemoded[363533]: Removing game: 368628 [/usr/bin/gamemoded]
May 07 23:59:51 space gamemoded[363533]: Setting ioprio value...
May 07 23:59:51 space gamemoded[363533]: Removing game: 368645 [/usr/bin/gamemoded]
May 07 23:59:51 space gamemoded[363533]: Leaving Game Mode...
May 07 23:59:51 space gamemoded[363533]: Requesting GPU optimisations on device:0
May 07 23:59:51 space gamemoded[363533]: Requesting update of governor policy to powersave
May 07 23:59:51 space pkexec[368663]: pam_unix(polkit-1:session): session opened for user root(uid=0) by (uid=1000)
May 07 23:59:51 space gamemoded[363533]: Setting ioprio valueERROR: Failed to open file for read /sys/class/powercap/intel-rapl/intel-rapl:0/intel-rapl:0:0/energy_uj
May 07 23:59:52 space pkexec[368667]: pam_unix(polkit-1:session): session opened for user root(uid=0) by (uid=1000)
May 07 23:59:52 space gamemoded[363533]: ERROR: Failed setting client [368662] into SCHED_ISO mode, ignoring error condition: Invalid argument
May 07 23:59:55 space pkexec[368715]: pam_unix(polkit-1:session): session opened for user root(uid=0) by (uid=1000)
May 07 23:59:55 space pkexec[368718]: pam_unix(polkit-1:session): session opened for user root(uid=0) by (uid=1000)
May 07 23:59:55 space gamemoded[363533]: ERROR: Could not inspect tasks for client [368662]! Skipping ioprio optimisation.
May 07 23:59:55 space gamemoded[363533]: ERROR: Could not inspect tasks for client [368662]! Skipping ioprio optimisation.
May 07 23:59:57 space pkexec[368755]: pam_unix(polkit-1:session): session opened for user root(uid=0) by (uid=1000)
May 07 23:59:57 space gamemoded[363533]: ERROR: Failed to open file for read /sys/class/powercap/intel-rapl/intel-rapl:0/intel-rapl:0:0/energy_uj
May 07 23:59:57 space pkexec[368759]: pam_unix(polkit-1:session): session opened for user root(uid=0) by (uid=1000)
May 07 23:59:57 space gamemoded[363533]: ERROR: Failed setting client [368754] into SCHED_ISO mode, ignoring error condition: Invalid argument
May 07 23:59:57 space pkexec[368762]: pam_unix(polkit-1:session): session opened for user root(uid=0) by (uid=1000)
May 07 23:59:57 space pkexec[368765]: pam_unix(polkit-1:session): session opened for user root(uid=0) by (uid=1000)
May 07 23:59:57 space pkexec[368771]: pam_unix(polkit-1:session): session opened for user root(uid=0) by (uid=1000)
May 07 23:59:57 space gamemoded[363533]: ERROR: Failed to open file for read /sys/class/powercap/intel-rapl/intel-rapl:0/intel-rapl:0:0/energy_uj
May 07 23:59:57 space pkexec[368775]: pam_unix(polkit-1:session): session opened for user root(uid=0) by (uid=1000)
May 07 23:59:57 space gamemoded[363533]: ERROR: Failed setting client [368628] into SCHED_ISO mode, ignoring error condition: Invalid argument
May 07 23:59:57 space pkexec[368778]: pam_unix(polkit-1:session): session opened for user root(uid=0) by (uid=1000)
May 07 23:59:57 space pkexec[368781]: pam_unix(polkit-1:session): session opened for user root(uid=0) by (uid=1000)
May 07 23:59:57 space pkexec[368785]: pam_unix(polkit-1:session): session opened for user root(uid=0) by (uid=1000)
May 07 23:59:57 space gamemoded[363533]: ERROR: Failed to open file for read /sys/class/powercap/intel-rapl/intel-rapl:0/intel-rapl:0:0/energy_uj
May 07 23:59:57 space pkexec[368789]: pam_unix(polkit-1:session): session opened for user root(uid=0) by (uid=1000)
May 07 23:59:57 space gamemoded[363533]: ERROR: Failed setting client [368628] into SCHED_ISO mode, ignoring error condition: Invalid argument
May 07 23:59:57 space pkexec[368793]: pam_unix(polkit-1:session): session opened for user root(uid=0) by (uid=1000)
May 07 23:59:57 space pkexec[368796]: pam_unix(polkit-1:session): session opened for user root(uid=0) by (uid=1000)
May 07 23:59:57 space pkexec[368800]: pam_unix(polkit-1:session): session opened for user root(uid=0) by (uid=1000)
May 07 23:59:57 space gamemoded[363533]: ERROR: Failed to open file for read /sys/class/powercap/intel-rapl/intel-rapl:0/intel-rapl:0:0/energy_uj
May 07 23:59:57 space pkexec[368804]: pam_unix(polkit-1:session): session opened for user root(uid=0) by (uid=1000)
May 07 23:59:57 space gamemoded[363533]: ERROR: Failed setting client [368628] into SCHED_ISO mode, ignoring error condition: Invalid argument
May 07 23:59:57 space pkexec[368807]: pam_unix(polkit-1:session): session opened for user root(uid=0) by (uid=1000)
May 07 23:59:57 space pkexec[368810]: pam_unix(polkit-1:session): session opened for user root(uid=0) by (uid=1000)
May 07 23:59:57 space pkexec[368814]: pam_unix(polkit-1:session): session opened for user root(uid=0) by (uid=1000)
May 07 23:59:57 space gamemoded[363533]: ERROR: Failed to open file for read /sys/class/powercap/intel-rapl/intel-rapl:0/intel-rapl:0:0/energy_uj
May 07 23:59:57 space pkexec[368821]: pam_unix(polkit-1:session): session opened for user root(uid=0) by (uid=1000)
May 07 23:59:57 space gamemoded[363533]: ERROR: Failed setting client [368813] into SCHED_ISO mode, ignoring error condition: Invalid argument
May 07 23:59:57 space pkexec[368827]: pam_unix(polkit-1:session): session opened for user root(uid=0) by (uid=1000)
May 07 23:59:57 space pkexec[368830]: pam_unix(polkit-1:session): session opened for user root(uid=0) by (uid=1000)
May 07 23:59:57 space pkexec[368833]: pam_unix(polkit-1:session): session opened for user root(uid=0) by (uid=1000)
May 07 23:59:57 space gamemoded[363533]: ERROR: Failed to open file for read /sys/class/powercap/intel-rapl/intel-rapl:0/intel-rapl:0:0/energy_uj
May 07 23:59:57 space pkexec[368837]: pam_unix(polkit-1:session): session opened for user root(uid=0) by (uid=1000)
May 07 23:59:57 space gamemoded[363533]: ERROR: Failed setting client [368813] into SCHED_ISO mode, ignoring error condition: Invalid argument
May 07 23:59:57 space pkexec[368840]: pam_unix(polkit-1:session): session opened for user root(uid=0) by (uid=1000)
May 07 23:59:57 space pkexec[368843]: pam_unix(polkit-1:session): session opened for user root(uid=0) by (uid=1000)
May 07 23:59:57 space pkexec[368846]: pam_unix(polkit-1:session): session opened for user root(uid=0) by (uid=1000)
May 07 23:59:57 space gamemoded[363533]: ERROR: Failed to open file for read /sys/class/powercap/intel-rapl/intel-rapl:0/intel-rapl:0:0/energy_uj
May 07 23:59:57 space pkexec[368850]: pam_unix(polkit-1:session): session opened for user root(uid=0) by (uid=1000)
May 07 23:59:57 space gamemoded[363533]: ERROR: Failed setting client [368628] into SCHED_ISO mode, ignoring error condition: Invalid argument
May 07 23:59:57 space pkexec[368853]: pam_unix(polkit-1:session): session opened for user root(uid=0) by (uid=1000)
May 07 23:59:57 space pkexec[368856]: pam_unix(polkit-1:session): session opened for user root(uid=0) by (uid=1000)
May 07 23:59:57 space pkexec[368860]: pam_unix(polkit-1:session): session opened for user root(uid=0) by (uid=1000)
May 07 23:59:57 space gamemoded[363533]: ERROR: Failed to open file for read /sys/class/powercap/intel-rapl/intel-rapl:0/intel-rapl:0:0/energy_uj
May 07 23:59:57 space pkexec[368864]: pam_unix(polkit-1:session): session opened for user root(uid=0) by (uid=1000)
May 07 23:59:57 space gamemoded[363533]: ERROR: Failed setting client [368859] into SCHED_ISO mode, ignoring error condition: Invalid argument
May 07 23:59:57 space pkexec[368870]: pam_unix(polkit-1:session): session opened for user root(uid=0) by (uid=1000)
May 07 23:59:57 space pkexec[368873]: pam_unix(polkit-1:session): session opened for user root(uid=0) by (uid=1000)
May 07 23:59:57 space pkexec[368876]: pam_unix(polkit-1:session): session opened for user root(uid=0) by (uid=1000)
May 07 23:59:57 space gamemoded[363533]: ERROR: Failed to open file for read /sys/class/powercap/intel-rapl/intel-rapl:0/intel-rapl:0:0/energy_uj
May 07 23:59:57 space pkexec[368883]: pam_unix(polkit-1:session): session opened for user root(uid=0) by (uid=1000)
May 07 23:59:57 space gamemoded[363533]: ERROR: Failed setting client [368859] into SCHED_ISO mode, ignoring error condition: Invalid argument
May 07 23:59:57 space pkexec[368886]: pam_unix(polkit-1:session): session opened for user root(uid=0) by (uid=1000)
May 07 23:59:57 space pkexec[368889]: pam_unix(polkit-1:session): session opened for user root(uid=0) by (uid=1000)
Describe the bug Can't set amd_performance_level despite being in the gamemode group and config is in
/etc/gamemode.ini
To Reproduce Steps used to reproduce the behavior:
[gpu] apply_gpu_optimisations=accept-responsibility gpu_device=0 amd_performance_level=high
: Loading config
: 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 ::: Passed (no scripts configured to run) ::: Verifying GPU Optimisations ::: Passed ::: Verifying renice ::: Passed (no renice configured) ::: Verifying ioprio ::: Passed :: Passed
: All Tests Passed!
: Loading config Loading config file [/etc/gamemode.ini] Loading config file [/home/raambm/.config/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 ::: Passed (no scripts configured to run) ::: Verifying GPU Optimisations ERROR: Current AMD GPU performance level during gamemode does not match requested value! expected:high was:auto ::: Failed! ::: Verifying renice ::: Passed (no renice configured) ::: Verifying ioprio ::: Passed ERROR: :: Failed! : Tests Failed!