locked
GPU pass through on windows 10 Hyper-V RRS feed

  • Question

  • Using a Windows 10 enterprise (1709) box, with an NVidia GTX1080, and a Windows 10 VM of the same version, can someone give me some tips/pointers on enabling/passing though the GPU to the Hyper-V VM please. Perhaps a link to a previous thread?
    Wednesday, July 11, 2018 1:53 AM

All replies

  • Hi,

    Hyper-V can't passthrough PCI(e) (or GPU) devices. The nearest solution is indeed RemoteFX. But it's API intercept, meaning that the instructions will be forwarded to the GPU, but the hypervisor will be in between.

    Before doing that, see the articles, making sure you have met the requirements:

    http://techgenix.com/enabling-physical-gpus-hyper/

    Note: this is a 3rd party link, we don't have any warranties on this website. It's just for your convenience.

    https://docs.microsoft.com/en-us/windows-server/remote/remote-desktop-services/rds-remotefx-vgpu

    https://social.technet.microsoft.com/Forums/office/en-US/03896cca-2f90-4228-a1f5-1759e4505c1c/how-can-i-enable-gpu-passthrough-on-hyper-or-it-havent-support-it?forum=winserverhyperv


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Thursday, July 12, 2018 4:28 AM
  • Hi,

    What is going on ? Any updates?


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Friday, July 13, 2018 9:26 AM
  • For future folks that arrive here via search engine, as I did:

    Windows 10 Hyper-V can't do this, I don't think.

    Windows server CAN do this, for Linux or Windows guest VMs, with some Powershell work to detach the GPU from the host OS and attach it to the VM.

    Dismount-VMHostAssignableDevice -LocationPath gpu-device-location -force

    Add-VMAssignableDevice -LocationPath gpu-device-location -VMName

     




    • Edited by jeremiah johnson Thursday, April 25, 2019 5:51 PM
    • Proposed as answer by maeneak Tuesday, July 7, 2020 1:52 PM
    Thursday, April 25, 2019 5:46 PM
  • Here's the full guide from MS on how to do this. And yes it works from Hyper-V Server 2016+

    https://docs.microsoft.com/en-us/windows-server/virtualization/hyper-v/deploy/deploying-graphics-devices-using-dda
    Thursday, August 22, 2019 2:40 PM