Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't set amd_peformance_level #470

Open
RushingAlien opened this issue Mar 20, 2024 · 4 comments
Open

Can't set amd_peformance_level #470

RushingAlien opened this issue Mar 20, 2024 · 4 comments

Comments

@RushingAlien
Copy link

RushingAlien commented Mar 20, 2024

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:

  1. set this config
[general]
igpu_desiredgov=powersave
inhibit_screensaver=0

[gpu]
apply_gpu_optimisations=accept-responsibility
gpu_device=0
amd_performance_level=high
  1. Put user in gamemode
  2. Run gamemoded -t

Expected behavior
A clear and concise description of what you expected to happen.

: 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!

Actual behavior

: 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!

System Info (please complete the following information):

Laporan Rincian Sistem


Rincian laporan

  • Tanggal dihasilkan: 2024-03-20 15:36:13

Hardware Information:

  • Model Perangkat Keras: ADVAN 1701
  • Memori: 16,0 GiB
  • Prosesor: AMD Ryzen™ 7 7735HS with Radeon™ Graphics × 16
  • Grafik: AMD Radeon™ Graphics
  • Kapasitas Diska: 1,0 TB

Software Information:

  • Versi Firmware: 6.02
  • Nama OS: Arch Linux
  • Build OS: rolling
  • Tipe OS: 64-bit
  • Versi GNOME: 45.5
  • Sistem Jendela: Wayland
  • Versi Kernel: Linux 6.8.1-2-cachyos
  • gamemode: v1.8.1
    Additional context
    Add any other context about the problem here.
@lividhen
Copy link

lividhen commented Apr 2, 2024

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!

@gschintgen
Copy link
Contributor

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.)

@stvoidit
Copy link

stvoidit commented May 7, 2024

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)

@MaledictYtb
Copy link

MaledictYtb commented Sep 20, 2024

I had the same bug but the fix from @gschintgen fixed the problem. But since 2 weeks, the bug is here again and killall gamemoded didn't fix it this time.

I really need this to work since I have another bug and the only way for me to play games is setting /sys/class/drm/card1/device/power_dpm_force_performance_level to high and I don't want my GPU to run at full speed all the time because of energy consumption.

Edit : My problem was related to the file system being read-only since a new Fedora Kinoite update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants