You are not logged in.

#1 2012-10-23 05:17:11

flockyrocky
Member
From: China
Registered: 2012-09-15
Posts: 76

system temperature raise a lot after resuming from sleep

Hi all,
I'm recently experiencing a weird issue. I think it's after some kernel update when it starts to affect my system (but I'm not so sure for this). Now if I suspend my laptop, I'd probably experience this issue.
Normally my system temperature is around 50 centigrade (which I can see from gnome shell extension). While after a period of suspending, and I resume it, I would find my system temperature begin to raise very rapidly to 70 centigrade. And if I ran some CPU consuming programs it can reach up to 90 centigrade. Here's something I think might be helpful to resolve this issue:
1. My laptop is a Lenovo T420s. To verify that this is not caused by dedicated video card, I've turned off Nvidia Optimus and is using Intel card only. But the issue persists.
2. I'm sure this is not a sensor issue, I can feel it's really hot when the temperature raises. And the fans is working fine, I can hear it's working very hard to reduce temperature.
3. There's no special CPU consuming programs running. From htop the CPU load average now is : 0.17 0.21 0.34. While sensor says temperatures of both CPU cores are 71 centigrade.
4. If I do a fresh restart, everything goes back to normal. It's just I can't suspend my laptop, otherwise it happens again.

Anyone has any idea how this issue happens? I have totally no idea why the CPU temperature raises when there's nobody using it. Or is there's any way I can detect what's happening from maybe some logs or something? Any help would be appreciated.

Offline

#2 2012-10-23 07:24:27

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,138
Website

Re: system temperature raise a lot after resuming from sleep

You are using the gnome-shell extension for temperature measurements. For a more reliable sensor install the lm_sensors package and follow the instructions here to start it. It also shows your thinkpad's current fan speed.
To get detailed information about power consumption install the powertop package, and run it while you are on battery power.
3. Please measure the load again without any program running, because on my core-i3 i have a load average of 0.00 0.02 0.05 while typing this, which seems way lower to me.
4. What do you use to suspend your thinkpad, pm-utils or systemctl sleep or something else?
1. The intel graphics card has various powersaving possibilites not turned on by default. Try adding this to your kernel commandline in Grub.

i915.i915_enable_rc6=1 i915.i915_enable_fbc=1 i915.semaphores=1

For additional powersaving install the tlp package from aur.
https://wiki.archlinux.org/index.php/Tlp

Also read the wiki page for your thinkpad model.
https://wiki.archlinux.org/index.php/Le … nkPad_T420

Last but not least somebody else has to help you with powersaving for the Nvidia GPU, because i know nothing about it, besides turning it off in BIOS does not help at all.

Last edited by teateawhy (2012-10-23 07:25:54)

Offline

#3 2012-10-23 10:34:48

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: system temperature raise a lot after resuming from sleep

Offline

#4 2012-10-23 15:48:19

flockyrocky
Member
From: China
Registered: 2012-09-15
Posts: 76

Re: system temperature raise a lot after resuming from sleep

Thanks guys.
@teateawhy
I'm new to Arch and this is the first time I'm using it. I've installed lm_sensor and other thinkpad packages, and I've done the thinkpad configurations, too, following the arch wiki. Everything used to be working fine until I did a pacman -Syu someday. I don't know which package caused the problem. I'll try with powertop to see if I can find anything useful.
I had pm-utils installed but I think I'm not using it. the lid action is controlled by acpid, and the lid action is calling:

/usr/sbin/laptop_mode auto

that means it's controlled by laptop_mode, right?
I've added the intel card line to grub, will see if it acts better.
The Nvidia Optimus used to working fine for me, with bbswitch and bumblebee. But still, recently it's broken by some upgrade. I don't care about it though, I rarely use the N card. Intel card is enough for 99% of the situations.

Offline

#5 2012-10-23 15:53:00

flockyrocky
Member
From: China
Registered: 2012-09-15
Posts: 76

Re: system temperature raise a lot after resuming from sleep

by the way, I'm a bit confused now, some packages seems to be doing the same thing, I don't know which one is better for me.
I had laptop_mode installed, and Tpl seems to be a replacement. which one is better?

Offline

#6 2012-10-23 16:37:06

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,138
Website

Re: system temperature raise a lot after resuming from sleep

Yes, tlp is a replacement for laptop_mode_tools, you will find it can do everything lmt does, too. Tlp has more features than lmt and is optimized for thinkpads, for example battery charge control. It also has support for wireless devices with the package tlp-rdw. Make sure you remove laptop_mode_tools after configuring tlp, so the both do not conflict.

Last edited by teateawhy (2012-10-23 16:37:25)

Offline

#7 2012-10-24 01:37:49

flockyrocky
Member
From: China
Registered: 2012-09-15
Posts: 76

Re: system temperature raise a lot after resuming from sleep

OK thanks for explanation.
I found this post, seems a lot of people are experiencing the same issue after upgrading to 3.6.2
https://bbs.archlinux.org/viewtopic.php?id=150743&p=1
I'll follow that thread to see if there's any solution.

Offline

#8 2012-10-24 09:37:20

Lekensteyn
Member
From: Netherlands
Registered: 2012-06-19
Posts: 192
Website

Re: system temperature raise a lot after resuming from sleep

How did you turn off your Nvidia GPU? acpi_call will never work for suspend/resume and vgaswitcheroo currently does not survive suspend.

Offline

Board footer

Powered by FluxBB