Home

Server 2019 Hyper-V VM using GPU

%3CLINGO-SUB%20id%3D%22lingo-sub-303761%22%20slang%3D%22en-US%22%3EServer%202019%20Hyper-V%20VM%20using%20GPU%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-303761%22%20slang%3D%22en-US%22%3E%3CP%3EI%20asked%20one%20of%20my%20co-workers%20to%20assign%20the%20Graphics%20card%20to%20a%20couple%20or%20VMs%20like%20we%20do%20in%20Server%202016.%26nbsp%3B%20he%20said%20is%20seems%20that%202019%20will%20only%20allow%20you%20to%20assign%20the%20graphics%20card%20to%20a%20single%20VM.%26nbsp%3B%20I%20tried%20looking%20at%20some%20of%20the%20new%20Server%202019%20books%20but%20they%20don't%20even%20cover%20the%20new%20feature%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20online%20documentation%20on%26nbsp%3B%20assigning%20a%20GPU%20to%20a%20VM%20like%20Remote-FX%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-303761%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EHyper-V%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EWindows%20Server%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-307021%22%20slang%3D%22en-US%22%3ERe%3A%20Server%202019%20Hyper-V%20VM%20using%20GPU%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-307021%22%20slang%3D%22en-US%22%3EIt's%20recommended%20install%20GPU%20drivers%20into%20VM%20for%20best%20performance%20the%20RemoteFX.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-304556%22%20slang%3D%22en-US%22%3ERe%3A%20Server%202019%20Hyper-V%20VM%20using%20GPU%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-304556%22%20slang%3D%22en-US%22%3EYou%20can%20also%20use%20RemoteFX%20vGPU%20feature%20on%20Windows%20Server%202019.%20Although%20the%20config%20UI%20of%20RemoteFX%20vGPU%20has%20been%20removed%20from%20Hyper-V%20Manager%20of%20Windows%20Server%202019%2C%20you%20can%20configure%20RemoteFX%20vGPU%20by%20using%20Powershell%20on%20Windows%20Server%202019.%3CBR%20%2F%3E%3CBR%20%2F%3E1)%20Check%20your%20Host%20GPU%20(You%20need%20RemoteFX%20Compatible%20GPU%20Card%20and%20Remote%20Desktop%20Virtualization%20Host%20role)%3CBR%20%2F%3EGet-VMRemoteFXPhysicalVideoAdapter%3CBR%20%2F%3E%20CompatibleForVirtualization%3A%20True%3CBR%20%2F%3E%20Enabled%3A%20True%20%3CBR%20%2F%3E%3CBR%20%2F%3E2)%20Enable%2FDisable%20Host%20GPU%20for%20RemoteFX%20vGPU%3CBR%20%2F%3EDisable%2FEnable-VMRemoteFXPhysicalVideoAdapter%20%3CBR%20%2F%3E%3CBR%20%2F%3E3)%20Add%20RemoteFX%20vGPU%20to%20your%20VM%3A%3CBR%20%2F%3EAdd-VMRemoteFx3dVideoAdapter%20-VMName%20%3CVMNAME%3E%3CBR%20%2F%3E%3CBR%20%2F%3E4)%20Open%20VM%20Settings%20dialogbox%2C%20you%20can%20configure%20RemoteFX%20vGPU.%3CBR%20%2F%3E%3CBR%20%2F%3E5)%20Start%20VM%3C%2FVMNAME%3E%3CLINGO-SUB%20id%3D%22lingo-sub-304241%22%20slang%3D%22en-US%22%3ERe%3A%20Server%202019%20Hyper-V%20VM%20using%20GPU%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-304241%22%20slang%3D%22en-US%22%3E%3CP%3ESomething%20here%20may%20help.%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows-server%2Fvirtualization%2Fhyper-v%2Fplan%2Fplan-for-deploying-devices-using-discrete-device-assignment%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows-server%2Fvirtualization%2Fhyper-v%2Fplan%2Fplan-for-deploying-devices-using-discrete-device-assignment%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3C%2FLINGO-BODY%3E
komondor
Occasional Visitor

I asked one of my co-workers to assign the Graphics card to a couple or VMs like we do in Server 2016.  he said is seems that 2019 will only allow you to assign the graphics card to a single VM.  I tried looking at some of the new Server 2019 books but they don't even cover the new feature?

 

Any online documentation on  assigning a GPU to a VM like Remote-FX?

3 Replies
You can also use RemoteFX vGPU feature on Windows Server 2019. Although the config UI of RemoteFX vGPU has been removed from Hyper-V Manager of Windows Server 2019, you can configure RemoteFX vGPU by using Powershell on Windows Server 2019.

1) Check your Host GPU (You need RemoteFX Compatible GPU Card and Remote Desktop Virtualization Host role)
Get-VMRemoteFXPhysicalVideoAdapter
CompatibleForVirtualization: True
Enabled: True

2) Enable/Disable Host GPU for RemoteFX vGPU
Disable/Enable-VMRemoteFXPhysicalVideoAdapter

3) Add RemoteFX vGPU to your VM:
Add-VMRemoteFx3dVideoAdapter -VMName <vmname>

4) Open VM Settings dialogbox, you can configure RemoteFX vGPU.

5) Start VM
It's recommended install GPU drivers into VM for best performance the RemoteFX.
Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
35 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies