Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upLaptop overheating (Dell XPS L502X) in Qubes R3.2 after kernel update to 4.9.x #3025
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
andrewdavidwong
Aug 15, 2017
Member
Might have to close this if it's too localized (i.e., only affects your laptop model), but I'll leave it open for now in case it's a more widespread issue with the new kernel.
|
Might have to close this if it's too localized (i.e., only affects your laptop model), but I'll leave it open for now in case it's a more widespread issue with the new kernel. |
andrewdavidwong
added
bug
C: kernel
labels
Aug 15, 2017
andrewdavidwong
added this to the Release 3.2 updates milestone
Aug 15, 2017
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
carryforward
Aug 16, 2017
I am also seeing a regression on my Dell. I was observing numerous crashes pointing to video issues. I have seen the crashes occur when I am using an external HDMI monitor. reconfiguring the attached monitors causes the system to crash fairly repeatably.
Video is the embedded intel video on a broadwell i7-5600U
The wireless network card also no longer resumes from suspend. it is likely this issue: #3008
(note, the last kernel update last week hosed my system. I could not boot after upgrading. The kernel would panic as it was booting. Reinstalling 3.2 from scratch and updating to the latest kernel is the current state)
will the 4.0 release also be using the 4.9.x kernel?
carryforward
commented
Aug 16, 2017
•
|
I am also seeing a regression on my Dell. I was observing numerous crashes pointing to video issues. I have seen the crashes occur when I am using an external HDMI monitor. reconfiguring the attached monitors causes the system to crash fairly repeatably. Video is the embedded intel video on a broadwell i7-5600U The wireless network card also no longer resumes from suspend. it is likely this issue: #3008 (note, the last kernel update last week hosed my system. I could not boot after upgrading. The kernel would panic as it was booting. Reinstalling 3.2 from scratch and updating to the latest kernel is the current state) will the 4.0 release also be using the 4.9.x kernel? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Aug 16, 2017
Member
|
Try adding 'iommu=no-igfx' option to Xen command line (just after
dom0_mem option).
…--
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
|
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
rtiangha
Aug 17, 2017
@hopefulfork: I have this exact same laptop and I do not encounter this issue; my unit works fine for hours running kernel 4.9. However, the L502X is notorious for having a crappy cooling system (for example, the hard drive is located near the CPU but there is no ventilation or air circulation in the hard drive area so the heat buildup in that part of the machine is higher than it should be), and simply replacing the stock thermal pad of the heatsink with proper thermal paste can help reduce CPU temperatures by a significant number of degrees (check out the forums on notebookreview.com; overheating issues appearing over time on these units have been heavily documented and most people have worked around it by reapplying proper thermal paste and re-seating the heatsink and some have even resorted to putting heatsinks on other chips as well).
The definitive test would be booting into kernel 4.4 and running your machine for a few hours to see if the issue persists (I know you said it didn't happen before, but you should do it now to see if it really is a regression). If it does still persist, it'd be a hardware problem. Although to be fair, this model is about six years old now, so maybe a fan replacement or cleaning might help as well (there could be a lot of fan blade or grill buildup, depending on your usage, or your fan could actually be dead).
rtiangha
commented
Aug 17, 2017
•
|
@hopefulfork: I have this exact same laptop and I do not encounter this issue; my unit works fine for hours running kernel 4.9. However, the L502X is notorious for having a crappy cooling system (for example, the hard drive is located near the CPU but there is no ventilation or air circulation in the hard drive area so the heat buildup in that part of the machine is higher than it should be), and simply replacing the stock thermal pad of the heatsink with proper thermal paste can help reduce CPU temperatures by a significant number of degrees (check out the forums on notebookreview.com; overheating issues appearing over time on these units have been heavily documented and most people have worked around it by reapplying proper thermal paste and re-seating the heatsink and some have even resorted to putting heatsinks on other chips as well). The definitive test would be booting into kernel 4.4 and running your machine for a few hours to see if the issue persists (I know you said it didn't happen before, but you should do it now to see if it really is a regression). If it does still persist, it'd be a hardware problem. Although to be fair, this model is about six years old now, so maybe a fan replacement or cleaning might help as well (there could be a lot of fan blade or grill buildup, depending on your usage, or your fan could actually be dead). |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
hopefulfork
Aug 22, 2017
I can confirm that with 4.9 kernel my unit overheats while with 4.4 it works fine (to the degree that bad cooling system allows; still it is good enough to keep it warm, but not hot). So I'm basically forced to use it with 4.4 kernel in dom0 and 4.9 kernel in domU.
So the issue isn't with the cooling system but the software. Any ideas how to debug it further?
hopefulfork
commented
Aug 22, 2017
|
I can confirm that with 4.9 kernel my unit overheats while with 4.4 it works fine (to the degree that bad cooling system allows; still it is good enough to keep it warm, but not hot). So I'm basically forced to use it with 4.4 kernel in dom0 and 4.9 kernel in domU. So the issue isn't with the cooling system but the software. Any ideas how to debug it further? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
rtiangha
commented
Aug 23, 2017
|
@hopefulfork: What version of the BIOS are you running? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
hopefulfork
Aug 29, 2017
@rtiangha Good catch, thanks. My version is A04, outdated.
I see there are A06 and A12 at Dell's site. Which one do you use? Also is there any way to update it without booting Windows?
Thanks!
hopefulfork
commented
Aug 29, 2017
|
@rtiangha Good catch, thanks. My version is A04, outdated. I see there are A06 and A12 at Dell's site. Which one do you use? Also is there any way to update it without booting Windows? Thanks! |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
rtiangha
Aug 29, 2017
For the longest time, I ran A12, but I've recently switched to a modded bios based on A12 that has a few more tweaks (like updating the microcode and completely removing Computrace), including an undervolted version that runs slightly cooler (but even on regular A12, I could still run the laptop on kernel 4.9 for hours).
https://github.com/Thiblizz/l502x-modded-bios
But yeah, Dell only lists those two versions now, but back in the day, they had others like A08 and such, and I remember that there were some fan control, power management and ACPI fixes that might make it work better with kernel 4.9. If you can, try updating to see if it helps (even A06 could help with performance since it enabled AES-NI support in the CPU).
Unfortunately, there's no way to do it without Windows, unless you can figure out how to boot into DOS on a flash drive to run the utility there. Unfortunately, the DOS method only works with Dell's stock BIOS and not the modded version. I keep a version of Windows on a separate hard drive just for things like this, and swap it in whenever I need access to it.
rtiangha
commented
Aug 29, 2017
•
|
For the longest time, I ran A12, but I've recently switched to a modded bios based on A12 that has a few more tweaks (like updating the microcode and completely removing Computrace), including an undervolted version that runs slightly cooler (but even on regular A12, I could still run the laptop on kernel 4.9 for hours). https://github.com/Thiblizz/l502x-modded-bios But yeah, Dell only lists those two versions now, but back in the day, they had others like A08 and such, and I remember that there were some fan control, power management and ACPI fixes that might make it work better with kernel 4.9. If you can, try updating to see if it helps (even A06 could help with performance since it enabled AES-NI support in the CPU). Unfortunately, there's no way to do it without Windows, unless you can figure out how to boot into DOS on a flash drive to run the utility there. Unfortunately, the DOS method only works with Dell's stock BIOS and not the modded version. I keep a version of Windows on a separate hard drive just for things like this, and swap it in whenever I need access to it. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
hopefulfork
commented
Sep 10, 2017
|
BIOS update resolved the issue for me. Thanks @rtiangha |
hopefulfork commentedAug 14, 2017
Qubes OS version (e.g.,
R3.2):R3.2
Expected behavior:
Laptop doesn't get hot when idle or under small loads.
Actual behavior:
Laptop overheats even when idle. Critical temperature levels are reached with 30-40 minutes, resulting in a hardware protection turning the system off.
Steps to reproduce the behavior:
Boot the system, login.
General notes:
Seems like it is a regression with latest upgrade to kernel 4.9.x. This behavior isn't observed with kernels from 4.4.x branch.
I expect it has something to do with video card or memory, not CPU - average load is less then 0.2, but the system still overheats. I can provide more info, just don't know how to debug this issue it further.