«

»

How to improve VDI with Hardware Accelerated 3D Graphics

I am constantly receiving questions about graphic performance in virtual desktops. This blog post will help you to better understand the 3D graphics state of affairs for VMware Horizon View 5.2.

Broadly speaking most leading VDI solutions on the market today are all talking about delivering new advanced 3D capabilities. VMware was the first company to virtualize 3D graphics with VMware Workstation and Fusion and in recent years has introduced this 3D technology in vSphere to be leveraged for VDI use cases.

NVIDIA has been on the forefront for enabling 3D virtual desktops with VDI vendors, and VMware has been working closely with NVIDIA to enable Horizon View to also makes use of the 3D technology. In this blog article  I describe the VMware Horizon View 5.2 3D supported rendering models and use cases.

 

CPU Rendered

Soft 3D was introduced in VMware View 5.0. CPU rendering is used by 3D enabled desktops that are not backed by a physical GPU. The purpose of the Soft 3D renderer is to enable transparent Windows Aero desktops and standard productivity applications requiring 3D without requiring a GPU.

While VMware makes no specific claims about 3D applications or benchmarks in many cases we see 3D applications successfully being used in conjunction with Soft 3D CPU rendering.

Some of the advantages of CPU rendering are being able to run on any server hardware. However, the CPUs inefficiency in rendering graphics and the limited density can cause poor application performance in some cases, limiting the adoption of high-end graphical applications.

 

cpu_rendered

vSGA

vSGA stands for “Virtual Shared Graphics Acceleration”. vSGA leverage physical GPUs (Graphics Processing Units) installed locally in each vSphere host to provide hardware accelerated 3D graphics to virtual desktops.

Providing this capability further expands the use cases and target users that can be delivered using virtual desktops. In addition to expanding the target use case this further augments the user experience that is delivered by enabling truly high performance graphics, but also delivering maximum compatibility and portability.

Quadro-4000-low-3qtr

 

The VMware SVGA 3D graphics driver is supported on Windows 7 and 8 virtual desktops for 2D and 3D and is used for both Soft 3D & vSGA. Additionally, this WDDM driver provides support for DirectX v9 and OpenGL 2.1 applications.

One of the benefits of VMware SVGA 3D driver being used for both software 2D/3D and vSGA implementations is the fact that a VM can dynamically switch between software or hardware acceleration without the need to reconfigure the VM.

Because ESX is managing the underlying hardware resources and the software driver, this is also a major factor in why vMotion is supported even when providing hardware-accelerated graphics using vSGA. Having control over the hardware resources and the graphics driver in your image greatly simplifies management and deployment.

vSGA allows multiple VMs to share hardware GPU’s for 3D acceleration rather than a one-to-one relationship like vDGA (see below). vSphere reserves GPU hardware resources on a first-come, first-served basis as virtual machines are powered on. If all GPU hardware resources are already reserved additional virtual machines will be unable to power on if they are explicitly set to use “Hardware” 3D rendering. If the virtual machines are set to “Automatic” the virtual machines will be powered on using software 3D rendering.

 

vSGA

vDGA

vDGA is a graphics acceleration capability that is currently offered by VMware with NVIDIA GPUs as a Tech Preview and is enabled by Horizon View 5.2 for delivering high-end Workstation Class 3D Graphics for use cases where a discrete GPU is needed. The vDGA graphics adapters are installed in the underlying vSphere host and are then assigned to virtual machines using VMware DirectPath I/O. Assigning a discrete NVIDIA GPU to the Virtual Machine dedicates the entire GPU to that desktop and enables for CUDA and OpenCL compute.

vDGA offers a reduction in cost compared to individual high-end workstations, but they are a true graphical workstation replacement for high performance GPU computing.

The amount of VMs per host is limited to the number of PCIe x16 slots in the server, and when using vDGA the NVIDIA graphics drivers is used rather than the virtual machines VMware SVGA 3D driver.

Because of hardware passthrough and ESX not managing the resources of the physical graphics cards, vMotion, DRS, and HA are not supported with vDGA and because of the nature of the configuration vDGA is not a candidate for automated deployment using View Composer.

 

vDGA

 

As of today only NVIDIA cards will be supported with vDGA and VMware is working closely with NVIDIA on graphics cards that will be validated soon.

 

For more information on hardware accelerated 3D graphics please refer to the VMware Horizon View 5.2 and Hardware Accelerated 3D Graphics technical white paper.

This article was first published by Andre Leibovici (@andreleibovici) at myvirtualcloud.net.

2 comments

2 pings

  1. Tim

    Been looking forward to what you had to say about this. I’ve been down in the weeds testing cards and server hardware to support GPU-based VDI. I like VMware’s dedication to customer choice, but vDGA only seems to have very specific use cases, such as a remote worksite where you might not want to plunk down a $5k workstation.

    Even so, the cost per VM is going to be very high. There are not many servers that support multiple GPU cards and even some of the servers that could support them, can’t power on more than one (K1 card for example, has 4 GPUs, requires a lot of power). How many places could justify a server that only has 2-4 VMs on it?

    We’re using Dell R720s that can power up a pair of K2 cards. We’ve looked over the marketplace and these are kind of a sweet spot for scaling out GPU-based VDI. If there are other options, I’d love to hear about them.

    I know View isn’t a focus for VMware this year since 5.2 came out, but I’m hoping that DX10/11 support is on the horizon. (pun not intended)

  2. Ian

    Is vSGA supported (at least as a Tech preview) for View 5.2? It would seem a more likely candidate than vDGA for View, whereby only a 1:1 mapping is achieved. Why not support vSGA for View 5.2 and achieve many:1 mapping, like the APEX card does for PCoIP offload?

  1. What’s New in VMware Horizon View 5.3 (Beyond Marketing) » myvirtualcloud.net

    […] For more information on 3D and Accelerated Graphics read my article How to improve VDI with Hardware Accelerated 3D Graphics. […]

  2. Call for Action > VDI & EUC » myvirtualcloud.net

    […] How to improve VDI with Hardware Accelerated 3D Graphics […]

Leave a Reply