Skip to content

Laptop getting too hot, Please help...

Hi, I'm using a Lenovo IdeaPad slim 3 laptop and I've installed arch on it, most of the times the cpu temperature stays normal but sometimes it just spikes up and is pretty uncomfortable, however the battery life isn't that much affected it's just the laptop getting too hot, I've tried tlp and some other packages before but nothing seems to work, the issue doesn't happen in ubuntu or some other distros I've tried. If anyone faced a similar issue or know a solution for this please share, thank you.

2 points8 comments
Open on Reddit
About this post
Posted
Archived
Score
2 · 100% up
Kind
Text
ID
129diva

Author

2
posts
17
comments
0
media
View profile

10 comments

you say it depends on the distro, so this isn’t likely the answer for you but it won’t hurt either: open it up and check for dust bunnies. also look and listen how the fans are running, to find out if there are broken fans or bearings.

7 points

Yeah, the fans aren't broken or anything as far as I understand it's something related to not scaling cpu frequency accordingly which is handled well by a distro such as ubuntu.

1 points
  • Like /u/dgm9704 said, inspect for anything physical getting in the way of cooling.
  • Ensure no firmware settings are getting in the way of cooling. Reboot into the BIOS or EFI firmware menu. Look at everything. Apply good judgement. Obviously don't have overclocking, but make sure power management features aren't turned off, etc.
  • Make sure you are booting with the Intel or AMD microcode applied.
  • Apply any firmware updates, with fwupdmgr, which will likely require you to EFI-boot, possibly with Secure Boot.
  • Go through all software that might have had anything to do with power management, and undo their mistakes. I don't know if TLP sets any manual fan and CPU governors, but if it did, make sure they aren't worse than default automatic thermal management. The only other places I could think of off the top of my head are custom settings in the kernel if you used a custom one, or any CONFIG_*s removed from the kernel,.

You could also just be SOL and it's a bad laptop, either intrinsically, or due to age, parts failure, etc.

4 points

Yeah I think there is a bios update pending, i'll look into that, thanks.

1 points

Personally I disable turboboost and tune the epp (energy performance preference) for speedshift (Intel hardware p-states) to favor efficiency instead of performance. This way I never hear my fans even if I'm doing heavy computation. I don't even notice the performance difference, though I assume it is at least measurable in tests.

2 points

That sounds great, could you please point to some sort of guide or documentation as to how to achieve this ?

1 points

To do it temporarily (as in, rebooting would reset the setting) you could do:

echo 1 | sudo tee /sys/devices/system/cpu/intel_pstate/no_turbo

echo "power" | sudo tee /sys/devices/system/cpu/cpufreq/policy*/energy_performance_preference

To make it permanent you'd use tmpfiles.d to automatically write to those paths. For example, my /etc/tmpfiles.d/disable_turboboost.conf is:

w- /sys/devices/system/cpu/intel_pstate/no_turbo - - - - 1

and my /etc/tmpfiles.d/energy_performance_preference.conf is (note, this file would need to be different based on the number of logical CPU cores you have. My laptop has 4 physical cores but also hyperthreading which makes it appear like 8 logical cores):

# Favor energy efficiency for Speed Shift
w- /sys/devices/system/cpu/cpufreq/policy0/energy_performance_preference - - - - power
w- /sys/devices/system/cpu/cpufreq/policy1/energy_performance_preference - - - - power
w- /sys/devices/system/cpu/cpufreq/policy2/energy_performance_preference - - - - power
w- /sys/devices/system/cpu/cpufreq/policy3/energy_performance_preference - - - - power
w- /sys/devices/system/cpu/cpufreq/policy4/energy_performance_preference - - - - power
w- /sys/devices/system/cpu/cpufreq/policy5/energy_performance_preference - - - - power
w- /sys/devices/system/cpu/cpufreq/policy6/energy_performance_preference - - - - power
w- /sys/devices/system/cpu/cpufreq/policy7/energy_performance_preference - - - - power

To verify the tmpfiles.d settings were correctly applied, you could reboot and check that your output matches:

$ cat /sys/devices/system/cpu/intel_pstate/no_turbo
1

$ cat /sys/devices/system/cpu/cpufreq/policy*/energy_performance_preference
power
power
power
power
power
power
power
power

btw if you're running anything like TLP, that might override the setting. I'm pretty sure TLP has its own way of setting these things.

2 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.