Create vGPU enabled VMs

This section provides step-by-step instructions on how to create a virtual GPU or GPU pass-through enabled VM.

Note:

If you are using the Intel GPU Pass-through feature, first see the section Enabling Intel GPU Pass-through for more configuration, and then complete the following steps.

  1. Create a VM using XenCenter. Select the host on the Resources pane and then select New VM on the VM menu.

  2. Follow the instructions on the New VM configuration and select the Installation Media, Home Server, CPU, and Memory.

  3. GPU-enabled servers display a GPU configuration page:

    GPU configuration page

  4. From the GPU Type list, select either Pass-through whole GPU, or a virtual GPU type.

    Unavailable virtual GPU types are grayed-out.

  5. Click Next to configure Storage and then Networking.

  6. After you complete your configuration, click Create Now.

Install the XenServer Tools

  1. Install the XenServer Tools

    Without the optimized networking and storage drivers provided by the XenServer Tools, remote graphics applications running on GRID vGPU do not deliver maximum performance.

    1. Select the VM in the Resources pane, right-click, and then click Install XenServer Tools on the shortcut menu. Alternatively, on the VM menu, click Install XenServer Tools.

    2. Click Install XenServer Tools on the message dialog to go to the VM’s console and begin the installation.

    3. If Autoplay is enabled for the VM’s CD/DVD drive, installation is started automatically after a few moments. This process installs the I/O drivers and the Management Agent. Restart the VM when prompted to get your VM to an optimized state. If Autoplay is not enabled, the XenServer Tools installer displays the installation options. Click Install XenServer Tools to continue with the installation. This operation mounts the XenServer Tools ISO (guest-tools.iso) on the VM’s CD/DVD drive.

    4. Click Run setup.exe to begin XenServer Tools installation and restart the VM when prompted to get your VM to an optimized state.

Install the in-guest drivers

When viewing the VM console in XenCenter, the VM typically boots to the desktop in VGA mode with 800 x 600 resolution. The standard Windows screen resolution controls can be used to increase the resolution to other standard resolutions. (Control Panel > Display > Screen Resolution)

Note:

When using GPU Pass-Through or MxGPU, we recommend that you install the in-guest drivers through RDP or VNC over the network. That is, not through XenCenter.

Install the NVIDIA drivers

To enable vGPU operation (as for a physical NVIDIA GPU), install NVIDIA drivers into the VM.

The following section provides an overview of the procedure. For detailed instructions, see the NVIDIA User Guides.

  1. Start the VM. In the Resources pane, right-click on the VM, and click Start.

    During this start process, XenServer dynamically allocates a vGPU to the VM.

  2. Follow the Windows operating system installation screens.

  3. After the operating system installation completes, restart the VM.

  4. Install the appropriate driver for the GPU inside the guest. The following example shows the specific case for in guest installation of the NVIDIA GRID drivers.

  5. Copy the 32-bit or 64-bit NVIDIA Windows driver package to the VM, open the zip file, and run setup.exe.

  6. Follow the installer steps to install the driver.

  7. After the driver installation has completed, you might be prompted to reboot the VM. Select Restart Now to restart the VM immediately, alternatively, exit the installer package, and restart the VM when ready. When the VM starts, it boots to a Windows desktop.

  8. To verify that the NVIDIA driver is running, right-click on the desktop and select NVIDIA Control Panel.

  9. In the NVIDIA Control Panel, select System Information. This interface shows the GPU Type in use by the VM, its features, and the NVIDIA driver version in use:

    NVIDIA driver version in use

    Note:

    Depending on the NVIDIA graphics card used, you might need an NVIDIA subscription or a license. For more information, see the NVIDIA product information.

The VM is now ready to run the full range of DirectX and OpenGL graphics applications supported by the GPU.

Install the AMD drivers

To enable GPU operation, install AMD drivers into the VM.

  1. Start the VM. In the Resources pane, right-click on the VM, and click Start.

    During this boot process, XenServer dynamically allocates a GPU to the VM.

  2. Follow the Windows operating system installation screens.

  3. After the operating system installation completes, restart the VM.

  4. Copy the 32-bit or 64-bit AMD Windows drivers (AMD Catalyst Install Manager) to the VM.

  5. Run the AMD Catalyst Install Manager; select your Destination Folder, and then click Install.

    AMD Catalyst Install Manager

  6. Follow the installer steps to install the driver.

  7. To complete the installation, restart your VM.

  8. After the VM restarts, check that graphics are working correctly. Open the Windows Device Manager, expand Display adapters, and ensure that the AMD Graphics Adapter does not have any warning symbols.

Install the Intel drivers

To enable GPU operation, install Intel drivers into the VM.

  1. Start the VM. In the Resources pane, right-click on the VM, and click Start.

    During this boot process, XenServer dynamically allocates a GPU to the VM.

  2. Follow the Windows operating system installation screens.

  3. After the operating system installation completes, reboot the VM.

  4. Copy the 32-bit or 64-bit Intel Windows driver (Intel Graphics Driver) to the VM.

  5. Run the Intel Graphics Driver setup program

  6. Select Automatically run WinSAT, and then click Next.

    Intel Graphics Driver setup

  7. To accept the License Agreement, click Yes, and on the Readme File Information screen, click Next.

  8. Wait until the setup operations complete. When you are prompted, click Next.

    Intel Graphics Driver setup

  9. To complete the installation, you are prompted to restart the VM. Select Yes, I want to restart this computer now, and click Finish.

  10. After the VM restarts, check that graphics are working correctly. Open the Windows Device Manager, expand Display adapters, and ensure that the Intel Graphics Adapter does not have any warning symbols.

    Note:

    You can obtain the latest drivers from the Intel website.