You are not logged in.
Hardware: Thinkpad T14s G3 AMD
Kernel: Latest 6.3 with amd_pstate=active
KDE with powerdevil installed and power-profiles-daemon.service enabled/running.
In the KDE power management settings I have set to change to "Performance" on AC and "powersave" on battery.
When connecting/disconnecting the charger, I can see that the slider in my "energy task bar icon" switches between those settings.
How ever, it doesn't seem like the actually scaling governor / epp settings get set in my system.
With the charger unplugged it still stays in "performance".
cat /sys/devices/system/cpu/cpu*/cpufreq/energy_performance_preference
performance
performance
performance
performance
performance
performance
performance
performance
performance
performance
performance
performance
performance
performance
performance
performance
cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
performance
performance
performance
performance
performance
performance
performance
performance
performance
performance
performance
performance
performance
performance
performance
performance
sudo cpupower frequency-info
analyzing CPU 13:
driver: amd_pstate_epp
CPUs which run at the same hardware frequency: 13
CPUs which need to have their frequency coordinated by software: 13
maximum transition latency: Cannot determine or is not supported.
hardware limits: 400 MHz - 4.77 GHz
available cpufreq governors: performance powersave
current policy: frequency should be within 400 MHz and 4.77 GHz.
The governor "performance" may decide which speed to use
within this range.
current CPU frequency: Unable to call hardware
current CPU frequency: 3.03 GHz (asserted by call to kernel)
boost state support:
Supported: yes
Active: yes
Boost States: 0
Total States: 3
Pstate-P0: 2700MHz
Pstate-P1: 1800MHz
Pstate-P2: 1600MHz
ls /usr/lib/modules/$(uname -r)/kernel/drivers/cpufreq/
acpi-cpufreq.ko.zst amd-pstate-ut.ko.zst pcc-cpufreq.ko.zst speedstep-lib.ko.zst
amd_freq_sensitivity.ko.zst p4-clockmod.ko.zst powernow-k8.ko.zst
cat /sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences
default performance balance_performance balance_power power
sudo systemctl status power-profiles-daemon.service
● power-profiles-daemon.service - Power Profiles daemon
Loaded: loaded (/usr/lib/systemd/system/power-profiles-daemon.service; enabled; preset: disabled)
Active: active (running) since Wed 2023-05-24 09:21:20 CEST; 24min ago
Main PID: 725 (power-profiles-)
Tasks: 4 (limit: 36962)
Memory: 4.1M
CPU: 149ms
CGroup: /system.slice/power-profiles-daemon.service
└─725 /usr/lib/power-profiles-daemon
Mai 24 09:21:20 S2000 systemd[1]: Starting Power Profiles daemon...
Mai 24 09:21:20 S2000 systemd[1]: Started Power Profiles daemon.
Any ideas on what is wrong?
Setup 1: Thinkpad T14s G3, 14" FHD - R7 6850U - 32GB RAM - 2TB Solidigm P44 Pro NVME
Setup 2: Thinkpad X1E G1, 15.6" FHD - i7-8850H - 32GB RAM - NVIDIA GTX 1050Ti - 2x 1TB Samsung 970 Pro NVME
Accessories: Filco Majestouch TKL MX-Brown Mini Otaku, Benq XL2420T (144Hz), Lo(w)gitech G400, Puretrak Talent, Sennheiser HD800S + Meier Daccord FF + Meier Classic FF
Offline
I have the same issue.
what I did was a workaround with a script with cpupower, kdialog, passwordless sudo and the command output plasma widget.
then I binded a keyboard shortcut to the widget, which then trigered the kdialog script to change the governor.
If you want I can share the script (note I wrote it for amd_pstate=passive)
Now that I think of it it could be a permission issue, so try it while being logged in from root (my laptop is in the repair, otherwise I would've done it.)
Last edited by jl2 (2023-05-24 18:25:47)
Why I run Arch? To "BTW I run Arch" the guy one grade younger.
And to let my siblings and cousins laugh at Arsch Linux...
Offline
I have the same issue.
what I did was a workaround with a script with cpupower, kdialog, passwordless sudo and the command output plasma widget.
then I binded a keyboard shortcut to the widget, which then trigered the kdialog script to change the governor.
If you want I can share the script (note I wrote it for amd_pstate=passive)Now that I think of it it could be a permission issue, so try it while being logged in from root (my laptop is in the repair, otherwise I would've done it.)
Hi there, it seems to be an ongoing issue with power-profiles-daemon.
Issue link: https://gitlab.freedesktop.org/hadess/p … issues/107
I switched to TLP 1.5 which supports most stuff now. Full support will be available with TLP 1.6 (currently in Alpha testing).
How ever, a custom script should do it as well but I am not sure how to run scripts automatically on an event as root.
I can add a udev rule but when the script or command needs root, it won't work?
Besides that I am really not sure what will yield better results: TLP or power-profiles-daemon
Last edited by Utini (2023-05-24 19:49:28)
Setup 1: Thinkpad T14s G3, 14" FHD - R7 6850U - 32GB RAM - 2TB Solidigm P44 Pro NVME
Setup 2: Thinkpad X1E G1, 15.6" FHD - i7-8850H - 32GB RAM - NVIDIA GTX 1050Ti - 2x 1TB Samsung 970 Pro NVME
Accessories: Filco Majestouch TKL MX-Brown Mini Otaku, Benq XL2420T (144Hz), Lo(w)gitech G400, Puretrak Talent, Sennheiser HD800S + Meier Daccord FF + Meier Classic FF
Offline
If anyone gets here. I added a fix to the wiki:
https://wiki.archlinux.org/title/Lenovo … Pstate_EPP
Setup 1: Thinkpad T14s G3, 14" FHD - R7 6850U - 32GB RAM - 2TB Solidigm P44 Pro NVME
Setup 2: Thinkpad X1E G1, 15.6" FHD - i7-8850H - 32GB RAM - NVIDIA GTX 1050Ti - 2x 1TB Samsung 970 Pro NVME
Accessories: Filco Majestouch TKL MX-Brown Mini Otaku, Benq XL2420T (144Hz), Lo(w)gitech G400, Puretrak Talent, Sennheiser HD800S + Meier Daccord FF + Meier Classic FF
Offline