NVIDIA drivers installation note - wszhang/devito GitHub Wiki

Every time a new kernel comes out you will probably have to manually rebuild the NVIDIA binary driver kernel module. This can be done by booting to the new kernel and then running:

sudo sh NVIDIA* -K

on the previously downloaded NVIDIA installer file.

To avoid this, for newer drivers it is possible to register its module to DKMS. To register the driver, first install DKMS:

sudo apt install dkms

and then install the driver with the --dkms flag:

sudo sh ./<DRIVER>.run --dkms
⚠️ **GitHub.com Fallback** ⚠️