Note:
This documentation has moved to a new home! Please update your bookmarks to the new URL for the up-to-date version of this page.
Thanks Sally!
This is a better summary than I’ve seen when researching this topic.
sudo apt install linux-modules-nvidia-${DRIVER_BRANCH}${SERVER}-${LINUX_FLAVOUR}
can not find linux-modules-nvidia…
sudo apt-cache policy linux-modules-nvidia-${DRIVER_BRANCH}${SERVER}-$(uname -r)
glob «linux-modules-nvidia–6.8.0-31-generic»
N: can not find regex «linux-modules-nvidia–6.8.0-31-generic»
Distributor ID: Ubuntu
Description: Ubuntu 24.04 LTS
Release: 24.04
Codename: noble
linux-modules-6.8.0-35-generic (6.8.0-35.35) …
nvidia-firmware-535-535.171.04 (535.171.04-0ubuntu2) …
cat /proc/driver/nvidia/version
at: /proc/driver/nvidia/version: file or folder did not exist.
Issue with nvidia GTX 1080 TI and Mollenox connect X3 works better with older distribution get max 800\ 600 screen relution.
Could you please add instructions about how to check if the driver installation is successful?
After following your instructions, I tried to use nvidia-smi and it says the driver is not there.
systemctl status nvidia-persistenced.service shows:
Failed to query NVIDIA devices. Please ensure that the NVIDIA device files (/dev/nvidia*) exist
Also /dev/nvidia* does not exist on my system after the installation.
Hello, thank you very much for the documentation. It is very easy to follow and understand.
Would it be possible to also include details for the headless installation?
Browsing through the page in https://ubuntu.com/server/docs/nvidia-drivers-installation I can see that it mentions the -server
suffix, but after trying I am under the impression that it install a bunch of X stuff.
It would be interesting to have information available on how to perform an installation on a server without any display or X-related libraries (in the case the GPU can still be used for numerical computations, and other kinds of headless image processing).