Is it possible to add support for DirectX 12 in Hyper-V's GPU-P?

Arturbc 21 Reputation points
2025-11-01T20:07:27.4133333+00:00

My system specs:

  • CPU: AMD Ryzen 7 5800X
  • GPU: AMD Radeon RX 6800XT
  • RAM: 64GB DDR4 @ 3333MT/s
  • OS: Windows 11 25H2

I’ve tested several 3D applications running on Hyper-V virtual machines using GPU Paravirtualization, and everything worked perfectly — but only with OpenGL and DirectX 11 or earlier. Vulkan and DirectX 12 applications did not function properly within the VM.

I followed Microsoft’s official documentation to enable GPU-P, and now I’d like to learn whether it’s possible to enable DirectX 12 support for guest virtual machines. Thank you in advance!

Windows for business | Windows Client for IT Pros | Storage high availability | Virtualization and Hyper-V
0 comments No comments
{count} votes

Answer accepted by question author
  1. Vivian Phan 5,045 Reputation points Independent Advisor
    2025-11-01T23:36:19.14+00:00

    Hi,

    At present, Hyper‑V GPU Partitioning (GPU‑P) does not expose DirectX 12 or Vulkan to guest VMs in a supported way. Only DirectX 11 and OpenGL are officially supported. DirectX 12 passthrough requires either Discrete Device Assignment (DDA) or a different virtualization stack (e.g., WSLg, Remote Desktop GPU acceleration, or third‑party vGPU solutions).

    GPU‑P (GPU Paravirtualization) was designed to allow multiple VMs to share a single GPU without dedicating it.

    The current implementation in Windows 11 and Windows Server supports DirectX 11.1, OpenGL, and basic DirectCompute.

    DirectX 12 and Vulkan require lower‑level access to the GPU driver stack. Hyper‑V’s GPU‑P abstraction layer does not yet forward those APIs into the guest.

    That’s why your DX11 apps run fine, but DX12/Vulkan apps fail or fall back to software rendering.

    If you need DX12/Vulkan inside a VM, use Discrete Device Assignment (DDA) for your RX 6800XT.

    If you need to keep the GPU shared between host and guest, you’ll need to stay with DX11/OpenGL until Microsoft extends GPU‑P capabilities.

    If you find this information useful to some extent, please accept the answer so that your experience with the issue would help contribute to the whole community. Thank you :)

    Vivian

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Vivian Phan 5,045 Reputation points Independent Advisor
    2025-11-02T04:18:53.0166667+00:00

    Hi Arturbc,

    Has your issue been solved? If it has, please accept the answer so that it could be spread further to those in need too. If not, is there anything I can help you with? Please let me know. :)

    Vivian


Your answer

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