Closed Taurinz359 closed 1 year ago
The output of tlp-stat shows that all your settings have been accepted by the driver:
/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver = amd-pstate
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor = ondemand
/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq = 400000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq = 3900000 [kHz]
/sys/devices/system/cpu/amd_pstate/status = guided
Which means TLP has performed its task correctly (I assume that it is the same on battery).
my scaling driver falls under the criteria for manually controlling the processor frequency.
You said it yourself: the kernel driver does not do what it should or what you expect. Please contact its developers.
Short backstory: I've been facing an overheating issue on my ASUS Vivobook 14 M1402IA-AM173 laptop running Manjaro (kernel 6.5.3-1-MANJARO) with 16GB of RAM and a Ryzen 7 4800Hs processor. Every time I launch applications like PHPStorm (project indexing) or run PHP unit tests (Paratest), all CPU cores max out their frequency to the maximum value. According to htop, it reaches 4300 MHz, and even when the processor heats up, it doesn't reduce the frequency to prevent overheating. Eventually, it hits a critical temperature of 105 degrees, and the laptop shuts down.
I found your program, and it indeed helps with battery charging management. Thank you for that! However, I would like to control the max_freq of my CPU. After reading the documentation, I've followed all the steps, and my scaling driver falls under the criteria for manually controlling the processor frequency. However, nothing changes. Here's my configuration and the summary of tlp-stat:
tlp.conf: