Running sudo nvidia-smi drain -p 0000:01:00.0 -m 1 on Fedora Linux 40 from the terminal with KDE plasma 6.2 and then trying to put laptop to sleep by closing the lid makes nvidia-smi unresponsive, and laptop unable to enter sleep or reboot. When trying to go to sleep the laptop hangs until ctrl-alt-f2 is pressed and the user logs in again. Then when trying to reboot the laptop hangs with a black screen and does not reboot. Or, KDE plasma closes everything, but doesn’t initiate shutdown showing only a blank desktop.
I’m using an Nvidia RTX 3060 laptop GPU with propietary driver version 560.35.03 installed from RPM Fusion
where should i report this bug? i feel it’s not entirely nvidia’s fault
It is an Nvidia bug. I have reported it although I still have to give them some info about whether I’m running Wayland and stuff like that and making an Nvidia log file.
This sounds like nvidia-smi drain
is for detecting drain states, and I wonder if checking for drain states by itself would prevent the GPU from powering down? (like it can’t do the drain state/power-off because the GPU is being queried by the drain command checking for the drain state)
If that’s what’s happening then it sounds like it could be a NVIDIA bug, but I’m curious why you’re doing that command before suspending? (not sure what -m 1
does)
ACPI and other GPU-switch tech should automatically handle powering off the NVIDIA GPU, but VM passthrough might be a different story.
I was trying to fully power off the GPU as I found it still consumes power while idling. I ended up setting up TLP though.
1 Like