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

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

 of  40
  RSS

mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 3 years ago

ricc liked
ReplyQuote
natemac00
(@natemac00)
Eminent Member
Joined: 3 years ago
 
Posted by: ricc

This makes no sense to me. CUDA clearly only brings benefits to a portion of Mac users - and no drawbacks to everyone else, so what's the point of not wanting to support it?

Of course the lack of clarity is really bad.

I'm part of that portion, my work is depended on 3D Rendering which uses it's backbone in CUDA. I'm hoping that will change soon, but till then...

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


ricc liked
ReplyQuote
lqd
 lqd
(@lqd)
Eminent Member
Joined: 2 years ago
 

Hi guys! Is it safe (for nVidias) to install that 10.13.6. security update?

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


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

lqd liked
ReplyQuote
jangoloti
(@jangoloti)
Trusted Member
Joined: 11 months ago
 

Dear all

I have received the Galax/KFA2 eGPU (1060 6 gb) and tried to make it work with the instructions in this guide. I have a MacBook Pro 2016 15" with TB running Mac OS 10.13.6, and an Apple Cinema Display 23".

Connecting the eGPU directly to the MBP it was recognised normally in the Thunderbolt section of the system Report. The Display section did not show anything though, as it is expected.

I then installed the Nvidia web drivers with the script from Benjamin Dobell. They installed OK, with an icon on the menu bar, but the display section in the System Report was still not showing the new card. When disconnecting the Thunderbolt cable the OS did warn me I should disconnect the GPU after shutting it down, so it had somehow recognised it.

I then tried to use the script purge-wrangler: It did work and the 1060 card was fully recognised in the system report, both displays were used normally (MBP and Cinema Display)... However the Mac was very slow, with seconds of wait after each selection with the mouse*.

I recovered the system, uninstalled the drivers with the Nvidia uninstaller (in case I had installed them twice) and reapplied purge-wrangler, reinstalling the drivers. The result was the same as before, very slow system. After recovering the system and deleting the drivers I think the GPU was still warning when I hot-unplugged it, now that I think of it.

Any idea of what could I try next time? Was it the TI82 option I selected? 

Regards,

JA

*EDIT: It seemed like if there was only one GPU working at that time from the three installed (Intel HD/Radeon 450/NVidia 1060), since the sloppiness of the system was so big AND the eGPUs fans were idling all the time.

Mac Mini 2012 and 2018 i7, Mac book Pro 2016 15" with TB, eGPU Galax/KFA2


ReplyQuote
Monotone
(@monotone)
Active Member
Joined: 11 months ago
 

I've got an issue whereas whenever I run this script it never patches the Thunderbolt. I'm checking the patch status and it still reads as unlatched — I'm thinking this is why my Sonnet box won't boot up? Any ideas?

MacBook Pro (Retina, 15-inch, Mid 2014)
2.5 GHz Intel Core i7
NVIDIA GeForce GTX 1080 8191 MB (Sonnet EGFX 550)
NVIDIA GeForce 750M
Intel Iris Pro 1536 MB
10.13.6

Purge-Wrangler


ReplyQuote
philw
(@philw)
Trusted Member
Joined: 3 years ago
 

@Monotone What Mac / OS / GPU ?

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
Monotone
(@monotone)
Active Member
Joined: 11 months ago
 

Hi Phil!

I'm on a Mid 2014 MBP (with a 750m) 
MacOS 10.13.5
Gigabyte Geforce GTX 1080 8gb

MacBook Pro (Retina, 15-inch, Mid 2014)
2.5 GHz Intel Core i7
NVIDIA GeForce GTX 1080 8191 MB (Sonnet EGFX 550)
NVIDIA GeForce 750M
Intel Iris Pro 1536 MB
10.13.6

Purge-Wrangler


ReplyQuote
philw
(@philw)
Trusted Member
Joined: 3 years ago
 

🙂 Thanks. Not saying that its the definitive reply/status, but I have that exact machine and I gave up on it for eGPU, with Sonnet eGFX with a 1070. The built in 750M makes it a tricky setup...

But I did always get the patch to enable and Sonnet light to come on...

What eGFX model is it?

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
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 3 years ago
 

@jangoloti It's due to the AMD/NVIDIA conflict that you see lag. Hotplug + logout/login may solve it, or otherwise you may need some additional steps (search the forums).

@monotone When you patch for NVIDIA, thunderbolt checks are automatically bypassed so that status isn't updated (it's for AMD). For your system specifically:

https://egpu.io/forums/builds/mid-2014-macbook-pro-gt750m-gtx107016gbps-tb2-aorus-gaming-box-macos-10-13-6-mac_editor/

purge-wrangler.shpurge-nvda.shset-eGPU.shautomate-eGPU EFI Installer
2018 MacBook Pro 15" RP560X + Vega 64 (Mantiz Venus MZ-02)


ReplyQuote
(@ricardo_figueira)
Active Member
Joined: 11 months ago
 

I have one MacBook Air 13’’ (2013) and my graphics card Intel HD Graphics 5000 1536 MB doesn’t work with Blender (driver bug). Ok, I have to Render with my CPU that have low performers. Because of that, I have bought one eGPU:

eGFX Breakaway Puck Radeon RX 570
https://www.sonnettech.com/product/egfx-breakaway-puck.html

After using the script it works for me  🙂 ... but I have problems using the Blender app!!
With eGPU is more slower… slow … slow … slow

I am very frustrating!!!
Please see my other post here (is waiting for admin to approve) :
Blender Cycles Render using AMD Radeon RX570

Do I have to do more any steps... or deactivate any option ?
Many thanks,
Ricardo Figueira

Macbook Air (1,3 GHz Intel Core i5 mid-2013) | Memory: 8GB, High Sierra | eGFX Breakaway Puck Radeon RX 570


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

@ricardo_figueira I'm not familiar with Blender. Could you add your config. details in your profile signature including macOS version? Makes it easy to refer to later.

If on Mojave, try using the Prefer External GPU option (look it up if needed). For High Sierra try set-eGPU.sh. You can monitor GPU use using Activity Monitor > CMD+4.

There was some discussion here:  https://egpu.io/forums/pro-applications/amd-rx-vega-56-64-for-blender-and-adobe-apps/

See the newer posts there.

purge-wrangler.shpurge-nvda.shset-eGPU.shautomate-eGPU EFI Installer
2018 MacBook Pro 15" RP560X + Vega 64 (Mantiz Venus MZ-02)


ReplyQuote
(@ricardo_figueira)
Active Member
Joined: 11 months ago
 

Hi @mac_editor, thanks for the reply.

I have updated my signature and also I have already run the set-eGPU.sh script. For what I have found Blender doesn't work very well with AMD cards 🙁

Macbook Air (1,3 GHz Intel Core i5 mid-2013) | Memory: 8GB, High Sierra | eGFX Breakaway Puck Radeon RX 570


ReplyQuote
hifihuang
(@hifihuang)
New Member
Joined: 11 months ago
 

thx for sharing

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


ReplyQuote
churchryn
(@churchryn)
Active Member
Joined: 11 months ago
 

Thank you so much for this! I have a 2018 15" MBP running MacOS 10.13.6. My eGPU setup is a Razer Core X with a GTX 1080. After running the script whenever I plug in my eGPU it connects and works without issue. I am even able to use the eGPU to accelerate apps using my internal Macbook Display! I did have to get a dummy Displayport and mirror the screens, but it looks perfect.

15" 2018 MBP. MacOS 10.13.6. Razer Core X. EVGA GTX 1080 FTW.


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

@churchryn You can alternatively try set-eGPU.sh on High Sierra to accelerate apps on the internal display. This may eliminate the need for the dummy DisplayPort adapter.

purge-wrangler.shpurge-nvda.shset-eGPU.shautomate-eGPU EFI Installer
2018 MacBook Pro 15" RP560X + Vega 64 (Mantiz Venus MZ-02)


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

All documentation for the script has moved to Github, and is now nearly complete. Hopefully this more organized document better helps users.

purge-wrangler.shpurge-nvda.shset-eGPU.shautomate-eGPU EFI Installer
2018 MacBook Pro 15" RP560X + Vega 64 (Mantiz Venus MZ-02)


PsyPryss liked
ReplyQuote
Monotone
(@monotone)
Active Member
Joined: 11 months ago
 
Posted by: mac_editor

@jangoloti It's due to the AMD/NVIDIA conflict that you see lag. Hotplug + logout/login may solve it, or otherwise you may need some additional steps (search the forums).

@monotone When you patch for NVIDIA, thunderbolt checks are automatically bypassed so that status isn't updated (it's for AMD). For your system specifically:

https://egpu.io/forums/builds/mid-2014-macbook-pro-gt750m-gtx107016gbps-tb2-aorus-gaming-box-macos-10-13-6-mac_editor/

@mac_editor — thanks for the reply. Followed the steps in your build guide. Excuse my ignorance in all this, I'm still not seeing anything in terms of booting up from my Sonnet box.

So for a sanity check: Got my Sonnet plugged into a TB2 display port with the TB3 → 2 converter from Apple. Then from the back of the 1080 I have a HDMI to an external monitor. Installed both of your scripts (thank you) with option 2 to install the web drivers and then to disable my internal 750m. 

Restart my Mac and wait until I see the loading bar. I plug in and get nothing? Egpu is essentially off. Any ideas?

Really want to get this to work rather than build a PC around this 1080!  😳

MacBook Pro (Retina, 15-inch, Mid 2014)
2.5 GHz Intel Core i7
NVIDIA GeForce GTX 1080 8191 MB (Sonnet EGFX 550)
NVIDIA GeForce 750M
Intel Iris Pro 1536 MB
10.13.6

Purge-Wrangler


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

@monotone You mean no blue light on Sonnet box at all (assuming everything is powered up and set up correctly)? That’s odd. Ideally the box should light up. Alternatively try hot-plugging eGPU after complete boot, then log out (internal display will go black so set external as main display or log back in blind).

purge-wrangler.shpurge-nvda.shset-eGPU.shautomate-eGPU EFI Installer
2018 MacBook Pro 15" RP560X + Vega 64 (Mantiz Venus MZ-02)


Monotone liked
ReplyQuote
michima
(@michima)
New Member
Joined: 11 months ago
 

Hello,

Thank you @mac_editor for your work.

I just tried `purge-wrangler` on macOS Mojave 10.14.1 using GTX 970.

I was able to have the card detected after install (sip disabled + Ti82 patched).
I was also able to install Nvidia Cuda Driver and get the GTX 970 CUDA cores detected.

I have the following config:
macOS Mojave 10.14.1
MBP Mid 2015, i7 2.6 GHz, 16 GB RAM, AMD Radeon R9 M370X 2048 MB
eGPU : ASUS XG Station, GTX 970,1060,2080
Thunderbolt 3 (USB-C) to Thunderbolt 2 Adapter

Link to NVIDIA CUDA 410.130 FOR MACOS RELEASE
Version: 410.130 Release Date: 2018.09.19
- https://www.nvidia.com/object/macosx-cuda-410.130-driver.html

Thunderbolt 3 (USB-C) to Thunderbolt 2 Adapter:
https://www.apple.com/shop/product/MMEL2AM/A/thunderbolt-3-usb-c-to-thunderbolt-2-adapter

XG Station Pro Thunderbolt 3(stock bios):
https://www.asus.com/us/Graphics-Cards-Accessories/XG-STATION-PRO/

Testing results:
- At first boot I had the eGPU plugged and login into macOS failed/freezed (know issue).
- After reboot and hot-pluging the eGPU, I had to logout once more to get GPU properly recognized (know issue).
- Despite logout, the screen stays black on the external GPU ports (tried all 3 ports display ports and 1 HDMI)

Feedback:
So far it works are expected besides the persistent black screen since Nvidia WebDriver is not available caused by macOS Mojave 10.14+ to my understanding. I have Un-installed for now and will keep an eye on nVidia WebDriver release and this thread.

I have also a GTX 1060 and a RTX 2080 I can test, I don't expect it change anything unless missed something, still depend on Nvidia WebDriver update for Mojave to my understanding. 

@mac_editor Let me know if you want me to run a new version of your script on the same Mojave config.
If I need CUDA core I may re-install and confirm CUDA cores performance and make a PR on github.com/mayankk2308/purge-wrangler for CUDA driver install in the menu if works. 

Thank you again.
I think we just need Mojave support and should be good.

macOS Mojave 10.14.1
MBP Mid 2015, i7 2.6 GHz, 16 GB RAM, AMD Radeon R9 M370X 2048 MB
Thunderbolt 2 to Thunderbolt 3 (USB-C) Adapter
eGPU : ASUS XG Station, GTX 970,1060,2080


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

@michima As you correctly surmise, only web drivers from NVIDIA are needed for full functionality on Mojave. Patch seems to work fine. CUDA installation could be a nice idea. Maybe as an additional question to the NVIDIA patch and web driver install. Seems like the script has become much more than I had initially intended it to be 😉

purge-wrangler.shpurge-nvda.shset-eGPU.shautomate-eGPU EFI Installer
2018 MacBook Pro 15" RP560X + Vega 64 (Mantiz Venus MZ-02)


ReplyQuote
Monotone
(@monotone)
Active Member
Joined: 11 months ago
 

@mac_editor So great news — all working fine and up and running. 😎  

I was losing patience with it all (all on my side your scripts work a treat!) — turns out it was a bad thunderbolt 2 cable after all this! 

Thanks to your build guide and the timed plugging I have my 1080GTX working on my MacBook mid 2014. Now to get Octane running and I'll be sorted! 

MacBook Pro (Retina, 15-inch, Mid 2014)
2.5 GHz Intel Core i7
NVIDIA GeForce GTX 1080 8191 MB (Sonnet EGFX 550)
NVIDIA GeForce 750M
Intel Iris Pro 1536 MB
10.13.6

Purge-Wrangler


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

@monotone Great to hear! Please consider adding a build guide to the database sharing your experience at your convenience.

purge-wrangler.shpurge-nvda.shset-eGPU.shautomate-eGPU EFI Installer
2018 MacBook Pro 15" RP560X + Vega 64 (Mantiz Venus MZ-02)


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

@mac_editor @michima - am I correct in thinking if you're using NVIDIA GPUs purely for rendering with Mojave, i.e. I don't plug any external displays into them, I connect them to the machine and simply need them for GPU rendering (Octane, Redshift etc) then all I need is to get CUDA working and not necessarily the web drivers or have I misunderstood this?

2013 MacPro 2xD700 [email protected] (AKiTiO Thunder2) + macOS 10.13.3
2017 TB MBP 2xGTX1080Ti-TB3 (Akitio Node) + macOS 10.13.4


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

@imcalledandy Fully functional web drivers are required. If CUDA could work, then in the same way OpenCL would too, but that isn't the case. I would suggest staying on High Sierra until there is official support from NVIDIA for Mojave.

purge-wrangler.shpurge-nvda.shset-eGPU.shautomate-eGPU EFI Installer
2018 MacBook Pro 15" RP560X + Vega 64 (Mantiz Venus MZ-02)


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

Thanks @mac_editor.

Yes, I intend on doing that - I guess it will be a long wait, but hey, I'm also waiting for a new Mac Pro 😉

2013 MacPro 2xD700 [email protected] (AKiTiO Thunder2) + macOS 10.13.3
2017 TB MBP 2xGTX1080Ti-TB3 (Akitio Node) + macOS 10.13.4


ReplyQuote
(@marc_brown)
New Member
Joined: 11 months ago
 

Hi! Not sure if this is the appropriate place, but when I try to run the purge wrangler on my 2012 iMac mini I get a request for a password with a key symbol. Didn't see that in any instructions- is there a bug?

Thanks all!

HB

(LAte 2012 iMAc Mini, 16 gbRAM, saphire pulse Radeon RX580, Sonnet Breakaway Box)

2012 iMac Mini 2.5 Intel Core i5, 16 GB Intel HD Graphics 4000 - Saphire Pulse Radeon RX 580, Sonnet eGFX Breakaway Box 350 this my signature to give context to my posts


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

@marc_brown I shall update the instructions, thanks for bringing it up. That’s normal - administrator privileges are required to make changes to the system (password is not seen, saved, or sent anywhere by the script).

purge-wrangler.shpurge-nvda.shset-eGPU.shautomate-eGPU EFI Installer
2018 MacBook Pro 15" RP560X + Vega 64 (Mantiz Venus MZ-02)


ReplyQuote
(@marc_brown)
New Member
Joined: 11 months ago
 

Thanks!

2012 iMac Mini 2.5 Intel Core i5, 16 GB Intel HD Graphics 4000 - Saphire Pulse Radeon RX 580, Sonnet eGFX Breakaway Box 350 this my signature to give context to my posts


ReplyQuote
(@marc_brown)
New Member
Joined: 11 months ago
 

OK, I just understood your comment.  I went back to the terminal, re-ran purge-wrangler, and lo-it worked!

Thank you so much. 

HB

2012 iMac Mini 2.5 Intel Core i5, 16 GB Intel HD Graphics 4000 - Saphire Pulse Radeon RX 580, Sonnet eGFX Breakaway Box 350 this my signature to give context to my posts


ReplyQuote
lqd
 lqd
(@lqd)
Eminent Member
Joined: 2 years ago
 

I don't want to make a panic, but I'm starting to be sure, that no web driver for Mojave will come. It's been a long long time and I thing that Apple is definitive blocked this options for future. No one understand this steps, because Apple can't be lost on it. Obviously, this is a controversial policy between Nvidia and Apple. I personally need just the cursed CUDA cores to counting and rendering. We know, AMD will launch their new Navi-GPUs, which will be the answer to Nvidia's Turing cards, but when the developers will not make their architecture conversions to AMD stream processing (or how it's called), so it's useless. 🙁

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


ReplyQuote
michima
(@michima)
New Member
Joined: 11 months ago
 

Quick update on my tests on Mojave macOS 10.14.1 using Nvidia GTX 970.
Original post:  https://egpu.io/forums/mac-setup/script-enable-egpu-on-tb1-2-macs-on-macos-10-13-4/paged/30/#post-48448
 
@itsage on Twitter asked me about the CUDA cores and benchmarks results.
https://twitter.com/theitsage/status/1067445174001897475

Here is the purge-wrangler.sh result after re-installing webdriver (5) Enable Nvidia+Ti82 (2) and Reboot (11).
- System Information show the Nvidia GTX 970.
- Nvidia Driver installed and card detected.
- CUDA Driver installed and card detected.
- Geekbench 4.app do not start and freeze.
- LuxMark.app does not see the Nvidia GTX 970.
- CUDA-Z does not start.

Captures:
- System Information

- Nvidia Driver Version: 387.10.10.40.108

- CUDA Driver Version: 410.130

- Geekbench and CUDA-Z "not responding"

macOS Mojave 10.14.1
MBP Mid 2015, i7 2.6 GHz, 16 GB RAM, AMD Radeon R9 M370X 2048 MB
Thunderbolt 2 to Thunderbolt 3 (USB-C) Adapter
eGPU : ASUS XG Station, GTX 970,1060,2080


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

@michima Thank you for sharing the screen caps and details. This was my experience too when testing Purge-Wrangler prior to Mojave official release. The modded Nvidia web drivers can detect the eGPU correctly.However that was the extent of it as far as functionality goes. No applications could see or use the Nvidia eGPU in 10.14. We are stuck waiting on Apple and Nvidia to work this one out.

Best ultrabooks for eGPU use

eGPU enclosure buying guide


ReplyQuote
dotcommer
(@dotcommer)
Active Member
Joined: 2 years ago
 

Has anyone successfully used a 2080TI with their enclosure?  Interested in those extra features it has like the tensor cores.

13" mbp w/touch bar - OSX 10.13.5 - NVIDIA GTX1080 - Mantiz Venus eGPU


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

I'm interested this info too.

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


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

hey,
my set up: macbook pro 11,3  15" 2,6 i7, 16gig Ram, with intel Iris Pro and Nvidia gt 750m 
I use purge-nvda and purge-wrangler successfully with my akitio node and a AMD Radeon RX 480 and a Dell up2718Q 
everything is working absolutely fine, until I'm with my macbook out of my studio. When I use my macbook at home, without the patches, I have serious freeze problems ! 
It makes no difference if I have the patches installed or if I removed the patches when I go home... 
The freezes comes in strange cycles. Sometimes I can work, until I plug of the powercable, plug in another external monitor, or nothing,  or something else... after once, it sometimes freeze every two min after reboot. 
And today, it was not possible to work at home, I came into my studio, and bang it works great, like ever, without  freezing... 
OK, you could say, this is a sign, I have to stay in the studio and make music. But,... my family.... 

Is there anything, what I can do, or have to do, when I will use my system more stable without connected egpu ? 

Thanks for your work and help ! 😉 

frank

Macbook pro 11,3, Retina 15" Late 2013, 2,6 Ghz and 10.13.4 with NVIDIA GeForce GT 750M 2048 MB and Intel Iris Pro 1536 MB
Apple Thunderbolt 3 to 2 Adapter, Akitio Node and a Red Devil AMD Radeon RX 480


ReplyQuote
 of  40