continuous running of fans (overheating) on Dell XPS 15 9560
Solution 1
My guess is that something has been done with the graphics drivers. Until this is fixed, an intermediate solution is to switch to onboard graphics (see here). In short, run nvidia-settings
and select PRIME Profiles and use Intel (Power Saving Mode).
This is the image from the link:
You should see the change in Details
Solution 2
Install i8kutils
:
sudo apt install i8kutils
Follow the guide How to solve Dell laptops fan issues in Ubuntu.
Solution 3
I have the same laptop and had the same issue in Ubuntu 18.04 and then Ubuntu 20.04. Basically, it's caused by the Nvidia drivers.
If you are only doing non graphical intensive tasks on your laptop:
- run NVIDIA X Server Settings then under PRIME profiles switch to intel (power saving mode).
** /!\ NEXT SOLUTION IS AT YOUR OWN RISK /!\ **
Else, install greenwithenvy (https://gitlab.com/leinardi/gwe). To be able to access the full capabilities of that software, you will have to enable the Cool Bits Option to a certain value (https://wiki.archlinux.org/index.php/NVIDIA/Tips_and_tricks#Enabling_overclocking). To do that, I did :
sudo gedit /usr/share/X11/xorg.conf.d/10-nvidia.conf
then I added the following line
Option "Coolbits" "29"
after the Driver Nvidia line. (What that guy did --> https://ubuntuforums.org/showthread.php?t=2435095)
Once you modified that, restart your computer and pray for your GUI to not be broken... If that were the case, follow that guide: https://itsfoss.com/fix-ubuntu-freezing/ and rollback what you just did. Find another way, can't help you there. Sorry.
If that worked, you should be able to access the fan options and other overclocking stuff greenwithenvy allows you to do. You can tweak the fan behaviour, try the custom one they propose, it's good. Regarding the overclock profile, create a new one and assign the lowest negative values allowed for your GPU Offset and Mem Offset. I use -200 and -1000. Yes, you will loose a bit in term of performance but on the other hand, your laptop wont overheat for nothing, or worse, turn itself off...
Note that now you can also use Nvidia X Server Settings to underclock your GPU using Powermizer.
Hope that helps.
Related videos on Youtube
Roman Luštrik
I'm an analyst with roots in veterinary medicine, biology/ecology and biostatistics. I work with data from various fields of natural (genetics, ecology, biotechnology...) and social sciences (e.g. official statistics, economy). Having fun with cloud solutions like AWS. My tool of choice is R, but I can also somewhat handle Python, HTML, CSS. Ask me about reproducible research and version control. I feed many, many cats.
Updated on September 18, 2022Comments
-
Roman Luštrik over 1 year
Laptop in title has Ubuntu 18.04 installed and after installing the latest update yesterday (9.7.2018) fan(s) were running continuously. I have proprietary NVIDIA drivers installed and until yesterday everything worked fine.
After inspecting temperatures, I compared them to a similar setup (samo brand and model and Ubuntu 18.04) and mine were relatively high and the same goes for fan speeds.
> sensors dell_smm-virtual-0 Adapter: Virtual device Processor Fan: 4104 RPM Video Fan: 4100 RPM CPU: +62.0°C Ambient: +60.0°C Ambient: +56.0°C Other: +39.0°C acpitz-virtual-0 Adapter: Virtual device temp1: +25.0°C (crit = +107.0°C) pch_skylake-virtual-0 Adapter: Virtual device temp1: +57.0°C coretemp-isa-0000 Adapter: ISA adapter Package id 0: +60.0°C (high = +100.0°C, crit = +100.0°C) Core 0: +58.0°C (high = +100.0°C, crit = +100.0°C) Core 1: +59.0°C (high = +100.0°C, crit = +100.0°C) Core 2: +57.0°C (high = +100.0°C, crit = +100.0°C) Core 3: +57.0°C (high = +100.0°C, crit = +100.0°C)
This is the other laptop which works as expected:
coretemp-isa-0000 Adapter: ISA adapter Package id 0: +53.0°C (high = +100.0°C, crit = +100.0°C) Core 0: +53.0°C (high = +100.0°C, crit = +100.0°C) Core 1: +52.0°C (high = +100.0°C, crit = +100.0°C) Core 2: +52.0°C (high = +100.0°C, crit = +100.0°C) Core 3: +52.0°C (high = +100.0°C, crit = +100.0°C) acpitz-virtual-0 Adapter: Virtual device temp1: +25.0°C (crit = +107.0°C) dell_smm-virtual-0 Adapter: Virtual device Processor Fan: 2514 RPM Video Fan: 2504 RPM CPU: +56.0°C Ambient: +50.0°C Ambient: +48.0°C Other: +36.0°C pch_skylake-virtual-0 Adapter: Virtual device temp1: +52.0°C
-
Roman Luštrik almost 6 yearsThanks for your input. I have thought of this solution, but I opted for switching to onboard graphics until this issue is solved on the level which was broken (kernel? graphics drivers?).
-
Guangliang over 5 yearsfixed the same problem for me!
-
Roman Luštrik almost 5 yearsThe issue has not been resolved in 19.04.
-
Adrian over 4 yearsThis continues to be a real annoyance, even with the laptop on my desk. If you look in the "PowerMizer" section of the
nvidia-settings
app, the performance level seems to be pinned at 2-3 (ie - use a lot of power and run hot), when for "normal" use I'd expect 0-1 to be good enough (how much GPU power do you need to throw a few flat windows around?). -
Adrian over 4 yearsSo ; for an alternate solution I tried this answer. Upside - it definitely forces the performance mode to 1 or 0, and there's a noticeable reduction in fan usage. Downside : there's a noticeable reduction in performance too. Even scrolling a webpage becomes really clunky and laggy. Now, I'm using Unity, so this might be one reason. Main reason I'm trying the nvidia instead of the Intel is that eventually (after suspending a few times) the texture memory fragments and it grinds to a halt and needs a reboot. askubuntu.com/questions/1061919/…
-
Adrian over 4 years.. and back to the Intel GPU, and everything is as smooth as silk again. Something very wrong when integrated graphics outperforms a dedicated workstation-level card on basic desktop compositing.
-
Roman Luštrik over 4 years@Adrian I'm on Fedora now. It has its kinks with graphics, but I was able to make things run smoothly with Intel graphics.
-
ljden about 4 yearsThis solution is useful if your device is overheating for reasons other than NVIDIA drivers. I have uninstalled all NVIDIA drivers but was having issues with my fans running. This solution fixed it for me
-
Roman Luštrik almost 4 yearsThanks for your answer. In the mean time, I've learned that one should not buy a 2500 EUR laptop with a fancy graphics card to run linux.
-
Ludo almost 4 years@RomanLuštrik Or just buy an AMD one it works a lot better with linux. In my defense I didnt choose as it is my work laptop...
-
Roman Luštrik almost 4 yearsAny suggestions on which laptop that would be right now?
-
YaTaras almost 4 yearsI've faced with the booting issue after switching to Intel GPU mode. I had to run
sudo apt-get purge nvidia*
to fix that problem. Here is a link to the question that helped with booting issue - askubuntu.com/questions/882385/…