I have some issues with kernel 5.18.1, I’m using manjaro as a host for qemu vms and I’m noticing stuttering inside them, it seems due to high cpu usage.
This doesn’t happen with 5.15 or 5.17.
Running 2x old sandy bridge e5-2687w
Same issue for me too. But there is the bug/error in the log when using amd-pstate for Linux Kernel 5.17:
That is why I disabled amd-pstate.
I do not notice what is difference between amd_pstate
and acpi-cpufreq
.
about this point , UEFI motherboard has both options for CPU ZEN2+
for acpi-cpufreq you cant go under 2200mhz , it mean even in idle , so not good for any laptop
for amd-pstate , cppc will use sequence order cpu to use the number core with lower temp and can go to lower frequency 550Mhz , better for any laptop
Maybe you forgot to add initcall_blacklist=acpi_cpufreq_init
to grub.
I do not have to set this variable to get evolution to adhere to my chosen dark theme. I’m not sure why.
In tweaks I have set the shell and legacy applications to use adwaita-maia-compact-dark
theme.
adwaita-maia-compact-dark
theme works, but other default dark themes e.g. Matcha-dark-aliz
do not work with it.
But the old version of evolution 3.44.1-1
works fine with these different themes.
It does not work.
❯ sudo cpupower frequency-info
analyzing CPU 0:
no or unknown cpufreq driver is active on this CPU
Does it work for you?
same result on 5.18.1 , lost acpi-cpufreq with this blacklist option
How to enable amd_pstate for AMD Zen 2+ and Linux Kernel 5.17 or 5.18 only
- Edit
/etc/mkinitcpio.conf
to add
MODULES=(amd_pstate)
-
sudo mkinitcpio -P linux
-
Edit
/etc/default/grub
to add it inGRUB_CMDLINE_LINUX_DEFAULT
:
amd_pstate.shared_mem=1
-
sudo update-grub
-
reboot.
-
Enable CPPC in BIOS setting.
It works for me in Linux Kernel 5.18:
❯ sudo cpupower frequency-info
analyzing CPU 0:
driver: amd-pstate
❯ modinfo amd_pstate
filename: /lib/modules/5.18.1-1-MANJARO/kernel/drivers/cpufreq/amd_pstate.ko.xz
license: GPL
description: AMD Processor P-state Frequency Driver
author: Huang Rui <ray.huang@amd.com>
srcversion: 39739A8C79AAB14F2C15670
depends:
retpoline: Y
intree: Y
name: amd_pstate
vermagic: 5.18.1-1-MANJARO SMP preempt mod_unload
it ok with kernel and added in module for mkinitcpio.conf for kernels 5.17 & 5.18 ,
amd_pstate is not in kernel 5.15 LTS and 5.10 LTS
And this doesn’t require editing your GRUB config file?
GRUB config file adds only amd_pstate.shared_mem=1
in GRUB_CMDLINE_LINUX_DEFAULT
You do not need to add amd_pstate.enable=1
Yup, my CPU needs the shared memory solution. Some of the newest Ryzen CPUs (mostly mobile) work with amd_pstate.enable=1
.
because amd_pstate was / is hyped.:
watch this Video on YT: René gave good informations about this new driver:
And as I understand it right its developed for notebooks (mobile) not desktop AMD CPUs.
My power states didn’t change, though hardware limits would now allow dropping clocks down to 550 MHz:
analyzing CPU 0:
driver: amd-pstate
CPUs which run at the same hardware frequency: 0
CPUs which need to have their frequency coordinated by software: 0
maximum transition latency: 131 us
hardware limits: 550 MHz - 4.65 GHz
available cpufreq governors: conservative ondemand userspace powersave performance schedutil
current policy: frequency should be within 550 MHz and 4.65 GHz.
The governor "schedutil" may decide which speed to use
within this range.
current CPU frequency: Unable to call hardware
current CPU frequency: 2.93 GHz (asserted by call to kernel)
boost state support:
Supported: yes
Active: yes
Boost States: 0
Total States: 3
Pstate-P0: 3700MHz
Pstate-P1: 2800MHz
Pstate-P2: 2200MHz
The three states are identical with what acpi-cpufreq
provides.
My AGESA version is 1.2.0.7, so the motherboard is up-to-date. CPU is 5600X
Here’s one example of 5800X from the internet:
analyzing CPU 0:
driver: amd-pstate
CPUs which run at the same hardware frequency: 0
CPUs which need to have their frequency coordinated by software: 0
maximum transition latency: 131 us
hardware limits: 550 MHz - 4.93 GHz
available cpufreq governors: conservative ondemand userspace powersave performance schedutil
current policy: frequency should be within 550 MHz and 4.93 GHz.
The governor "ondemand" may decide which speed to use
within this range.
current CPU frequency: Unable to call hardware
current CPU frequency: 903 MHz (asserted by call to kernel)
boost state support:
Supported: yes
Active: yes
AMD PSTATE Highest Performance: 166. Maximum Frequency: 4.93 GHz.
AMD PSTATE Nominal Performance: 128. Nominal Frequency: 3.80 GHz.
AMD PSTATE Lowest Non-linear Performance: 59. Lowest Non-linear Frequency: 1.75 GHz.
AMD PSTATE Lowest Performance: 19. Lowest Frequency: 550 MHz.
facing this as well I switch back to acpi-cpufreq
Just ignore the first line current CPU frequency:
that is for maybe Intel?
But we have the second same line:
current CPU frequency: Unable to call hardware
current CPU frequency: 1.33 GHz (asserted by call to kernel)
See: 1.33 GHz is lower than constant / standard 2,2 GHz of acpi-cpufreq
in idle.
That means amd_pstate actually works.
And neofetch
also shows a strange base clock of 4.6xx instead of the default when using amd_p-state.
I did not use neofetch
I checked KDE System Monitor that measures CPU frequencies when using idle.
Using acpi-cpufreq
Every core runs always 2,1 GHz+
VS.
Using AMD Pstate:
Every core runs 550 MHz+ that changes much flexible.
You can see both are different when using idle.
I’ve never used neofetch
; I use watch -n1 cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_cur_freq
, similar to what many frequency monitoring applications do.
Edit: Wow… I just noticed that that watch is causing the threads to “idle” at 2.9 Ghz instead of 550 Mhz
Edit: Seems the states just work now(?!) (compare to my previous post)
analyzing CPU 0:
driver: amd-pstate
CPUs which run at the same hardware frequency: 0
CPUs which need to have their frequency coordinated by software: 0
maximum transition latency: 131 us
hardware limits: 550 MHz - 4.65 GHz
available cpufreq governors: conservative ondemand userspace powersave performance schedutil
current policy: frequency should be within 550 MHz and 4.65 GHz.
The governor "schedutil" may decide which speed to use
within this range.
current CPU frequency: Unable to call hardware
current CPU frequency: 2.94 GHz (asserted by call to kernel)
boost state support:
Supported: yes
Active: yes
AMD PSTATE Highest Performance: 166. Maximum Frequency: 4.65 GHz.
AMD PSTATE Nominal Performance: 132. Nominal Frequency: 3.70 GHz.
AMD PSTATE Lowest Non-linear Performance: 62. Lowest Non-linear Frequency: 1.73 GHz.
AMD PSTATE Lowest Performance: 20. Lowest Frequency: 550 MHz.