Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This document describes how to install the nvidia kernel module with DKMS support, so a manual rebuild of the nvidia kernel module is no longer required for every new kernel.

 

...

Find the nvidia graphics (video) model number.

...

From the example in step 1, I found "Quadro P600" in the list of supported products. If you cannot find your model number, go back and look under the supported products for the Latest Legacy GPU version.

Click download. 

The current link (NON-legacy) from above is (as of 2018-Dec-7):
http://us.download.nvidia.com/XFree86/Linux-x86_64/410.78/NVIDIA-Linux-x86_64-410.78.run

...

# /bin/sh ./NVIDIA-Linux-x86_64-[version].run --dkms --run-nvidia-xconfig --no-questions

...

If you prefer to have an interactive installation, and answer questions during the install:

# /bin/sh ./NVIDIA-Linux-x86_64-[version].run

...

The installer will build any required kernel modules.  This could take quite a while (several minutes to 10s of minutes).

...

# find /lib/modules | grep nvidia.ko

...

After the reboot, this is how to verify the nvidia module is being used and the install was successful (look for gdm in the output from the last ps tree command below).

...

/var/log/nvidia-installer.log
/var/log/Xorg.0.log 

How does a kernel install trigger an nvidia rebuild using DKMS?

...