Setup & Software Discussions
Two new eGPU solutions on macOS 10.13.4: pure EFI and hybrid
 

Two new eGPU solutions on macOS 10.13.4: pure EFI and hybrid  

 of  19
  RSS

natemac00
(@natemac00)
Eminent Member
Joined: 2 years ago
 
Posted by: itsage

@natemac00 Are you connecting them at the same time? Which Thunderbolt ports have you tried?

I'm not connecting them at the same time, those are 4 different options that haven't worked. I've tried multiple thunderbolt ports on different BUS's. and no luck.
I've never had issues like this before, both these enclosures have worked in the past.

3D Cinema 4D/Octane Artist
Gigabyte Aorus GTX 1080 Gaming Box w/ TB2to3 Adapter
2013 Mac Pro
2014 MacBook Pro


ReplyQuote
goalque
(@goalque)
Noble Member Admin
Joined: 3 years ago
 
Posted by: asinglet

Thanks for the reply!  1.0.5 sounds amazing, especially with what you said about full H2D performance.  I can't wait to try it.

You should consider adding a donation link to your post.  I'm sure there are many people who would be happy to give a little thank you for the work you've done.

Thanks for the kind words, the best way to say 'thank you' is to give one's contribution on the forum and write about whatever pops up in your mind. Give money to students here, they need it the most. I started programming over 20 years ago - no need for donations.

Due to licensing, these workarounds have no commercial value. However, we do our best so that Bizon-like companies cannot make profit from our voluntary work.

By the way, the full H2D performance is likely due to 2018 13" MBP firmware, not because of this patch I suppose.

automate-eGPU EFIapple_set_os.efi
--
2018 13" MacBook Pro + Radeon [email protected] + Win10 1809


ReplyQuote
natemac00
(@natemac00)
Eminent Member
Joined: 2 years ago
 
Posted by: itsage

@natemac00 Are you connecting them at the same time? Which Thunderbolt ports have you tried?

So this installer did not work for me.
purge-wrangler.sh did not work for me.
BUT fr34k's macOS-eGPU.sh DID WORK!

I've run all these options previously, so I'm not sure what exactly happen. Nothing special done, just works now.

3D Cinema 4D/Octane Artist
Gigabyte Aorus GTX 1080 Gaming Box w/ TB2to3 Adapter
2013 Mac Pro
2014 MacBook Pro


ReplyQuote
goalque
(@goalque)
Noble Member Admin
Joined: 3 years ago
 

Must be the web driver version. Read the previous posts.

automate-eGPU EFIapple_set_os.efi
--
2018 13" MacBook Pro + Radeon [email protected] + Win10 1809


ReplyQuote
dvogiatzis
(@dvogiatzis)
Eminent Member
Joined: 2 years ago
 
Posted by: goalque

It took half an hour. v1.0.4 without validations worked out of the box on Mojave beta 5. No kext changes, no automate-eGPU.kext. Just "Pure EFI". I tested both RX 580 and GTX 780 on a Late 2013 13" MBP, using Apple's TB3 to TB2 adapter and HL23T.


It took another half an hour to enable Hybrid mode and "Prefer External GPU" checkbox. Valley bench was running smooth on the internal screen, even though Apple is going to abandon OpenGL. A headless ghost adapter wasn't necessary. Yeah, I agree that gaming industry should move on towards Metal.

The downside of "Pure EFI" is that we miss all built-in eGPU features: hot plugging, prefer external GPU for internal screen acceleration... luckily, we have the hybrid mode 😉

Reading the above post does it mean that Mac OS Mojave is supported out of the box with version 1.0.4 of EFI patch or we need the next version mentioned in another post? 

I'm asking this because in almost 2 weeks we will have the official release of Mojave.

MacBook Pro 15" (Mid 2017), Aorus Gaming Box GTX 1070


ReplyQuote
Rycco
(@rycco)
Reputable Member
Joined: 3 years ago
 

goalque can we expect hot unplugging to work with nvidia GPUs on MacOS? On my 2017 mbp bootcamp I can already hot unplug and once I was able to hotplug.

mid-2017 15" Macbook Pro RP555 + [email protected] (Mantiz Venus) + macOS & Win10


gregpr07 liked
ReplyQuote
Charly4
(@charly4)
Eminent Member
Joined: 2 years ago
 

@goalque, @mac_editor @ozzy  

Thank you, my eGPU is working again on my 2012 MBPr 15"

I followed the same steps described by @ozzy, but installed version 1.0.3 in hybrid mode on SD card instead of USB drive, my idea is to buy a microsd adapter and maintain the EFI boot always connected in the MBPr

I had to used @mac_editor set-eGPU script to apply the eGPU to all applications and then benchmark and games are using again the eGPU.

Everything looks working again!!

Also I'm using two different displays connected to the eGPU with no problems.

As I did all of this on a testing external SSD I´ll install it on the main drive next weekend.

Thank you again!!

 

Macbook PRO Retina 2012 15" (Intel HD 4000 + Nvidia Geforce GT 650M)
Akitio Thunder 2 + Nvidia 970 GTX


ReplyQuote
Aniket Sable
(@aniket_sable)
Active Member
Joined: 1 year ago
 

I have a 13’ MBP with Touchbar 2016 running 10.13.6. I have tried other scripts but none with success of recognizing my egpu. My MBP recognizes my Akitio Node pro but not the Nvidia GTX 1080. Any way Will this installer work for me?

MPB 13" with Touch Bar Late 2016 (10.13.6)
Akitio Node Pro+GTX 1080


ReplyQuote
Charly4
(@charly4)
Eminent Member
Joined: 2 years ago
 

Hi guys, I've just installed the solution in my everyday hard drive and everything is working but I'm still having some graphic glitches with some transparencies as I had before with @Fr34k´s solution and in sleep mode one of the two displays connected to the eGPU is not completely off also i can see that then eGPU fans never stop spinning.

Captura de pantalla 2018 05 06 a las 17.05.39
Captura de pantalla 2018 05 05 a las 19.20.17

I´ve solved before the graphic glitches with @LeoLeal solution, installing 378.10.10.10.25.106 nvidia web driver with @Fr34k´s solution, so I´ll try it when I have some time. Which is your recommendation to install that old driver?

@ozzy  Are you having some graphic glitches like me? as you have really similar setup...

@mac_editor  when I installed Set-eGPU I chose the option 1. Set eGPU for All Aplication, Is that the recommended option?

Thank you guys!

Macbook PRO Retina 2012 15" (Intel HD 4000 + Nvidia Geforce GT 650M)
Akitio Thunder 2 + Nvidia 970 GTX


ReplyQuote
ozzy
 ozzy
(@ozzy)
Trusted Member
Joined: 2 years ago
 

@Charly4 I've been travelling the last two weeks so I haven't had a chance to check, but I believe those transparency issues on the dock notification #s existed on my setup as well. I'm not sure about the Safari favorites part - I don't remember seeing that, but it's quite possible those issues are there too.

2012 15" Macbook Pro Retina GT650M + [email protected] (AKiTiO Node via TB3->TB2 adapter) + macOS10.13 & Win10


Charly4 liked
ReplyQuote
Charly4
(@charly4)
Eminent Member
Joined: 2 years ago
 

@ozzy Great, this is what I thought, I'm pretty sure that its going to be resolved installing old drivers... I´ll report it when try it

Thank you!

Macbook PRO Retina 2012 15" (Intel HD 4000 + Nvidia Geforce GT 650M)
Akitio Thunder 2 + Nvidia 970 GTX


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
 

@charly4 Are you using older NVIDIA Web Drivers? Your system needs optimizations + newer web drivers to fix those glitches. See purge-nvda.sh, or my 750M MBP + GTX 1070 build guide.

 

For set-eGPU, I recommend selecting per application rather than all apps.

purge-wrangler.shpurge-nvda.shset-eGPU.shautomate-eGPU EFI Installer
2018 MacBook Pro 15" RP560X + Vega 64 [Sonnet Breakaway 350 -> 600W]


ReplyQuote
Fatbear
(@fatbear)
New Member
Joined: 12 months ago
 

I have a MacBookPro11,4(Integrate Graphic) connecting to  AkiTio Node(nVidia 1080) with Apple TB2-TB3 converter. Everything is fine ( except for the known issue: system crashes on hot-unplug). It looks like the requirement for eGPU must be hot-plugged after boot is not required for my configuration. Is there a way to disable the automatic logout behavior?

Pending: Add my system information and expected eGPU configuration to my signature to give context to my posts


ReplyQuote
Charly4
(@charly4)
Eminent Member
Joined: 2 years ago
 
Posted by: mac_editor

@charly4 Are you using older NVIDIA Web Drivers? Your system needs optimizations + newer web drivers to fix those glitches. See purge-nvda.sh, or my 750M MBP + GTX 1070 build guide.

 

For set-eGPU, I recommend selecting per application rather than all apps.

Not at the moment, I'm using the newest drivers installed by new @goalque solution installation process, but I'm saying that I had the same behavior using the last drivers with @Fr34k eGPU solution and it was resolved installing older drivers, indeed with this old drivers I solved two problem, some graphic glitches and also the eGPU was never used to render any app.

This solution was discovered by @LeoLeal

Ass soon as I´ll try it I tell you if its resolving or not the problems.

Thank you for your recommendation using set-eGPU, I´ll try it !!

Macbook PRO Retina 2012 15" (Intel HD 4000 + Nvidia Geforce GT 650M)
Akitio Thunder 2 + Nvidia 970 GTX


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
 

@charly4 Gotcha. I am aware about @LeoLeal's solution, but it requires use of older web drivers. A newer solution for 650M/750M users was implemented with purge-nvda.sh 3.0.0, that allows using newer drivers + OpenGL acceleration. The Though it cannot be used in tandem with EFI solution, what it does is disable the 650M but not your eGPU - so everything functions as it should. That's likely why your apps aren't using the eGPU - OpenGL is unavailable.

purge-wrangler.shpurge-nvda.shset-eGPU.shautomate-eGPU EFI Installer
2018 MacBook Pro 15" RP560X + Vega 64 [Sonnet Breakaway 350 -> 600W]


Charly4 liked
ReplyQuote
Charly4
(@charly4)
Eminent Member
Joined: 2 years ago
 

@mac_editor   Great, so no need to try old drivers  🙂 just wait an improved solution.

Thank you for your great explanation!

Macbook PRO Retina 2012 15" (Intel HD 4000 + Nvidia Geforce GT 650M)
Akitio Thunder 2 + Nvidia 970 GTX


ReplyQuote
goalque
(@goalque)
Noble Member Admin
Joined: 3 years ago
 
Posted by: goalque

I just spent a couple of hours figuring out how to eliminate automate-eGPU.kext in hybrid mode. And I found a perfect solution.

So, what does this mean? What's new in v1.0.5?

- The Hybrid is no more Hybrid, it is now Pure EFI option #2 with hot plugging support
- Much faster USB creation process
- The USB stick can be used on other vanilla Macs to enable Nvidia eGPUs out of the box
- No need to disable SIP
- No need for uninstall if you choose USB disk, because there is nothing to uninstall
- FileVault and T2 chip support

The whole idea of automate-eGPU EFI is to keep your system clean, no modified kexts. When the USB is unplugged, and you reboot, your Mac is in factory state.

Current status:

- added EFI boot screen, printing system info (CPU, Mac model, detected GPUs), and screen where the user can select to boot into macOS or Windows
- "Launch on startup" option in EFI menu screen (no need to hold down Option key)
- this stays as pure "external" EFI solution, all EFI menu settings are saved on the USB stick/SD card
- no boot screen via eGPU screen yet
- included apple_set_os.efi
- DropThunderbolt config.plist key can be used when booted into Windows, but it is uncertain whether it will help with the error code 12
- user can add his own compiled DSDT.aml with large memory area

The new EFI package is now given to @itsage for testing.

automate-eGPU EFIapple_set_os.efi
--
2018 13" MacBook Pro + Radeon [email protected] + Win10 1809


Chippy McChipset, n9yty, ICULikeMac and 3 people liked
ReplyQuote
itsage
(@itsage)
Famed Member Admin
Joined: 3 years ago
 

Thank you @goalque! I will test with 2013 Mac Pro trashcan, 2016 15" MacBook Pro, and 2018 15" MacBook Pro and report back.

Best ultrabooks for eGPU use

eGPU enclosure buying guide


goalque liked
ReplyQuote
Charly4
(@charly4)
Eminent Member
Joined: 2 years ago
 

Bravo!!! 

Can't wait to see that boot screen!!

@goalqueWould it be compatible with Thunderbolt 1 MacBooks?

Macbook PRO Retina 2012 15" (Intel HD 4000 + Nvidia Geforce GT 650M)
Akitio Thunder 2 + Nvidia 970 GTX


ReplyQuote
goalque
(@goalque)
Noble Member Admin
Joined: 3 years ago
 

@charly4 There is no hardware validation anymore, just kext validation to be sure that your system does not have plist/binary modifications.

All TB1/TB2/TB3 Macs should work pretty easily on macOS, no matter whether you have Nvidia or AMD eGPU. The boot screen is a good indicator if the eGPU is detected by the Mac firmware. This doesn't resolve old firmware issues with Early 2015 Macs and 750M with newer Nvidia cards. A manual delay may be needed but I consider "warm reboot" EFI option to solve this. However, this would work on macOS only, pre-2014 Mac firmwares don't support hot plugging on Windows.

And if apple_set_os.efi hasn't worked before, it won't work now either.

automate-eGPU EFIapple_set_os.efi
--
2018 13" MacBook Pro + Radeon [email protected] + Win10 1809


Charly4 and itsage liked
ReplyQuote
itsage
(@itsage)
Famed Member Admin
Joined: 3 years ago
 

One benefit of @goalque's EFI solution is that it works for both macOS and Windows. I followed the instructions to load a modified DSDT.aml file for my 2016 15" MacBook Pro and now have "Large Memory" allocation. Unlike the traditional DSDT override which requires test mode, I can run Windows in normal mode. It's also more convenient than turning off PCI Express Controllers to free up resources as described in my Boot Camp eGPU setup guide.

Another amazing feature is hot-plug and hot-unplug no longer crash Windows. I was able to test Nvidia eGPU then AMD eGPU in one boot up. They worked without issues. The RX 580 eGPU showed low memory speed due to the x2 PCIe slot inside the AKiTiO Node Duo.

 

In macOS all we need is Nvidia web drivers. The modified drivers don't work in Mojave. They detect the eGPU correctly but not really functional. Nvidia will release compatible drivers within 24 hours of public macOS release.

Best ultrabooks for eGPU use

eGPU enclosure buying guide


imcalledandy, Charly4, goalque and 3 people liked
ReplyQuote
nando4
(@nando4)
Noble Member Admin
Joined: 3 years ago
 

@itsage,  is this the first time a trifecta of desirables are all working together on your 2016 15" MBP in Windows?

1. iGPU active (apple_set_os.efi)
2. large memory without test signing mode on a Mac without firmware large memory support
3. full H2D TB3 bandwidth

If so, then it goes without saying that @goalque has moved the goalposts.. yet again. Thank you.

eGPU Setup 1.35    •    eGPU Port Bandwidth Reference Table    •    Several builds
2015 15" Dell Precision 7510 M1000M + GTX 1080 Ti @ 32Gbps-M2 (ADT-Link R43SG) + Win10


goalque and itsage liked
ReplyQuote
itsage
(@itsage)
Famed Member Admin
Joined: 3 years ago
 

@nando4 Yes, this EFI solution is remarkable. In macOS, it does not tamper system files. In Boot Camp, it effectively turns my 2016 15" MacBook Pro to a true Windows laptop. I was never able to have all three iGPU, dGPU, and eGPU at once without compromises. I was truly amazed to see hot-plug and hot-unplug working. Swapping eGPU was no trouble either. Full H2D TB3 bandwidth for Nvidia eGPU is icing on the cake.

I tested this solution on the nMP trashcan just now. It works great in macOS Mojave. I will be testing Windows with it in the coming days.

Best ultrabooks for eGPU use

eGPU enclosure buying guide


Chippy McChipset, goalque, Riss and 3 people liked
ReplyQuote
ICULikeMac
(@iculikemac)
Estimable Member
Joined: 2 years ago
 

Wow amazing work, thank you again. 

Looking forward to hearing how @itsage went with windows on the Mac Pro

2019 13" MacBook Pro (i7 & 16GB RAM) - MacOS + Win10
Late 2012 Mac Mini - MacOS + Win10
Asus XG Station Pro (RX570 8GB + RTX 2080)


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
 

@goalque fantastic updates  🎉 

Got Nvidia hot-unplug going?

purge-wrangler.shpurge-nvda.shset-eGPU.shautomate-eGPU EFI Installer
2018 MacBook Pro 15" RP560X + Vega 64 [Sonnet Breakaway 350 -> 600W]


ReplyQuote
Eightarmedpet
(@eightarmedpet)
Noble Member
Joined: 3 years ago
 

You know what caught my eye don't you...

"DropThunderbolt config.plist key can be used when booted into Windows, but it is uncertain whether it will help with the error code 12"

2017 13" MacBook Pro Touch Bar
GTX1060 + AKiTiO Thunder3 + Win10
GTX1070 + Sonnet Breakaway Box + Win10
GTX1070 + Razer Core V1 + Win10
Vega 56 + Razer Core V1 + macOS + Win10
Vega 56 + Mantiz Venus + macOS + W10

---

LG 5K Ultrafine flickering issue fix


ReplyQuote
goalque
(@goalque)
Noble Member Admin
Joined: 3 years ago
 

@mac_editor No. When macOS requests to release Metal resources after clicking "disconnect", Nvidia web driver fails (once got the kernel panic, it was related to semaphores). Therefore, v1.0.5 does not have the eject icon.

@eightarmedpet This setting worked with my RX Vega 64 without issues but I had also the large memory area. I cannot promise this to be a "holy grail" for all. Haven't had time to focus on Windows. Anyway, this EFI solution offers a good platform to test different config.plist combinations on Windows as well.

automate-eGPU EFIapple_set_os.efi
--
2018 13" MacBook Pro + Radeon [email protected] + Win10 1809


ReplyQuote
Eightarmedpet
(@eightarmedpet)
Noble Member
Joined: 3 years ago
 

Thanks for the reply, and I hate to be one of those guys - but do you have an expected release date for this latest build? I'm about to lend my RX 570 to a pal but would love to be able to test this before doing so as if it does indeed solve my error 12 issues i'll grab a Vega card...

2017 13" MacBook Pro Touch Bar
GTX1060 + AKiTiO Thunder3 + Win10
GTX1070 + Sonnet Breakaway Box + Win10
GTX1070 + Razer Core V1 + Win10
Vega 56 + Razer Core V1 + macOS + Win10
Vega 56 + Mantiz Venus + macOS + W10

---

LG 5K Ultrafine flickering issue fix


ReplyQuote
Charly4
(@charly4)
Eminent Member
Joined: 2 years ago
 

@goalque Great great news my 2012 MBPr has at least another year of life!!!

@itsage  Wow!! OSX and BootCamp working with the same solution... !Incredible!

I need to study @nando4 DSDT tutorial before this new solution will be release!! :mrgreen:  @nando4 it looks like there is a dsdt-modified.aml for my MBPr 2012

Captura de pantalla 2018 09 11 a las 11.11.12

One question, Is it posible to use this dsdt-modified.aml with any MBPr 2012 15"? Does the RAM or any other differences between my model and the one you used to create the file can cause problems when using this file?

Thank you

Macbook PRO Retina 2012 15" (Intel HD 4000 + Nvidia Geforce GT 650M)
Akitio Thunder 2 + Nvidia 970 GTX


ReplyQuote
nando4
(@nando4)
Noble Member Admin
Joined: 3 years ago
 

@charly4, on PC notebooks the RAM/BIOS version differences have resulted in different base DSDT files used to create a DSDT override. On Macs, this has not been the case. Regardless, consider testing your Mac's DSDT as a registry override using contained loader 'load.bat'.

eGPU Setup 1.35    •    eGPU Port Bandwidth Reference Table    •    Several builds
2015 15" Dell Precision 7510 M1000M + GTX 1080 Ti @ 32Gbps-M2 (ADT-Link R43SG) + Win10


itsage and Charly4 liked
ReplyQuote
goalque
(@goalque)
Noble Member Admin
Joined: 3 years ago
 
Posted by: Eightarmedpet

Thanks for the reply, and I hate to be one of those guys - but do you have an expected release date for this latest build? I'm about to lend my RX 570 to a pal but would love to be able to test this before doing so as if it does indeed solve my error 12 issues i'll grab a Vega card...

I am waiting for the official Mojave release first and Nvidia's web drivers. Soon after that.

automate-eGPU EFIapple_set_os.efi
--
2018 13" MacBook Pro + Radeon [email protected] + Win10 1809


ReplyQuote
Chippy McChipset
(@chippy-mcchipset)
Reputable Member
Joined: 2 years ago
 
Posted by: goalque

@mac_editor No. When macOS requests to release Metal resources after clicking "disconnect", Nvidia web driver fails (once got the kernel panic, it was related to semaphores). Therefore, v1.0.5 does not have the eject icon.

@eightarmedpet This setting worked with my RX Vega 64 without issues but I had also the large memory area. I cannot promise this to be a "holy grail" for all. Haven't had time to focus on Windows. Anyway, this EFI solution offers a good platform to test different config.plist combinations on Windows as well.

Thanks for the continued fantastic work, goalque. This is a big deal that will help a lot of people.

WRT to the eject button, do you think this is something that will be fixable on the driver side / something NVIDIA can revise so that 1.0.next might have it? Without the eject button is there a way to disconnect the eGPU on 10.14 without creating a crash scenario? Or does it shut down the connected display signal and then on the main Mac screen show a warning about the device being disconnected improperly (which is not a big deal)?

Thunderbolt 3 Macs, Sonnet and OWC eGPUs, 4K Displays, etc


ReplyQuote
goalque
(@goalque)
Noble Member Admin
Joined: 3 years ago
 

@chippy-mcchipset

https://developer.apple.com/library/archive/documentation/HardwareDrivers/Conceptual/ThunderboltDevGuide/Basics02/Basics02.html#//apple_ref/doc/uid/TP40011138-CH4-SW1

"The PCI device drivers used with Thunderbolt devices may need to be updated in order to handle surprise or unplanned removal."

Would be fixable on the driver side if Nvidia knew how AppleGPUWrangler works. There is an interaction problem between Apple and Nvidia.

@pengus77 proposed a wrapper that registers as IOService, between the kernel and GeForceWeb.kext but it would not be easy.

automate-eGPU EFIapple_set_os.efi
--
2018 13" MacBook Pro + Radeon [email protected] + Win10 1809


ReplyQuote
Chippy McChipset
(@chippy-mcchipset)
Reputable Member
Joined: 2 years ago
 
Posted by: goalque

@chippy-mcchipset

https://developer.apple.com/library/archive/documentation/HardwareDrivers/Conceptual/ThunderboltDevGuide/Basics02/Basics02.html#//apple_ref/doc/uid/TP40011138-CH4-SW1

"The PCI device drivers used with Thunderbolt devices may need to be updated in order to handle surprise or unplanned removal."

Would be fixable on the driver side if Nvidia knew how AppleGPUWrangler works. There is an interaction problem between Apple and Nvidia.

Understatement of the year.

Thunderbolt 3 Macs, Sonnet and OWC eGPUs, 4K Displays, etc


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
 

Quite annoyingly, the typical macOS components for 10.13.4-6 are not yet open sourced. Hope we see this soon. The 13.3 13.4 change was significant.

purge-wrangler.shpurge-nvda.shset-eGPU.shautomate-eGPU EFI Installer
2018 MacBook Pro 15" RP560X + Vega 64 [Sonnet Breakaway 350 -> 600W]


ReplyQuote
ICULikeMac
(@iculikemac)
Estimable Member
Joined: 2 years ago
 

@itsage Thanks again for testing the windows side on the nMP 2013 but other than this approach, do you or anyone else know if there has been any successful results of windows with eGPU on the Mac Pro? I read on one post somewhere that a Razer Core X was successful?

2019 13" MacBook Pro (i7 & 16GB RAM) - MacOS + Win10
Late 2012 Mac Mini - MacOS + Win10
Asus XG Station Pro (RX570 8GB + RTX 2080)


ReplyQuote
 of  19