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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1877727
Title:
Nvidia dGPU active despite prime-select set to Intel card
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-prime/+bug/1877727/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs