10 - Installation
Run the installer
./NVIDIA-Linux-x86_64-570.124.04.run --dkmsACCEPT when it offers to handle existing
nouveaudriverACCEPT when it offers to
rebuild initrafmsREFUSE when it asks for 32bit compability drivers
REFUSE when asked if you want to update Xserver config.
systemctl rebootOptional - Blacklisting generic drivers
If for some reason the installation fails instead of gracefully handling existing drivers
echo -e "blacklist nouveau\nblacklist nvidia*\noptions nouveau modeset=0" > /etc/modprobe.d/blacklist-nouveau.conf
update-grub
update-initramfs -u -k all
systemctl rebootRun the installation again
Verify the installation
If everything went well, you should see /dev/nvidia0and /dev/nvidiactl
Run nvtop to double-check.
Check if IOMMU is enabled:
Verify IOMMU interrupt remapping is enabled:
Check if VFIO is already enabled for some random reason:
If not, we'll need to add three lines in /etc/modules
Add these lines in /etc/udev/rules.d/100-nvidia.rules
Once you're done, apply the changes:
Optional - Persistence Services
To avoid the driver/kernel module getting unloaded whenever the GPU is unused.
Last updated