You are not logged in.

#1 2012-10-26 17:26:03

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,198

laptop suddenly overheating: mainline/LTS; intel sna/uxa; power-saving

This afternoon, my laptop suddenly started to overheat very badly indeed. So badly that the system has simply powered off at least three (and maybe four or five) times in the course of three or four hours. I know that there are some threads possibly relevant to the issue I'm seeing but I'm not clear how to figure out whether the cause is the same in my case or not since the timing doesn't seem to quite fit other people's experiences.

The issue originally occurred with the latest stable kernel, intel sna and only one power saving option set explicitly on the kernel command line (lvds downclocking which I think is not managed automatically).

The first thing I tried was adding:

pcie_aspm=force i915.i915_enable_rc6=7 i915.i915_enable_fbc=1 i915.lvds_downclock=1 i915.semaphores=1

to the kernel command line. However, the problem was just as bad.

I then tried the LTS kernel but had serious graphics issues. So I switched at this point to uxa acceleration. With this configuration, things are better but not great. The laptop still overheated and shutdown before too long. This makes me think it is not the regression people are talking about with the 3.6* line because this is with 3.0*.

I'm working in a reasonably well-heated office but I had no issues with this machine in this environment last year and I've worked in warmer rooms in the past with no issues.

I'm a bit suspicious that KDE is not helping as some of its processes seem to have started going wild at login again and it is impossible to permanently killing them (virtuoso-t, nepomukfileindexer). Usually if I kill them, the respawned processes are not a problem, though.

I should say that I was not doing anything especially taxing - using Firefox and LibreOffice, basically. I sometimes do much more CPU intensive stuff on this machine and I've never seen it overheat to any great extent before - certainly not to the point of emergency shutdown.

I'm especially keen to know if this might be hardware related although I suspect it is not. (I'm within warranty but not for much longer.)

I also need to find a way to figure out what is causing this and either solve the problem or find a work around until it is fixed (if there's a bug somewhere) or until I can solve it properly (if not). I rely on this machine in the classroom so I'm prepared to consider radical solutions if need be. (For example, if somebody tells me there's a good chance this is KDE, I'll install another wm.)

Right now I have almost no idea what it might be (unless it is the power regression affecting 3.0* as well as later kernels) so I'd appreciate some pointers as to the most promising directions I might investigate.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#2 2012-10-26 19:18:01

Sulman
Member
Registered: 2010-02-15
Posts: 9

Re: laptop suddenly overheating: mainline/LTS; intel sna/uxa; power-saving

Does '$ sensors' give you any useful output (I don't know if it even works with your  board)? Can you actually obtain some temperature numbers? Is the active cooling working, i.e. is the fan responding with nominal RPM changes? Even under 100% load your lappy shouldn't be overheating to the extent it turns off, so I don't think it's a rogue process.

Sometimes BIOS will allow you to view fan speed and rudimentary temps before any OS is loaded, it can give you a clue as to whether it's operating in normal ranges, assuming you know what those are smile

Try a live cd that has sensors support and see if it causes the same thing; if not at least you know it is not the hardware or cooling contamination. Hope you get it sorted. I know how fretful overheating issues can be.

Last edited by Sulman (2012-10-26 19:20:45)

Offline

#3 2012-10-27 01:21:04

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,198

Re: laptop suddenly overheating: mainline/LTS; intel sna/uxa; power-saving

Thanks for responding. I actually find it quite frightening as I've never had a laptop overhead to the extent that it turned off before and when it kept happening...

I was checking with sensors fairly often but never caught it just before it shut itself off. I was seeing temperatures in the high 60s/low 70s. The RPM for the fan seemed to be adjusting itself reasonably normally and I could feel the hot air being blown out so it was definitely working. Those temps are high even in comparison with my normal results on recent (3.6*) kernels.  cpu scaling seemed reasonably normal. (Mix of max and min frequencies with nothing in between but my laptop tends to do that. It will use the intermediate steps as I have seen them but it seems fairly rare.)

Right now I am getting incredibly sane output - saner than I've seen in weeks, if not months (maybe the LTS but that overheated and shutdown this afternoon as well):

$ sensors
acpitz-virtual-0
Adapter: Virtual device
temp1:        +46.0°C  (crit = +100.0°C)

thinkpad-isa-0000
Adapter: ISA adapter
fan1:         568 RPM
temp1:        +46.0°C  
temp2:         +0.0°C  
temp3:        +44.0°C  
temp4:         +2.0°C  
temp5:         +0.0°C  
temp6:         +0.0°C  
temp7:        +22.0°C  
temp8:         +0.0°C  

coretemp-isa-0000
Adapter: ISA adapter
Physical id 0:  +45.0°C  (high = +86.0°C, crit = +100.0°C)
Core 0:         +45.0°C  (high = +86.0°C, crit = +100.0°C)
Core 1:         +44.0°C  (high = +86.0°C, crit = +100.0°C)

On the other hand, I am freezing because I'm using the damn thing in a rather cold room with the heating off. My fingers want to shutdown but at least the laptop is happy. Doubt I can impose this on colleagues at work, though!

I don't think my BIOS will give me fan speed or temps. I haven't tried a live environment yet just because there isn't much point in this environment, it seems.

I assume that a rogue process shouldn't cause it to overheat like that for all kinds of reasons. Even if the cpu was working flat out, presumably it should stay cool enough to function.

I'm also quite alarmed at how quickly the temperatures must have been rising. It must have been rocketing from 70ish which is obviously high to 100ish to shutdown. (If I understand sensors's output correctly.) The fan never seems to operate at any speed other than 500 and something RPM. I don't know if that's usual but it has always been that way and the machine didn't overheat in warm rooms under load before!


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#4 2012-10-27 03:51:37

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: laptop suddenly overheating: mainline/LTS; intel sna/uxa; power-saving

Wow, I know you have been experiencing the 10 degree increase of late that I have seen you mention many times.  I guess now it is time to be concerned. I am really sorry to hear it has gotten so bad.  I would really say that you should try a live media to see if it happens there as well.  I guess maybe something kde based so that you can actually use it while you test. 

What ever happened to the fedora partition you put on your system a while back.  Did you even end up using that at all, or did you ultimately take it off?  If it is still there, I would say try that for a while and see if it occurs there.  I think this is the one time I really hope that there is a flaw in your Arch installation, as otherwise it would seem a hardware problem.  In any case, get moving on figuring out if it is a hardware problem if your warranty is about to be up.  Maybe it might be a good time to look into extended warranties just in case.  Usually I don't advocate the extended warranties, but this might be a prime case where it may be worth it.

Offline

#5 2012-10-27 14:37:57

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

Re: laptop suddenly overheating: mainline/LTS; intel sna/uxa; power-saving

Setting rc6=7 is strongly discouraged, instead rc6=1 is used in the newest kernels. Any setting higher than 1 can cause gpu hangs and overheating.
Also read about this bug:
https://bugs.archlinux.org/task/32025

Last edited by teateawhy (2012-10-27 14:50:22)

Offline

#6 2012-10-27 16:16:08

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,198

Re: laptop suddenly overheating: mainline/LTS; intel sna/uxa; power-saving

Thanks. I note that I hadn't explicitly set rc6 at all when this started happening. I only tried rc6=7 in an attempt to control things. Anyway, I've now set rc6=1 and rebooted with the standard (3.6.3) kernel. I finally figured out how to get powertop to tell me how much energy it is using.

Before rebooting, with the LTS kernel (and rc6=7), I was using 7 or 8 W. With the current kernel (and rc6=1), I'm using 9 or 10 (rising to over 16 but never less than about 10) W. I've turned the heating off in my office so it is a bit chilly but temperatures are still over 50C.

In powertop, I notice that I have two backlight processes using over 50% and 20% respectively (and a thinkpad light process using 0%). The GPU wasn't shown separately with the LTS kernel but it lists 85% or more active although all I was doing was looking at powertop in Konsole. I'm not sure if this is normal or not but it surprised me. (How much would it use if I wanted to watch a film?)

I guess one question I have is this: even supposing that the power regressions in 3.6.* are at least partly responsible for the heating, does the fact that the laptop heated so quickly to critical levels suggest that there is something wrong hardware-wise?


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

Board footer

Powered by FluxBB