How to use AMD P-State in Linux

No it was already installed and enabled? :man_shrugging:

Edit: Maybe that’s only for laptop on battery?

Edit2: I think i found it?

Switch to:
What options do you have over there ?

It doesn’t seem to work but it has performance, balance and power save and leave unchanged.

Those are the 3 modes that power-profile-daemon can use.

It works, check with watch -n1 "grep \"^[c]pu MHz\" /proc/cpuinfo" , you will see that most of the cores will have very low frequencies.
If you change to balanced, compare with the previous values, it is very clear to see that the frequencies change by a lot

Maybe it works but the slider in the notification doesn’t change?

Edit: Looks the same to me.

This has been discussed here:

Check if the problem persists when using LTS kernel ?

Maybe it’s already using powersave?

Edit: I won’t waste anymore of your time. This amd pstate stuff keeps changing anyway. I’ll just see where it goes. I’m also running ECO mode 65w anyway in Bios.

hmm, it seems to be. The * is pointing to the power-saver, so I suppose it is working


You can also check here for KDE power management:
https://wiki.archlinux.org/title/KDE#Power_management

1 Like

Guided mode enables boost by default, look at my post here:

hello

since kernel 6.5 , for AMD ryzen Zen2+ or more amd-pstate should be activated by default ,
if i test

  • no boot option → acpi-cpufreq
  • amd-pstate=passive → amd-pstate ( 1 scheduling mode cpu )
  • amd-pstate=active → amd-pstate epp V2 ( 2 scheduling modes cpu & power )

anyone can confirm that point ?

I’ll test
 I’m running with that option in my kernel cmdline because I am sometimes using hardened kernel.
Give me one sec and I’ll report it back here.

Edit: removed, rebooting.

Edit2: Indeed, removed amd_pstate=active from my kernel cmdline, ran reinstall kernels and now I have acpi-cpufreq.

$ uname -a
Linux eos 6.5.3-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 13 Sep 2023 08:37:40 +0000 x86_64 GNU/Linux

Mines working correctly. I no longer have any boot option on my AMD machines, and upon checking I’m using amd-pstate-epp (active), which is what it should be.

How did you check it again? I’ll try mine.

Edit: I don’t have any entries now since i reinstalled kde after overwriting the wrong drive. :scream_cat:
Edit2: Never mind i found it above. Not working!

[ricklinux@rick-ms7c37 ~]$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver
acpi-cpufreq

[root@rennbuu ~]# grep -i linux_default /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT=‘nowatchdog nvme_load=YES loglevel=3 pcie_aspm=off’
[root@rennbuu ~]# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver
amd-pstate-epp

That’s on my Dell inspiron 5425 w/ the Barcelo R7 5825U.

1 Like

Ive gone back to amd_pstate=active

[ricklinux@rick-ms7c37 ~]$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver
amd-pstate-epp

Just checked after installing Endeavour on the new P14s last night, and with no changes to /etc/default at all (yet), I am running amd-pstate-epp on here.

1 Like

all will be fine in linux 6.6.6 :japanese_ogre:

ehhe, I’ll jump that version :rofl:

in German we say:

Der Teufel steckt im Detail.

In Brazil, we say:

O diabo estĂĄ nos detalhes.

It seems that this saying is universal :sweat_smile: