Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Note to probably update 'kernel-devel' if necessary...

...

  1. Run update commands

    Code Block
    languagejava
    themeEmacs
    yum -y update && yum -y upgrade

    Note (1/8/19): At this time, it will take me to '3.10.0-957.1.3.el7.x86_64' on my next reboot.
    Note (8/12/19): If coming from an update, it will take me to a release just prior to latest until you update 'kernel-devel'

  2. Reboot system

    Code Block
    languagejava
    themeEmacs
    reboot


  3. Install this

    Code Block
    languagejava
    themeEmacs
    yum install kernel-devel epel-release
    # I selected 'GNOME Display' with 'Development tools' during the CentOS installation. If you did not select 'Development tools', use the next command
    yum groupinstall "Development Tools"


  4. Add 'nouveau.modeset=0' at the end of 'GRUB_CMDLINE_LINUX=' in the default GRUB

    Code Block
    languagejava
    themeEmacs
    nano /etc/default/grub
    GRUB_TIMEOUT=5 
    GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" 
    GRUB_DEFAULT=saved 
    GRUB_DISABLE_SUBMENU=true 
    GRUB_TERMINAL_OUTPUT="console" 
    GRUB_CMDLINE_LINUX="crashkernel=auto rhgb quiet nouveau.modeset=0" 
    GRUB_DISABLE_RECOVERY="true"


  5. Apply GRUB configuration changes

    Code Block
    languagejava
    themeEmacs
    grub2-mkconfig -o /boot/grub2/grub.cfg
    grub2-mkconfig -o /boot/efi/EFI/centos/grub.cfg


  6. Reboot system, again...

    Code Block
    languagejava
    themeEmacs
    reboot


  7. Download NVIDIA driver '.run' file from NVIDIA's website into root directory

    Code Block
    languagejava
    themeEmacs
    wget NVIDIA-Linux-x86_64* [make sure you obtain the correct one for your system..., do not blindly copy this]
    chmod +x NVIDIA*


  8. Use 'init 3' to disable Xorg server

    Code Block
    languagejava
    themeEmacs
    init 3


  9. Run NVIDIA driver '.run' file

    Code Block
    languagejava
    themeEmacs
    ./NVIDIA*
    # 'Yes' to install NVIDIA's 32-bit compatibility libraries
    # 1st option, or 'do not install' or 'continue', when it complained about 'an incomplete installation of libglvnd was found'
    # 'no' to running the 'nvidia-xconfig utility'.


  10. Validate NVIDIA driver installation using 'nvidia-smi'

    Code Block
    languagejava
    themeEmacs
    [root@localhost ~]# nvidia-smi
    Tue Jan  8 19:37:28 2019
    +-----------------------------------------------------------------------------+
    | NVIDIA-SMI 410.93       Driver Version: 410.93       CUDA Version: 10.0     |
    |-------------------------------+----------------------+----------------------+
    | GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
    | Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
    |===============================+======================+======================|
    |   0  GeForce GTX 108...  Off  | 00000000:17:00.0 Off |                  N/A |
    | 14%   40C    P0    54W / 250W |      0MiB / 11178MiB |      4%      Default |
    +-------------------------------+----------------------+----------------------+
    
    +-----------------------------------------------------------------------------+
    | Processes:                                                       GPU Memory |
    |  GPU       PID   Type   Process name                             Usage      |
    |=============================================================================|
    |  No running processes found                                                 |
    +-----------------------------------------------------------------------------+

    Note: If it does not see the NVIDIA devices, you may need to reboot the system.

...