jspahrsummers / Microverse

macOS virtualization app for M1/Apple Silicon

Home Page:https://jspahrsummers.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GUI for Linux

jspahrsummers opened this issue · comments

Unlike the macOS VM stuff, VZMacGraphicsDisplayConfiguration seems to be available on x86_64, so it's possible that it might work to attach a display to a Linux VM.

It seems possible. Firstly, VZMacGraphicsDeviceConfiguration is the only subclass of VZGraphicsDeviceConfiguration. When you attach it to a linux vm you get this extra PCI device.

Screen Shot 2021-08-09 at 11 26 50 PM

Has anyone implemented this graphics device? Does it have the same API as something else? Maybe the people who ported linux to M1 did? It seems that AppleParavirtIOSurface.kext only has an arm64 slice, so maybe that's the client of the PCI device on macOS VMs?

I sort of interpret the symbol name as "hardware that looks like a Mac computer's display," so I would think that a Linux installation with the appropriate drivers to run on actual Mac hardware could make use of it.

Yeah I agree.

It seems that kernel 5.11 in Ubuntu 21.04 doesn't have a driver for it.

Screen Shot 2021-08-09 at 11 58 16 PM

Searching the GitHub mirror of Linux I couldn't find anything that implemented the PCI Id [106b:eeee]. '106b' is Apple, 'eeee' is also not in any databases.

Linux support removed in #29.