Versions Compared

Key

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

...

01:00.0 VGA compatible controller: NVIDIA Corporation GP107GL [Quadro P600] (rev a1)

A google search for 'nvidia linux' finds the nvidia linux download page:

https://www.nvidia.com/object/unix.html

Under the "64 bit" section at the top of that page, select  "Latest Long Lived Branch Version".

It currently looks like this:

Linux x86_64/

...

AMD/EM64T
Latest Long Lived Branch Version: 410.78


After selecting the latest long lived branch above, then select the "Supported products" tab, and search for the model name/number from step 1 above. 

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 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

And the current LEGACY driver as of 2018-Dec-10 is (this is for older systems / older graphics cards):
http://us.download.nvidia.com/XFree86/Linux-x86_64/390.87/NVIDIA-Linux-x86_64-390.87.run

An example of how to directly download one of the above using a command line:

# mkdir /scswork/ksa
# cd /scswork/ksa
# curl -sLO 'http://us.download.nvidia.com/XFree86/Linux-x86_64/410.78/NVIDIA-Linux-x86_64-410.78.run


Install the DKMS rpm (this should be automatically available from the EPEL yum repository)

# yum install dkms

Installing the dkms rpm should also prompt you to install the

...

kernel-devel RPM (

...

as a dependency).  If you already have the kernel-devel RPM installed, you won't get prompted.  The kernel-devel RPM is

...

required for the nvidia kernel module to be built.

You can view the help info (optional) with this command (use -A to view "Advanced help options)

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

Stop the currently running X server by changing to run level 3. 

This is required by the nvidia installer.

...

  This will kick off anyone who is logged in at the video console.  So check to see if anyone is logged in at ":0" which is the video console.  You can use the 'w' command for this.  Here is an example of someone logged in at the video console:

[root@lcls-fairley ~]# w
USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU WHAT
dfairley tty1     :0               Tue07   27:54m  0.00s  0.04s pam: gdm-password

 

If no one is logged in at ":0", or you get the OK to stop the graphical X server, then switch to runlevel 3:

# init 3

Run the installer (this installs and builds without any questions):

# /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).

Next, reboot.  This is optional -- but recommended for verification that everything works after a reboot.

If you do not reboot, then switch back to run level 5 with this command:

# init 5 

The "init 5" command will start the graphical login program, assuming the nvidia install/config was successful.


The following command will tell you which kernels have the nvidia module installed:

# find /lib/modules | grep nvidia.ko

...