Share:

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

  RSS

i0ntempest
(@i0ntempest)
Trusted Member
Joined: 2 years ago
Posts: 57
February 21, 2019 6:07 am  

The gap between .3 and .6 may be small but between 10.13 and 10.14 it's kinda huge, as I have one Mac falling back and another on the bleeding edge beta. It's sad to leave NV side but I might start planning to switch to AMD soon¯\_(ツ)_/¯.

Setup 1: Apple iMac 2017 21.5” 4K + eGPU
dGPU: AMD Radeon Pro 560
eGPU: ASUS Strix AMD Radeon Vega 56 via Thunderbolt 3 (AKiTiO Node)
Setup 2: Apple Mac mini 2018 + eGPU
iGPU: Intel UHD Graphics 630
eGPU: AMD Radeon RX 570 MXM via Thunderbolt 3 (Sonnet Breakaway Puck)


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

ReplyQuote
i0ntempest
(@i0ntempest)
Trusted Member
Joined: 2 years ago
Posts: 57
February 21, 2019 6:53 am  

Yeah, apart from losing CUDA though. That's the why I don't want to use AMD cards lol.

Setup 1: Apple iMac 2017 21.5” 4K + eGPU
dGPU: AMD Radeon Pro 560
eGPU: ASUS Strix AMD Radeon Vega 56 via Thunderbolt 3 (AKiTiO Node)
Setup 2: Apple Mac mini 2018 + eGPU
iGPU: Intel UHD Graphics 630
eGPU: AMD Radeon RX 570 MXM via Thunderbolt 3 (Sonnet Breakaway Puck)


ReplyQuote
baggio89
(@baggio89)
Active Member
Joined: 1 month ago
Posts: 5
February 21, 2019 4:42 pm  

@mac_editor first attempt on 3.0.4. is successful 🙂 no workaround used!
The reboot feature is great! already missed it in 3.0.3 

I will test this more extensively and report back here.
If there is anything specific you'd like me to test, let me know! 

 

 

 

 

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


ReplyQuote
lqd
 lqd
(@lqd)
Eminent Member
Joined: 11 months ago
Posts: 31
February 21, 2019 7:40 pm  

@mac_editor
Hi master! (Or anybody who have experience 🙂 I have a specific question, maybe you could help. I am running  well on 10.13.6 on iMac Pro via Sonnet Breakaway with GTX 1080ti. My question is about Octane renderer which is a realtime render preview plugin in Cinema 4D 3D software. When I start work with, everything works with no problem, but after some time  (15-30 minutes) with more difficulty scene, the preview plugin starts to be laggy. It's not about the complexity of the scene because when I restart software and reloading scene, there's no problem again, until the next 10-30 minutes elapsed. The same thing was caused on my previous iMac too, and there is absolutely no problem with the same scene on Windows, where it can running how many time I want.. It looks like something gobble my VRAM or it is overcached or ...I don't know. I tried to change GPU with no result. Or can be the issue in Sonnets boxes? Do you have any idea, what could cause that? 🙂
Thanks

This post was modified 4 weeks ago

#iMac Pro #Sonnet Breakaway #Quadro P5000+GTX 1080Ti #High Sierra 10.3.6.


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
Posts: 1907
February 21, 2019 8:45 pm  

@baggio89 Thanks for the report 🙂

@lqd Funny but I'm certainly no master and just your neighborhood student haha 🙂 IMO seems like a bug with the software. Can you reproduce similar decreased performance for a long-run benchmark (say Unigine Valley)? Perhaps try different versions of the Octane Renderer. During the issue, I would closely monitor eGPU use and see any out-of-place/odd behavior.

 

purge-wrangler.shpurge-nvda.shset-eGPU.shautomate-eGPU EFI Installer
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife
eGPU Hardware Chart
----
Multiple Build Guides


ReplyQuote
(@llamafilm)
Active Member
Joined: 8 months ago
Posts: 14
February 22, 2019 8:56 pm  

This script is very slick, it seemed to run flawlessly.  But after every reboot the screen is black.  Is this expected behavior?  I'm using 2x Radeon Vega 64 in Sonnet eGFX 650 boxes on a MacPro6,1 running 10.14.3.  I just used this script to enable AMD on TB2.  If I boot with the Sonnets unplugged with the monitor on internal HDMI then it works, and I can hotplug the Sonnets and move the HDMI cable.  I would prefer to connect the display to eGPU for faster renders.
I used version 5.1.2.  SIP and FileVault are disabled.

This post was modified 4 weeks ago

Testing MacPro6,1 with Vega64 in Sonnet eGFX on Mojave


ReplyQuote
theitsage
(@itsage)
Famed Member Admin
Joined: 2 years ago
Posts: 3676
February 22, 2019 9:10 pm  

@llamafilm Which Thunderbolt ports do you have the eGPUs connected to? Port #5 and #6 (bottom two) are the only ones that don't interfere with booting process in the Mac Pro 6,1.

Best ultrabooks for eGPU use

eGPU enclosure buying guide

94 external GPU build guides


ReplyQuote
(@llamafilm)
Active Member
Joined: 8 months ago
Posts: 14
February 22, 2019 9:14 pm  

Thanks for that.  I have them connected to the top ports so each GPU has its own bus.  I also have a third TB enclosure on port 5 for other cards (Blackmagic and Atto).  Is there any workaround for this?  I could put one GPU on port 5, but if I put both on the same bus that will surely choke bandwidth.

Update:  I can boot with one GPU connected to either port 5 or 6.  But if I connect both GPUs to ports 5 and 6 it won't boot.

This post was modified 4 weeks ago

Testing MacPro6,1 with Vega64 in Sonnet eGFX on Mojave


ReplyQuote
(@alex_dubinin)
Eminent Member
Joined: 3 weeks ago
Posts: 23
February 27, 2019 8:32 am  

Hello everyone!

I have a 13" MacbookPro (mid-2014 Retina) with Mojave 10.14.3 on it. I have typed the "csrutil disable" command in recovery mode and then applied the TB1/TB2 Purge script, enabled AMD and Ti82 thing. Unfortunately, my Macbook still cannot detect my Radeon RX 580 in a Akitio Thunder 2 enclosure. 
Previously I connected the same build to my old 13" Macbook Pro (2011), and eventually it worked, even though it was lagging and crashed every once and a while – but that's a different story.

I am trying to figure out what's wrong and what should I do to make my MBP finally detect my eGPU build, but I am still struglling.

The system does detect the Akitio Thunder 2 in the System report/Thunderbolt tab though. It's just that it can't see the Radeon RX 580.

Any help or recommendation would be highly appreciated!

Thanks in advance.

P.S. I made a post about my issue, but since there's so many views here I decided to post here as well. I really hope someone can help. 

This post was modified 3 weeks ago

Radeon RX 580 & Akitio Thunder2
Macbook Pro 13" Retina mid-2014, Mojave 10.14.3)


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
Posts: 1907
February 27, 2019 9:10 am  

@alex_dubinin I presume the hardware is set up such that the GPU has enough power? Because by default, the thunder2 cannot power an RX580.

purge-wrangler.shpurge-nvda.shset-eGPU.shautomate-eGPU EFI Installer
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife
eGPU Hardware Chart
----
Multiple Build Guides


ReplyQuote
(@alex_dubinin)
Eminent Member
Joined: 3 weeks ago
Posts: 23
February 27, 2019 9:14 am  

Of course. It is powered by a 500w PSU. This build worked with my previous macbook pro 2011 13”, although slowly and with crashes. The point is, my 2011 13” MBP detected the eGPU, but this MBP Retina 2014 13” with Mojave does not.

Radeon RX 580 & Akitio Thunder2
Macbook Pro 13" Retina mid-2014, Mojave 10.14.3)


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
Posts: 1907
February 27, 2019 9:19 am  

@alex_dubinin Thanks for the clarification. The crashes may indicate a potential issue with the eGPU (I had similar symptoms on a failing RX 580 - replacement resolved the problem). Even if the GPU was detected on an older Mac (on an older OS), it may not be on newer macOS builds (perhaps to prevent crashes, etc.). I suggest trying a different unit. There’s not much else to diagnose since the patch is actually really trivial.

purge-wrangler.shpurge-nvda.shset-eGPU.shautomate-eGPU EFI Installer
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife
eGPU Hardware Chart
----
Multiple Build Guides


ReplyQuote
(@alex_dubinin)
Eminent Member
Joined: 3 weeks ago
Posts: 23
February 27, 2019 9:21 am  

Trying a different unit as in replace mine with a new one? Or choose an entirely different model?

This post was modified 3 weeks ago

Radeon RX 580 & Akitio Thunder2
Macbook Pro 13" Retina mid-2014, Mojave 10.14.3)


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
Posts: 1907
February 27, 2019 9:43 am  

@alex_dubinin sorry for not clarifying, meant the GPU. Mac is likely all ok. You may try an NVRAM/SMC reset and re-disable SIP just in case.

purge-wrangler.shpurge-nvda.shset-eGPU.shautomate-eGPU EFI Installer
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife
eGPU Hardware Chart
----
Multiple Build Guides


ReplyQuote
(@alex_dubinin)
Eminent Member
Joined: 3 weeks ago
Posts: 23
February 27, 2019 9:45 am  

Thank you so much, @mac_editor. Feeling grateful and honored that you personally helped me out. Will definitely update on my case later!

This post was modified 3 weeks ago

Radeon RX 580 & Akitio Thunder2
Macbook Pro 13" Retina mid-2014, Mojave 10.14.3)


ReplyQuote
(@alex_dubinin)
Eminent Member
Joined: 3 weeks ago
Posts: 23
February 27, 2019 5:59 pm  

I reinserted the power pins from my 500W PSU into the Radeon RX 580 and, to my surprise, the coolers started working. The Macbook immediately recognized it, the chip icon appeared on top. 
As soon as I turned on a game (World of Warcraft), it started glitching and going all crazy, so I unplugged it. When I inserted the HDMI from my external screen into the Radeon RX580 and gave it another try, it started glitching like a second after I turned the game on and the screen turned all grayish-white. After several seconds it crashed. Now my macbook pro has been booting for like several minutes already (apple logo on black background). Needless to say the card is jot working as it’s supposed to regardless of what I’m doing, I can see how the image is lagging even when browsing a Finder window.

Sounds like I definitely need to replace the RX 580? Maybe I should try another model? Or it’s probably just this exact unit, and I should just get a replacement?

Looking forward to your opinion. Thanks in advance.

This post was modified 3 weeks ago

Radeon RX 580 & Akitio Thunder2
Macbook Pro 13" Retina mid-2014, Mojave 10.14.3)


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
Posts: 1907
February 27, 2019 7:33 pm  

@alex_dubinin From your other thread, I realized you are separately powering your GPU and enclosure. Before replacing the GPU, please try @itsage's suggestion (barrel plug modification) and report back.

purge-wrangler.shpurge-nvda.shset-eGPU.shautomate-eGPU EFI Installer
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife
eGPU Hardware Chart
----
Multiple Build Guides


ReplyQuote
timothyov
(@timothyov)
Eminent Member
Joined: 2 years ago
Posts: 29
February 28, 2019 12:01 am  

I am not clear on what combinations this script supports. Does this support Mojave 10.14.3 and Nvidia eGPU + Mid 2015 MBP (TB2) with AMD dGPU?

This post was modified 3 weeks ago

Mid 2015 MBP w/ Radeon R9 M370X
Nvidia GTX 1070
Akitio Node


ReplyQuote
philw
(@philw)
Trusted Member
Joined: 2 years ago
Posts: 73
February 28, 2019 7:41 am  
@tomothyov no Nvidia support in Mojave unfortunately... no drivers available 😪

Given up on all my Macs...but successfully running: Gigabyte Designare Z390, Core i9-9900K, 64GB RAM, 2x Internal GTX 1080TI, 2x GTX 1070 eGPU (Sonnet eGFX)


ReplyQuote
(@yiming_shen)
New Member
Joined: 3 months ago
Posts: 3
February 28, 2019 2:50 pm  

Just be prompted by a new Nvidia web driver 287.10.10.10.40.122 update, of cause I smash the upgrade button!
And now my high sierra 10.13.6 cannot recognize my gtx1060 inside Akitio Thunder2 box. (Runs flawlessly in the previous driver) and my secondary monitor is black.
What shall I do now?

13inch macbook pro mid 2014
Akitio Thunder 2 with Nvidia GTX 1060 ITX
macOS High Sierra 10.13.6


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
Posts: 1907
February 28, 2019 2:52 pm  

@yiming_shen Redo the patch. Please add your system config. to your signature. Don't know your config. so hard to find context.

purge-wrangler.shpurge-nvda.shset-eGPU.shautomate-eGPU EFI Installer
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife
eGPU Hardware Chart
----
Multiple Build Guides


ReplyQuote
(@yiming_shen)
New Member
Joined: 3 months ago
Posts: 3
February 28, 2019 3:01 pm  
Posted by: Yiming Shen

Just be prompted by a new Nvidia web driver 287.10.10.10.40.122 update, of cause I smash the upgrade button!
And now my high sierra 10.13.6 cannot recognize my gtx1060 inside Akitio Thunder2 box. (Runs flawlessly in the previous driver) and my secondary monitor is black.
What shall I do now?

Good news for those facing the same problem: I just `purge-wrangler` then uninstall - reboot - install nvidia, everything back to normal now.

13inch macbook pro mid 2014
Akitio Thunder 2 with Nvidia GTX 1060 ITX
macOS High Sierra 10.13.6


ReplyQuote
(@yiming_shen)
New Member
Joined: 3 months ago
Posts: 3
February 28, 2019 3:03 pm  

@mac_editor thanks for the quick reply! Problem solved by reinstall the patch. Great work!

13inch macbook pro mid 2014
Akitio Thunder 2 with Nvidia GTX 1060 ITX
macOS High Sierra 10.13.6


ReplyQuote
(@alex_dubinin)
Eminent Member
Joined: 3 weeks ago
Posts: 23
February 28, 2019 6:36 pm  

@mac_editor So I got myself that barrel plug thing and connected Akitio to the PSU as well. The enclosure turned on without problems, but the graphic card still does not turn on, and, obviously, isn't detected either. I don't know what to do now, kinda frustrated, but still too hyped to make it all work together. Maybe I really should replace that Radeon RX580 and see if it works on another computer?....

Radeon RX 580 & Akitio Thunder2
Macbook Pro 13" Retina mid-2014, Mojave 10.14.3)


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
Posts: 1907
March 1, 2019 1:16 am  

@alex_dubinin Initial diagnosis was likely correct then. Try replacing the GPU.

purge-wrangler.shpurge-nvda.shset-eGPU.shautomate-eGPU EFI Installer
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife
eGPU Hardware Chart
----
Multiple Build Guides


ReplyQuote
kataplof
(@kataplof)
New Member
Joined: 1 month ago
Posts: 4
March 3, 2019 6:44 pm  

Sorry for waiting to answer the solution you gave me. Finally I installed High Sierra and with the purge-wrangler script I installed it correctly and although it gave me the black screen, if I connected the eGPU when it came out the user screen and password could work.

I spent a few days doing tests before wanting to answer that everything was OK, however, this weekend I showed a new update, the 122 that by mistake update and the octane of the cinema 4D I stop working.

From what I have seen above, this has also happened to other people who have indicated that using the purge-wrangler script to uninstall, restart and reinstall them worked, however, in my case it is not, since the launching the purge-wrangler retrieves the most recent version of the webdriver and therefore I downloaded the 122.

Looking at the script, I saw that I accessed the URL https://gfe.nvidia.com/mac-update and try to see there if I could find the previous version to download it and install that in particular, however, in the list that returns , for the 17G5019 that would be my case, there is only one record that references 122.

https://images.nvidia.com/mac/pkg/387/WebDriver-387.10.10.10.40.122.pkg
17G5019

Could someone tell me if the solution is to download the previous webdrivers? If so, where can I download them?

Is there another possible solution?

Thank you

iMac (Retina 5K, 27 inches, 2017)
macOS High Sierra 10.13.6
Processor 3.8 GHz i5
Graphics Radeon Pro 580 8192 MB
Nvidia Geforce GTX 1080 - Aorus gaming box


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
Posts: 1907
March 3, 2019 6:46 pm  

@kataplof Install the NVIDIA Web first manually from their website or using a different script if you need a prior version. If purge-wrangler detects an already present web driver, it should not bug you to download one. This script downloads the web driver NVIDIA deems compatible with the build of macOS it is running on. If not, it offers to patch the driver.

This post was modified 3 weeks ago

purge-wrangler.shpurge-nvda.shset-eGPU.shautomate-eGPU EFI Installer
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife
eGPU Hardware Chart
----
Multiple Build Guides


ReplyQuote
(@alex_dubinin)
Eminent Member
Joined: 3 weeks ago
Posts: 23
March 4, 2019 10:43 am  

@mac_editor I checked my RX580 at the shop where I bought it, everything's fine with it.
When I came back, however, I found out that my PSU is actually 450w, not 500w. That's probably the reason why it's not working correctly.

Radeon RX 580 & Akitio Thunder2
Macbook Pro 13" Retina mid-2014, Mojave 10.14.3)


ReplyQuote
(@alex_dubinin)
Eminent Member
Joined: 3 weeks ago
Posts: 23
March 5, 2019 5:08 pm  

I got myself a brand new Aerocool VX Plus 650W. Unfortunately, nothing changed. The Radeon RX580 simply doesn't turn on. I am frustrated, yet as determined as ever to solve the problem. Any ideas on what the solution could be?

Radeon RX 580 & Akitio Thunder2
Macbook Pro 13" Retina mid-2014, Mojave 10.14.3)


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
Posts: 1907
March 5, 2019 5:28 pm  

@alex_dubinin I'm not sure. The invariants here are that the GPU works, the patch works (can be verified from Status in script menu and the fact that it crashes the system with potential bad hardware), and the PSU is ok. So the remaining factors are the box itself, any PCIe risers (if used), thunderbolt cable, and assuming that the setup is powered correctly as intended.

This post was modified 2 weeks ago

purge-wrangler.shpurge-nvda.shset-eGPU.shautomate-eGPU EFI Installer
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife
eGPU Hardware Chart
----
Multiple Build Guides


ReplyQuote
(@alex_dubinin)
Eminent Member
Joined: 3 weeks ago
Posts: 23
March 5, 2019 5:44 pm  

@mac_editor Is it possible that something's wrong the cable or the box, if my Mac can clearly detect my Akitio Thunder2 in the System Report->Thunderbolt directory?

Radeon RX 580 & Akitio Thunder2
Macbook Pro 13" Retina mid-2014, Mojave 10.14.3)


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
Posts: 1907
March 5, 2019 6:30 pm  

@alex_dubinin can’t say. Detection isn’t the same as “is use” if you know what I mean. The simplest debugging technique would be swapping out each part to see where the fault is. Or if you can, try on a different Mac and see if it works there.

purge-wrangler.shpurge-nvda.shset-eGPU.shautomate-eGPU EFI Installer
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife
eGPU Hardware Chart
----
Multiple Build Guides


ReplyQuote
(@alex_dubinin)
Eminent Member
Joined: 3 weeks ago
Posts: 23
March 5, 2019 6:49 pm  

Funny thing is it sort of worked on my previous MacbookPro 2011, but it would restart within 30 seconds of using the RX580. On this MacBookPro 2014 it did see the RX580 once but then it crashed so badly my Mac got into a vicious reboot loop, and ultimately I had to clean-reinstall Mojave on it. 
The Akitio Thunder2 is not a new one, but a used unit. Supposedly it worked with the previous user's setup – coupled with a GTX 1050 TI.
Do you reckon I should try getting another enclosure?...

Radeon RX 580 & Akitio Thunder2
Macbook Pro 13" Retina mid-2014, Mojave 10.14.3)


ReplyQuote
(@alex_dubinin)
Eminent Member
Joined: 3 weeks ago
Posts: 23
March 11, 2019 1:12 pm  

@mac_editor I was watching a video where a guy explained thoroughly how he connected a radeon rx480 to his akitio thunder 2 and saw something interesting. Instead of connecting the card via PCIe to the Akitio Thunder2, he used an extender and soldered it so that it would get extra energy from the PSU. My question is... should I do the same? Maybe the reason why my setup doesn’t work is because the Akitio Thunder2 doesn’t have enough power from the barrel-plug adapter in order to give enough power to the GPU via the PCIe slot?....

Radeon RX 580 & Akitio Thunder2
Macbook Pro 13" Retina mid-2014, Mojave 10.14.3)


ReplyQuote
Sakisarch
(@sakisarch)
New Member
Joined: 3 weeks ago
Posts: 3
March 11, 2019 1:24 pm  

Hello, i would like to know if this built should work, 
mbp mid 2015 + amd r9 m370x 

sonnet egfx breakaway 550 
gtx 1070 ti
tb3 to tb2
tb2 2m 
and a 4k monitor.
there is any problem to connect an ips 4k 60hz monitor with this set up or is better an ips 1440p 144hz monitor for better fps.
the main usage is 3d rendering and live renders! 
thank you 

MacBook Pro 15inch mid-15 Amd R9-m370X


ReplyQuote