Hyper V - SR-IOV Virtualisation Passthrough - WindowsAdminCenter

James D 0 Reputation points
2025-03-10T12:34:53.5766667+00:00

Hi all,

I'm off my meds and had some time. After a caffeinated deep dive, I now have diarrhoea but no answers, so am crawling cap in hand to the community!

Mission statement/desired outcome: It has been a hope to get Hardware Decoding/Encoding working this weekend with my home server hosted in Hyper V, but, after bashing my head against this brick wall, i've decided to reach out to you fine folks before I got a concussion! 

Iov Support = TRUE Error message: Access denied. Please verify that the username and password are correct.

Raylan-MSFT | Microsoft Community Support Specialist referred me to yourselves as best placed to help!

Problem statements:

Plex, Immich and Jellyfin are not cooperating with passthrough of the iGPU and dGPU Partitioning would be be ideal anyway for juicy NVENC etc. 

I've scoured and it should be possible (unless i've completely grasped the wrong end of this stick).

My GPU is a 4090 and should be capable with up to 32 valid partition counts. My iGPU also supports this.

Need access to Microsoft Admin Centre to complete this but fell at this hurdle. Specifically at login after setup, have tried;

Windows Domain/Username

  __**email**__
  
     __**swear words**__
     
        __**multiple permutations of username**__
        
        Followed this guide [Partition and assign GPUs to a virtual machine in Hyper-V | Microsoft Learn](https://learn.microsoft.com/en-us/windows-server/virtualization/hyper-v/partition-assign-vm-gpu?tabs=windows-admin-center"learn.microsoft.com")
        
        DDA and GPU-P both require this admin centre setup
        

Assumption Scenario Variants:

  1. Could be my user error rather than a missing feature
  2. Could be usage of Hyper-V

Any rescue from the rabbit hole would be greatly appreciated! 

Level 1 Troubleshooting has been attempted, including but not limited to:

Sacrifices to deities, ritualistic and bloody in nature

Denial

Swearing

Bargaining 

Anger

Depression

Reinstalling 

New VM

New Host

Restart

Enabling and confirming enabled;

Virtualisation itself confirmed

  IOMMU (enabled as AUTO)
  
     SR-IOV confirmed enabled
     
        ASPM
        
           Disabled checkpoints
           
              Disabled enhanced session mode
              
                 Confirmed running Gen 2 VM
                 

Specifications

Running Get-VM HostPartitionableGpu

ValidPartitionCounts          : {32} PartitionCount                : 32 TotalVRAM                     : 1000000000 AvailableVRAM                 : 1000000000 SupportsIncomingLiveMigration : False MinPartitionVRAM              : 0 MaxPartitionVRAM              : 1000000000 OptimalPartitionVRAM          : 1000000000 TotalEncode                   : 18446744073709551615 AvailableEncode               : 18446744073709551615 MinPartitionEncode            : 0 MaxPartitionEncode            : 18446744073709551615 OptimalPartitionEncode        : 18446744073709551615 TotalDecode                   : 1000000000 AvailableDecode               : 1000000000 MinPartitionDecode            : 0 MaxPartitionDecode            : 1000000000 OptimalPartitionDecode        : 1000000000 TotalCompute                  : 1000000000 AvailableCompute              : 1000000000 MinPartitionCompute           : 0 MaxPartitionCompute           : 1000000000 OptimalPartitionCompute       : 1000000000

 

Environment:

Hyper-V Manager Microsoft Corporation Version: 10.0.26100.1882

WindowsAdminCenter2410

 

------------------ System Information ------------------       Time of this report: 3/8/2025, 15:12:53          Operating System: Windows 11 Pro 64-bit (10.0, Build 26100) (26100.ge_release.240331-1435)                  Language: English (Regional Setting: English)       System Manufacturer: Micro-Star International Co., Ltd.              System Model: MS-7D70                      BIOS: 1.M0 (type: UEFI)                 Processor: AMD Ryzen 9 7950X3D 16-Core Processor           (32 CPUs), ~4.2GHz                    Memory: 32768MB RAM       Available OS Memory: 31850MB RAM                 Page File: 30891MB used, 7102MB available               Windows Dir: C:\WINDOWS           DirectX Version: DirectX 12       DX Setup Parameters: Not found          User DPI Setting: 192 DPI (200 percent)        System DPI Setting: 288 DPI (300 percent)           DWM DPI Scaling: Enabled                  Miracast: Available, no HDCP Microsoft Graphics Hybrid: Supported  DirectX Database Version: 1.6.7    Auto Super Res Version: Unknown        System Mux Support: Mux Support Inactive - Ok            Mux Target GPU: dGPU     Mux Incompatible List:             DxDiag Version: 10.00.26100.3323 64bit Unicode

dGPU

  Card name: NVIDIA GeForce RTX 4090         Manufacturer: NVIDIA            Chip type: NVIDIA GeForce RTX 4090             DAC type: Integrated RAMDAC          Device Type: Full Device (POST)           Device Key: Enum\PCI\VEN_10DE&DEV_2684&SUBSYS_51001462&REV_A1        Device Status: 0180200A [DN_DRIVER_LOADED|DN_STARTED|DN_DISABLEABLE|DN_NT_ENUMERATOR|DN_NT_DRIVER]   Device Problem Code: No Problem  Driver Problem Code: Unknown       Display Memory: 40066 MB     Dedicated Memory: 24142 MB        Shared Memory: 15924 MB       Virtualization: Paravirtualization            Block List: No Blocks   Catalog Attributes: Universal:False Declarative:True     Driver Attributes: Final Retail     Driver Date/Size: 03/03/2025 00:00:00, 810080 bytes

iGPU

   Card name: AMD Radeon(TM) Graphics         Manufacturer: Advanced Micro Devices, Inc.            Chip type: AMD Radeon Graphics Processor (0x164E)             DAC type: Internal DAC(400MHz)          Device Type: Full Device        Device Status: 0180200A [DN_DRIVER_LOADED|DN_STARTED|DN_DISABLEABLE|DN_NT_ENUMERATOR|DN_NT_DRIVER]   Device Problem Code: No Problem  Driver Problem Code: Unknown       Display Memory: 16410 MB     Dedicated Memory: 485 MB        Shared Memory: 15924 MB         Current Mode: Unknown

    GPU Mux Support: Development, Uninitialized - Query driver runtime status failed       Power P-states: Not Supported       Virtualization: Paravirtualization 

Image Image

  Image

Image

 

https://www.youtube.com/watch?v=ZQxEwC6lyco&t=634s&ab_channel=SomeOrdinaryGamersHi all,

I'm off my meds and had some time. After a caffeinated deep dive, I now have diarrhoea but no answers, so am crawling cap in hand to the community!

Mission statement/desired outcome: It has been a hope to get Hardware Decoding/Encoding working this weekend with my home server hosted in Hyper V, but, after bashing my head against this brick wall, i've decided to reach out to you fine folks before I got a concussion! 

Iov Support = TRUE

Error message: Access denied. Please verify that the username and password are correct.

Problem statements:

Plex, Immich and Jellyfin are not cooperating with passthrough of the iGPU and dGPU Partitioning would be be ideal anyway for juicy NVENC etc. 

I've scoured and it should be possible (unless i've completely grasped the wrong end of this stick).

My GPU is a 4090 and should be capable with up to 32 valid partition counts. My iGPU also supports this.

Need access to Microsoft Admin Centre to complete this but fell at this hurdle. Specifically at login after setup, have tried;

Windows Domain/Username

  __**email**__
  
     __**swear words**__
     
        __**multiple permutations of username**__
        
        Followed this guide [Partition and assign GPUs to a virtual machine in Hyper-V | Microsoft Learn](https://learn.microsoft.com/en-us/windows-server/virtualization/hyper-v/partition-assign-vm-gpu?tabs=windows-admin-center"learn.microsoft.com")
        
        DDA and GPU-P both require this admin centre setup
        

Assumption Scenario Variants:

Could be my user error rather than a missing feature

Could be usage of Hyper-V

Any rescue from the rabbit hole would be greatly appreciated! 

Level 1 Troubleshooting has been attempted, including but not limited to:

Sacrifices to deities, ritualistic and bloody in nature

Denial

Swearing

Bargaining 

Anger

Depression

Reinstalling 

New VM

New Host

Restart

Enabling and confirming enabled;

Virtualisation itself confirmed

  IOMMU (enabled as AUTO)
  
     SR-IOV confirmed enabled
     
        ASPM
        
           Disabled checkpoints
           
              Disabled enhanced session mode
              
                 Confirmed running Gen 2 VM
                 

Specifications

Running Get-VM HostPartitionableGpu

ValidPartitionCounts          : {32}
PartitionCount                : 32
TotalVRAM                     : 1000000000
AvailableVRAM                 : 1000000000
SupportsIncomingLiveMigration : False
MinPartitionVRAM              : 0
MaxPartitionVRAM              : 1000000000
OptimalPartitionVRAM          : 1000000000
TotalEncode                   : 18446744073709551615
AvailableEncode               : 18446744073709551615
MinPartitionEncode            : 0
MaxPartitionEncode            : 18446744073709551615
OptimalPartitionEncode        : 18446744073709551615
TotalDecode                   : 1000000000
AvailableDecode               : 1000000000
MinPartitionDecode            : 0
MaxPartitionDecode            : 1000000000
OptimalPartitionDecode        : 1000000000
TotalCompute                  : 1000000000
AvailableCompute              : 1000000000
MinPartitionCompute           : 0
MaxPartitionCompute           : 1000000000
OptimalPartitionCompute       : 1000000000

 

Environment:

Hyper-V Manager
Microsoft Corporation
Version: 10.0.26100.1882

WindowsAdminCenter2410

 


System Information

      Time of this report: 3/8/2025, 15:12:53
         Operating System: Windows 11 Pro 64-bit (10.0, Build 26100) (26100.ge_release.240331-1435)
                 Language: English (Regional Setting: English)
      System Manufacturer: Micro-Star International Co., Ltd.
             System Model: MS-7D70
                     BIOS: 1.M0 (type: UEFI)
                Processor: AMD Ryzen 9 7950X3D 16-Core Processor           (32 CPUs), ~4.2GHz
                   Memory: 32768MB RAM
      Available OS Memory: 31850MB RAM
                Page File: 30891MB used, 7102MB available
              Windows Dir: C:\WINDOWS
          DirectX Version: DirectX 12
      DX Setup Parameters: Not found
         User DPI Setting: 192 DPI (200 percent)
       System DPI Setting: 288 DPI (300 percent)
          DWM DPI Scaling: Enabled
                 Miracast: Available, no HDCP
Microsoft Graphics Hybrid: Supported
 DirectX Database Version: 1.6.7
   Auto Super Res Version: Unknown
       System Mux Support: Mux Support Inactive - Ok
           Mux Target GPU: dGPU
    Mux Incompatible List: 
           DxDiag Version: 10.00.26100.3323 64bit Unicode

dGPU

  Card name: NVIDIA GeForce RTX 4090
        Manufacturer: NVIDIA
           Chip type: NVIDIA GeForce RTX 4090
            DAC type: Integrated RAMDAC
         Device Type: Full Device (POST)
          Device Key: Enum\PCI\VEN_10DE&DEV_2684&SUBSYS_51001462&REV_A1
       Device Status: 0180200A [DN_DRIVER_LOADED|DN_STARTED|DN_DISABLEABLE|DN_NT_ENUMERATOR|DN_NT_DRIVER] 
 Device Problem Code: No Problem
 Driver Problem Code: Unknown
      Display Memory: 40066 MB
    Dedicated Memory: 24142 MB
       Shared Memory: 15924 MB
      Virtualization: Paravirtualization 
          Block List: No Blocks
  Catalog Attributes: Universal:False Declarative:True 
   Driver Attributes: Final Retail
    Driver Date/Size: 03/03/2025 00:00:00, 810080 bytes

iGPU

   Card name: AMD Radeon(TM) Graphics
        Manufacturer: Advanced Micro Devices, Inc.
           Chip type: AMD Radeon Graphics Processor (0x164E)
            DAC type: Internal DAC(400MHz)
         Device Type: Full Device
       Device Status: 0180200A [DN_DRIVER_LOADED|DN_STARTED|DN_DISABLEABLE|DN_NT_ENUMERATOR|DN_NT_DRIVER] 
 Device Problem Code: No Problem
 Driver Problem Code: Unknown
      Display Memory: 16410 MB
    Dedicated Memory: 485 MB
       Shared Memory: 15924 MB
        Current Mode: Unknown

    GPU Mux Support: Development, Uninitialized - Query driver runtime status failed
      Power P-states: Not Supported
      Virtualization: Paravirtualization 

Image

Image

 
Image

Image

 

https://www.youtube.com/watch?v=ZQxEwC6lyco&t=634s&ab_channel=SomeOrdinaryGamers

Windows Server Devices and deployment Set up, install, or upgrade
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ian Xue-MSFT 40,351 Reputation points Microsoft External Staff
    2025-03-11T05:41:04.2033333+00:00

    Hi,

    Please ensure that the host server meets the prerequisites for GPU partitioning. You must have Windows Server 2025 installed on the host server.

    https://learn.microsoft.com/en-us/windows-server/virtualization/hyper-v/partition-assign-vm-gpu?tabs=powershell#prerequisites-for-the-host-server

    Since you cannot sign in to WAC, give a try to the PowerShell commands in the guide to assign a GPU partition to a VM.

    Best Regards,

    Ian Xue


    If the Answer is helpful, please click "Accept Answer" and upvote it.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.