How do I enable GPU acceleration on new Hyper-V virtual machines? (Can't use remoteFX)
I've recently set up a Hyper-V virtual machine that runs Windows 10 Pro 64 Bit, the host OS is also running Windows 10 Pro 64 bit
I want the VM to be able to play games, I tried to play a game but it's painfully slow, and the textures failed to load
after researching the issue, I think what I need to do is enable GPU acceleration, my GPU is AMD Radeon RX 570 4 GBs
I can't use RemoteFX 3D Adapter because apparently Microsoft doesn't support it anymore, and since this is a newer VM I can't add it, and I can't find "Physical GPUs" option in Hyper-V settings, so what do I do to enable GPU Acceleration?
Edit: I also don't want the VM to have exclusive access to the GPU, I want both host OS and VM to be able to use it
62 Answers
Using Powershell:
start PowerShell as Administrator
run command:
Get-VMRemoteFXPhysicalVideoAdapterEnabled attribute set to False
note the name of the graphic card
- run command:
Enable-VMRemoteFXPhysicalVideoAdapter -Name “<graphic card name>”Now try again and your virtual machine with RemoteFX adapter should be starting ok.
If you want to add new RemoteFX adapter, check out powershell command
Add-VMRemoteFx3dVideoAdapter.
You can read more here
4There is no way to do exactly what you are asking for. The closest you will get is to pass the GPU as a PCI passtgrough device and give the VM exclusive access to it.