Skip to main content

NVIDIA GPU Drivers on Dell PowerEdge XE9680

Installation procedure for Ubuntu 24.04 LTS

 

#!/bin/bash

set -e

pkgdir=packages

if [ ! -d $pkgdir ]; then
   mkdir $pkgdir
fi

cd $pkgdir

if [ ! -f cuda-ubuntu2404.pin ]; then
   wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2404/x86_64/cuda-ubuntu2404.pin
fi

sudo mv cuda-ubuntu2404.pin /etc/apt/preferences.d/cuda-repository-pin-600

if [ ! -f cuda-repo-ubuntu2404-12-9-local_12.9.0-575.51.03-1_amd64.deb ]; then
   wget https://developer.download.nvidia.com/compute/cuda/12.9.0/local_installers/cuda-repo-ubuntu2404-12-9-local_12.9.0-575.51.03-1_amd64.deb
fi

if [ ! -f cuda-keyring_1.1-1_all.deb ]; then
   wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2404/x86_64/cuda-keyring_1.1-1_all.deb
fi

sudo apt update

sudo apt install -y ./cuda-keyring_1.1-1_all.deb ./cuda-repo-ubuntu2404-12-9-local_12.9.0-575.51.03-1_amd64.deb

sudo cp /var/cuda-repo-ubuntu2404-12-9-local/cuda-*-keyring.gpg /usr/share/keyrings/

sudo apt update

sudo apt -y install cuda-toolkit-12-9 cuda-drivers-575 cuda-12-9 nvidia-fabricmanager-575 cuda-drivers-fabricmanager-575 libnvidia-nscq-575 libnvsdm-575 datacenter-gpu-manager

systemctl enable --now nvidia-fabricmanager.service
systemctl enable --now nvidia-dcgm.service

 

In case of the kernel update, NVIDIA drivers would need to be re-compiled.

Check NVIDIA driver build number.

dkms status


Triggering DKMS to build NVIDIA driver for current kernel version.

dkms build -m nvidia/575.51.03
dkms install -m nvidia/575.51.03