I'm looking for a command that is similar to cpupower, but for gpu (or even both -- gpupower?systempower?)

GustavoM@lemmy.world to Linux@lemmy.ml – 39 points –

Title. Something that is minimal, has a daemon and a very KISS config file. Bonus points if it also has a "generic" setup (works for all pcs but its not optimal? So I could run this on my sbc.)

Thanks in advance.

-EDIT- Forgot to mention that I've got both AMD cpu and gpu.

5

Corectrl is pretty cool, works on my all-AMD laptop with iGOU and dGPU

amdgpu_top it is so good that it wasn't affected by a recent kernel change that broke power reporting on polaris GPUs.

It has everything, it can even emulate nvidia-smi looks.

Not a command, but you could write some simple scripts to control it. amdgpu thermal docs

I use this to reduce fan noise on my amd laptop with a discrete rx560m when playing games. I had to add a kernel boot parameter to get it working

amdgpu.ppfeaturemask=0xffffffff