#626 Power profile set to balanced by default and unexpectedly
Opened by siosm. Modified

This started happening recently (I noticed this weekend when playing games but probably started last week) that the default power profile is now balanced and that also applies to desktop computers.

Setting it to performance "works" but the power profile is sometimes changed again, without the widget reflecting this information.

Setting the profile to balanced and then back again to performance will fix temporarily until the next time.

This might be a tuned or plasma bug.


the default power profile is now balanced

Wasn't that always the case?

It definitely wasn't for me on my desktop computer until last week approximately.

It looks like it's gamemode that does not work anymore:

Apr 29 00:51:54 leviathan pkexec[14221]: tim: Error executing command as another user: Not authorized [USER=root] [TTY=unknown] [CWD=/var/home/tim] [COMMAND=/usr/libexec/cpugovctl set performance]
Apr 29 00:51:54 leviathan gamemoded[14221]: Error executing command as another user: Not authorized
Apr 29 00:51:54 leviathan gamemoded[14221]: This incident has been reported.
Apr 29 00:51:54 leviathan gamemoded[13831]: ERROR: External process failed with exit code 127
Apr 29 00:51:54 leviathan gamemoded[13831]: ERROR: Output was:
Apr 29 00:51:54 leviathan gamemoded[13831]: ERROR: Failed to update cpu governor policy
Apr 29 00:51:54 leviathan pkexec[14229]: tim: Error executing command as another user: Not authorized [USER=root] [TTY=unknown] [CWD=/var/home/tim] [COMMAND=/usr/libexec/procsysctl split_lock_mitigate 0]
Apr 29 00:51:54 leviathan gamemoded[14229]: Error executing command as another user: Not authorized
Apr 29 00:51:54 leviathan gamemoded[14229]: This incident has been reported.
Apr 29 00:51:54 leviathan gamemoded[13831]: ERROR: External process failed with exit code 127
Apr 29 00:51:54 leviathan gamemoded[13831]: ERROR: Output was:
Apr 29 00:51:54 leviathan gamemoded[13831]: ERROR: Failed to update split_lock_mitigate
Apr 29 00:51:54 leviathan gamemoded[13831]: ERROR: Skipping ioprio on client [14220,14220]: ioprio was (0) but we expected (4)

OK, looking at logs, this has been broken for a while. It looks like users have to add their user to the gamemode group in order to be able to use the full features or gamemode? This is weird, looks like I don't understand something.

I've found https://github.com/FeralInteractive/gamemode/issues/505

Investigating this more, I think this is potentially the result of two things:
- tuned replaced power-profiles-daemon and now does power profile management when power-profiles-daemon did not on my desktop. Booting the Fedora 41 KDE Live ISO, power-profiles-daemon tells me "unsupported" / unhandled.
- When my system goes to sleep and then wakes up, the requested power profile is not respected on wake up, but this appears to be at the kernel level, not at tuned level.

All of those problems are usually difficult to see on laptops (thus likely why I did not notice it before the F42 release) as tuned / ppd is setting the power profiles options every time you plug/unplug power.

Metadata