[Sticky] [SCRIPT] Enable AMD & NVIDIA eGPUs on TB1/2/3 Macs on macOS 10.13.4+  

Page 1 / 31 Next
  RSS

mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
Posts: 1593
April 5, 2018 4:01 am  


Script Version macOS Support Github All Releases

Contents

Pre-Requisites

macOS requirements, pre-system configuration specifics, and more.

Installation

Installing and running the script.

Script Options

Available capabilities and options in the script.

Recovery

Easy way to recover from an unbootable system using the script.

Post-Install

System configuration after script installation and some other things of note.

Hardware Chart

See a brief overview of possible mac & eGPU combinations and any complications involved.

More Tools

Additional tools that you may need for some specific edge-case systems.

Troubleshooting

Additional resources and guides for eGPUs.

References

Special thanks to everyone involved.

Disclaimer

Please read the disclaimer before using this script.

License

By using this script, you consent to the license that the script comes bundled with.

Support

Support the developer if you'd like to.

 


Get purge-wrangler.sh

This patch would not have been possible without the assistance of multiple members on this forum. If you loved purge-wrangler.sh, consider starring the repository or if you would like to, donate via PayPal:

paypal (@mac_editor)

Thank you for using purge-wrangler.sh. This project is under active development at this time.

 


Troubleshooting Guide

Read the troubleshooting guide to gain some insight into eGPU on macOS.

purge-wrangler.shpurge-nvda.shset-eGPU.sh
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife
----
Multiple Build Guides


hifihuang, ricc, vinhdiesel and 30 people liked
ReplyQuote
tiagoamaro
(@tiagoamaro)
Active Member
Joined: 9 months ago
Posts: 12
April 5, 2018 4:26 am  

Incredible job! Just went through the bash script and saw the wonderful job you did making it as easy as possible on patching and uninstalling if anything goes wrong!

Keep up the good work 👏

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


ikir and joysthokkins liked
ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
Posts: 1593
April 5, 2018 4:28 am  
Posted by: tiagoamaro

Incredible job! Just went through the bash script and saw the wonderful job you did making it as easy as possible on patching and uninstalling if anything goes wrong!

Keep up the good work 👏

Thank you good sir! 🙂

purge-wrangler.shpurge-nvda.shset-eGPU.sh
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife
----
Multiple Build Guides


ReplyQuote
Jeroenvankeulen
(@jeroen-van-keulen)
Trusted Member
Joined: 12 months ago
Posts: 78
April 5, 2018 6:02 am  

You Sir are a legend!

ALLn1
MBP11,4, i7-4980HQ, 256gb SSD, 16gbRAM Mojave (Sonnet Breakaway box 350 + Gigabyte Radeon RX 580 Gaming 8GB)
MacBook7,1 A1342, P8600 120gb SSD 4gbRAM. Mojave (Hiking/Camping)
iMac7,1 A1224, T9500 CPU upgrade 120gb SSD 4gbRAM. HS
Mac mini3,1 P7350, 250gb SSD 8gbRAM. HS (server) iPhone10,3 64gb. iOS12 iPad5,3, 16gb. iOS12 iPod shuffle 2nd gen. 2gb
GeekBench


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
Posts: 1593
April 5, 2018 6:03 am  
Posted by: Jeroenvankeulen

You Sir are a legend!

Did you try it? Any hiccups?

purge-wrangler.shpurge-nvda.shset-eGPU.sh
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife
----
Multiple Build Guides


ReplyQuote
FricoRico
(@fricorico)
Eminent Member
Joined: 2 years ago
Posts: 41
April 5, 2018 6:54 am  

Nice job dude! Glad we could figure this out so quickly and provide a working solution for all TB2 users out there. I will also try using the script tonight and let you know the outcome.

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


theitsage and mac_editor liked
ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
Posts: 1593
April 5, 2018 6:56 am  
Posted by: FricoRico

Nice job dude! Glad we could figure this out so quickly and provide a working solution for all TB2 users out there. I will also try using the script tonight and let you know the outcome.

Thank you for that hint in our private discussion. Was an eye-opener of sorts. 🙌

purge-wrangler.shpurge-nvda.shset-eGPU.sh
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife
----
Multiple Build Guides


FricoRico liked
ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
Posts: 1593

ReplyQuote
rmvz3
(@rmvz3)
Eminent Member
Joined: 2 years ago
Posts: 48
April 5, 2018 7:45 am  

OMG! Will this work with hot plug feature too? I'm looking forward to try it in a few hours. Great work. Thank you!

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
Posts: 1593
April 5, 2018 7:47 am  
Posted by: rmvz3

OMG! Will this work with hot plug feature too? I'm looking forward to try it in a few hours. Great work. Thank you!

Native eGPU support as if its a TB3 mac. Should not be a problem as far as I can tell in my tests. Macs with NVIDIA dGPUs still require my other patch to get things going.

purge-wrangler.shpurge-nvda.shset-eGPU.sh
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife
----
Multiple Build Guides


ReplyQuote
igerard
(@igerard)
Estimable Member
Joined: 2 years ago
Posts: 117
April 5, 2018 8:08 am  

Nice, impatient to test it next week when I will come back from vacation 🙂

good job !

MBP 2018, Touch Bar, i7 2.6 GHz, 32 GB RAM, 1T SSD, Radeon 560X... very nice!
eGPU : Akitio Node + RX 580 + GTX 980 Ti + Vega64


mac_editor liked
ReplyQuote
psonice
(@psonice)
Estimable Member
Joined: 12 months ago
Posts: 113
April 5, 2018 8:24 am  

👍
Haven't tested yet (will do so as soon as I have time to upgrade, plus time to restore from backup if needed) but have read the script, looks solid enough.

I can't unsee "IoT BS witch type" tho 😉

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


mac_editor and theitsage liked
ReplyQuote
fr34k
(@fr34k)
Reputable Member Moderator
Joined: 12 months ago
Posts: 387
April 5, 2018 8:26 am  

@mac_editor
Although the enabler for .4 isn't finished yet, I can say that I will add your script to mine as well (if needed, still fixing the panics) once it's in the final release for .4
in the meantime would you like to test my thunderbolt recognition script:

 

bash <(curl -s  https://raw.githubusercontent.com/learex/macOS-eGPU/macOS10134/ScriptTB.sh) 

 

if someone does not get the correct answer or even that it could not be detected please say...

 

macOS-eGPU.sh on GitHub (fr34k's macOS-eGPU.sh on eGPU.io)
----
2016 15'' MacBook Pro + [email protected] (Sonnet Breakaway 550) + macOS 10.13.6 (17G65 driver: 378.10.10.10.30.107 + CUDA: 396.148)


mac_editor liked
ReplyQuote
RianGray
(@riangray)
Active Member
Joined: 1 year ago
Posts: 9
April 5, 2018 9:07 am  

I can confirm your script works on Mac Mini (late 2014) with RX 580. Great work!

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


mac_editor liked
ReplyQuote
goalque
(@goalque)
Noble Member Admin
Joined: 2 years ago
Posts: 1315
April 5, 2018 9:09 am  

I have a feeling that Apple kept Intel happy, and left a backdoor for us. If they deliberately wanted to block older TB technology, there are more effective ways to accomplish that in the EFI level.

automate-eGPU EFIapple_set_os.efi
--
late-2016 13" Macbook Pro nTB + [email protected] (Netstor HL23T) + macOS & Win10
late-2016 13" Macbook Pro nTB + GTX980/[email protected] (Netstor HL23T) + macOS10.13 & Win10


Zetthard, cyberdogg, umba67 and 4 people liked
ReplyQuote
rmvz3
(@rmvz3)
Eminent Member
Joined: 2 years ago
Posts: 48
April 5, 2018 10:17 am  
Posted by: mac_editor Native eGPU support as if its a TB3 mac. Should not be a problem as far as I can tell in my tests. Macs with NVIDIA dGPUs still require my other patch to get things going.

I'm gonna try right now. I have a Nvidia 650M dGPU and I'm using a GTX1070 eGPU (Akitio Thunder2) on my TB1 MacBookPro. What patch do you say I need to install? Do you mean the nvidia-egpu.v7 from here?

So what's the proper order to enable a Nvidia dGPU Mac with TB1/2 from scratch? Would this be correct?

1- Install Nvidia drivers (SIP enabled)
2- Install NVIDIAEGPUSupport (SIP enabled without Kext)
3- Install PureWrangler (SIP disabled)

EDIT: This is a bit offtopic but I've noticed I no longer have to use DIYeGPU 1.35 to boot with my eGPU on Bootcamp since now I can plug the egpu, turn on the mac and choose Windows without having to do the double boot dance. Before this, if I tried to boot with the egpu plugged in, the mac freezed. I needed to plug the egpu cable just after the chime and do the double boot using the DIYeGPU boot partition.

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


ReplyQuote
devild
(@devild)
Trusted Member
Joined: 2 years ago
Posts: 67
April 5, 2018 11:18 am  

@rmvz3, Nvidia cards are still not working with 10.13.4, unfortunately.

That is not dead which can eternal lie, And with strange aeons even death may die.


tiagoamaro liked
ReplyQuote
rmvz3
(@rmvz3)
Eminent Member
Joined: 2 years ago
Posts: 48
April 5, 2018 11:46 am  
Posted by: devild

@rmvz3, Nvidia cards are still not working with 10.13.4, unfortunately.

Ouch! 🙁

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


ReplyQuote
artik
(@artik)
Active Member
Joined: 11 months ago
Posts: 18
April 5, 2018 11:48 am  

Wonderful, many thanks I'll test it on my MacPro 2013 + Vega soon!

Mac Pro 2013, 10 core, Sonnet eGFX 550, Vega 64


ReplyQuote
fr34k
(@fr34k)
Reputable Member Moderator
Joined: 12 months ago
Posts: 387
April 5, 2018 12:40 pm  
Posted by: rmvz3
Posted by: devild

@rmvz3, Nvidia cards are still not working with 10.13.4, unfortunately.

Ouch! 🙁

I'm sorry that it takes so long,
I only have a few hours a day where I can test and tweak.
And still some research needs to be done before a closed beta can be published and then on the following day if all goes well then to the public.
atm, the drivers cause the problem not the wrangler (as far as I can tell for now)

macOS-eGPU.sh on GitHub (fr34k's macOS-eGPU.sh on eGPU.io)
----
2016 15'' MacBook Pro + [email protected] (Sonnet Breakaway 550) + macOS 10.13.6 (17G65 driver: 378.10.10.10.30.107 + CUDA: 396.148)


ReplyQuote
kyorosweb
(@kyorosweb)
New Member
Joined: 1 year ago
Posts: 4
April 5, 2018 12:55 pm  

Everything works fine (including hotplug) with my 2014 mbp13 + Akitio node + RX 580 ~

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


ReplyQuote
tiagoamaro
(@tiagoamaro)
Active Member
Joined: 9 months ago
Posts: 12
April 5, 2018 1:11 pm  

@kyorosweb, thank you for your report! I have a similar configuration (MacBook Pro (Retina, 15-inch, Mid 2015)) and I was wondering if a RX 570/RX 580 would be natively compatible. Cheers!

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


ReplyQuote
(@rhenriques11)
Eminent Member
Joined: 9 months ago
Posts: 38
April 5, 2018 1:12 pm  

If anyone had some success with a TB2 machine and Nvidia eGPU's,  please provide a comprehensive A to Z tutorial. 
Best Regards

PS: "Macs with NVIDIA dGPUs still require my other patch to get things going." mac_editor, what is this "Other patch"?

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


ReplyQuote
theitsage
(@itsage)
Famed Member Admin
Joined: 2 years ago
Posts: 3228
April 5, 2018 1:17 pm  

Thank you @mac_editor! Great effort by all to show defiance as a community.

@tiagoamaro RX 470/570 should work. They share PCI ID with RX 480/580.

@rhenriques11 Check out @mac_editor's Purge-NVDA to disable Nvidia dGPU so that it doesn't clash with AMD eGPU. Once you've done that, run PurgeWrangler script to unblock eGPU for TB1/2 Macs.

Best ultrabooks for eGPU use

eGPU enclosure buying guide

86 external GPU build guides


ReplyQuote
fr34k
(@fr34k)
Reputable Member Moderator
Joined: 12 months ago
Posts: 387
April 5, 2018 1:23 pm  

@rhenriques11
important is here the dGPU not eGPU.
The purge-NVIDIA script is meant. A link can be found in his signature

EDIT: @itsage you were faster, dang it.

macOS-eGPU.sh on GitHub (fr34k's macOS-eGPU.sh on eGPU.io)
----
2016 15'' MacBook Pro + [email protected] (Sonnet Breakaway 550) + macOS 10.13.6 (17G65 driver: 378.10.10.10.30.107 + CUDA: 396.148)


theitsage liked
ReplyQuote
kyorosweb
(@kyorosweb)
New Member
Joined: 1 year ago
Posts: 4
April 5, 2018 1:28 pm  
Posted by: tiagoamaro

@kyorosweb, thank you for your report! I have a similar configuration (MacBook Pro (Retina, 15-inch, Mid 2015)) and I was wondering if a RX 570/RX 580 would be natively compatible. Cheers!

However, there still some performance drops in some apps like photoshop & sketch. You will feel some lag on drawing, but I this it is a software problem as it has no lag on non-retaina mode (I am using a 4k monitor) and this issue also happened in nvidia cards. All native app are running fine.
But when I connect the monitor directly to 2017 mbp has no any graphic problem. So it may also cause by the speed bottleneck of  TB2. Or I can try to connect the egpu with my 2017 mbp.

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


ReplyQuote
rmvz3
(@rmvz3)
Eminent Member
Joined: 2 years ago
Posts: 48
April 5, 2018 1:33 pm  
Posted by: fr34k I'm sorry that it takes so long,
I only have a few hours a day where I can test and tweak.
And still some research needs to be done before a closed beta can be published and then on the following day if all goes well then to the public.
atm, the drivers cause the problem not the wrangler (as far as I can tell for now)

Please, don't apologize for that. We are all extremely grateful for your job. You guys are awesome.

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


ReplyQuote
(@rhenriques11)
Eminent Member
Joined: 9 months ago
Posts: 38
April 5, 2018 1:43 pm  

Thank you so much guys. I'll test tonight. I do not have a Nvidia dGPU, only eGPU. Let's see if it works. 
I have already upgraded both CUDA an Nvidia Web Driver to the latest versions. Is it necessary to use an upgraded nvidia-egpu-v7.zip (this is always necessary to make things work) from this post "https://egpu.io/forums/mac-setup/wip-nvidia-egpu-support-for-high-sierra/"
This has been always a sensitive script to use and it seems that it needs to be tuned for every new driver. If so anyone has it handy for 387.10.10.10.30.103 and MacOS 10.13.4?
Cheers

PS - My setups are: - MBP 2015 with internal AMD Radeon R9 M370X; Aktio Box with Nvidia GF 1080Ti
 - Mac Pro mid 2013 TrashCan with 2 internal AMD Fire pro 500; Two eGPU - Aktio Box with Nvidia GF 1080Ti and Sonnet Box also with a Nvidia GF 1080Ti.

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


ReplyQuote
Jagungx
(@jagungx)
New Member
Joined: 8 months ago
Posts: 2
April 5, 2018 1:47 pm  

Works great on MBP 13 Late 2013, MSI RX480. macOS is able to auto detect GPU as Radeon RX 480 8192 MB, which in previous versions was always a Radeon R9.

Also, not sure if it's just me, but CSGO frames rates seems higher, perhaps better driver support for RX480 this time around. 

Next, I will be monitoring if the random egpu sleep/wake crashes that were happening on 10.13.3 is resolved in this version.

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


theitsage liked
ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
Posts: 1593
April 5, 2018 1:50 pm  

Has anyone tried with tb1 Mac? Haven’t heard of a success yet and can’t test on my end.

purge-wrangler.shpurge-nvda.shset-eGPU.sh
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife
----
Multiple Build Guides


ReplyQuote
TheFurious
(@thefurious)
Active Member
Joined: 9 months ago
Posts: 13
April 5, 2018 1:51 pm  

I‘m so glad that you found a solution. I started to gather all I need for my eGPU Setup for my 2015 MBP (got an Omen extreeeeemly cheap) 

Regarding GPU‘s: With this Script I will also have no trouble to get a RX460 run, correct? 

Just needed to run three displays.

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


mac_editor liked
ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
Posts: 1593
April 5, 2018 1:53 pm  
Posted by: fr34k

@mac_editor
Although the enabler for .4 isn't finished yet, I can say that I will add your script to mine as well (if needed, still fixing the panics) once it's in the final release for .4
in the meantime would you like to test my thunderbolt recognition script:

 

bash <(curl -s  https://raw.githubusercontent.com/learex/macOS-eGPU/macOS10134/ScriptTB.sh) 

 

if someone does not get the correct answer or even that it could not be detected please say...

 

Looks fine to me at a glance, need to test though. Would love to integrate into purge-wrangler.sh.

purge-wrangler.shpurge-nvda.shset-eGPU.sh
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife
----
Multiple Build Guides


ReplyQuote
theitsage
(@itsage)
Famed Member Admin
Joined: 2 years ago
Posts: 3228
April 5, 2018 1:53 pm  
Posted by: mac_editor

Has anyone tried with tb1 Mac? Haven’t heard of a success yet and can’t test on my end.

I will try tonight with a 2011 17" MBP [TB1]. It was successful with kext swap so I bet your script will work.

 

@thefurious RX 460/560 is a bit of a wild card. While there are drivers and support, I've seen issues with external monitor output. I will test using Breakaway Puck 560 and provide an update.

Best ultrabooks for eGPU use

eGPU enclosure buying guide

86 external GPU build guides


mac_editor liked
ReplyQuote
fr34k
(@fr34k)
Reputable Member Moderator
Joined: 12 months ago
Posts: 387
April 5, 2018 1:54 pm  
Posted by: mac_editor
Posted by: fr34k

@mac_editor
Although the enabler for .4 isn't finished yet, I can say that I will add your script to mine as well (if needed, still fixing the panics) once it's in the final release for .4
in the meantime would you like to test my thunderbolt recognition script:

 

bash <(curl -s  https://raw.githubusercontent.com/learex/macOS-eGPU/macOS10134/ScriptTB.sh) 

 

if someone does not get the correct answer or even that it could not be detected please say...

 

Looks fine to me at a glance, need to test though. Would love to integrate into purge-wrangler.sh.

That's what it's for...

macOS-eGPU.sh on GitHub (fr34k's macOS-eGPU.sh on eGPU.io)
----
2016 15'' MacBook Pro + [email protected] (Sonnet Breakaway 550) + macOS 10.13.6 (17G65 driver: 378.10.10.10.30.107 + CUDA: 396.148)


mac_editor liked
ReplyQuote
Jeroenvankeulen
(@jeroen-van-keulen)
Trusted Member
Joined: 12 months ago
Posts: 78
April 5, 2018 2:30 pm  

@mac_editor let me buy you a beer! (give me your PayPal)

It runs like a charm!

ALLn1
MBP11,4, i7-4980HQ, 256gb SSD, 16gbRAM Mojave (Sonnet Breakaway box 350 + Gigabyte Radeon RX 580 Gaming 8GB)
MacBook7,1 A1342, P8600 120gb SSD 4gbRAM. Mojave (Hiking/Camping)
iMac7,1 A1224, T9500 CPU upgrade 120gb SSD 4gbRAM. HS
Mac mini3,1 P7350, 250gb SSD 8gbRAM. HS (server) iPhone10,3 64gb. iOS12 iPad5,3, 16gb. iOS12 iPod shuffle 2nd gen. 2gb
GeekBench


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
Posts: 1593
April 5, 2018 2:32 pm  
Posted by: Jeroenvankeulen

@mac_editor let me buy you a beer! (give me your PayPal)

It runs like a charm!

Appreciate the sentiment and generosity! That's more than enough 😉

purge-wrangler.shpurge-nvda.shset-eGPU.sh
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife
----
Multiple Build Guides


tiagoamaro and theitsage liked
ReplyQuote
Page 1 / 31 Next