Configuring NVIDIA RTX A6000 ADA in Ubuntu 22
I thought that installing NVIDIA RTX A6000 ADA in default Ubuntu 22 server installation would be an easy one. However, installing drivers from the repository made no good. I verified if secure boot is enable and no it was disabled.
We need to install few things first:
sudo apt-get install linux-headers-$(uname -r)
sudo apt install build-essential
sudo apt install mokutil
We need to get rig of previously installed drivers:
sudo apt remove --purge '^nvidia-.*'
sudo apt autoremove
sudo apt clean
Verify if secure boot is disabled:
mokutil --sb-state
Get NVIDIA driver, such as NVIDIA-Linux-x86_64-535.216.01.run from their webiste and install it:
chmod +x NVIDIA-Linux-x86_64-535.216.01.run
./NVIDIA-Linux-x86_64-535.216.01.run
In case you got rid of previously installed drivers, disabled secure boot and installed build tools, kernel headers… you will be good to go to compile driver module. In my case this was the only was to nvidia-smi to recognize this GPU in Ubuntu 22.