Skip to content

amd_pstate not loading after update

I recently bought a laptop with a Ryzen 7 5850U, after installing arch I've noticed that amd_pstate was the default driver already after looking at the output of cpupower frequency-info.

Today I updated everything and now I'm running kernel 6.1.1 (can't really tell what was my previous kernel, but I'm quite sure it was below 6) and now cpupower frequency-info shows acpi-cpufreq as the driver and the cpu frequencies won't go below 1.4GHz.

Things I've tried

  • I've added a .conf file to load amd_pstate at boot in /etc/modules-load.d/amd-pstate.conf
  • Tried booting with amd_pstate.shared_mem=1 and initcall_blacklist=acpi_cpufreq_init at the same time and with one at a time.

Any advice would be much appreciated.

11 points11 comments
Open on Reddit
About this post
Posted
Archived
Score
11 · 88% up
Kind
Text
ID
zt07o7

Author

4
posts
13
comments
3
media
View profile

13 comments

I had to put amd_pstate=passive as a kernel parameter.

I have a 5800u and it works w/o adding the modules and amd_pstate.shared_men=1 on the latest 6.1 kernel

12 points

I also ran into the issue after upgrading to kernel 6.1. Adding amd_pstate=passive as a kernel boot parameter worked and I'm using the amd-pstate driver again. That's all I had to do in my particular case. Thank you so much!

2 points

Adding amd_pstate=passive as a kernel parameter is the only thing that worked for me on a desktop Ryzen 5 5600.

1 points

On my 'AMD Ryzen 7 6800H with Radeon Graphics' CPU, kernel : 6.1.0 (Ubuntu 20.04.5),

even after updating the kernel param : amd_pstate=passive, I don't see scaling driver updated as amd_pstate.

with kerel param : ' initcall_blacklist=acpi_cpufreq_init amd_pstate=passive '

cat: /sys/devices/system/cpu/cpu2/cpufreq/scaling_driver: No such file or directory

with kernel param : 'amd_pstate=passive'

acpi-cpufreq loads -> cat /sys/devices/system/cpu/cpu2/cpufreq/scaling_driver

acpi-cpufreq

Can someone please help identify if something is missing on my configuration ?

1 points

hello. I wonder how I pass the "amd_pstate=passive" kernel parameter when I don't have Grub installed. I used the Arch-installer script and it did not work for me with the Grub option enabled so I think I have Syslinux instead. Is it a file I edit or is it a command I punch into the terminal? I had amd_pstate working when it was loaded as a module, but after it got built-in to kernel it reverted back to acpi-cpufreq. now I'm on 6.1.2 kernel.

1 points

Hi! That was exactly my case, the installer script never made it clear (or I didn't put enough attention) my guess is that you're using systemd-boot, but if you can verify that with efibootmgr -v and looking for the first entry:

BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0000,0001,0017,0018,0019,001A,001C,001D,001B
Boot0000* Linux Boot Manager    HD(1,GPT,ea66f010-063a-4396-a65a-e077e91cbbe3,0x800,0xff800)/File(\EFI\systemd\systemd-bootx64.efi)

and to pass an argument you simply modify your boot entry that should be located over at /boot/loader/entries/ and simply add amd_pstate=passive to the options line and then run sudo bootctl update.

Refer to the Arch wiki for further reading.

1 points

SOLVED. Thank you so much! Yes; it was systemd-boot that was used instead of GRUB, and yes, appending "amd_pstate=passive" to the file located at /boot/loader/entries/ did the trick, now the system boots right in to amd_pstate instead of apci-cpufreq. No more need for blacklisting and loading of modules via config files. That was really all that needed to be done to get amd_pstate working. If somebody reads this and can't get it to work, it could be because the amd_pstate only works on recent Ryzen cpu's.

1 points

Any chance you can install the acpica package and share your ACPI tables generated with acpidump -b ? Thanks.

1 points

On my 'AMD Ryzen 7 6800H with Radeon Graphics' CPU, kernel : 6.1.0 (Ubuntu 20.04.5),
even after updating the kernel param : amd_pstate=passive, I don't see scaling driver updated as amd_pstate.

with kerel param : ' initcall_blacklist=acpi_cpufreq_init amd_pstate=passive '
cat: /sys/devices/system/cpu/cpu2/cpufreq/scaling_driver: No such file or directory

with kernel param : 'amd_pstate=passive'
acpi-cpufreq loads -> cat /sys/devices/system/cpu/cpu2/cpufreq/scaling_driver
acpi-cpufreq

Can someone please help identify if something is missing on my configuration ?
Thanks

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.