Install drivers for NVIDIA RTX Virtual Workstations (vWS) Stay organized with collections Save and categorize content based on your preferences.
If you need GPUs for hardware accelerated graphics on a remote desktop orfor gaming, you can create virtual workstations that useNVIDIA RTX Virtual Workstations (vWS)(formerly known as NVIDIA GRID).
NVIDIA RTX Virtual Workstations are ideal for running workloads that useAPIs such as Vulkan, OpenGL, or Direct3D on a cloud remote desktop.
When you select aGPU that supports visualizationfor a virtual workstation, youcan add an NVIDIA RTX Virtual Workstation license to your VM. For moreinformation about pricing, seeGPU pricing.
To set up an NVIDIA RTX Virtual Workstation, you need to do thefollowing:
- Create a VM that has a visualization-capable GPU attached and virtualworkstation enabled.
- For G2 and G4 VMs, seeCreate a GPU VM for graphics workloads.
- For N1 VMs, seeCreate an N1 VM with attached GPUs.
- Install adriver for the virtual workstation.
After you create your virtual workstation, you can connect to it using a remotedesktop protocol such as Windows Remote Desktop Protocol (RDP),HP Anyware®, or VMware® Horizon View.
Before you begin
- If you haven't already, set upauthentication. Authentication verifies your identity for access to Google Cloud services and APIs. To run code or samples from a local development environment, you can authenticate to Compute Engine by selecting one of the following options:
Select the tab for how you plan to use the samples on this page:
Console
When you use the Google Cloud console to access Google Cloud services and APIs, you don't need to set up authentication.
gcloud
Install the Google Cloud CLI. After installation,initialize the Google Cloud CLI by running the following command:
gcloudinit
If you're using an external identity provider (IdP), you must first sign in to the gcloud CLI with your federated identity.
Note: If you installed the gcloud CLI previously, make sure you have the latest version by runninggcloud components update.- Set a default region and zone.
REST
To use the REST API samples on this page in a local development environment, you use the credentials you provide to the gcloud CLI.
Install the Google Cloud CLI. After installation,initialize the Google Cloud CLI by running the following command:
gcloudinit
If you're using an external identity provider (IdP), you must first sign in to the gcloud CLI with your federated identity.
Note: If you installed the gcloud CLI previously, make sure you have the latest version by runninggcloud components update.For more information, seeAuthenticate for using REST in the Google Cloud authentication documentation.
Recommended minimum NVIDIA virtual GPU software
NVIDIA RTX Virtual Workstations (vWS) are supported on the followingmachine series.
- G4: you can enable NVIDIA RTX PRO 6000 vWS on these machine types.
- G2: you can enable NVIDIA L4 vWS on these machine types.
- N1: you can enable NVIDIA T4, V100, or P100 vWS GPUs on these machine types.
The following table provides the recommendedNVIDIA virtual GPU software software forthese machine types.
| NVIDIA vGPU software version | Supported machine series | Recommended NVIDIA driver (Linux) | Recommended NVIDIA driver (Windows) | vGPU software EOS date |
|---|---|---|---|---|
| 19 | G4, G2, N1 | Latest R580 driver | Latest R580 driver | July 2028 |
| 18 | G2, N1 | Latest R570 driver | Latest R570 driver | March 2026 |
| 171 | G2, N1 | 550.90.07 or later | 552.55 or later | April 20251 |
| 16 | G2, N1 | 535.183.01 or later | 538.67 or later | July 2026 |
1NVIDIA virtual GPU software version 17 has reached its end ofsupport. We recommend installing a later version of the virtual GPU software.
Limitations
For Ubuntu 24.04 NVIDIA RTX Virtual Workstations, the available NVIDIA GRID driverversions might not fully supportDirect Rendering Infrastructure 3 (DRI3).This lack of full support can affect GPU acceleration for certain desktopapplications and virtual desktop environments, such asVirtual Network Computing (VNC)andChromium. If youneed to run these applications, use Ubuntu 22.04.
Automated driver installation
You can use an open source script fromGitHubto automate the installation of RTX Virtual Workstation drivers.This is the same script used for regular driver installation. It automaticallydetects that your instance has RTX Virtual Workstation enabled and installs thecorrect driver.
Linux
Use these instructions to install GPU drivers on a running VM.
Supported operating systems
The Linux installation script was tested on the following operatingsystems:
- Debian 12 and 13
- Red Hat Enterprise Linux (RHEL) 8 and 9
- Rocky Linux 8 and 9
- Ubuntu 22 and 24
If you use this script on other operating systems, the installationmight fail. This script can install NVIDIA driver as well asCUDA Toolkit.
To install the GPU drivers and CUDA Toolkit, complete the following steps:
Ensure that Python 3 is installed on your operating system.
Download the installation script.
curl -L https://storage.googleapis.com/compute-gpu-installation-us/installer/latest/cuda_installer.pyz --output cuda_installer.pyz
Run the installation script.
sudo python3 cuda_installer.pyz install_driver
The script takes some time to run. It will restart your VM. When the VMrestarts, run the script again to continue the installation.
Verify the installation. SeeVerify that the driver is installed.
You can also use this tool to install the CUDA Toolkit. To install theCUDA Toolkit, run the following command:
sudo python3 cuda_installer.pyz install_cuda
The script will take a while to run. It will restart your VM. When theVM restarts, run the script again to continue the installation.
Verify the CUDA toolkit installation.
python3 cuda_installer.pyz verify_cuda
After you complete the installation, you must reboot the VM.
Linux (startup script)
Use these instructions to install GPU drivers during startup of a VM.
Supported operating systems
The Linux installation script was tested on the following operatingsystems:
- Debian 12 and 13
- Red Hat Enterprise Linux (RHEL) 8 and 9
- Rocky Linux 8 and 9
- Ubuntu 22 and 24
If you use this script on other operating systems, the installationmight fail. This script can install NVIDIA driver as well asCUDA Toolkit.
Use the followingstartup scriptto automate the driver and CUDA Toolkit installation:
#!/bin/bashiftest-f/opt/google/cuda-installerthenexitfimkdir-p/opt/google/cuda-installercd/opt/google/cuda-installer/||exitiftest-fcuda_installationthenexitficurl-fSsL-Ohttps://storage.googleapis.com/compute-gpu-installation-us/installer/latest/cuda_installer.pyzpython3cuda_installer.pyzinstall_cudaWindows
This installation script can be used on GPU instances that have secure boot enabled.It supports Windows Server 2019 and later.
This script installs an NVIDIA RTX Virtual Workstation (vWS) compatibledriver. If you don't have a vWS license, vWS features won't be availableon your instance.
Open a PowerShell terminalas an administrator, then complete the followingsteps:
Download the script.
Invoke-WebRequest https://github.com/GoogleCloudPlatform/compute-gpu-installation/raw/main/windows/install_gpu_driver.ps1 -OutFile C:\install_gpu_driver.ps1
Run the script.
C:\install_gpu_driver.ps1
The script takes some time to run. No command prompts are given during theinstallation process. Once the script exits, the driver is installed.
This script installs the drivers in the following default location onyour VM:
C:\Program Files\NVIDIA Corporation\.Verify the installation. SeeVerify the GPU driver install.
Manual driver installation
Complete the following steps on your VM.
For Linux operating systems, install the build tools for your Linux version.
CentOS/RHEL
sudo yum group install "Development Tools"
Debian/Ubuntu
Install the build tools.
sudo apt update
sudo apt install -y build-essential
sudo apt install -y libvulkan1
If you are using Ubuntu 22.04, update the
gccversion for the NVIDIAdriver.sudo apt install -y gcc-12
sudo apt install -y linux-headers-$(uname -r)
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 12
sudo update-alternatives --config gcc
SLES
SLES 12
sudo zypper install -t pattern devel_basis
sudo zypper install gcc8
SLES 15
sudo SUSEConnect -p sle-module-development-tools/15/x86_64
sudo zypper install gcc8
For Linux operating systems, install the Linux kernel headers.SeeVerify the System has the Correct Kernel Headers and Development Packages Installedin the NVIDIA documentation.
For all operating systems, install drivers.
Caution: The drivers provided in this section are for use withCompute Engine only. If you need drivers for other platforms, see theNVIDIA Driver Download page.Linux
Download the driver. For a full list of NVIDIA RTX Virtual Workstationdrivers that you can use on Compute Engine, seeDrivers for the NVIDIA RTX Virtual Workstation.
For example, to download the NVIDIA 580.126.09 driver, run the followingcommand:
curl -Ohttps://storage.googleapis.com/nvidia-drivers-us-public/GRID/vGPU19.4/NVIDIA-Linux-x86_64-580.126.09-grid.run
Start the installer.
For example, to start the NVIDIA 580.126.09 driver, run the followingcommand:
sudo bashNVIDIA-Linux-x86_64-580.126.09-grid.run
During the installation, choose the following options:
- If you are prompted to install 32-bit binaries, selectYes.
- If you are prompted to modify the
x.orgfile, selectNo.
Windows Server
Depending on your version of Windows Server, download therequired NVIDIA RTX Virtual Workstation drivers.
For a full list of NVIDIA RTX Virtual Workstation driversthat you can use on Windows VMs that are running on Compute Engine,seeDrivers for the NVIDIA RTX Virtual Workstation.
Run the installer, and choose theExpress installation.
After the installation is complete, restart the VM. When you restart,you are disconnected from your session.
Reconnect to your instance using RDP or a PCoIP client.
This step is only required for Linux-based NVIDIA RTX Virtual Workstationwith attached T4 or L4 GPUs.
If you installed an NVIDIA 510 or later driver, you need to disable theGSP firmware.SeeDisabling GSP Firmwarein the Nvidia documentation. When completing this step,keep the following in mind:
- Use
sudoto run the commands to create and update the configuration file. - To reboot the VM, you can use
sudo rebootorstop and start the VM.
- Use
Verify that the driver is installed
Linux
After you install the drivers, verify that the driver is installedand that the NVIDIA RTX Virtual Workstation license is active.
To verify the driver installation, run the following command:
nvidia-smi
The output of the command looks similar to the following:
+-----------------------------------------------------------------------------------------+| NVIDIA-SMI 580.126.09 Driver Version: 580.126.09 CUDA Version: 13.1 |+-----------------------------------------+------------------------+----------------------+| 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 53C P8 17W / 70W | 0MiB / 15360MiB | 0% Default || | | N/A |+-----------------------------------------+------------------------+----------------------++-----------------------------------------------------------------------------------------+| Processes: || GPU GI CI PID Type Process name GPU Memory || ID ID Usage ||=========================================================================================|| No running processes found |+-----------------------------------------------------------------------------------------+
To verify the NVIDIA RTX Virtual Workstation license, run thefollowing command:
nvidia-smi -q
To validate GPU acceleration for desktop applications, look for the
vGPU Software Licensed Productsection in the output. On a properlylicensed NVIDIA RTX Virtual Workstation VM, you should see the following:vGPU Software Licensed Product Product Name : NVIDIA RTX Virtual Workstation License Status : Licensed (Expiry: Permanent)
This output indicates that the driver is functioning and able to provideaccelerated graphics.
If you see a different output, the driver is not licensed forNVIDIA RTX Virtual Workstation and you won't get GPU acceleration.
For example, if the VM wasn't created with the correct
--accelerator-typethat enables vWS, you might see the following output:vGPU Software Licensed Product Product Name : NVIDIA Virtual Applications License Status : Licensed (Expiry: N/A)
This can happen if the VM was not created with the NVIDIA RTX VirtualWorkstation license enabled. To resolve this issue, you must recreate your VMusing a GPU model that supportsNVIDIA RTX Virtual Workstationand make sure to enable the virtual workstation when you attach the GPUs.For detailed instructions, review theCreate an instanceinstruction for your machine type.
Windows Server
Connect to your Windows instance using RDP or a PCoIP client.
Right-click the desktop, and selectNVIDIA Control Panel.
In the NVIDIA Control Panel, from the Help menu, selectSystem Information. The information shows the GPU that the VM isusing, and the driver version.
What's next?
- To monitor GPU performance, seeMonitor GPU performance.
- To handle GPU host maintenance, seeHandling GPU host maintenance events.
- To improve network performance, seeUse higher network bandwidth.
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-02-12 UTC.