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

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

 of  44
  RSS

(@georgios_lachanas)
Active Member
Joined: 2 years ago
 

here are a couple of screenshots in case anyone could help.
After 5 days of various and multiple attempts ,I still can't get to have my Nvidia card shown.Akitio node pro-1070ti (also tried 960)-apple TB3->2,apple TB2 cable,macbook pro mid2014 750m-hdmi from egpu
 to lg ultra wide monitor
Nvidia drivers and cuda, installed with SIP enabled and prior to running any scripts.

Screen Shot 2018 12 20 at 14.07.09
Screen Shot 2018 12 20 at 14.04.46
Screen Shot 2018 12 20 at 14.04.29
Screen Shot 2018 12 20 at 14.03.30
Screen Shot 2018 12 20 at 14.03.11
Screen Shot 2018 12 20 at 14.02.51
Screen Shot 2018 12 20 at 14.02.35
Screen Shot 2018 12 20 at 14.02.04
Screen Shot 2018 12 20 at 14.01.48

MBP 15" with Nvidia 750m (mid2014) + Razer Core X +Apple TB3 adapter+Apple TB2 cable+Nvidia 1070Ti 8gb+LG Ultrawide Monitor via HDMI ,MACOS 10.13.6 (17G4015),Web drivers 387.10.10.10.40.113, Cuda version 410.130


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

Hi folks!
Has anyone tried RTX 2080ti via eGPU on High Sierra? Is it fully functional?
(for me CUDA cores only needed for renderer 🙂

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


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

@lqd Likely there won’t be RTX drivers for High Sierra. When Nvidia releases web drivers for macOS (hopefully with RTX support), they will be 10.14.x and newer.

external graphics card builds
best laptops for external GPU
eGPU enclosure buyer's guide


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

@itsage Thanks! Then, I don't want to be skeptical, but it seems like never more. 🙄

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


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

I have Macbook Pro 15 2015 AMD M370X, 10.13.5, and  Akitio Node with eGPU is Nvidia 1060 6GB. After installed the script, my laptop can recognise the eGPU but the external monitor is always black (with the cursor).

I have tried multiple approaches suggested such as 
- Boot with eGPU plugged in
- After login, then hot-plug the eGPU, then logout and log in again, the Logout screen is completely black, I managed to blind type the password to login again, but then the internal and external monitors are both black. 
- Plug in the eGPU at login screen
- Deactive and Re-activate auto graphics switching 
- Disable AMD dGPU (change the nvram  https://egpu.io/forums/gpu-monitor-peripherals/tensorflow-gpu-1-8-with-macos-10-13-6-black-screen-problem/#post-48321)
- Plug the external monitor after plugging the enclosure

None of them works. Could anyone show me there any workaround I am missing?

Thank you very much

Macbook Pro 2015 15' AMD M370X, OSX 10.13.6, Akitio Node with Nvidia GTX 1060 6GB


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

Hi Again, I been running the whole thing for awhile. And one day my Mac unable to boot. So I quickly fixed it by running the recovery.  But every time I tried to re-run the script for purge wrangler. My Mac won’t boot!

MBP (retina, 15-inch,Early2013) ,2.7GHz Intel Core i7, 16GB 1600 MHz DDR3, Nvid GeForce GT 650M 1024MB, Intel HD Graphics 4000 1536 MB, (Currently trying to add EGPU Razer Core V2 + GeForce GTX1080)


ReplyQuote
quangquach
(@quangquach)
Active Member
Joined: 2 years ago
 
Posted by: quangquach

I have Macbook Pro 15 2015 AMD M370X, 10.13.5, and  Akitio Node with eGPU is Nvidia 1060 6GB. After installed the script, my laptop can recognise the eGPU but the external monitor is always black (with the cursor).

I have tried multiple approaches suggested such as 
- Boot with eGPU plugged in
- After login, then hot-plug the eGPU, then logout and log in again, the Logout screen is completely black, I managed to blind type the password to login again, but then the internal and external monitors are both black. 
- Plug in the eGPU at login screen
- Deactive and Re-activate auto graphics switching 
- Disable AMD dGPU (change the nvram  https://egpu.io/forums/gpu-monitor-peripherals/tensorflow-gpu-1-8-with-macos-10-13-6-black-screen-problem/#post-48321)
- Plug the external monitor after plugging the enclosure

None of them works. Could anyone show me there any workaround I am missing?

Thank you very much

I have upgraded my macOS to 10.13.6 and used the latest Nvidia Web driver 387.10.10.10.40.113. Tried to login/Logout multiple times, plug external monitors to the enclosure at different times. It still does not work, only black screen with cursor.

To make things worse, my macbook always spike CPU up to 100% usage every time I plug it in the built-in HDMI (no eGPU connected) and make the whole system become super laggy. Did a bit of research (resetted SCM, NVRAM), but couldn't fix it as well.  

I feel kinda desperate now and think that the last resort would be moving completely off macOS.

This post was modified 1 year ago

Macbook Pro 2015 15' AMD M370X, OSX 10.13.6, Akitio Node with Nvidia GTX 1060 6GB


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

This may sound like a stupid question but did this whole process change recently?  I bookmarked this process in case I needed to reload my 2015 MBP and I distinctly remember that there were instructions about having to disable the SIP using csrutil disable as part of this process.  In fact I made a note of it and have had to re-run this command a couple of times when an OS update broke the eGPU.  Is this no longer needed to run the script anymore?

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


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

@casrockies Nothing as changed. Everything is as mentioned in the pre-requisites section. SIP must be disabled at all times the system is in "patched" state.

@lvinfinity Hot-plug eGPU instead of booting with it plugged in. Script won't cause boot problems if it ran successfully.

@quangquach Does hot-plugging help?

purge-wranglertbt-flashpurge-nvdaset-eGPU
Insights Into macOS Video Editing Performance
2018 MacBook Pro 15" RP560X + RX 5700 XT (Mantiz Venus)

Master Threads:
2014 15-inch MacBook Pro 750M
2018 15-inch MacBook Pro


itsage liked
ReplyQuote
quangquach
(@quangquach)
Active Member
Joined: 2 years ago
 

@mac_editor Sadly not, I've tried to hot-plug the eGPU at different times (before startup, at login screen, after login) but none of them works. The external monitor is always black with the cursor.

Macbook Pro 2015 15' AMD M370X, OSX 10.13.6, Akitio Node with Nvidia GTX 1060 6GB


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

ReplyQuote
quangquach
(@quangquach)
Active Member
Joined: 2 years ago
 
Posted by: mac_editor

@quangquach  https://egpu.io/forums/mac-setup/automate-egpu-efi-egpu-boot-manager-for-macos-and-windows/ follow steps 2-6 at the bottom of the first post.

@mac_editor I have tried it.
With the internal monitor as the main display, after logout, both screens become black (external one still has the cursor), so I blind typed the password and manage to login. After re-login, the internal and external keep all black.

With the external monitor as the main display, after logout, internal monitor is on, external monitor (with login form) remains black, blind typed the password. After re-login, external monitor is still black. 🙁

This post was modified 1 year ago

Macbook Pro 2015 15' AMD M370X, OSX 10.13.6, Akitio Node with Nvidia GTX 1060 6GB


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

So this smells good, if this is true 🙂
(few days ago)

dxibcZZ

This post was modified 1 year ago

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


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

@quangquach interesting. Worst case the NVRAM method should have worked. Are you sure the mux was correctly set when you applied the commands (automatic graphics switching does not work and only igpu is used)? Sometimes the nvram power-prefs command does not apply changes.

purge-wranglertbt-flashpurge-nvdaset-eGPU
Insights Into macOS Video Editing Performance
2018 MacBook Pro 15" RP560X + RX 5700 XT (Mantiz Venus)

Master Threads:
2014 15-inch MacBook Pro 750M
2018 15-inch MacBook Pro


ReplyQuote
quangquach
(@quangquach)
Active Member
Joined: 2 years ago
 
Posted by: mac_editor

@quangquach interesting. Worst case the NVRAM method should have worked. Are you sure the mux was correctly set when you applied the commands (automatic graphics switching does not work and only igpu is used)? Sometimes the nvram power-prefs command does not apply changes.

@mac_editor Thank you very much for your help, I feel quite frustrated honestly. I have no idea about nvram and works behind. I've also tried the goalque's USB solution  https://egpu.io/forums/mac-setup/automate-egpu-efi-egpu-boot-manager-for-macos-and-windows/ but the issue is exactly like what I have with purge-wrangler

There must be something wrong with my macbook, I may try to look more into it sometimes later. On the bright side, at least my bootcamp can use the eGPU.  🙄

This post was modified 1 year ago

Macbook Pro 2015 15' AMD M370X, OSX 10.13.6, Akitio Node with Nvidia GTX 1060 6GB


ReplyQuote
Monotone
(@monotone)
Active Member
Joined: 1 year ago
 

@Mac_editor Are we safe to update Nvidia Drivers? I'm trying to find out what's causing my constant crashes & logouts.

It's something to do with the GPU from what the crash logs are saying but I've no idea what is causing it specifically.

Screen Shot 2019 01 11 at 14.12.37

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)
Famed Member Moderator
Joined: 3 years ago

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

After repeated trial-and-Error  I am asking some advices.

The configuration is 
10.13.6 9 17G3025
SIP Disabled
Sonnet egpu 550 (apple tb2 tb3 adapter)
NVIDIA Tital V
Nvidia driver 387.10.10.40.108 + CUDA

I installed purge-wrangler  and the status as below.

Legacy AMD eGPUs  Disabled

TB1/2 AMD eGPUs   Disabled

NVIDIA eGPUs      Enabled

Ti82 Devices      Enabled

Also installed lerax's tool using below script.

bash <(curl -s https://raw.githubusercontent.com/learex/macOS-eGPU/master/macOS-eGPU.sh) --beta --nvidiaDriver 387.10.10.10.40.108 --iopcieTunneledPatch

When I connect the egpu after login, 
System info recognizes pcie device ('display' and audio) but not in graphics tab.

  Type: VGA-Compatible Controller

  Driver Installed: No

  Tunnel Compatible: No

  Pause Compatible: No

  MSI: No

  Bus: PCI

  Slot: Thunderbolt@195,0,0

  Vendor ID: 0x10de

  Device ID: 0x1d81

  Subsystem Vendor ID: 0x10de

  Subsystem ID: 0x1218

  Revision ID: 0x00a1

  Link Width: x4

  Link Speed: 8.0 GT/s

When I logout- the main monitor goes black.

Which step I missed?

This post was modified 1 year ago

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


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

@ipsych please use only one script - don’t combine solutions. purge-wrangler documentation is extensive - just follow the steps, and read the entire github documentation. 

purge-wranglertbt-flashpurge-nvdaset-eGPU
Insights Into macOS Video Editing Performance
2018 MacBook Pro 15" RP560X + RX 5700 XT (Mantiz Venus)

Master Threads:
2014 15-inch MacBook Pro 750M
2018 15-inch MacBook Pro


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

@mac_editor
I followed all the steps. 
Installed the purge-wrangler
Then I read along to "More Tools".
I need to use egpu w/o external monitor. I also installed Set-eGPU.
I shouldn't do so?
You mean, I have to uninstall Purge-Wrangler to use Set-eGPU, or should just stay in Purge Wrangler?

This post was modified 1 year ago

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


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

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

@mac_editor
My mistake.
Uninstall macos-egpu resolved the problem.
I am trying to use 'NVDAGV100HalWeb.kext' which included in NVIDIA's disappeared driver WebDriver-387.10.10.15.15.108.
I believe it will make everything unstable.
Does purge-wrangler patches the NVIDIA kext files?
If not, I will start the experiment!

In MBP 2014 with 750M, 10.13.6 (17G3025) NO Luck for WebDriver-387.10.10.15.15.108.pkg.
It prevents boot. (I waited more than 15min).

This post was modified 1 year ago

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


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

@ipsych It does make a small change, but only to NVDAStartupWeb. I believe people have successfully used the Titan V already so you should be good.

Edit: again, it’s all in the documentation (please read through it before posting questions) for your 750m Mac. See hardware chart. You can’t boot with eGPU plugged in on this Mac. See build guides

purge-wranglertbt-flashpurge-nvdaset-eGPU
Insights Into macOS Video Editing Performance
2018 MacBook Pro 15" RP560X + RX 5700 XT (Mantiz Venus)

Master Threads:
2014 15-inch MacBook Pro 750M
2018 15-inch MacBook Pro


ReplyQuote
lbmdderek
(@lbmdderek)
New Member
Joined: 1 year ago
 
Just build myself an eGPU setup. Thanks @mac_editor for what you did for the community!
 
My config:
2014 15" Retina MacBook Pro (750M)
Vega 56 (AKiTio Node Pro via TB3 -> TB2/TB1 Adaptor) with external monitor connected
MacOS 10.14 / Windows 10
Using purge-wrangler to enable TB2 AMD eGPUs support, and purge-nvda to disable the NVIDIA dGPU, and disable hibernate.
 
My current issue is the wake from sleep issue.
when I click the sleep option from Mac's menu, I still can wake up the Mac via mouse clicking or keyboard pressing, in the first one or two minutes after the screen goes black.
After a few minutes (aka the Mac run into full sleep, I guess), when I tried to wake up the Mac, the internal monitor's backlight is on, but still goes black. External monitor as well, but I guess the Mac is still running, it's the display issue.
I'm not sure with hibernate disabled, the issue should be resolved or not. NVRAM and SMC reseted, but it's still a problem.
 
The other minor problem is, since I am using the setup in clamshell mode, I noticed that the MacBook internal monitor is not disabled when the lid is closed. However, it is not a big deal at all.
 
BTW, are these above issues still happens in latest 2018 (or 2019) iGPU MacBooks? Thanks!

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


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

@lbmdderek The issue occurs due to disabling the 750m. On my end, I cannot do anything and I do not have that Mac for testing anymore. Consider it a limitation of purge-nvda. Clamshell is not supported with eGPU on TB1/2 Macs IIRC.

purge-wranglertbt-flashpurge-nvdaset-eGPU
Insights Into macOS Video Editing Performance
2018 MacBook Pro 15" RP560X + RX 5700 XT (Mantiz Venus)

Master Threads:
2014 15-inch MacBook Pro 750M
2018 15-inch MacBook Pro


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

Hello !
I as able to make my (MacBook Pro mid-2015 15' with Intel Iris Pro)  R9 270X connecting using an Akitio Node Thunderbolt 3 (using an original TB3 t TB2 adaptor from apple) work, but with macOS Mojave (10.14.2) I was not able to make it work again....

Do you know why ?

In that time I modified my AMD7000Controller.kext....
Any suggestions ?

Thanks !

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


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

@daniel_chaves Updating macOS undoes any kext modifications. Re-use the script’s AMD option and choose to enable legacy support, or do the same modifications you made earlier when you had a working setup.

purge-wranglertbt-flashpurge-nvdaset-eGPU
Insights Into macOS Video Editing Performance
2018 MacBook Pro 15" RP560X + RX 5700 XT (Mantiz Venus)

Master Threads:
2014 15-inch MacBook Pro 750M
2018 15-inch MacBook Pro


ReplyQuote
(@georgios_lachanas)
Active Member
Joined: 2 years ago
 
Posted by: Georgios Lachanas

here are a couple of screenshots in case anyone could help.
After 5 days of various and multiple attempts ,I still can't get to have my Nvidia card shown.Akitio node pro-1070ti (also tried 960)-apple TB3->2,apple TB2 cable,macbook pro mid2014 750m-hdmi from egpu
 to lg ultra wide monitor
Nvidia drivers and cuda, installed with SIP enabled and prior to running any scripts.

After so many unsuccessful attempts, it seems that the problem was with Akitio Node Pro.
As soon as I used the Razer Core X instead, everything is working fine!!!
So happy!
Thank you @Mac_editor!

Is there any way I can disable the internal display and only use external display with egpu?

Also,what about audio via HDMI?Is it possible?

Screen Shot 2019 01 17 at 19.55.52
Screen Shot 2019 01 17 at 19.55.32
Screen Shot 2019 01 17 at 19.55.00
Screen Shot 2019 01 17 at 19.54.32
Screen Shot 2019 01 17 at 19.54.17

Screen Shot 2019 01 17 at 19.54.17
This post was modified 1 year ago

MBP 15" with Nvidia 750m (mid2014) + Razer Core X +Apple TB3 adapter+Apple TB2 cable+Nvidia 1070Ti 8gb+LG Ultrawide Monitor via HDMI ,MACOS 10.13.6 (17G4015),Web drivers 387.10.10.10.40.113, Cuda version 410.130


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

@georgios_lachanas Great to hear! You should be able to disable the internal display using DisableMonitor or SwitchResX.

purge-wranglertbt-flashpurge-nvdaset-eGPU
Insights Into macOS Video Editing Performance
2018 MacBook Pro 15" RP560X + RX 5700 XT (Mantiz Venus)

Master Threads:
2014 15-inch MacBook Pro 750M
2018 15-inch MacBook Pro


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

@mac_editor
I’ll try with switchresx 
Is it normal that dgpu (750m) is not present in activity monitor (GPUs usage) nor in DaVinci resolve settings?It’s actually disabled using pure wrangler and pure nvda?

MBP 15" with Nvidia 750m (mid2014) + Razer Core X +Apple TB3 adapter+Apple TB2 cable+Nvidia 1070Ti 8gb+LG Ultrawide Monitor via HDMI ,MACOS 10.13.6 (17G4015),Web drivers 387.10.10.10.40.113, Cuda version 410.130


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

ReplyQuote
quangquach
(@quangquach)
Active Member
Joined: 2 years ago
 
Posted by: quangquach
Posted by: mac_editor

@quangquach interesting. Worst case the NVRAM method should have worked. Are you sure the mux was correctly set when you applied the commands (automatic graphics switching does not work and only igpu is used)? Sometimes the nvram power-prefs command does not apply changes.

@mac_editor Thank you very much for your help, I feel quite frustrated honestly. I have no idea about nvram and works behind. I've also tried the goalque's USB solution  https://egpu.io/forums/mac-setup/automate-egpu-efi-egpu-boot-manager-for-macos-and-windows/ but the issue is exactly like what I have with purge-wrangler

There must be something wrong with my macbook, I may try to look more into it sometimes later. On the bright side, at least my bootcamp can use the eGPU.  🙄

Just noted down if anyone happens to stuck with the issue like mine, I've finally managed it to work with automate-egpu-efi with Nvidia drivers installed from https://github.com/Benjamin-Dobell/nvidia-update. Previously, I tried both purge-wrangler and automate-egpu-efi but with the Nvidia drivers installed from the purge-wrangler script. It's hard to tell the reason but I suspect that was the Nvidia version issue.

Thanks again, @mac_editor and @goalque (and Benjamin Dobell) for amazing scripts.

Macbook Pro 2015 15' AMD M370X, OSX 10.13.6, Akitio Node with Nvidia GTX 1060 6GB


ReplyQuote
Wtaylor
(@wtaylor)
New Member
Joined: 1 year ago
 

Got my 2015 up and running with your script, thank you! I made a small donation to your PayPal link to show my appreciation 🙂

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: 2 years ago
 

Hello there. There is a new Security update of HS 10.13.6. Is it safe to install pls?

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


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

@lqd Cannot test myself. Security updates typically have no effect on eGPU solutions.

@wtaylor Good to hear all went well, and thank you for your contribution.

purge-wranglertbt-flashpurge-nvdaset-eGPU
Insights Into macOS Video Editing Performance
2018 MacBook Pro 15" RP560X + RX 5700 XT (Mantiz Venus)

Master Threads:
2014 15-inch MacBook Pro 750M
2018 15-inch MacBook Pro


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

Yap 🙂 It's safe... Thanks anyway  (just re-patch is needed)

This post was modified 1 year ago

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


ReplyQuote
 of  44