Catalina 10.15.7 - KVM - Intel GVT-g

Hi Everyone. First off I'd like to say how much I love this subreddit. It's a great resource and I appreciate all the extremely smart folks who take the time to help us newbies fix our issues.

tl;dr OSX Catalina running in KVM on Arch Linux Kernel Panics on Intel UHD 630 Virtual GPU Passthrough.

Summary

I have Catalina 10.15.7 (19H1323) working in KVM/QEMU. Most things are working fine, including iServices like iMessage. The only thing that isn't working great is the Display, it's defaulting to the non accelerated display output. This is an image of System Information

I am running this in an Arch Based Linux host and I am limited to the GPU passthrough options I have. I only have the integrated Intel UHD 630 graphics card to pass through, and will need to do it using GVT-g.

I have been able to get the VM to POST with the i915 ROM for OVM which is mentioned in other posts and guides I have consulted, however, OSX Gives me an AppleIntelKBLGraphicsGraphics Error. This seems to be causing a Kernel Panic on com.apple.driver.AppleIntelKBLGraphics.

At this point I am stumped. I have recompiled QEMU to add things like OpenGL support and I have extensively worked through the i915ovm wiki from patmagauran. I can launch a VM successfully with the ROM and it POSTs. I can even access the ROM config options, but the Intel Panic still occurs.

I'd really appreciate any help or guidance from you fine folks.

Current Arch Host Details.

``` Kernel: 5.13.8-arch1-1

QEMU emulator version 6.0.92 (v6.1.0-rc2) Copyright (c) 2003-2021 Fabrice Bellard and the QEMU Project developers

OpenCore Version: OpenCore-0.7.2 ```

Debug Output and Host details.

https://gist.github.com/mandusm/0a1cebbba1aa536e421188f8db34e4cb

What guide/tool I followed:

https://wiki.archlinux.org/title/Intel_GVT-g https://www.reddit.com/r/VFIO/comments/innriq/successful_macos_catalina_with_intel_gvtg/ https://www.reddit.com/r/hackintosh/comments/fo8dxv/catalina_with_broadwell_gvtg_on_linux_take_2/ https://github.com/patmagauran/i915ovmfPkg/wiki/GVT-G-vs-GVT-D https://www.reddit.com/r/hackintosh/comments/7ofqdl/help_high_sierra_with_broadwell_gvtg_in_linux/?utm_source=share&utm_medium=web2x https://github.com/kholia/OSX-KVM

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