I have some trouble with my CPU speed. I have a AMD Ryzen 7 PRO 4750U, ThinkPad T14s Gen 1. It does not go beyond 1700 MHz, but it should go to 4100MHz
It looks like the power management driver falls back to acpi-cpufreq and not amd pstate
Aug 23 08:49:06 berend-laptop kernel: amd_pstate: the _CPC object is not present in SBIOS or ACPI disabled
$ cpupower requency-info
analyzing CPU 2:
driver: acpi-cpufreq
CPUs which run at the same hardware frequency: 2
CPUs which need to have their frequency coordinated by software: 2
maximum transition latency: Cannot determine or is not supported.
hardware limits: 1.40 GHz - 1.70 GHz
available frequency steps: 1.70 GHz, 1.60 GHz, 1.40 GHz
available cpufreq governors: conservative ondemand userspace powersave performance schedutil
current policy: frequency should be within 1.40 GHz and 1.70 GHz.
The governor "schedutil" may decide which speed to use
within this range.
current CPU frequency: Unable to call hardware
current CPU frequency: 1.78 GHz (asserted by call to kernel)
boost state support:
Supported: yes
Active: no
now even stranger, I put some load on the system (joining a zoom session)
cpupower frequency-info ✔
analyzing CPU 12:
driver: acpi-cpufreq
CPUs which run at the same hardware frequency: 12
CPUs which need to have their frequency coordinated by software: 12
maximum transition latency: Cannot determine or is not supported.
hardware limits: 1.40 GHz - 1.70 GHz
available frequency steps: 1.70 GHz, 1.60 GHz, 1.40 GHz
available cpufreq governors: conservative ondemand userspace powersave performance schedutil
current policy: frequency should be within 1.40 GHz and 1.70 GHz.
The governor "performance" may decide which speed to use
within this range.
current CPU frequency: Unable to call hardware
current CPU frequency: 4.09 GHz (asserted by call to kernel)
boost state support:
Supported: yes
Active: no
frequency is now frequency: 4.09 GHz, but hardware limits are hardware limits: 1.40 GHz - 1.70 GHz
this going up to >4000MHz is only happening after upgrading from 6.6 Kernel to 6.10. So maybe the bug mention above is related.
this is highly fluctuating. After boot it was ok for a while with cpu speed up to 4100, as expected, but then this decreases and speed is low. I can clearly see this in corectrl, see the screenshot below:
First half everything feels fast, cpu speed up to 4100,
but then in the second half laptop feels slow, cpu speed flipping between 400 and 1700 Mhz(the spikes)
all that while the “hardware max” is 1700 and govenor set to “performance”
But I would assume that the error message from first message
Aug 23 08:49:06 berend-laptop kernel: amd_pstate: the _CPC object is not present in SBIOS or ACPI disabled
already says, that amd pstate is not working at all.
with
on boot to add these parameter for the kernel
you mean pressing e in grub and then adding them? I tried that with some other setting (blacklisting the acpi-cpufreq driver), but I am not sure if I did that correctly.
After hitting e, I see the “definition” of the boot menu with all its entries. I tried to add parameter before all entries, hoping that that place is always processed and valid for all entries. But I saw no changes.
Is that the right way to add parameters to the kernel on boot?
I’m using a laptop with a 4600U and so far didn’t have any luck in activating the pstate driver.
I suppose we have a fairly similar BIOS (Lenovo laptop), so no option regarding ACPI or CPPC in there. However,
lscpu | grep cppc
will show, among many other flags also cppc. Nevertheless, I do get a similar error message:
sudo dmesg | grep pstate
says:
amd_pstate: the _CPC object is not present in SBIOS or ACPI disabled