Any way to trick macOS w/ headless gpu to enable qe/ci?

This is a common issue, even with real macs. The issue is that if you don't connect a monitor, or at least an edid to a real display output port, a mac will disable opengl and quartz extreme on the 1280x1024 virtual framebuffer that is created. The reason I ask this is as follows. There have been recent developments in the Intel GVTg department, for which I have now patched AppleIntelBDWGraphics for a panic assertion, and now I can boot with a virtualized Intel i915-based gpu into macOS, and AppleIntelBDWGraphicsFramebuffer is also loaded. However, just like a headless mac, QE is disabled, as there aren't really any display outputs. Is there a way to trick macOS into enabling QE by a fake monitor? There are no physical outputs, this is on a real MacBookAir7,2 with GVT-g enabled. The following can be modified and are accessible: * qemu-system-x86_64 (intel's Igvtg-qemu branch, stable-2.10.0) * OVMF.fd (for uefi boot) * Clover (any revision) * macOS 10.13.2 and all parts of it (kexts, frameworks, etc) Anywhere there I can edit code. Clover FakeEDID did not work, by the way. This would be the first 100% virtual qe/ci solution for macOS EVER. If we get this, we can have virtualized macOS machines with full acceleration. Proof and teaser that this works: screenshot

submitted by /u/newhacker1746
[link] [comments]
Share:

Leave a Reply

Loading comments...