Enable Metal support on Big Sur+ hosts running Big Sur+ guests

Discussions about using Mac OS X guests (on Apple hardware) in VirtualBox.

Enable Metal support on Big Sur+ hosts running Big Sur+ guests

Postby wizoomer95 » 12. Jul 2021, 18:47

I have a 2014 MacBook Pro running macOS Big Sur (willing to provide evidence to mods if requested). Also, if this isn't the right spot to post this, feel free to move the thread.

Recently, I discovered that Apple implemented a way of enabling graphics acceleration and Metal support on virtual machines running macOS Big Sur on Big Sur hosts. Presumably, this will continue to be the case in Monterey and all that follows it. There is a kext included on Big Sur called AppleParavirtGPU.kext, which enables macOS guests to interface with macOS hosts and enables graphics acceleration. Other paid third-party virtualization solutions like VMWare Fusion and recently Parallels, albeit a bit buggy given its relatively new nature. I'm wondering if it would be possible to enable this functionality within VirtualBox? Seeing as it requires both the host and guest to be macOS Big Sur or later, this shouldn't be an issue EULA compliance-wise. Thank you in advance!
wizoomer95
 
Posts: 2
Joined: 9. Aug 2017, 23:58

Re: Enable Metal support on Big Sur+ hosts running Big Sur+ guests

Postby mpack » 12. Jul 2021, 18:50

Not an appropriate subject for "Suggestions" - too Mac specific. Topic moved to "OS X Guests".
mpack
Site Moderator
 
Posts: 34911
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Enable Metal support on Big Sur+ hosts running Big Sur+ guests

Postby klaus » 19. Oct 2021, 19:34

Is there any real documentation on this kind of GPU virtualization? Apple documents what the guest will see, which is pretty much useless, since effectively it documents what the kernel extension to which you're referring is providing. Can't spot any hint what the virtualizer should offer as a device emulation to make the kernel extension happy.
klaus
Oracle Corporation
 
Posts: 871
Joined: 10. May 2007, 14:57


Return to Mac OS X Guests

Who is online

Users browsing this forum: No registered users and 9 guests