Installing GRID® drivers for virtual workstations


After you create an NVIDIA® GRID® virtual workstation, you need to install a GRID driver to support the GPUs.

For information about creating an NVIDIA® GRID® virtual workstation, see Creating VMs with attached GPUs.

Before you begin

Installing GRID drivers

For a full list of NVIDIA® GRID® drivers that you can use on Compute Engine, see GRID® drivers for virtual workstations.

Linux

  1. Download the GRID driver. For example, to download the NVIDIA 460.32 driver, run the following command:

    curl -O https://storage.googleapis.com/nvidia-drivers-us-public/GRID/GRID12.1/NVIDIA-Linux-x86_64-460.32.03-grid.run
    
  2. Start the installer. To start the NVIDIA 460.32 driver, run the following command:

    sudo bash NVIDIA-Linux-x86_64-460.32.03-grid.run
  3. During the installation, choose the following options:

    • If you are prompted to install 32-bit binaries, select Yes.
    • If you are prompted to modify the x.org file, select No.

Windows Server

  1. Depending on your version of Windows Server, download one of the following NVIDIA® GRID® drivers:

  2. Run the installer, and choose the Express installation.

  3. After the installation is complete, restart the VM. When you restart, you are disconnected from your session.

  4. Reconnect to your instance using RDP or a PCoIP client.

Verifying that the GRID driver is installed

Linux

Run the following command:

nvidia-smi

The output of the command looks similar to the following:

+-----------------------------------------------------------------------------+
| NVIDIA-SMI 460.32.03    Driver Version: 460.32.03    CUDA Version: 11.2     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  Tesla T4            On   | 00000000:00:04.0 Off |                    0 |
| N/A   76C    P0    33W /  70W |      0MiB / 15109MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+

Windows Server

  1. Connect to your Windows instance using RDP or a PCoIP client.

  2. Right-click the desktop, and select NVIDIA Control Panel.

  3. In the NVIDIA Control Panel, from the Help menu, select System Information. The information shows the GPU that the VM is using, and the driver version.

What's next?