[GH-ISSUE #50] GPU Acceleration? #35

Closed
opened 2026-03-02 03:57:57 +03:00 by kerem · 16 comments
Owner

Originally created by @MatthewStacy44 on GitHub (Nov 20, 2022).
Original GitHub issue: https://github.com/DrDonk/unlocker/issues/50

I was wondering when will Unlocker potentially support Apple VGPU support? The reason why I am asking, is because the Darwin.iso only gets you up to 128 MB, when you can have more somehow. I wish you guys the best of luck and hopefully we can get a solution to "the new way to Hackintosh."

Originally created by @MatthewStacy44 on GitHub (Nov 20, 2022). Original GitHub issue: https://github.com/DrDonk/unlocker/issues/50 I was wondering when will Unlocker potentially support Apple VGPU support? The reason why I am asking, is because the Darwin.iso only gets you up to 128 MB, when you can have more somehow. I wish you guys the best of luck and hopefully we can get a solution to "the new way to Hackintosh."
kerem 2026-03-02 03:57:57 +03:00
  • closed this issue
  • added the
    wontfix
    label
Author
Owner

@DrDonk commented on GitHub (Nov 20, 2022):

Not possible, it actually requires Apple hardware and macOS on host. In addition VMware have actually dropped support for it in Fusion as it doesn't work well.

<!-- gh-comment-id:1321111387 --> @DrDonk commented on GitHub (Nov 20, 2022): Not possible, it actually requires Apple hardware and macOS on host. In addition VMware have actually dropped support for it in Fusion as it doesn't work well.
Author
Owner

@CodeGenStudio commented on GitHub (Nov 20, 2022):

@DrDonk I hope I don't sound redundant, but do you know any hackintosh kernel ext/driver or something, that allows the VM to make use of the host GPU? Regardless if it is supported on real Macs or not? Or some other workaround? Not necessarily that this unlocker has to do it. Because my XCode simulator as frequent crashes because obv lack of 3D acceleration.

I tried asking this in Hackintosh reddit and even TonyMacx86 but they all have so dumb rule to not ask questions relating to macOS on Virtualbox or VMware, which is super annoying considering both as pretty much violating Apple's EULA and all that so what's the big deal. So I'm asking again here

<!-- gh-comment-id:1321170199 --> @CodeGenStudio commented on GitHub (Nov 20, 2022): @DrDonk I hope I don't sound redundant, but do you know any hackintosh kernel ext/driver or something, that allows the VM to make use of the host GPU? Regardless if it is supported on real Macs or not? Or some other workaround? Not necessarily that this unlocker has to do it. Because my XCode simulator as frequent crashes because obv lack of 3D acceleration. I tried asking this in Hackintosh reddit and even TonyMacx86 but they all have so dumb rule to not ask questions relating to macOS on Virtualbox or VMware, which is super annoying considering both as pretty much violating Apple's EULA and all that so what's the big deal. So I'm asking again here
Author
Owner

@DrDonk commented on GitHub (Nov 20, 2022):

I think KVM-QEMU on Linux can do this, but never tried it. I would start here:

https://github.com/kholia/OSX-KVM

This is a Linux only solution.

Also Nvidia did something with Hyper-V. Have a search on web for Nvidia Keppler and GPU passthru.

<!-- gh-comment-id:1321184710 --> @DrDonk commented on GitHub (Nov 20, 2022): I think KVM-QEMU on Linux can do this, but never tried it. I would start here: https://github.com/kholia/OSX-KVM This is a Linux only solution. Also Nvidia did something with Hyper-V. Have a search on web for Nvidia Keppler and GPU passthru.
Author
Owner

@MatthewStacy44 commented on GitHub (Nov 20, 2022):

@DrDonk, I was wondering what about the Darwin.iso? It makes the video ram go from 3MB to 128MB. Is there any way to get more video ram than 128MB using the Darwin.iso?

<!-- gh-comment-id:1321214806 --> @MatthewStacy44 commented on GitHub (Nov 20, 2022): @DrDonk, I was wondering what about the Darwin.iso? It makes the video ram go from 3MB to 128MB. Is there any way to get more video ram than 128MB using the Darwin.iso?
Author
Owner

@DrDonk commented on GitHub (Nov 20, 2022):

Nope and actually macOS guests ignore the setting. There was a post on VMware forums by Fusion product manager saying it isn’t used.

<!-- gh-comment-id:1321237746 --> @DrDonk commented on GitHub (Nov 20, 2022): Nope and actually macOS guests ignore the setting. There was a post on VMware forums by Fusion product manager saying it isn’t used.
Author
Owner

@CodeGenStudio commented on GitHub (Nov 21, 2022):

I think KVM-QEMU on Linux can do this, but never tried it. I would start here:

https://github.com/kholia/OSX-KVM

This is a Linux only solution.

Also Nvidia did something with Hyper-V. Have a search on web for Nvidia Keppler and GPU passthru.

Sad that it's a Linux only solution. My main workspace is Windows 10 so a Windows host solution is preferable.

That being said, Windows 10 runs on it's on hypervisor, which VMware makes some use of with many limitations (VMware themselves stated this in their Knowledge base). Features like nested virtualization and virtualized IOMMU are unavailable with this hyper-v + vmware combo. Do you think that, disabling Windows 10 hypervisor so VMware can get access to direct CPU virtualization technology (like Intel VT-x) can somewhat improve performance? I'm not an expert in these things but it something that occurred to me. I'm a little hesitant to disable the windows hypervisor, as it has a lot of benefits like windows sandbox as well as virtualization based security (VBS)

<!-- gh-comment-id:1321397475 --> @CodeGenStudio commented on GitHub (Nov 21, 2022): > I think KVM-QEMU on Linux can do this, but never tried it. I would start here: > > https://github.com/kholia/OSX-KVM > > This is a Linux only solution. > > Also Nvidia did something with Hyper-V. Have a search on web for Nvidia Keppler and GPU passthru. Sad that it's a Linux only solution. My main workspace is Windows 10 so a Windows host solution is preferable. That being said, Windows 10 runs on it's on hypervisor, which VMware makes some use of with many limitations (VMware themselves stated this in their Knowledge base). Features like nested virtualization and virtualized IOMMU are unavailable with this hyper-v + vmware combo. Do you think that, disabling Windows 10 hypervisor so VMware can get access to direct CPU virtualization technology (like Intel VT-x) can somewhat improve performance? I'm not an expert in these things but it something that occurred to me. I'm a little hesitant to disable the windows hypervisor, as it has a lot of benefits like windows sandbox as well as virtualization based security (VBS)
Author
Owner

@DrDonk commented on GitHub (Nov 21, 2022):

I do think the VMware hypervisor is better (they invented it for x86) and certainly makes more things available (cpuid masking..) over delegating to VMX mode to Hyper-V. However Hyper-V does have the benefits you suggested. I personally have never had the Hyper-V stuff on so can't really help with performance

Bottom line is I think the only way to know is for you to test it with your workload.

<!-- gh-comment-id:1321956001 --> @DrDonk commented on GitHub (Nov 21, 2022): I do think the VMware hypervisor is better (they invented it for x86) and certainly makes more things available (cpuid masking..) over delegating to VMX mode to Hyper-V. However Hyper-V does have the benefits you suggested. I personally have never had the Hyper-V stuff on so can't really help with performance Bottom line is I think the only way to know is for you to test it with your workload.
Author
Owner

@CodeGenStudio commented on GitHub (Jan 12, 2023):

@DrDonk

So just a quick update on this. I disabled Hyper-V services completely (it wasn't as hard as I thought) and although there is no acceleration, the graphics are FAR smoother - extremely usable. I tested this on an intel-i7 host CPU running Win 10, with Ventura Guest.

If you want, I can help make a guide or something on how to disable Hyper-V so people can have faster macOS VMs.

<!-- gh-comment-id:1380576664 --> @CodeGenStudio commented on GitHub (Jan 12, 2023): @DrDonk So just a quick update on this. I disabled Hyper-V services completely (it wasn't as hard as I thought) and although there is no acceleration, the graphics are FAR smoother - extremely usable. I tested this on an intel-i7 host CPU running Win 10, with Ventura Guest. If you want, I can help make a guide or something on how to disable Hyper-V so people can have faster macOS VMs.
Author
Owner

@DrDonk commented on GitHub (Jan 13, 2023):

I have built a new utility called hostcaps to check if Hyper-V is running https://github.com/DrDonk/unlocker/wiki/hostcaps.

I would be happy to add to the wiki pages if you want to write something in Markdown on disabling Hyper-V. I can then reference that page ffrom the hostcaps one.

<!-- gh-comment-id:1381724337 --> @DrDonk commented on GitHub (Jan 13, 2023): I have built a new utility called hostcaps to check if Hyper-V is running https://github.com/DrDonk/unlocker/wiki/hostcaps. I would be happy to add to the wiki pages if you want to write something in Markdown on disabling Hyper-V. I can then reference that page ffrom the hostcaps one.
Author
Owner

@kenmcd commented on GitHub (Jan 21, 2023):

I have built a new utility called hostcaps to check if Hyper-V is running https://github.com/DrDonk/unlocker/wiki/hostcaps.

I would be happy to add to the wiki pages if you want to write something in Markdown on disabling Hyper-V. I can then reference that page ffrom the hostcaps one.

How is hostcaps supposed to work?
When I run it on Windows 10 in a command window there is no output.
When I run it alone there is no output.

cpuid works and returns output in the window.
check, unlock, and relock all work as expected.

So what am I doing wrong?

<!-- gh-comment-id:1399346792 --> @kenmcd commented on GitHub (Jan 21, 2023): > I have built a new utility called hostcaps to check if Hyper-V is running https://github.com/DrDonk/unlocker/wiki/hostcaps. > > I would be happy to add to the wiki pages if you want to write something in Markdown on disabling Hyper-V. I can then reference that page ffrom the hostcaps one. How is hostcaps supposed to work? When I run it on Windows 10 in a command window there is no output. When I run it alone there is no output. cpuid works and returns output in the window. check, unlock, and relock all work as expected. So what am I doing wrong?
Author
Owner

@DrDonk commented on GitHub (Jan 22, 2023):

I have no idea what I did building it for v4.2.4, but re-compiled and now works. I've attached a copy here. I modified the output as well to state that graphics may be affected.

Example output:

macOS Unlocker Host Capabilities
================================
© 2014-2023 David Parsons


Host CPU
--------
Name: Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz
Vendor ID: Intel
CPU Family: 6 Model: 158 Stepping: 10

Host Report
-----------
AVX2 support:
        macOS 13 Ventura:  true
Hypervisor mode:
        Hypervisor Present: true
        Hypervisor String: Microsoft Hv
        Hypervisor ID: MSVM
        Hypervisor found:
                - CPUID masking may not work correctly
                - Graphics speed may be affected


Press Enter key to continue...

hostcaps.exe.zip

<!-- gh-comment-id:1399456924 --> @DrDonk commented on GitHub (Jan 22, 2023): I have no idea what I did building it for v4.2.4, but re-compiled and now works. I've attached a copy here. I modified the output as well to state that graphics may be affected. Example output: ``` macOS Unlocker Host Capabilities ================================ © 2014-2023 David Parsons Host CPU -------- Name: Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz Vendor ID: Intel CPU Family: 6 Model: 158 Stepping: 10 Host Report ----------- AVX2 support: macOS 13 Ventura: true Hypervisor mode: Hypervisor Present: true Hypervisor String: Microsoft Hv Hypervisor ID: MSVM Hypervisor found: - CPUID masking may not work correctly - Graphics speed may be affected Press Enter key to continue... ``` [hostcaps.exe.zip](https://github.com/DrDonk/unlocker/files/10474251/hostcaps.exe.zip)
Author
Owner

@ghost commented on GitHub (Jan 31, 2023):

Another issue is in the 3D settings, it says "3D acceleration is not supported in this guest operating system" when macOS is selected. Maybe it would be possible to get it work if you write custom driver for macOS and select guest OS as Windows 10/11 or Linux/Ubuntu to enable 3D settings? And can we get ideas from Ubuntu distros that automatically detects VM GPU?

<!-- gh-comment-id:1410096344 --> @ghost commented on GitHub (Jan 31, 2023): Another issue is in the 3D settings, it says "3D acceleration is not supported in this guest operating system" when macOS is selected. Maybe it would be possible to get it work if you write custom driver for macOS and select guest OS as Windows 10/11 or Linux/Ubuntu to enable 3D settings? And can we get ideas from Ubuntu distros that automatically detects VM GPU?
Author
Owner

@DrDonk commented on GitHub (Jan 31, 2023):

Good luck with that. There is pretty much zero documentation on Apple GPU drivers.

This was partially solved on macOS with Apples paravirtualized GPU but that really hasn’t moved forward.

<!-- gh-comment-id:1410120431 --> @DrDonk commented on GitHub (Jan 31, 2023): Good luck with that. There is pretty much zero documentation on Apple GPU drivers. This was partially solved on macOS with Apples paravirtualized GPU but that really hasn’t moved forward.
Author
Owner

@CodeGenStudio commented on GitHub (Feb 6, 2023):

I have built a new utility called hostcaps to check if Hyper-V is running https://github.com/DrDonk/unlocker/wiki/hostcaps.

I would be happy to add to the wiki pages if you want to write something in Markdown on disabling Hyper-V. I can then reference that page ffrom the hostcaps one.

For sure, I would love to do that. I'll create the markdown and attach the text in this thread in a bit.

<!-- gh-comment-id:1418801818 --> @CodeGenStudio commented on GitHub (Feb 6, 2023): > I have built a new utility called hostcaps to check if Hyper-V is running https://github.com/DrDonk/unlocker/wiki/hostcaps. > > I would be happy to add to the wiki pages if you want to write something in Markdown on disabling Hyper-V. I can then reference that page ffrom the hostcaps one. For sure, I would love to do that. I'll create the markdown and attach the text in this thread in a bit.
Author
Owner

@DrDonk commented on GitHub (Feb 6, 2023):

Great appreciate it.

<!-- gh-comment-id:1418810514 --> @DrDonk commented on GitHub (Feb 6, 2023): Great appreciate it.
Author
Owner

@DrDonk commented on GitHub (Mar 2, 2023):

Closing as no updates.

<!-- gh-comment-id:1452436629 --> @DrDonk commented on GitHub (Mar 2, 2023): Closing as no updates.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/unlocker#35
No description provided.