To install the NVIDIA display driver for vDGA, 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.x, the file is /boot/grub/grub.conf.

      RHEL Version Command
      6.x
      sudo vi /boot/grub/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. Download the NVIDIA driver from the NVIDIA Driver Downloads site.
    Select the appropriate driver version from the NVIDIA drop-down menus:
    Option Description
    Product Type GRID
    Product Series GRID Series
    Product Select the version (such as GRID K2) that is installed on the ESXi host.
    Operating System Linux 64-bit or Linux 32-bit
  5. To connect to the virtual machine, open a remote terminal, or use 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 driver package for vDGA.
    chmod +x NVIDIA-Linux-x86_64-version.run
  8. Run the NVIDIA installer.
    sudo ./NVIDIA-Linux-x86_64-version.run
  9. Accept the NVIDIA software license agreement and select Yes to 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.