Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overheating of laptop (AMD) while charging #552

Open
paniash opened this issue Sep 11, 2023 · 2 comments
Open

Overheating of laptop (AMD) while charging #552

paniash opened this issue Sep 11, 2023 · 2 comments

Comments

@paniash
Copy link

paniash commented Sep 11, 2023

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

Have you tried?

System information:

Add/paste output of:

auto-cpufreq --debug
Using settings defined in /etc/auto-cpufreq.conf file

-------------------------------------------------------------------------------

Linux distro: Arch Linux rolling n/a
Linux kernel: 6.5.2-arch1-1
Processor: AMD Ryzen 7 7730U with Radeon Graphics
Cores: 16
Architecture: x86_64
Driver: acpi-cpufreq

------------------------------ Current CPU stats ------------------------------

CPU max frequency: 2000 MHz
CPU min frequency: 1600 MHz

Core    Usage   Temperature     Frequency
CPU0      1.0%        47 °C      2000 MHz
CPU1      1.0%        47 °C      1988 MHz
CPU2      0.0%        47 °C      2000 MHz
CPU3      2.0%        47 °C      1717 MHz
CPU4      1.0%        47 °C      2000 MHz
CPU5      1.0%        47 °C      2000 MHz
CPU6      1.0%        47 °C      2000 MHz
CPU7      0.0%        47 °C      2000 MHz
CPU8      0.0%        47 °C      2000 MHz
CPU9      0.0%        47 °C      2000 MHz
CPU10      1.0%        47 °C      2000 MHz
CPU11      0.0%        47 °C      2000 MHz
CPU12      1.0%        47 °C      2000 MHz
CPU13      0.0%        47 °C      2000 MHz
CPU14      1.0%        47 °C      2000 MHz
CPU15      1.0%        47 °C      2000 MHz

CPU fan speed: 2200 RPM

auto-cpufreq version: 1.9.9 (git: ee888d47)

Python: 3.11.5
psutil package: 5.9.5
platform package: 1.0.8
click package: 8.1.7
distro package: 1.8.0

Computer type: Notebook
Battery is: charging

auto-cpufreq system resource consumption:
cpu usage: 0.0 %
memory use: 0.17 %

Total CPU usage: 1.1 %
Total system load: 0.49
Average temp. of all cores: 47.00 °C

Currently using: performance governor
Currently turbo boost is: off

-------------------------------------------------------------------------------

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


My Thinkpad E14 laptop with an AMD Ryzen 7730U CPU works well with battery with temps staying around 40 degrees most of the time. However, while charging, the laptop heats up to 50 degrees on almost slight to no load. I run a minimal environment (dwm + terminal applications + firefox). This is the default behaviour without any config file.

Having gone through a similar issue (#279), even when turbo is off, the heating issue persists. Albeit in that issue the CPU was Intel (not sure if that makes a difference).

My user-defined config file:

# settings for when connected to a power source
[charger]
# see available governors by running: cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
# preferred governor.
governor = powersave

# minimum cpu frequency (in kHz)
# example: for 800 MHz = 800000 kHz --> scaling_min_freq = 800000
# see conversion info: https://www.rapidtables.com/convert/frequency/mhz-to-hz.html
# to use this feature, uncomment the following line and set the value accordingly
# scaling_min_freq = 800000

# maximum cpu frequency (in kHz)
# example: for 1GHz = 1000 MHz = 1000000 kHz -> scaling_max_freq = 1000000
# see conversion info: https://www.rapidtables.com/convert/frequency/mhz-to-hz.html
# to use this feature, uncomment the following line and set the value accordingly
# scaling_max_freq = 1000000

# turbo boost setting. possible values: always, auto, never
turbo = auto

# settings for when using battery power
[battery]
# see available governors by running: cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
# preferred governor
governor = performance

# minimum cpu frequency (in kHz)
# example: for 800 MHz = 800000 kHz --> scaling_min_freq = 800000
# see conversion info: https://www.rapidtables.com/convert/frequency/mhz-to-hz.html
# to use this feature, uncomment the following line and set the value accordingly
# scaling_min_freq = 800000

# maximum cpu frequency (in kHz)
# see conversion info: https://www.rapidtables.com/convert/frequency/mhz-to-hz.html
# example: for 1GHz = 1000 MHz = 1000000 kHz -> scaling_max_freq = 1000000
# to use this feature, uncomment the following line and set the value accordingly
# scaling_max_freq = 1000000

# turbo boost setting. possible values: always, auto, never
turbo = auto
@paniash paniash closed this as completed Sep 11, 2023
@paniash paniash reopened this Sep 13, 2023
@AdnanHodzic
Copy link
Owner

What was the reason for closing and then re-opening the issue?

@paniash
Copy link
Author

paniash commented Sep 16, 2023

Well before posting, I realized I had not changed the AMD p-state CPU driver to acpi-cpufreq. Unfortunately, even after changing to it, I'm facing the same issue.

Even though the sensors don't detect any temp >50 degrees, the base of the laptop heats up quite a bit while charging. @AdnanHodzic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants