open-gpu-kernel-modules icon indicating copy to clipboard operation
open-gpu-kernel-modules copied to clipboard

PCI-Express Runtime D3 (RTD3) Power Management

Open adolfotregosa opened this issue 9 months ago • 1 comments

NVIDIA Open GPU Kernel Modules Version

570.133.07

Please confirm this issue does not happen with the proprietary driver (of the same version). This issue tracker is only for bugs specific to the open kernel driver.

  • [ ] I confirm that this does not happen with the proprietary driver package.

Operating System and Version

does not matter.

Kernel Release

does not matter

Please confirm you are running a stable release kernel (e.g. not a -rc). We do not accept bug reports for unreleased kernels.

  • [x] I am running on a stable kernel release.

Hardware: GPU

4060TI

Describe the bug

No PCI-Express Runtime D3 (RTD3) Power Management. I get not supported.

on -> https://us.download.nvidia.com/XFree86/Linux-x86_64/570.133.07/README/dynamicpowermanagement.html

""Supported Configurations .... This feature is supported on notebooks and desktops.""

BUT on

https://github.com/NVIDIA/open-gpu-kernel-modules/blob/c5e439fea4fe81c78d52b95419c30cabe44e48fd/src/nvidia/arch/nvalloc/unix/src/dynamic-power.c#L737

you literally

// From GA102+, we enable RTD3 only if system is found to be Notebook if ((chipId >= NV_PMC_BOOT_42_CHIP_ID_GA102) && (rm_is_system_notebook())) { *pOption = NV_REG_DYNAMIC_POWER_MANAGEMENT_FINE; return NV_OK; }

If I understand correctly the function above i'll not run because we have before it:

if (*pRegkeyValue != NV_REG_DYNAMIC_POWER_MANAGEMENT_DEFAULT) { *pOption = *pRegkeyValue; return NV_OK; }

should honor NVreg_DynamicPowerManagement option but I still get "not supported".

So, is this a bug ? oversight ? or not supposed to be enabled on Desktop cards after all ?

My motherboard dsdt.zip apparently shows _PR3 is supported.

I have tested making the intel igpu the main output device but I still get "not supported". I'm sure nothing is running on the nvidia gpu, nvidia-smi confirms nothing is running on the gpu. I'm out of ideas.

To Reproduce

load nvidia module with option NVreg_DynamicPowerManagement=0x01 or NVreg_DynamicPowerManagement=0x02

and

root@pve:~# 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: Supported Status: Disabled

Notebook Dynamic Boost: Not Supported

So, what nvidia desktop cards supports PCI-Express Runtime D3 (RTD3) Power Management?

Bug Incidence

Always

nvidia-bug-report.log.gz

nvidia-bug-report.log.gz

More Info

No response

adolfotregosa avatar Mar 28 '25 10:03 adolfotregosa

Even on my 2080 Ti it says Runtime D3 status: Disabled by default.

And dump of DSDT does not show _PR3.

ValeZAA avatar Apr 13 '25 14:04 ValeZAA