Trouble with KVM, Catalina and GPU passthrough

Trouble with KVM, Catalina and GPU passthrough

I am just getting into virtualized hackintoshing with KVM. Am a Windows / VMWare sysadmin by day. I built a quick KVM VM using the OSX-KVM git, and the VM works fine as long as its using the virtualized VMWare graphics. When I pass through my 5700XT it hangs during boot.

Setup:

9900k, MSI Z390m, UEFI, Power Color Red Dragon 5700XT, Ubuntu 10.04.3 with ACS patched kernel

IOMMU is configured correctly and I have no trouble passing the same card to a Windows 10 VM.

I have included the vBIOS for the 5700XT in the VM startup script. I added WEG and LILU kexts in Clover, and added the agdpmod=pikera to the Clover boot flags. I am using an iMac18,1 SMBIOS.

When booting using the boot-passthrough script it progresses through verbose boot but hangs. The last tine of text displayed is IOConsoleUsers: gIOScreenLockState 3, hs0, bs 0, now 0, sm 0x0

Would greatly appreciate any assistance!

https://preview.redd.it/xqje09tana941.jpg?width=3024&format=pjpg&auto=webp&s=08b6195ae161660c376578652c227461a819becc

submitted by /u/PsyberEMT
[link] [comments]