Public bug reported:

On Linux Mint Cinnamon, gamemoded -t failed the CPU governor test even
though the system supports the performance governor.

The CPU governor could be changed manually with sudo:

sudo /usr/libexec/cpugovctl set performance

But gamemoded -t failed with:

ERROR: Governor was not set to performance (was actually schedutil)

journalctl --user -u gamemoded showed pkexec authorization failures for:

/usr/libexec/cpugovctl set performance
/usr/libexec/procsysctl split_lock_mitigate

Both were denied with:

Error executing command as another user: Not authorized

The installed files are from gamemode-daemon:

gamemode-daemon: /usr/bin/gamemoded
gamemode-daemon: /usr/libexec/cpugovctl

Adding a local Polkit rule allowing my user to run
/usr/libexec/cpugovctl and /usr/libexec/procsysctl through pkexec fixed
the issue. After adding the rule, gamemoded -t passed all tests,
including the CPU governor test.

This appears to be missing or incomplete Polkit integration for the
gamemode package/helper tools.

** Affects: gamemode (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2154044

Title:
  gamemode-daemon pkexec helpers lack Polkit authorization, CPU governor
  test fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gamemode/+bug/2154044/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to