I managed to resolve this issue _on my laptop_ by manually editing
/usr/bin/prime-select at lines 161, 162.
Original:
ACTION=="unbind", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de",
ATTR{class}=="0x030000", TEST=="power/control", ATTR{power/control}="on"
ACTION=="unbind", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de",
ATTR{class}=="0x030200", TEST=="power/control", ATTR{power/control}="on"'''
Modified:
ACTION=="unbind", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de",
ATTR{class}=="0x030000", TEST=="power/control", ATTR{power/control}="auto"
ACTION=="unbind", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de",
ATTR{class}=="0x030200", TEST=="power/control", ATTR{power/control}="auto"'''
I might be wrong (I probably am, but well), but if I understand
correctly, when Performance or On-demand mode is selected, Runtime PM is
set to "auto", and when Power Saving mode is selected, Runtime PM is set
to "on". Which means, once again if I understand correctly, that the
Nvidia GPU if "forced" to be active and not suspended, when in power
saving mode.
Anyway, now, when I run "sudo cat
/sys/bus/pci/devices/0000:01:00.0/power/runtime_status" it returns
"Suspended" and my power consumption is around 6W at idle.
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nvidia-prime in Ubuntu.
https://bugs.launchpad.net/bugs/1877727
Title:
Nvidia dGPU active despite prime-select set to Intel card
Status in nvidia-prime package in Ubuntu:
Confirmed
Bug description:
After fresh installation of Ubuntu 20.04 I changed used card to Intel
GPU with command "sudo prime-select intel". After reboot Intel card is
used to display, but dGPU is still active (more heat and power
consumption, this laptop also has led that indicate dGPU activation).
In Ubuntu 19.04 which I used till today, after change to iGPU, laptop
use iGPU and dGPU is in inactive state.
I have MSI PE70 7RD laptop with Intel 7700HQ processor and NVIDIA 1050 GPU. I
found similar problem on net, but without solution.
https://askubuntu.com/questions/1232461/ubuntu-20-04-dgpu-is-always-on
Workaround that I found is use "powertop" and in Tunables card
activate power saving for dGPU card "Runtime PM for PCI Device NVIDIA
Corporation GP107M [GeForce GTX 1050 Mobile]", but I think it should
work without such changes every reboot.
Description: Ubuntu 20.04 LTS
Release: 20.04
nvidia-prime:
Installed: 0.8.14
Candidate: 0.8.14
Version table:
*** 0.8.14 500
500 http://pl.archive.ubuntu.com/ubuntu focal/main amd64 Packages
500 http://pl.archive.ubuntu.com/ubuntu focal/main i386 Packages
100 /var/lib/dpkg/status
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: nvidia-prime 0.8.14
ProcVersionSignature: Ubuntu 5.4.0-29.33-generic 5.4.30
Uname: Linux 5.4.0-29-generic x86_64
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Sat May 9 11:38:41 2020
Dependencies:
InstallationDate: Installed on 2020-05-09 (0 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
PackageArchitecture: all
SourcePackage: nvidia-prime
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-prime/+bug/1877727/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp