You are not logged in.
As of recently, my laptop system's Nvidia dGPU (a 1660 Ti) seems to have lost(?) its support for switching to the D3cold power mode when not in use.
I've previously configured my system to enable PRIME and use runtime D3 power management (as per the Wiki), and this has worked in the past, on both X11 and Wayland. However, as of... some point in the recent past, possibly with the v555 drivers, runtime D3 mode has apparently become unavailable. Despite the various settings described in the Wiki being applied (`auto` in `/sys/class/drm/card1/power/control`, setting `NVreg_DynamicPowerManagement=0x02`, etc), the card remains in the D0 power mode at all times. I've even tested this by ensuring that all of the card's outputs are physically disconnected and checking its power mode from a raw TTY, so as not to introduce any noise from DE/WM usage. The issue remains.
Interestingly, the contents of `/proc/driver/nvidia/gpus/0000:01:00.0/power` seem to indicate a complete lack of runtime D3 support:
──────┬────────────────────────────────────────────────────
│ File: /proc/driver/nvidia/gpus/0000:01:00.0/power
──────┼────────────────────────────────────────────────────
1 │ Runtime D3 status: Not supported
2 │ Video Memory: Active
3 │
4 │ GPU Hardware Support:
5 │ Video Memory Self Refresh: Not Supported
6 │ Video Memory Off: Supported
7 │
8 │ S0ix Power Management:
9 │ Platform Support: Not Supported
10 │ Status: Disabled
──────┴────────────────────────────────────────────────────
Any idea as to why this might have changed? Alternatively, I might be looking at entirely the wrong thing here — if so, please let me know!
(Basic system information, in case it helps: Lenovo Legion 5 laptop, with a 10th-gen Core i7 CPU including integrated Intel UHD graphics, plus the aforementioned Nvidia GTX 1660 Ti.)
Last edited by LRitzdorf (2024-07-03 01:39:23)
Offline
possibly with the v555 drivers
https://aur.archlinux.org/packages/nvidia-535xx-dkms
There're plenty of issues reported w/ the 555xx drivers (mostly "my output is blank" or "some of my outputs are blank")
Offline
Having the same problem in my hybrid graphics laptop, NVIDIA MX450 and Intel Xe Graphics.
After upgrading to 555xx-dkms, D3 now shows as "not supported". Tried downgrading to 535xx as per seth's response, but nothing changed. Tried going back to linux and linux-lts kernels using default nvidia instead of the dkms release, and still the same problem.
Offline
Following, noticed the same issue today with NVIDIA driver 555.58 and Nvidia GTX 1650Ti Mobile
cat /proc/driver/nvidia/gpus/0000\:01\:00.0/power
Runtime D3 status: Not supported
Video Memory: Active
GPU Hardware Support:
Video Memory Self Refresh: Not Supported
Video Memory Off: Supported
S0ix Power Management:
Platform Support: Not Supported
Status: Disabled
Offline
After upgrading to 555xx-dkms, D3 now shows as "not supported". Tried downgrading to 535xx as per seth's response, but nothing changed. Tried going back to linux and linux-lts kernels using default nvidia instead of the dkms release, and still the same problem.
The ciriticaly part would be the version, not whether it's dkms or pre-built.
If the nvidia driver version has no impact, try to downgrade the kernel to the previous version (6.9.6?) - if you're not using an nvidia-dkms package, you'll have to downgrade that to a version that was compiled for that kernel as well!
Offline
Update: only workaround for me now was to add line in
/etc/modprobe.d/nvidia.conf
options nvidia "NVreg_EnableGpuFirmware=0"
in order to disable GSP as seen here
You'll need to:
sudo mkinitcpio -P
and
sudo grub-mkconfig -o /boot/grub/grub.cfg
afterwards.
Now it shows:
cat /proc/driver/nvidia/gpus/0000\:01\:00.0/power
Runtime D3 status: Enabled (fine-grained)
Video Memory: Off
GPU Hardware Support:
Video Memory Self Refresh: Supported
Video Memory Off: Supported
S0ix Power Management:
Platform Support: Not Supported
Status: Disabled
Last edited by qwerty812 (2024-07-02 08:12:59)
Offline
Confirmed on my end as well. Based on the linked issue, I assume this appeared in the proprietary v555 drivers because they've enabled using the GSP firmware, while earlier versions didn't?
In any case, thanks for the detective work!
Offline
Thank you. I can confirm that "NVreg_EnableGpuFirmware=0"" works for me.
Offline
Thank you so much. After my system update, my MX450 won't power down anymore.
Adding "options nvidia NVreg_EnableGpuFirmware=0" to "/etc/modprobe.d/nvidia-pm.conf" and running "sudo mkinitcpio -P" was the solution. Please keep in mind that disabling the GpuFirmware only works on the closed-source driver, not on "nvidia-open".
Offline
Thank you! This solved the problem for me as well (Nvidia T600) on Lenovo Laptop.
Offline
Thank you so much. After my system update, my MX450 won't power down anymore.
Adding "options nvidia NVreg_EnableGpuFirmware=0" to "/etc/modprobe.d/nvidia-pm.conf" and running "sudo mkinitcpio -P" was the solution. Please keep in mind that disabling the GpuFirmware only works on the closed-source driver, not on "nvidia-open".
wow i just found the answer to why a couple of things ( like D3 Power Control etc.) on my laptop with an nvida gtx1650 and and integrated intel graphics didn't work. It's mentioned nowhere i looked until now that you can't disable GPU Firmware on nvidia-open. Thank you.
And i actually think it might be a good idea to mention it somewhere on the wiki.
Offline