power-profiles-daemon, cpu governors, and xfce 4.20
Posted: Tue Mar 18, 2025 2:12 am
xfce4-power-manager has recently (since 4.19.2) had the option to integrate with power-profiles-daemon to add a simple drop down to change the CPU governor. I tried setting this up on an up to date MX 23.5 x64 (XFCE) and ran into a few problems.
The "service" command could autocomplete "power-profiles-daemon", but trying to start it returns "unrecognized device". Upon investigation it looks like there's no sysv script for it, but there is a systemd service in /lib/systemd/system/power-profiles-daemon.service.
I tried starting the daemon binary manually to test it, but changing the drop down in xfce4-power-manager doesn't seem to change the scaling governors listed in /sys/devices/system/cpu/cpufreq/policyX/scaling_governor nor the CPU frequency scaling behaviour. I did confirm that the setting in "powerprofilesctl" is being changed, but it lists the driver for both balanced and power-saver as "placeholder", and no other fields.
I don't know if power-profiles-daemon is just not functional on MX or if I should be using something else to get the same result. It would be nice to have something I can operate from the GUI, ideally the taskbar (a friend has this working perfectly in gnome's little desktop menu thing and I'm very jealous; not jealous enough to use gnome) but I'm not sure where to go from here.
I'm also using an AMD ryzen 3000 series desktop CPU, so there's a lot of CPU scaling going on at any given time. Ideally I'd like a setting that just doesn't ramp as hard under load, said friend's 5000 series can do this. Not sure if my 3000 can or not but, I'm here to learn I suppose.
The "service" command could autocomplete "power-profiles-daemon", but trying to start it returns "unrecognized device". Upon investigation it looks like there's no sysv script for it, but there is a systemd service in /lib/systemd/system/power-profiles-daemon.service.
I tried starting the daemon binary manually to test it, but changing the drop down in xfce4-power-manager doesn't seem to change the scaling governors listed in /sys/devices/system/cpu/cpufreq/policyX/scaling_governor nor the CPU frequency scaling behaviour. I did confirm that the setting in "powerprofilesctl" is being changed, but it lists the driver for both balanced and power-saver as "placeholder", and no other fields.
I don't know if power-profiles-daemon is just not functional on MX or if I should be using something else to get the same result. It would be nice to have something I can operate from the GUI, ideally the taskbar (a friend has this working perfectly in gnome's little desktop menu thing and I'm very jealous; not jealous enough to use gnome) but I'm not sure where to go from here.
I'm also using an AMD ryzen 3000 series desktop CPU, so there's a lot of CPU scaling going on at any given time. Ideally I'd like a setting that just doesn't ramp as hard under load, said friend's 5000 series can do this. Not sure if my 3000 can or not but, I'm here to learn I suppose.