Hi,
I’m experiencing issues with a Lenovo Legion Slim 5 16APH8 with 4070 not staying in D3cold after something wakes it up.
The issue experienced is, system boots up and shortly after enters D3cold and stays there, this is expected, however if anything wakes the dGPU the system will never stay in D3cold after this. The observed behavior is, it will stay in D0 for 20 seconds, enter D3cold for 1 second and go back to D0 and keep on repeating this indefinitely.
If I suspend the laptop with “systemctl suspend” and then wake it, the system will stay in D3cold until I run something that again wakes the dGPU, but again will loop 20 seconds in D0 and then 1 second in D3cold indefinitely.
Even if I boot to a non-graphical environment via multi-user.target, I can see the dGPU go to D3cold, and then if I wake it by running “lspci”, it will have the above issue of 20 seconds in D0, followed by 1 second in D3cold and loop like this indefinitely.
> uname -a
Linux 6.10.3-arch1-2 #1 SMP PREEMPT_DYNAMIC Tue, 06 Aug 2024 07:21:19 +0000 x86_64 GNU/Linux
> /sys/bus/pci/devices/0000:01:00.0/power/control
auto
> /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
S0ix Power Management:
Platform Support: Supported
Status: Disabled
> sudo pacman -Q | grep nvidia
nvidia-beta-dkms 560.31.02-1
nvidia-prime 1.0-5
nvidia-utils-beta 560.31.02-1
I’m using the latest BIOS: M3CN43WW
It seems like a bug, to ensure it wasn’t a configuration change I have made somewhere, I fresh installed Arch and made no changes to configuration files while testing.
It seems like a bug similar to this: NVIDIA GPU Fails to power off (PRIME) Razer Blade 14 2022 - #37 by PabloB
I’ve tried NVreg_DynamicPowerManagementVideoMemoryThreshold=0 and “NVreg_DynamicPowerManagement=0x02”, however these had no impact on the issue.
nvidia-bug-report.log.gz (704.2 KB)
Attached is the NVIDIA bug report.