My issue is rather straightforward: I have set up PRIME Render Offload and Runtime D3 power management as specified in the driver manual. However, I have the following:
$ nvidia-smi
Wed Mar 10 03:09:09 2021
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 460.56 Driver Version: 460.56 CUDA Version: 11.2 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 Quadro RTX 5000 Off | 00000000:01:00.0 Off | N/A |
| N/A 49C P8 8W / N/A | 5MiB / 16125MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 1936 G /usr/lib/Xorg 4MiB |
+-----------------------------------------------------------------------------+
Now, the claim is that nvidia-smi
awakens the GPU to poll it. Alright, so I perform:
$ cat /sys/bus/pci/devices/0000:01:00.0/power/runtime_status
active
$ cat /sys/bus/pci/devices/0000:01:00.0/power/runtime_suspended_time
0
The GPU is hence active, and has never suspended since boot.
Finally:
$ cat /proc/driver/nvidia/gpus/0000:01:00.0/power
Runtime D3 status: Enabled (fine-grained)
Video Memory: Active
GPU Hardware Support:
Video Memory Self Refresh: Supported
Video Memory Off: Supported
What can I do? The worst thing is that my GPUâs P8 idle state is a whopping 9 watts: this is greater than the total system power consumption of many ultrabooks which have nailed Linux power management.
Many others with similar problems noticed that they have some Xorg program or another hooking into nvidia-smi
or nvidia-settings
: I have uninstalled the latter, and I have also tried this with sddm.service
disabled and after a reboot (hence Xorg is never loaded): the power state is still stuck at P8, the video memory is still active, and the GPU is never suspended properly.
I am at my witsâ end here: hoping for a solution to this.