The document discusses GPU virtualization options in Hyper-V including hardware pass-through (discrete device assignment), paravirtualization using RemoteFX vGPU, and software GPU using WARP. It provides configuration steps for enabling discrete device assignment and RemoteFX vGPU in Hyper-V and Windows VMs.
7. Configuration Powershell Commands
VM Preparation #Set automatic stop action to TurnOff
Set-VM -Name $vm -AutomaticStopAction TurnOff
#Enable Write-Combining on the CPU
Set-VM -GuestControlledCacheTypes $true -VMName $vm
#Configure 32 bit MMIO space
Set-VM -LowMemoryMappedIoSpace 3Gb -VMName $vm
#Configure Greater than 32 bit MMIO space
Set-VM -HighMemoryMappedIoSpace 33280Mb -VMName $vm
Host #Dismount the device as a Display adapter from the Host
Dismount-VMHostAssignableDevice -force -LocationPath $locationPath
Assignment to VM #Assign the device to the guest VM.
Add-VMAssignableDevice -LocationPath $locationPath -VMName $vm
Group Policy in VM
for Remote
Desktop
For Windows Server 2012 R2/Windows Server 2016 only:
• Open the Group Policy Editor: gpedit.msc
• Navigate the tree: Computer Configuration -> Administrator Templates -> Windows Components ->
Remote Desktop Services -> Remote Desktop Session Host -> Remote Session Environment -> Use
the hardware default graphics adapter for all Remote Desktop Services sessions
• Configure the Policy to be "Enabled"
13. Feature RemoteFX vGPU DDA
Scale 1 GPU to Many VMs 1 or more GPU’s to 1 VM
App Compatibility DX 11.1, OpenGL 4.4, OpenCL 1.1 All GPU Capabilities provided by vendor
(DX 12, OpenGL, CUDA, etc)
AVC444 Enabled By Default (Win10/Srv2016) Available through Group Policy
(Win10/Srv2016)
GPU VRAM Up to 1 GB VRAM GPU
GPU Driver in Guest RemoteFX 3D Adapter Display Driver
(Microsoft)
GPU Vendor Driver (Nvidia)
Guest OS Support W7sp1, Win10, Server 2012r2, Server
2016
Linux, Windows 10, Server 2012r2*,
Server 2012
Hypervisor Microsoft Hyper-V
Host OS Availability Server 2012r2, Server 2016, Windows 10 Server 2016
GPU Hardware “Enterprise” GPUs (Quadro, GRID)
Server Hardware No Special requirements Modern Server, exposes IOMMU to
OS (usually SR-IOV compliant
hardware)