
NVIDIA drivers are essential for enabling GPU acceleration on Bare Metal instances, but mismatched versions or failed updates may cause instability, performance drops, or NVML related errors. In such cases, you may need to downgrade to a stable release or reinstall the current driver to restore proper functionality.
This guide applies to both Bare Metal GPU instances and Passthrough GPU instances deployed with a GPU-enabled OS image.
If you are installing from a base OS, you must follow NVIDIA's official documentation for your specific hardware. Also this guide does not apply to vGPU instances, where driver versions are managed by the host hypervisor. For more details on vGPU, see How to Manage vGPU on Vultr Cloud GPU Instances.
Follow this guide to remove, reinstall, or downgrade NVIDIA drivers on Vultr Bare Metal and Passthrough GPU instances to keep your workloads running efficiently.
Before you begin, you need to:
The NVIDIA driver uses the Dynamic Kernel Module Support (DKMS) framework to automatically rebuild kernel modules whenever the kernel updates. This ensures the NVIDIA driver remains functional after system upgrades.
Update the package index.
Install the dkms package.
View the dkms package version.
A version number in the output verifies that DKMS is installed correctly.
Before downgrading or reinstalling, you must completely remove the existing NVIDIA drivers and related CUDA packages. This ensures there are no conflicts during the new installation.
Remove CUDA, cuBLAS, and Nsight packages.
Remove NVIDIA drivers and libraries.
Reboot the system to unload any remaining driver modules.
To install the NVIDIA drivers, you need access to the official NVIDIA repository. Adding the repository lets you fetch specific driver versions and stay consistent with NVIDIA's distribution.
Set your Ubuntu version.
Download the NVIDIA keyring package.
Install the keyring package.
Download the repository signing key.
Move the key to the keyrings directory.
Add the CUDA repository.
Update the package index.
Install the appropriate driver and toolkit packages for your GPU model. The required packages differ depending on whether you are using B200 and newer GPUs or H100/A100 GPUs that require Fabric Manager. The following steps apply equally to Bare Metal GPU instances and Passthrough GPU instances, since both provide direct access to a physical NVIDIA GPU.
For B200 and newer GPUs, install the NVIDIA open drivers, CUDA toolkit, NVLink libraries, and container runtime support.
Install the NVIDIA open drivers, CUDA toolkit, and NVLink libraries.
Install the NVIDIA container runtime and supporting libraries.
Reboot the system to load the new drivers.
Verify the NVIDIA drivers are installed.
H100 and older data center GPUs, such as the A100, use NVLink and NVSwitch to enable high-bandwidth, peer-to-peer communication across multiple GPUs in the same system. To support these features, NVIDIA requires both the CUDA proprietary drivers and the Fabric Manager service. Without Fabric Manager running alongside the proper drivers, NVLink/NVSwitch interconnects will not function correctly.
Install the CUDA drivers, Fabric Manager, and CUDA toolkit.
Install the NVIDIA container runtime and supporting libraries.
Reboot the system to load the new drivers.
Verify that the NVIDIA drivers are installed.
Enable and start the Fabric Manager service.
Verify that Fabric Manager is running.
Output:
NVIDIA maintains driver branches to simplify installation of specific versions. Each GPU generation requires a strict minimum driver version.
Append the version to the package name to install a specific driver branch. For example:
nvidia-open-570: Installs the open driver 570 branch (recommended for B200 systems).cuda-drivers-550: Installs the proprietary driver 550 branch (suitable for H100 systems).cuda-12-8 and cuda-toolkit-12-8: Installs CUDA 12.8 and its toolkit.NVIDIA does not provide versioned branches for the container toolkit. If you require a specific version, you must specify it explicitly, for example:
NVIDIA provides multiple driver branches depending on the GPU generation. Follow the steps below to install the 570 driver branch with CUDA 12.8.
For B200 and other newer GPUs, install the open 570 driver branch and the CUDA 12.8 toolkit.
Install the NVIDIA drivers, CUDA toolkit, and NVLink support.
Install the NVIDIA container runtime and supporting libraries.
Reboot the system to load the new drivers.
Verify that the NVIDIA drivers are installed.
For H100 and older GPUs, install the CUDA 570 driver branch with Fabric Manager and the CUDA 12.8 toolkit. Fabric Manager is required to enable NVLink/NVSwitch functionality in multi-GPU systems.
Install the CUDA drivers, Fabric Manager, and CUDA toolkit.
Install the NVIDIA container runtime and supporting libraries.
Reboot the system to load the new drivers.
Verify that the NVIDIA drivers are installed.
Enable and start the Fabric Manager service.
Verify that Fabric Manager is running.
Output:
You have successfully downgraded or reinstalled NVIDIA drivers on your Bare Metal or Passthrough GPU instance and verified that the correct version is active. For systems that require Fabric Manager, you ensured NVLink and NVSwitch features are properly enabled. With the drivers, CUDA toolkit, and container runtime installed, your environment is now ready for high-performance GPU workloads and containerized deployments.
0 Comments
Be the first to comment and share your perspective with the community.