Bug#1067097: gamemode-daemon: Fails to Set CPU Governor - pkexec not au
From Jake Piotrowski@21:1/5 to All on Mon Mar 18 13:40:01 2024
Package: gamemode-daemon
Version: 1.8.1-2
Severity: important
Dear Maintainer,
gamemoded -t fails with a message of "ERROR: Governor was not set to performance (was actually powersave)!".
This is after installing using the meta package of "gamemode". From journalctl it appears the package is missing some polkit rules:
Mar 18 07:11:18 jakepiot gamemoded[3930]: ERROR: External process failed with exit code 127
Mar 18 07:11:18 jakepiot gamemoded[3930]: ERROR: Output was:
Mar 18 07:11:18 jakepiot gamemoded[3930]: ERROR: External process failed with exit code 127
Mar 18 07:11:18 jakepiot gamemoded[3930]: ERROR: Output was:
Mar 18 07:11:18 jakepiot gamemoded[3930]: ERROR: Failed to update split_lock_mitigate
Mar 18 07:11:18 jakepiot pkexec[4063]: jake: Error executing command as another user: Not authorized [USER=root] [TTY=unknown] [CWD=/home/jake] [COMMAND=/usr/libexec/cpugovctl set performance]
Mar 18 07:11:18 jakepiot gamemoded[4063]: Error executing command as another user: Not authorized
Mar 18 07:11:18 jakepiot gamemoded[4063]: This incident has been reported.
Kernel: Linux 6.6.15-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages gamemode-daemon depends on:
ii init-system-helpers 1.66
ii libc6 2.37-15
ii libinih1 57-1
ii libsystemd0 255.4-1
ii pkexec 124-1