Setup & Software Discussions
[SCRIPT] PurgeWrangler: AMD + NVIDIA eGPUs for all Thunderbolt Macs
 

[SCRIPT] PurgeWrangler: AMD + NVIDIA eGPUs for all Thunderbolt Macs  

 of  38
  RSS

fork_bomb
(@fork_bomb)
New Member
Joined: 1 year ago
 

Hey everyone, newbie here!

Just upgraded to the 2018 base model 15" MBP, and I've had a bit of trouble getting it to play nice with my 1080 and Sonnet EGFX 550. Purge-wrangler (which is super slick, btw!) tries to find an Nvidia web driver for my current build of 10.13.6 (17G2112), and it fails to do so. From what I can tell, the very latest web driver is for 17G65. Would it be worth it/safe to try and patch that older driver so it installs on 17G2112?

Thanks!

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


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

@fork_bomb It is usually safe for minor macOS build changes (ex. would not work on Mojave, but .5 -> .6 mostly ok). Can use third-party scripts such as nvidia-update.sh or webdriver.sh to install drivers. I may consider adding this option in a future release.

purge-wrangler.shpurge-nvda.shset-eGPU.shautomate-eGPU EFI Installer
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife

Multiple Build Guides
----
Current: MacBook Pro RP560X + 480/R9 Fury/Vega 64 | GTX 780/1070
Previous: 2014 MacBook Pro 750M + 480/R9 Fury | GTX 780/980 Ti/1070


ReplyQuote
fr34k
(@fr34k)
Reputable Member Moderator
Joined: 2 years ago
 

@fork_bomb
My script 
also includes such an option:
just do:
bash <(curl -s https://raw.githubusercontent.com/learex/macOS-eGPU/master/macOS-eGPU.sh) --nvidiaDriver 387.10.10.10.40.105
or
bash <(curl -s https://raw.githubusercontent.com/learex/macOS-eGPU/master/macOS-eGPU.sh) --nvidiaDriver 387.10.10.10.35.106
depending, which one you want.

(fr34k's macOS-eGPU.sh on eGPU.io)
----
2016 15'' MacBook Pro + GTX1080Ti@32Gbps-TB3 (Sonnet Breakaway 550) + macOS 10.13.6 (17G65 driver: 378.10.10.10.30.107 + CUDA: 396.148)


ReplyQuote
mnewman949
(@mnewman949)
New Member
Joined: 1 year ago
 

@mac_editor, I started with a fresh install and made a couple errors in the deployment of your scripts and was racking my head a little. So decided to start fresh. New developments, while I can't use 2 out of the 3 HDMI ports I was able to use the "Display port" 21 pin connector 🙂 could it be that I need to load the drivers that came with the card in order to configure the ports?

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


ReplyQuote
fork_bomb
(@fork_bomb)
New Member
Joined: 1 year ago
 

Was able to get the script working with nvidia-update.sh. Some OS animations are a little buggy/hitchy, but games/applications appear to be fully using the 1080. Cheers!

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


ReplyQuote
dream3
(@dream3)
Estimable Member
Joined: 3 years ago
 

Im on a mid 2015 macbook pro with gigabyte 580 egpu. It asked me if I wanted to enable Legacy AMD eGPUs. Should I enable that due to my being on a TB2 macbook?

edit: damn I updated to 10.13.6, ran the script and now my external display looks like crap. 10.13.5 was flawless but now the text is blurry and with several chromatic aberrations.

Anyone's got any thoughts on fixing this or am I going to have to downgrade?

MacOS: 15" Retina Macbook Pro 2015 Iris Pro only
Windows 10: Tornado F5 laptop with discrete GTX 1060
eGPU: GIGABYTE RX 580


ReplyQuote
tmy82336506
(@tmy82336506)
New Member
Joined: 1 year ago
 

Does it support MacBook Pro 15'' 2018?

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


ReplyQuote
Jeroenvankeulen
(@jeroen-van-keulen)
Trusted Member
Joined: 2 years ago
 
Posted by: tmy82336506

Does it support MacBook Pro 15'' 2018?

Please state full setup in your signature. Your MacBook is one part of a big thing...

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
✧✧


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

@dream3 You do not need to enable legacy AMD GPUs. That's for cards not officially supported by Apple. Clarified in the main post as well as in a script update (4.2). It should not be a problem anyhow. For the glitches, not sure why there are happening. Consider system recovery in the script -> reinstall then.

@tmy82336506 Yes.

@mnewman949 Not sure about multiple display output since I cannot test at the moment.

purge-wrangler.shpurge-nvda.shset-eGPU.shautomate-eGPU EFI Installer
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife

Multiple Build Guides
----
Current: MacBook Pro RP560X + 480/R9 Fury/Vega 64 | GTX 780/1070
Previous: 2014 MacBook Pro 750M + 480/R9 Fury | GTX 780/980 Ti/1070


ReplyQuote
dream3
(@dream3)
Estimable Member
Joined: 3 years ago
 
Posted by: mac_editor

@dream3 You do not need to enable legacy AMD GPUs. That's for cards not officially supported by Apple. Clarified in the main post as well as in a script update (4.2). It should not be a problem anyhow. For the glitches, not sure why there are happening. Consider system recovery in the script -> reinstall then.

I didn't help man 🙁 The only thing I did differently from 10.13.5 was update to 10.13.6 and update the script. How can we track the source of this now?

PsyPryss is having the exact same issue. Disabling font smoothing helps to get rid of the chromatic aberration and a bit of the blurriness. But overall is way less sharper then it was before. Is is very easy to compare: when I connect the monitor directly to the mac via DP, no eGPU, super sharp, when I do the usual eGPU setup, blurry (and again, this setup was working flawlessly in 10.13.5).

MacOS: 15" Retina Macbook Pro 2015 Iris Pro only
Windows 10: Tornado F5 laptop with discrete GTX 1060
eGPU: GIGABYTE RX 580


ReplyQuote
(@eli_t)
Active Member
Joined: 12 months ago
 

I have a macbook pro 2014 13inch associated with akitio node and amd r9 290. I used your code, but it does not work. After I plug in the egpu, I see my screen go black for a short time and the egpu icon appears for a short time, then disappear. System Report does see AMD randon HD 8XXX in PCI window but says driver not installed. I also notice the automate-egpu.kext is not loaded. Do you know with is going on? Thank you in advance.

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


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

@dream3 Hmm.. can't say what's going on here. Apologies. I guess sometimes things don't play well. Maybe try reinstalling macOS on top of existing installation and re-applying patches. Finally, if things don't work out, I guess its safe to say 10.13.6 is the issue.

@eli_t First post mentions that not all unofficial cards may work. Because a lot changes with respect to AMD drivers, it's difficult to maintain automate-eGPU.kext. Some older cards require additional flags to get things going. @goalque could update it, but it'd likely break again in the next build. I'll look into it when possible.

purge-wrangler.shpurge-nvda.shset-eGPU.shautomate-eGPU EFI Installer
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife

Multiple Build Guides
----
Current: MacBook Pro RP560X + 480/R9 Fury/Vega 64 | GTX 780/1070
Previous: 2014 MacBook Pro 750M + 480/R9 Fury | GTX 780/980 Ti/1070


ReplyQuote
PsyPryss
(@psypryss)
Trusted Member
Joined: 2 years ago
 

I too am having the same problem as @dream3. I don’t think it’s the scripts. Apple probably updated the drivers. I’ve tried using the command console to set the smoothing for fonts. All 3 levels do not work. Even with font smoothing off the text aren’t crisp like it was in 10.13.5. I thought my eyes were going bad.

Mid 2012 15" (Non-Retina) MPB GT650M + RX580 (AKiTio Node via TB3 -> TB2/TB1 Adaptor) macOS 10.13.4/Win10


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

@eli_t Please try this.

purge-wrangler.shpurge-nvda.shset-eGPU.shautomate-eGPU EFI Installer
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife

Multiple Build Guides
----
Current: MacBook Pro RP560X + 480/R9 Fury/Vega 64 | GTX 780/1070
Previous: 2014 MacBook Pro 750M + 480/R9 Fury | GTX 780/980 Ti/1070


ReplyQuote
lovejimbo
(@lovejimbo)
Active Member
Joined: 1 year ago
 

Just wanted to give a heads up.

This is working perfectly in a 2018 MacBook Pro 15 i9/32GB/2TB with a 1080ti in Sonnet 550 🙂

OSX 10.13.6

Just be sure to disable the t2 chip boot security measures in recovery mode and make sure Filevault is turned off and you're good to go.

Can hot plug in whilst logged in, but hot unplug still causes kernel panic...

Octane Render bench has the card running at the expected compute performance for an internal card, which is great!

Thanks for everyones hard work!

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


ReplyQuote
(@eli_t)
Active Member
Joined: 12 months ago
 

Thank you for you quick response. I have tried both 10.13.6 version and generic version. The 10.13.6 version does make the kext loaded, however, the symptom stays the same. No video out on the egpu. Driver is not installed. The generic version kext does not loaded in 10.13.6. Is there anyway downgrade to 10.13.4 or 10.12?

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


ReplyQuote
Doren
(@doren)
Eminent Member
Joined: 2 years ago
 

I can confirm this wonderful scripts works like a charm in Mac OS X 10.14 Beta (18A336e)
Specs:
MacBook Pro mid 2012 15" non-Retina TB1
GTX 650m dGPU
Radeon RX460 eGPU
Akitio Thunder2

Just one downfall, no brightness control on built-in display, anyone knows how to fix this?

Screen Shot 2018 07 26 at 1.07.39 PM

mid-2012 15'' Macbook Pro GT650M + [email protected] (AKiTiO Thunder2) + macOS10.12.6 & Win10 <-- using
mid-2012 15'' Macbook Pro GT650M + [email protected] (AKiTiO Thunder2) + macOS10.12 <-- no windows detection


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

@doren That's an inherent limitation of purge-nvda.sh (see its main post for drawbacks).

purge-wrangler.shpurge-nvda.shset-eGPU.shautomate-eGPU EFI Installer
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife

Multiple Build Guides
----
Current: MacBook Pro RP560X + 480/R9 Fury/Vega 64 | GTX 780/1070
Previous: 2014 MacBook Pro 750M + 480/R9 Fury | GTX 780/980 Ti/1070


ReplyQuote
Mymantiz_John
(@mymantiz_john)
Vendor
Joined: 2 years ago
 

Just tried the purge-wrangler with 2017 MBP 15" 10.13.6. 
1. Hotplug ogpu.
2. Log off, 
3. then the log in window will be in external display.
4. key in PWD, then internal display is dark., that's strange.

Mantiz: ● ●


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

Just tried the purge-wrangler with 2017 MBP 15" 10.13.6. 
1. Hotplug ogpu.
2. Log off, 
3. then the log in window will be in external display.
4. key in PWD, then internal display is dark., that's strange.

This is normal: "The internal display goes black when the Nvidia eGPU gets engaged, such as running CUDA-Z or Valley bench".

https://egpu.io/forums/mac-setup/two-new-egpu-solutions-on-macos-10-13-4-pure-efi-and-hybrid/paged/2/#post-38566

Or when just keeping Visual Studio Code open, for example.

automate-eGPU EFI v1.0.4 solves this issue completely, both in iGPU and dGPU modes.

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


ReplyQuote
Username
(@username)
Estimable Member
Joined: 2 years ago
 

I’ve been lagging behind a bit and jumped from 10.13.4 to 13.6 last night. 

A straight update to 10.13.6 and reboot. 
Updated Nvidia drivers and Cuda using their own update routine. 
Rebooted into rescue mode. 
Disabled SIP. 
Rebooted into 13.6. 
Ran purge script for Nvidia. 
Rebooted. 
And loged in again perfectly. 
Did another reboot into rescue and enabled sip without kext. 

Everything working great. 
Never disconnected the eGPU. 
Filevault encrypted system. 

Excluding the Apple update time. The eGPU process took under 10 minutes. 

2012 Mac mini with TB->TB3 adapter. 
Thunder 3 with 1070 card. 
All powered by a 460W HP DPS-460 power supply.

2012 Mac Mini + [email protected] (AKiTiO Thunder3 via TB3->TB2 adapter) + macOS


ReplyQuote
Doren
(@doren)
Eminent Member
Joined: 2 years ago
 
Posted by: mac_editor

@doren That's an inherent limitation of purge-nvda.sh (see its main post for drawbacks).

Yep, I fixed it with 3rd party software. 
Thanks for the script.

mid-2012 15'' Macbook Pro GT650M + [email protected] (AKiTiO Thunder2) + macOS10.12.6 & Win10 <-- using
mid-2012 15'' Macbook Pro GT650M + [email protected] (AKiTiO Thunder2) + macOS10.12 <-- no windows detection


ReplyQuote
(@aonan_guan)
New Member
Joined: 12 months ago
 

Thank you for your work
I reach one issue with macOS 10.13.6 with RX580 TB 2>3.

It shows egpu icon in the menu bar with RX580 recongised, however in about my mac page it seems nothing, but the egpu could see in PCIE dort. 

Also no activity of egpu could see in gpu activity monitor.

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


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

@aonan_guan Set external display (if you're using one) as main display.

Follow Step #1.

purge-wrangler.shpurge-nvda.shset-eGPU.shautomate-eGPU EFI Installer
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife

Multiple Build Guides
----
Current: MacBook Pro RP560X + 480/R9 Fury/Vega 64 | GTX 780/1070
Previous: 2014 MacBook Pro 750M + 480/R9 Fury | GTX 780/980 Ti/1070


ReplyQuote
(@aonan_guan)
New Member
Joined: 12 months ago
 

Thank you for your reply. Is it means that it does not support amd gpu internal display like the native tb3 devices?

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


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

TB3 devices also cannot force eGPU to accelerate internal display. You can force apps, however. See set-eGPU.sh in my signature.

purge-wrangler.shpurge-nvda.shset-eGPU.shautomate-eGPU EFI Installer
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife

Multiple Build Guides
----
Current: MacBook Pro RP560X + 480/R9 Fury/Vega 64 | GTX 780/1070
Previous: 2014 MacBook Pro 750M + 480/R9 Fury | GTX 780/980 Ti/1070


ReplyQuote
(@aonan_guan)
New Member
Joined: 12 months ago
 
Posted by: mac_editor

TB3 devices also cannot force eGPU to accelerate internal display. You can force apps, however. See set-eGPU.sh in my signature.

Thanks again, I will read more carefully.

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


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

My 2016 MBP is still on 10.13.3 with the old method. I haven't been using my eGPU all that much lately so I haven't been keeping up on things as close as I should. Am I better off staying on 10.13.3 with the known working method I have or is everything working well on 10.13.6 with this new method? Any major complications or special methods for updating to this new method?

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


ReplyQuote
fanacess
(@fanacess)
New Member
Joined: 1 year ago
 

Hello,

Does someone know what the other item are doing ?
Like system recovery or sanitize system ?

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


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

@fanacess This is mentioned succinctly on the GitHub page. System Recovery restores previously backed-up kernel extensions instead of uninstalling (which just re-patches in-place). Sanitize System fixes kext permissions and rebuilds the kernel cache.

purge-wrangler.shpurge-nvda.shset-eGPU.shautomate-eGPU EFI Installer
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife

Multiple Build Guides
----
Current: MacBook Pro RP560X + 480/R9 Fury/Vega 64 | GTX 780/1070
Previous: 2014 MacBook Pro 750M + 480/R9 Fury | GTX 780/980 Ti/1070


ReplyQuote
zhiali
(@zhiali)
New Member
Joined: 12 months ago
 

Works great on my MBP 13" 2018 10.13.6, and using a Razer Core w/ GTX 1060 6GB. Script was straight forward and easy, also did the whole setup in less than 10 minutes.

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


ReplyQuote
Ole666
(@ole666)
Active Member
Joined: 12 months ago
 
Posted by: philw

Success here too !

iMac 5K Late 2014, Sonnet EGFX, 10.13.4, AMD RX580.

Happy to pop a GTX 970 in there once we feel Nvidia-ness can work 🙂

Amazing work guys - I was almost ready to buy a TB3 iMac... so that in itself is worth a donation for your hard work?

 

Hi philw,
how did you connect the egpu to your iMac? Do you have a second external monitor? In the past, I connected the egpu to my iMac using a TB3 to TB2 adapter, then connected an HDMI cable from the egpu to my external monitor. I set the external monitor as the main monitor, then I could use the egpu. The iMac doesn't start with purge wrangler, on the second monitor I see the wallpaper, but I can't log in. Thanks for your help!

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


ReplyQuote
(@rick_smith)
New Member
Joined: 2 years ago
 

Worked!  Upgraded to 10.13.6 on a MacPro6,1.  The trashcan has a little more life left in it.   Recognizes my Radeon Vega Frontier Edition as an External GPU.  Using a Sonnet eGFX 550 with the bigger PU unit.  My Compute score Geekbench 4 was 172393 (Compute API: Metal).  Connecting the eGPU with a USB-C to thunderbolt 2 adaptor to the MacPro.

Thanks for everyone's work on this board.  Invaluable resource for someone who doesn't do a lot of tinkering / or computer building.

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


ReplyQuote
(@yasushi_ikeda)
New Member
Joined: 1 year ago
 

Hello everyone, I’m newbie here!

Thank you so much for the game changing script!

 

I’ve had a slight issue regarding the recognition of Graphics.

 

My environment is:

MacBook Pro(late-2016) HighSierra 10.13.6 + Razer Core X + GTX970

 

I just installed and executed Purge-wrangler and it’s done nicely, no errors.

My MacBook recognize GTX970 and my second display started working.

Then I did Geekbench4. Score looks way better than onboard CPU.

OpenCL score has been improved from 13738 to 88755( Intel Iris 550 to GTX970)

 

However, when I check About This Mac > Overview, Graphics is still Intel Iris Graphics 550.

 

I mean, my GTX970 seems functioning properly in my MacBook though, the text of Graphics doesn’t change.

Do you guys have any idea to fix this?

It’s not a huge problem for me as eGPU is already working but I just want to know why.

 

Thanks in advance!

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


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

@yasushi_ikeda read troubleshooting guide about this Mac section.

purge-wrangler.shpurge-nvda.shset-eGPU.shautomate-eGPU EFI Installer
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife

Multiple Build Guides
----
Current: MacBook Pro RP560X + 480/R9 Fury/Vega 64 | GTX 780/1070
Previous: 2014 MacBook Pro 750M + 480/R9 Fury | GTX 780/980 Ti/1070


ReplyQuote
(@yasushi_ikeda)
New Member
Joined: 1 year ago
 

@mac_editor thank you for your quick response and im sorry for bothering with this. I should of read the guide first. The problem was all solved 🙂

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


ReplyQuote
 of  38