The 3D rendering options and other pool settings offer various advantages and drawbacks. Select the option that best supports your vSphere hardware infrastructure and your users' requirements for graphics rendering.

Note:

This topic provides an overview of the controls you find in View Administrator. For detailed information about all the various choices and requirements for 3D rendering, see the VMware white paper about graphics acceleration.

When to Choose the Automatic Option

The Automatic option is the best choice for many View deployments that require 3D rendering. vSGA (Virtual Shared Graphics Acceleration)-enabled virtual machines can dynamically switch between software and hardware 3D rendering, without your having to reconfigure. This option ensures that some type of 3D rendering takes place even when GPU resources are completely reserved. In a mixed cluster of ESXi 5.1 and ESXi 5.0 hosts, this option ensures that a virtual machine is powered on successfully and uses 3D rendering even if, for example, vMotion moved the virtual machine to an ESXi 5.0 host.

The only drawback with the Automatic option is that you cannot easily tell whether a virtual machine is using hardware or software 3D rendering.

When to Choose the Hardware Option

The Hardware option guarantees that every virtual machine in the pool uses hardware 3D rendering, provided that GPU resources are available on the ESXi hosts. This option might be the best choice when all your users run graphically intensive applications. You can use this option when configuring vSGA (Virtual Shared Graphics Acceleration).

With the Hardware option, you must strictly control your vSphere environment. All ESXi hosts must be version 5.1 or later and must have GPU graphics cards installed.

When all GPU resources on an ESXi host are reserved, View cannot power on a virtual machine for the next user who tries to log in to a desktop. You must manage the allocation of GPU resources and the use of vMotion to ensure that resources are available for your desktops.

When to Choose the Option to Manage Using vSphere Client

When you select the Manage using vSphere Client option, you can use vSphere Web Client to configure individual virtual machines with different options and VRAM values.

  • For vSGA (Virtual Shared Graphics Acceleration), you can support a mixed configuration of 3D rendering and VRAM sizes for virtual machines in a pool.

  • For vDGA (Virtual Dedicated Graphics Acceleration), each virtual machine must be individually configured to share a specific PCI device with the ESXi host and all memory must be reserved.

    All ESXi hosts must be version 5.5 or later and must have GPU graphics cards installed.

You might also choose this option if you want to explicitly manage graphics settings of clones and linked clones by having the clones inherit settings from the parent virtual machine.

When to Choose the NVIDIA GRID vGPU Option

With the NVIDIA GRID vGPU option, you can achieve a higher consolidation ratio of virtual machines on an NVIDIA GRID vGPU-enabled ESXi host than is possible by using vSGA or vDGA, while maintaining the same performance level. As with vDGA (Dedicated Virtual Graphics), the ESXi and virtual machine also use GPU pass-through for NVIDIA GRID vGPU.

Note:

To improve virtual machine consolidation ratios, you can set the ESXi host to use consolidation mode. Edit the /etc/vmware/config file on the ESXi host and add the following entry:

vGPU.consolidation = "true"

By default, the ESXi host assigns virtual machines to the physical GPU with the fewest virtual machines already assigned. This is called performance mode. If you would rather have the ESXi host assign virtual machines to the same physical GPU until the maximum number of virtual machines is reached before placing virtual machines on the next physical GPU, you can use consolidation mode.

Because a GPU does not need to be dedicated to one specific virtual machine, with the NVIDIA GRID vGPU option, you can create and configure a parent virtual machine or virtual machine template to be NVIDIA GRID vGPU-enabled and then create a desktop pool of virtual machines that can share the same physical GPU.

If all GPU resources on an ESXi host are being used by other virtual machines, when the next user tries to log in to a desktop, View can move the virtual machine to another NVIDIA GRID vGPU-enabled ESXi server in the cluster and then power on the virtual machine. All ESXi hosts must be version 6.0 or later and must have GPU graphics cards installed.

When to Choose the Software Option

Select the Software option if you have ESXi 5.0 hosts only, or if ESXi 5.1 or later hosts do not have GPU graphics cards, or if your users only run applications such as AERO and Microsoft Office, which do not require hardware graphics acceleration.

Configuring Desktop Settings to Manage GPU Resources

You can configure other desktop settings to ensure that GPU resources are not wasted when users are not actively using them.

For floating pools, set a session timeout so that GPU resources are freed up for other users when a user is not using the desktop.

For dedicated pools, you can configure the Automatically logoff after disconnect setting to Immediately and a Suspend power policy if these settings are appropriate for your users. For example, do not use these settings for a pool of researchers who execute long-running simulations. Note that the Suspend power policy is not available if you use the NVIDIA GRID vGPU option.

Overview of Steps for Preparing for NVIDIA GRID vGPU Capabilities

This overview is an outline of tasks you must perform in vSphere before you can create or configure desktop pools in View Administrator. For complete information and detailed procedures, see the VMware white paper about graphics acceleration.

  1. Verify that VT-d or AMD IOMMU is enabled on the ESXi host.

  2. Add a shared PCI device to the virtual machine and select the appropriate PCI device to enable GPU pass-through on the virtual machine.

    After you add a shared PCI device, you see a list of all supported graphics profile types that are available from the GPU card on the ESXi host.

  3. Reserve all memory when creating the virtual machine.

  4. Obtain the GPU drivers from the GPU vendor and install the GPU device drivers in the guest operating system of the virtual machine.

  5. Install VMware Tools and View Agent in the guest operating system and reboot.

After you perform these tasks, you must add the virtual machine to a manual pool View desktop pool so that you can access the guest operating system using PCoIP. In a PCoIP session, you can then activate the NVIDIA display adapter in the guest operating system.

At this point, you can configure the virtual machine to be a template or take a snapshot of the virtual machine for use as a base image in a View Composer linked-clone pool. (You must power off the virtual machine before taking the snapshot.) When you use the Add Desktop Pool wizard, after you select the NVIDIA GRID vGPU option for 3D Renderer, only NVIDIA GRID vGPU-enabled ESXi hosts and NVIDIA GRID vGPU-enabled virtual machine templates and snapshots appear for selection in the wizard.

Overview of Steps for Preparing for vDGA Capabilities

This overview is an outline of tasks you must perform in vSphere before you can create or configure desktop pools in View Administrator. For complete information and detailed procedures, see the VMware white paper about graphics acceleration.

  1. Verify that VT-d or AMD IOMMU is enabled on the ESXi host.

  2. Enable GPU device pass-through on the ESXi host.

  3. Add a PCI device to the virtual machine and select the appropriate PCI device to enable GPU pass-through on the virtual machine.

  4. Reserve all memory when creating the virtual machine.

  5. Obtain the GPU drivers from the GPU vendor and install the GPU device drivers in the guest operating system of the virtual machine.

  6. Install VMware Tools and View Agent in the guest operating system and reboot.

After you perform these tasks, you must add the virtual machine to a manual pool View desktop pool so that you can access the guest operating system using PCoIP. In a PCoIP session, you can then activate the NVIDIA display adapter in the guest operating system.