AdnanHodzic / auto-cpufreq

Automatic CPU speed & power optimizer for Linux
https://foolcontrol.org/?p=4603
GNU Lesser General Public License v3.0
5.8k stars 282 forks source link

Why CPU Freq Crosses Hardware Limits and Policy Limits, and System Heat Up after Hybrid Sleep, in Debian 12 (Testing-Weekly) with auto-cpufreq? #525

Closed aluva closed 1 year ago

aluva commented 1 year ago

Installed auto-cpufreq and thermald, with auto-cpufreq.confwhile on charger:

governor = performance
scaling_max_freq = 1900000
turbo = auto

And, /etc/default/grub edited as:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash intel_pstate=disable"

Thought it is conflicting/ redundant with some other tools. So, REMOVED all other tools: tlp cpufreq cpupower acpi acpid acpi-support linux-cpupower cpufrequtils cpulimit

OS: Debian 12 (bookworm: testing-weekly) Hardware: (Apple: amd64, 16 GB RAM, 8 CPU) limit: 800 MHz - 2800 MHz

After each REBOOT, everything (CPU Freq, Temperature, etc.) stays within limits, as set in auto-cpufreq.conf.

But, AFTER each Hybrid Sleep, things go out of control: (CPU Freq near 4000 MHz, Temp 95℃, Fan 4900 RPM, etc).

What am I missing?

AdnanHodzic commented 1 year ago

I never encountered anything like that during suspend, hibernate or hybrid sleep and settings stay as they are.

Could you fill out template when you were submitting an issue, this template is there for a reason. Thanks!

Reference:

Fill out informtion requested in this template, without doing so issue will be ignored & closed!

Have you tried?

Error output:

Add/paste error output in case of failed installation or other failing component

System information:

Add/paste output of:

auto-cpufreq --debug

Also please be descriptive about the issue you're reporting, i.e: what you tried & what's the expected behavior.

aluva commented 1 year ago

I resolved it. I will write details about it. Perhaps, it can be used as an 'aside'. Because, I noticed that many people struggle with similar issues.. Adnan: With gratitude and immense thanks, for this path-breaking tool. Hats Off to you and the team working on it !!

AdnanHodzic commented 1 year ago

Most welcome! Feel free to contribute to the project, either in code or updating the Readme as part of troubleshooting section? and you will be credited for your work as part of future release.