My system has started taking over 5 minutes to shutdown or restart. Per other posts, I pressed the escape key to see what the status was. For the first period less than a minute, the message was “Authorization Manager.” For the rest of the time, the message shown was "A stop job is running for NVIDIA Persistence Daemon (xx / 5 min.)
I am running Tumbleweed with KDE. My graphics driver is NVIDIA, of course.
Do you have any idea how to make the persistence manager stop reliably?
If your NVIDIA Persistence Daemon is not stopping when you shut down your system, it usually means the daemon is configured to remain active even after a system shutdown, which is its intended behavior to maintain GPU state across reboots; however, you can often adjust settings to make it stop on shutdown if needed by modifying the configuration file or using system management tools depending on your operating system.
Key points :
Purpose of the Persistence Daemon:
This daemon is designed to keep your GPU settings (like memory allocation, clock speeds) active even after a system restart, allowing for faster application launch times, especially for demanding workloads.
Why it might not stop on shutdown:
This is usually because the daemon is configured to maintain GPU state across reboots by default.
How to troubleshoot:
Check your configuration:
Location of configuration file: The exact location of the configuration file might vary depending on your Linux distribution, but it’s typically found in /etc/nvidia/ directory. Look for a file named nvidia-persistenced.conf or similar.
Key setting: Look for a parameter like persist-mode or persistence-mode within the configuration file. Setting it to off should instruct the daemon to stop on shutdown.
System management tools:
Systemd: If using systemd, you can try to manage the daemon’s behavior using systemctl commands. Check the service status with systemctl status nvidia-persistenced and potentially disable it on shutdown with systemctl disable nvidia-persistenced.
Restarting the daemon:
Restarting manually: If the configuration is correct but the daemon is still not behaving as expected, try restarting the NVIDIA Persistence Daemon using a command like sudo systemctl restart nvidia-persistenced.
Important considerations:
Impact on performance:
Disabling the Persistence Daemon might slightly increase your boot time if you heavily rely on GPU acceleration for applications.
Check for updates:
Make sure you are using the latest NVIDIA drivers as updates might include bug fixes related to the Persistence Daemon behavior.
@featherfoot It could be related to the 570 series driver and power management… so if you run the command nvidia-smi does it show Persistence on or off? I would suggest disabling the service and see how it goes. Else you might need to roll back to the 550 series…
I had similar experience, but the shutdown circle rotated about a minute/two minutes (I didn’t time) before shutdown or reboot. I was able to fix this by disabling Plymouth in grub2 config. At least, it has worked fine in two last reboots, because I was hacking on it two days ago. I have B650 mobo, RTX 4070 nvidia and Ryzen 5 7600x.