none
Windows Server 2019 DDA RRS feed

  • Question

  • So, I'm trying to pass-through my RX 590 onto a windows 10 guest. I followed the Microsoft DDA document and managed to dismount my gpu and assign it to the VM but when I try starting it, it gives me the following error: The operation failed because the object was not found. After digging through the logs, I found a more detailed error message saying: Could not allocate the PCI Express device with the Plug and Play Device Instance path 'PCIP\VEN_1002&DEV_67DF&SUBSYS_C4111462&REV_E1\4&288640B9&0&001A' because it is already in use by another VM.

    The thing is, I definitely don't have another virtual machine. I did enable IOMMU, ACS and SR-IOV beforehand.

    Here are my specs:
    MB: X570 Taichi
    CPU: Ryzen 3900X
    GPU1: RX 5700 XT
    GPU2: RX 590
    Wednesday, January 8, 2020 8:02 PM

Answers

All replies

  • You might ask the hardware manufacturer for help, and for more help with desktop Hyper-V asking dedicated forum over here.

    https://social.technet.microsoft.com/Forums/en-US/home?forum=win10itprovirt

     

     



    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server] Datacenter Management

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    Wednesday, January 8, 2020 8:07 PM
  • Hi ,

    The following blog article is talking about how to configure DDA with GPU step by step, you might have a look:

    Setting up Discrete Device Assignment with a GPU

    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.

    I would suspect that your GPU was not unassigned completely from the host, therefore DDA will not be able in the guest. 

    You might try to return the GPU to the host and then test again.

    Best Regards,

    Candy




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

    Thursday, January 9, 2020 2:10 AM
  • Same issue here with ASUS Prime X399-A, 2950X and RX480. I was able to pass through the HD audio on the graphics card, but when I attempted to passthrough the graphics device, it gave me exactly the same error in Hyper-V manager and event logs.
    Sunday, January 12, 2020 5:05 AM
  • Unfortunately this appears to be a bug with Windows Server 2019 (and Server 2016 1709 and later).

    https://github.com/MicrosoftDocs/windowsserverdocs/issues/3083

    https://social.technet.microsoft.com/Forums/en-US/9a556653-88e0-4f98-a6d2-aa55f033546a/win-server-2016-v1709-element-not-found-when-starting-vms-with-passthrough-gpus?forum=virtualmachingmgrhyperv

    https://www.reddit.com/r/HyperV/comments/7ursap/gpu_passthrough_1607_okay_1709_broken/

    Sunday, January 12, 2020 9:27 AM
  • Hi ,

    Just want to confirm the current situations.

    Please feel free to let us know if you need further assistance.                   

    Best Regards,

    Candy


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

    Monday, January 13, 2020 1:32 AM
  • Hi ,

    Did you have any updates on this issue?

    Best Regards,

    Candy


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

    Wednesday, January 15, 2020 2:12 AM
  • Hello again,

    I would like to add an update. I managed to successfully boot the VM with the graphics card by adding the following to the registery and typing [bcdedit /set hypervisoriommupolicy enable] in Powershell.

    Registry key path (create it if not present): HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\HyperV

    Registry values:
    RequireSecureDeviceAssignment = 0 (REG_DWORD)
    RequireSupportedDeviceAssignment = 0 (REG_DWORD)

    Source: https://github.com/MicrosoftDocs/windowsserverdocs/issues/3083#issuecomment-578502515

    However, I get a code 43 after installing the latest driver for the RX 590. I have never seen this happen on an AMD card. I tried installing an older driver and the Code 43 still persists.
    Tuesday, January 28, 2020 12:06 AM
  • However, I get a code 43 after installing the latest driver for the RX 590. I have never seen this happen on an AMD card. I tried installing an older driver and the Code 43 still persists.

    Something here may help

    https://support.microsoft.com/en-us/help/4341212/windows-10-fix-graphics-device-problems-error-code-43

    also ask the hardware manufacturer for further assistance.

     

     



    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server] Datacenter Management

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    Tuesday, January 28, 2020 12:17 AM