All Products
Search
Document Center

Elastic GPU Service:Install a GRID driver on a GPU-accelerated compute-optimized or vGPU-accelerated Windows instance

Last Updated:Aug 01, 2024

In graphics acceleration and rendering scenarios such as Open Graphics Library (OpenGL), Direct3D, and cloud gaming scenarios, GPU-accelerated instances with GRID drivers installed can improve the efficiency and performance of graphics rendering. This topic describes how to install a GRID driver on a GPU-accelerated compute-optimized or vGPU-accelerated Windows instance by using Cloud Assistant.

Note

By default, Cloud Assistant plug-ins are installed when you create GPU-accelerated instances. If you want to use Cloud Assistant to automatically install a GRID driver, we recommend that you familiarize yourself with the concepts of Cloud Assistant. For more information, see Overview.

Supported instances

You can use Cloud Assistant to install GRID drivers only on GPU-accelerated Windows instances that belong to the following instance families:

  • vGPU-accelerated instance families: vgn6i-vws, vgn7i-vws, and sgn7i-vws. For more information, see vGPU-accelerated instance families. The following table lists the GRID driver versions and CUDA versions that can be installed on instances of the instance families.

    Public image version

    NVIDIA GRID driver version

    CUDA version

    • Windows server 2019

    • Windows server 2022

    474.04

    11.4

  • GPU-accelerated compute-optimized instance families: gn7i, gn6i, ebmgn7i, and ebmgn6i. For more information, see GPU-accelerated compute-optimized instance families. The following table lists the GRID driver versions and CUDA versions that can be installed on instances of the instance families.

    Public image version

    NVIDIA GRID driver version

    CUDA version

    • Windows server 2019

    • Windows server 2022

    538.78

    12.2

Procedure

The following section provides an example on how to use Cloud Assistant to install a GRID driver on a GPU-accelerated instance. In this example, an ecs.vgn6i-m4-vws.xlarge instance in the China (Hangzhou) region is used.

  1. Log on to the ECS console.

  2. In the left-side navigation pane, choose Maintenance & Monitoring > Cloud Assistant.

  3. In the top navigation bar, select the region where the desired instance resides.

    地域.png

  4. On the ECS Instances tab, find the instance and click Run Command in the Actions column.

    ECS执行命令.png

  5. Install a GRID driver by creating and running a Cloud Assistant command.

    1. In the Create Command panel, configure parameters in the Command Information section.

      The following section describes key parameters. Use the default values for other parameters. For more information, see Create a command in the ECS console.

      Important

      Configure the parameters based on the values that are provided in the following section. Otherwise, Cloud Assistant may fail to run the command.

      创建命令.png

      • Command Type: Specify the command type. Valid values: Bat and PowerShell. Select PowerShell.

      • Command content: Enter or paste your command.

        • Cloud Assistant command for a vgn6i-vws, vgn7i-vws, or sgn7i-vws instance:

          $InstalledPlugins = $(acs-plugin-manager --list --local)
          if ($($InstalledPlugins | Select-String "grid_driver_install"))
             {
               acs-plugin-manager --remove --plugin grid_driver_install
             } 
          acs-plugin-manager --fetchTimeout 0 --exec --plugin grid_driver_install
        • Cloud Assistant command for a gn7i, gn6i, ebmgn7i, or ebmgn6i instance:

          $InstalledPlugins = $(acs-plugin-manager --list --local)
          if ($($InstalledPlugins | Select-String "gpu_grid_driver_install"))
             {
               acs-plugin-manager --remove --plugin gpu_grid_driver_install
             } 
          acs-plugin-manager --fetchTimeout 0 --exec --plugin gpu_grid_driver_install
      • Timeout: Specify the timeout period for running the command on the instance. When the command execution times out, Cloud Assistant forcefully terminates the execution process. Set the value to 600.

        Note

        The value of the Timeout parameter must be a positive integer in the range of 10 to 86,400. Unit: seconds. 86,400 seconds are equal to 24 hours. Default value: 60.

    2. Click Run to run the Cloud Assistant command to install the GRID driver.

      After you run the Cloud Assistant command, you can view the following information on the Instances tab in the execution details panel. The information indicates that no GRID driver is installed on the instance. You need to run the Cloud Assistant command only once to install the GRID driver.

      未安装驱动.png

  6. Check whether the installed GRID driver takes effect.

    1. Restart the GPU-accelerated instance.

      For more information, see Restart an instance.

    2. Connect to the GPU-accelerated instance.

      For more information, see Connect to a Windows instance by using a password or key.

    3. Right-click a blank area on your desktop. In the shortcut menu that appears, select NVIDIA Control Panel.

References