balopez83 / macOS_On_Hyper-V

This repository aims to provide support for macOS on Hyper-V
312 stars 16 forks source link

[question] GPU passthrough with DDA #37

Open chubbychester opened 2 weeks ago

chubbychester commented 2 weeks ago

I recently managed to get a license to Windows Server 2022 which has a feature called Discrete Device Assignment (https://learn.microsoft.com/en-us/windows-server/virtualization/hyper-v/deploy/deploying-graphics-devices-using-dda). If I pass through a supported GPU such as an RX 6600, would that unlock 1920x1080 resolution and would the machine even boot after doing so? I heard some say there are issues with GPU patching with WhateverGreen due to Lilu but im not sure the validity of those claims. Basically would GPU pass through fix the issues of graphics acceleration lag and low resolution?

balopez83 commented 3 days ago

@chubbychester the short answer is yes if the GPU is natively compatible with an official Mac then it is possible.

The long answer is I don't believe the current state of hyper-v kext support is ready for GPU pass through.

Best I can offer is to add whatevergreen to the EFI and add your GPU device to the config after doing what is needed to pass through your GPU. If it works then you will have a much faster system with proper screen resolution.

I do know that people have been successful with GPU pass through using VMware but have never had the appropriate hardware to try.