Modern macOS VMs use the OpenCore bootloader. You will need to configure a config.plist that includes the necessary "arguments" to handle a passed-through GPU, such as agdpmod=pikera for certain AMD cards.
How far along are you in your setup—have you already in the host OS, or are you still selecting hardware ? osx-kvm-gpu-passthrough
Use lspci -nn to find the Vendor and Device IDs for your GPU and its associated audio controller. Modern macOS VMs use the OpenCore bootloader
Some AMD cards (like the Vega series) don't reset properly when the VM shuts down. You might need the vendor-reset kernel module to fix this. Use lspci -nn to find the Vendor and
In virt-manager or your Libvirt XML, you must add the PCI devices for the GPU. Ensure you also pass through the GPU Audio device, or you may experience stuttering or crashes. 4. Common Pitfalls
Most modern AMD cards work out of the box because Apple uses them in real Macs. Models like the are top choices.
Instruct the kernel to use the vfio-pci driver for those IDs at boot. This prevents your Linux desktop from "grabbing" the card. 3. The OSX-KVM Setup