To install the NVIDIA GRID vGPU display driver, you must disable the default NVIDIA driver, download the NVIDIA display drivers, and configure the PCI device on the virtual machine.

Prerequisites

Procedure

  1. Disable and blacklist the default NVIDIA Nouveau driver.
    1. Edit the grub.conf file.

      For RHEL 6.6/6.7/6.8, the file is /boot/grub/grub.conf. For RHEL 7.2, the file is /etc/default/grub.conf.

      RHEL Version

      Command

      6.6/6.7/6.8

      sudo vi /boot/grub/grub.conf

      7.2

      sudo vi /etc/default/grub.conf
    2. Add the rdblacklist=nouveau line at the end of the kernel options.
    3. Edit the blacklist.conf file.
      sudo vi /etc/modprobe.d/blacklist.conf
    4. Add the following line anywhere in the blacklist.conf file.
      blacklist nouveau
  2. Restart the virtual machine.

    The display has a changed look and feel.

  3. (Optional) : Verify that the Nouveau driver is disabled.
    /sbin/lsmod | grep nouveau

    If the grep search does not return any results, the Nouveau driver is disabled.

  4. Copy the NVIDIA Linux Display Driver to the virtual machine.
  5. Open a remote terminal to the virtual machine, or switch to a text console by typing Ctrl-Alt-F2, log in as root, and run the init 3 command to disable X Windows.
  6. Install additional components that are required for the NVIDIA driver.
    sudo yum install gcc-c++
    sudo yum install kernel-devel-$(uname -r) 
    sudo yum install kernel-headers-$(uname -r)
  7. Add an executable flag to the NVIDIA GRID vGPU driver package.
    chmod +x NVIDIA-Linux-x86_64-version-grid.run
  8. Start the NVIDIA GRID vGPU installer.
    sudo ./NVIDIA-Linux-x86_64-version-grid.run
  9. Accept the NVIDIA software license agreement and select Yes to automatically update the X configuration settings.

What to do next

Install Horizon Agent on the Linux virtual machine. See Install Horizon Agent on a Linux Virtual Machine.

Create a desktop pool that contains the configured Linux virtual machines. See Create a Manual Desktop Pool for Linux.