Skip to content

Completely disable NVidia power management #859

@barabaka

Description

@barabaka

I have laptop with hybrid graphics (Intel+NVidia) configured in PRIME mode with D3 power management [0] [1].

I want to disable TLP from managing NVidia and let proprietary driver do the thing (which works quite well, GPU stays in suspended/D3cold state most of the time) [2]

So I disabled the card in TLP config (/etc/tlp.d/01-nvidia.conf):

RUNTIME_PM_DENYLIST="01:00.0"
RUNTIME_PM_DRIVER_DENYLIST="nvidia"

With this configuration I would expect TLP to completely ignore the card. Is that the right expectation? But now the state [2] is reported as suspended/D3hot (change from D3Cold -> D3hot compared to nvidia driver). So it seems that TLP is still somehow manages the card. I tested this on AC.

When I unplug the AC the state cycles to D0 -> D3Cold, which looks good. So it seems to only affect the AC mode.

Is there a way to completely disable NVidia management?

[0] https://wiki.archlinux.org/title/PRIME
[1] https://wiki.archlinux.org/title/PRIME#PCI-Express_Runtime_D3_(RTD3)_Power_Management
[2] cat /sys/bus/pci/devices/0000:01:00.0/power/runtime_status && cat /sys/bus/pci/devices/0000:01:00.0/power_state

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions