The path to this issue for me is different. I installed this laptop originally with 19.04 and nvidia-435 (possibly post installation?) and all was well upon upgrade to 19.10 and later on to 20.04.
Upgrading to 20.04 kept the nvidia-435 driver and this bug did not manifest.
Today I upgraded the driver to nvidia-440 via `ubuntu-driver install` and the issue started happening - the gpu is still powered up even though I rebooted into intel. I switched back and forth using `prime-select`.
I tried reverting back to nvidia-435 to no avail.
I can apply the "fix" via powertop (it does `echo 'auto' > '/sys/bus/pci/devices/0000:01:00.0/power/control';`) and I can confirm this shuts down the GPU properly and cuts power usage dramatically, until next boot.
The path to this issue for me is different. I installed this laptop originally with 19.04 and nvidia-435 (possibly post installation?) and all was well upon upgrade to 19.10 and later on to 20.04.
Upgrading to 20.04 kept the nvidia-435 driver and this bug did not manifest.
Today I upgraded the driver to nvidia-440 via `ubuntu-driver install` and the issue started happening - the gpu is still powered up even though I rebooted into intel. I switched back and forth using `prime-select`.
I tried reverting back to nvidia-435 to no avail.
I can apply the "fix" via powertop (it does `echo 'auto' > '/sys/bus/ pci/devices/ 0000:01: 00.0/power/ control' ;`) and I can confirm this shuts down the GPU properly and cuts power usage dramatically, until next boot.