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_pstateat boot in/etc/modules-load.d/amd-pstate.conf - Tried booting with
amd_pstate.shared_mem=1andinitcall_blacklist=acpi_cpufreq_initat the same time and with one at a time.
Any advice would be much appreciated.
About this post
- Posted
- Archived
- Score
- 11 · 88% up
- Kind
- Text
- ID
- zt07o7
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
Worked for me too, thanks. Does anyone know the implications of this (vs. whatever is the default) and if this was default before 6.1 or something?
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=202e683df37cdf4c38e06e56ac91cc170ef49058
The parameter has been changed apparently to allow the user to disable it if needed
I also ran into the issue after upgrading to kernel 6.1. Adding
amd_pstate=passiveas 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!That did the trick. Thanks!
Adding
amd_pstate=passiveas a kernel parameter is the only thing that worked for me on a desktop Ryzen 5 5600.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 ?
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.
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 -vand looking for the first entry:and to pass an argument you simply modify your boot entry that should be located over at
/boot/loader/entries/and simply addamd_pstate=passiveto theoptionsline and then runsudo bootctl update.Refer to the Arch wiki for further reading.
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.
Any chance you can install the acpica package and share your ACPI tables generated with
acpidump -b? Thanks.Hi! I just tried that but there's no output for some reason.
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