After reading those few and far between posts here, on the QEMU mailing list, and on the GVTg github, I thought it would be nice to retry launching macOS with a virtualized Intel card. The "almost success" stories cited QEMU not passing EDID information, thus macOS treating the computer as headless, and not enabling acceleration.
QEMU 4.0 fixes this:
EDID interface for supported mdevs (Intel vGPU, host kernel v5.0+). Use options xres= and yres= to specify display resolution.
However, when I tried to pass through my virtualized Kaby Lake Intel UHD 630, it crashed. It was recognized properly, but crashed. The OS tried to restart the GPU 3 times more, after which it gave up and proceeded to normal boot. However:
- The System Profiler hung when trying to display the Graphics section
- There was no graphics card info where you'd usually expect it in the about box
- The virtual USB mouse was erratic: it moved ok, but any click would reset it to the upper left corner. Using SPICE to redirect my real USB mouse helped, though, but only for that redirected mouse. The laptop's touchpad would still work incorrectly.
If anyone is interested to see what it looks like, here is a crash dump: https://pastebin.com/0ewz5UTs
Note that the OS was started with --disablegfxfirmware; running it without it would loop at trying to, well, load the firmware.
The hardware/software:
- QEMU 4.0.0-rc1, Q35 machine, stock OVMF
- GPU: Intel UHD 630, virtualized from a laptop running Fedora 29 on 5.0.5 kernel
- Clover r4910
- The ACPI tables do not have an IGPU section (I don't know how such a section should even look for a virtualized Intel GPU)
- macOS is 10.4.4
I'm wondering what can be done to make it work at last. Seemed like we were so close now. :)
[link] [comments]
Post a Comment