How to Disable the Ubuntu ‘Nvidia-suspend’ Service

The GPU Sleep State Manager

When installing proprietary Nvidia graphics drivers on Ubuntu, several background systemd services are configured to manage the complex interplay between the operating system and the GPU hardware. One of these services is nvidia-suspend.service. Its sole purpose is to handle the intricate procedure of gracefully powering down the Nvidia graphics card when you put your computer to sleep (suspend to RAM), and correctly restoring its state when you wake the machine back up. It ensures that VRAM contents are preserved and that the GPU doesn’t crash the system during the power state transition.

For laptop users or desktop users who frequently use sleep mode, this service is critical for a stable experience. However, in enterprise environments where Ubuntu is deployed on headless AI compute nodes, dedicated rendering servers, or cryptocurrency mining rigs, the system is designed to run 24/7 at maximum performance. These machines are *never* put to sleep; in fact, sleep states are usually disabled entirely at the BIOS or OS level to prevent accidental downtime. In these strict, always-on server environments, the nvidia-suspend daemon is a completely unnecessary background process that provides zero benefit. Disabling it is a standard practice when hardening a dedicated GPU compute node.

How to Disable the Nvidia Suspend Service

You can permanently prevent this sleep management service from starting using standard systemctl commands.

  1. Open your Ubuntu Terminal.
  2. To disable the service so it does not load during the boot sequence, run:
sudo systemctl disable nvidia-suspend.service
  1. To ensure that the service cannot be accidentally triggered by another power management script or dependency, you must mask it:
sudo systemctl mask nvidia-suspend.service

The service is now completely neutralized. (Note: Only do this on always-on servers. If you do this on a laptop, your computer will likely crash or wake up to a black screen if you attempt to use sleep mode).

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.