The most reliable way to build the VM base is using the OSX-KVM project on GitHub .
Edit your GRUB configuration ( /etc/default/grub ) and add intel_iommu=on or amd_iommu=on to the kernel parameters. osx-kvm-gpu-passthrough
Most modern AMD cards work out of the box because Apple uses them in real Macs. Models like the are top choices. The most reliable way to build the VM
A GPU gives you a display, but you still need a smooth mouse and keyboard. Passing through an entire USB Controller is better than passing through individual HID devices for zero latency. 5. Why Bother? Models like the are top choices
Getting native graphics performance on a macOS virtual machine via KVM is the "holy grail" of virtualization. It turns a laggy VNC window into a fully functional workstation capable of video editing, Xcode development, and even light gaming.
However, it is not a "plug-and-play" process. It requires specific hardware and precise configuration of the Linux host. 1. Hardware Requirements & Compatibility