r/macOSVMs • u/umeow0716 • 1d ago
I finally got Metal 3 + hardware video decode/encode in a macOS Tahoe VM on my laptop's Intel iGPU (SR-IOV, no dGPU, early alpha)
After a lot of late nights I finally got this working, and I just had to share it here!
This is macOS Tahoe 26.7.3 in a QEMU/KVM VM, accelerated by an SR-IOV virtual function of my laptop's Intel iGPU. It's not a paravirtual GPU: macOS runs Apple's own Intel (Ice Lake) graphics driver directly on a real hardware slice of the GPU. The Linux host keeps using the same iGPU for its own desktop at the same time, so there's no dGPU and no single-GPU passthrough juggling.
Demo (3 min): https://youtu.be/-3AuzOD92CA
Setup
- CPU: Intel i7-13620H (laptop)
- GPU: Raptor Lake-P Iris Xe iGPU, one SR-IOV VF passed to the guest
- Host: Linux + QEMU/KVM + i915-sriov-dkms
- Guest: macOS Tahoe 26.7.3 (also tested 26.7 and 26.7.2), OpenCore + Lilu
- Display: Looking Glass (I ported the host side to macOS), 1920x1080 @ 144 Hz
What works
- Metal 3 in System Information, with WindowServer compositing on the GPU (transparency, blur)
- OpenGL and OpenCL in hardware, and MPS / Core ML on the GPU
- WebGL, WebGL2 and WebGPU in Safari
- VideoToolbox hardware decode: H.264, HEVC (8/10-bit) and VP9, so 4K YouTube plays on the GPU
- VideoToolbox hardware encode: H.264 and HEVC, and QuickTime screen recording works
- Audio, clipboard and keyboard/mouse through Looking Glass
What it feels like It's usable as a daily desktop, but it's not perfectly smooth yet. You'll still notice some stutter now and then, for example when dragging big windows, during heavy animations, or when a lot is happening on screen at once. It's an early alpha: I'm still profiling and improving the compositing and capture path, and every release so far has been smoother than the last.
How macOS has never had a driver for Intel Gen12/Xe graphics, and a VF has no display engine. A Lilu plugin (forked from NootedGreen) loads Tahoe's Ice Lake driver on the Gen12 VF. It translates the Gen11 shader binaries and the GPU/video command buffers to Gen12 on the fly, and talks to the GPU firmware through the SR-IOV interface. The picture goes out through Looking Glass instead of a physical display output.
Limitations
- Only tested on my exact hardware (13620H iGPU, 8086:a7a8). Other 12th-14th gen Xe-LP iGPUs may work, but nobody has tried them yet
- Tahoe only, and you need a Linux host with SR-IOV VFs enabled (i915-sriov-dkms)
- No sleep/wake, and no physical display outputs
- The virtual display tops out at 1080p, which is why "About This Mac" shows a "Display 7 MB". That's QEMU's virtual screen, not the Intel GPU
- H.264 encode is I/P frames only, because the hardware has no H.264 B-frame support
- System Information still shows a bring-up name ("SR-IOV VF, ICL test"). It's cosmetic only
Links
- NootedYellow (kext + userspace pieces + setup guide): https://github.com/umeow0716/NootedYellow
- lg-macos (Looking Glass host for macOS): https://github.com/umeow0716/lg-macos
Huge thanks to NootedGreen (Stefano Giammori), Visual Ehrmanntraut / ChefKiss, Lilu, i915-sriov-dkms and the Looking Glass project.
Happy to answer questions! If you have a 12th-14th gen Intel laptop and want to try it, I'd love to hear whether it works on your GPU, and bug reports are very welcome.




