[SOLVED] Ubuntu 20.04 - NVIDIA GPU consuming power even when using only integrated graphics card (Intel iGPU)

stichtom

Distinguished
Oct 5, 2014
6
1
18,515
The issue is pretty simple: using Nvidia X Sever Settings GUI to switch from NVIDIA GPU to Intel iGPU doesn't work and the NVIDIA GPU does still consume some power after rebooting and, as a consequence, it generates unnecessary heat. Same thing (obviously) happens if I use prime-select from the terminal. I can see from powertop that when I have everything on idle, I am still consuming around 18-22W which is at least 10W more than I would expect.

This seems to be a rather old bug and supposedly it got "fixed". I can find at least two launchpad bug reports (https://bugs.launchpad.net/ubuntu/+source/nvidia-prime/+bug/1765363) and there are some workaround there. Problem is that at this point I am not even sure what works and what doesn't since most posts are over 3 years old. I tried for example installing ubuntu without selecting "install third party drivers" since someone suggested it would fix the problem but it didn't work in my case.
Someone else here recently posted about this issue again -> https://discourse.ubuntu.com/t/nvidia-prime-not-powering-off-the-dgpu/21856
I used to have another Optimus laptop years ago and I remember it worked fine in older Ubuntu versions but now something seems wrong.

Config:
  • Zephyrus M16, 11800H, 3070
  • Ubuntu 20.04 (but same problem with 21.10)
  • Nvidia Driver 470 and 460 tested.
 
Solution
this is primarily the reason why i dumped ubuntu and switched to arch instead, i couldnt wrap my head around this issue even after spending hours looking at forums and guides. my battery usage was terrible, fans ran at full speed almost all the time and everything was laggy and janky (not to mention ubuntu 20.04 didnt even detect my 1650ti). although you can still try the instructions given in the last post of this thread and see if it helps.
Jul 20, 2018
188
2
4,715
this is primarily the reason why i dumped ubuntu and switched to arch instead, i couldnt wrap my head around this issue even after spending hours looking at forums and guides. my battery usage was terrible, fans ran at full speed almost all the time and everything was laggy and janky (not to mention ubuntu 20.04 didnt even detect my 1650ti). although you can still try the instructions given in the last post of this thread and see if it helps.
 
Solution