You are not logged in.

#1 2024-07-01 03:16:59

LRitzdorf
Member
Registered: 2022-12-08
Posts: 14

[SOLVED] Nvidia dGPU no longer supports runtime D3 status?

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

#2 2024-07-01 07:54:00

seth
Member
Registered: 2012-09-03
Posts: 58,807

Re: [SOLVED] Nvidia dGPU no longer supports runtime D3 status?

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

#3 2024-07-01 19:06:53

amemeida
Member
Registered: 2024-03-09
Posts: 2

Re: [SOLVED] Nvidia dGPU no longer supports runtime D3 status?

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

#4 2024-07-01 20:29:04

qwerty812
Member
Registered: 2023-07-05
Posts: 9

Re: [SOLVED] Nvidia dGPU no longer supports runtime D3 status?

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

#5 2024-07-01 20:55:33

seth
Member
Registered: 2012-09-03
Posts: 58,807

Re: [SOLVED] Nvidia dGPU no longer supports runtime D3 status?

amemeida wrote:

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

#6 2024-07-02 08:12:39

qwerty812
Member
Registered: 2023-07-05
Posts: 9

Re: [SOLVED] Nvidia dGPU no longer supports runtime D3 status?

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

#7 2024-07-03 01:37:31

LRitzdorf
Member
Registered: 2022-12-08
Posts: 14

Re: [SOLVED] Nvidia dGPU no longer supports runtime D3 status?

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

#8 2024-07-08 18:30:22

alkaid
Member
Registered: 2017-10-26
Posts: 5

Re: [SOLVED] Nvidia dGPU no longer supports runtime D3 status?

Thank you. I can confirm that "NVreg_EnableGpuFirmware=0"" works for me.

Offline

#9 2024-08-02 08:17:50

Lax Lexis
Member
Registered: 2013-09-30
Posts: 87

Re: [SOLVED] Nvidia dGPU no longer supports runtime D3 status?

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

#10 2024-08-20 19:35:49

oleg_ua
Member
Registered: 2023-09-29
Posts: 2

Re: [SOLVED] Nvidia dGPU no longer supports runtime D3 status?

Thank you! This solved the problem for me as well (Nvidia T600) on Lenovo Laptop.

Offline

#11 2024-09-08 16:55:57

solarpunkjulian
Member
Registered: 2024-05-22
Posts: 2

Re: [SOLVED] Nvidia dGPU no longer supports runtime D3 status?

Lax Lexis wrote:

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

Board footer

Powered by FluxBB