Cpupower-gui running in dom0. Possible?

In order to decrease the power consumption of the laptop, which runs at a high CPU temperature and performance even when not in use, I would like to modulate the CPU frequencies. I am aware of CLI options but would like the ease and convenience of a GUI.

What is the best way to implement this?

Do I download cpupower-gui.rpm, check the hash, move it to dom0 and install it with sudo dnf install ./*.rpm?

Keep in mind these issues:


Dom0 is the admin VM, but is just a VM, it can’t access the physical CPU.

Unless cpupower-gui can interface with Xen using xenpm you can’t use it to control the state of the CPU.

You can use xenpm from the command line in dom0 to change the performane of the CPU.


Can someone build a graphical application for xenpm? Adjusting it on the command line is very cumbersome.

It is difficult to determine all the frequencies quickly and is additional time and effort any time this needs to be adjusted.

I get errors when I run xenpm.

My system is a laptop and runs so damn hot. And it doesn’t happen with Parrot, or Kali, or Debian, or any other OS.

I don’t understand why I need to manually lower temperatures in Qubes so much. Xenpm takes so long to use and I get invalid responses. I get “failed to set max freq - invalid argument” and the arguments seem correct. I am typing "xenpm set-scaling-maxfreq ‘value’ " and ‘value’ is the lowest minimum frequency for all the CPUs.

Do I have a virus? Infected firmware?

What scaling driver are you using? Have you tried hwp?

Are you running on an AMD cpu?

On my AMD system I get errors when I disable turbo mode like you’d think it doesn’t take effect. However, when I run

xenpm get-cpufreq-para

It shows turbo mode is indeed disabled.

I haven’t tried setting specific frequencies but disabling turbo makes my system run noticeably cooler and acceptable for my purposes.

what is hwp

It’s a CPU frequency scaling driver. You can check xenpm get-cpufreq-para in the scaling_driver lines to see if you’re using hwp or acpi or something else. It’s possible that your cores are not scaling down when there’s nothing to do and this might be why your laptop runs so hot.

If you want to give hwp a try you can add cpufreq=xen:hwp in your grub (in the Xen options) and reboot.