Setup & Software Discussions
[SCRIPT] Better eGPUs on Macs with Discrete NVIDIA GPUs
 

[SCRIPT] Better eGPUs on Macs with Discrete NVIDIA GPUs  

 of  9
  RSS

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

@mac_editor Thanks!

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


ReplyQuote
(@fedya_balashov)
New Member
Joined: 5 months ago
 

Hi! Thanks a lot for your work on egpu support on tb2/tb1 mac like mine

I have successfully get it works with purge-wrangler / purge-nvda

My setup is: Macbook Retina 15 late 13 with 750m dGpu / Sonnet breakaway 350 with Aorus rx580 / Mojave 10.14.3

I use this setup as the home workstation, but usually, I need to take my laptop elsewhere, on my job. So each time when I plug/unplug eGpu, I need to run purge-nvda in the terminal to install / uninstall dGpu. Otherwise, if I will not turn on nvidia-drivers back, such things as brightness and sleep mode in a clamshell will not work.

So I'm wondering if there any simple solution to optimize these processes. Like maybe some Automator script on thunderbolt connection which will runs purge-nvda on plug in, and uninstall it back on egpu disconnection?

 

 

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


ReplyQuote
emanuelediba
(@emanuelediba)
Active Member
Joined: 8 months ago
 

On macOS 10.15 beta 2 purge-nvda causes a Kernel Panic on boot. MacBook Pro mid-2012 15" retina. On the first beta it worked perfectly.

Mid-2012 15" Retina MacBook Pro + Akitio Node + AMD RX 580


ReplyQuote
(@benjamin_john_zimbric)
New Member
Joined: 2 months ago
 

The same thing happened to me updating to 10.14.6 Beta (18G48f). Does anyone have any solutions?

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
 

If purge-nvda causes boot to get stuck or crash, try the troubleshooting steps mentioned in the documentation. Usually that resolves the issue.

purge-wrangler.shpurge-nvda.shset-eGPU.shautomate-eGPU EFI Installer


ReplyQuote
emanuelediba
(@emanuelediba)
Active Member
Joined: 8 months ago
 

I've tried reinstalling purge-nvda, same, Set mux to iGpu, still kernel panic. Now I'm going to try and reset the nvram and reinstall both purge-wrangler and purge-nvda.

Edit: Still doesn't work. At this point I think it is that 10.15 beta 2 broke compatibility with the script.

This post was modified 2 months ago

Mid-2012 15" Retina MacBook Pro + Akitio Node + AMD RX 580


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

@emanuelediba macOS 10.15 Beta 2 may disable hot-plugging support for eGPU on older Macs (including the eGPU menu bar icon). Try booting with eGPU plugged in and check Activity Monitor.

purge-wrangler.shpurge-nvda.shset-eGPU.shautomate-eGPU EFI Installer


ReplyQuote
emanuelediba
(@emanuelediba)
Active Member
Joined: 8 months ago
 

Tried. No luck. Still get a kernel panic at 3/4 of the loading bar with the apple logo.

Mid-2012 15" Retina MacBook Pro + Akitio Node + AMD RX 580


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

@emanuelediba Cool. It may be the case then that 10.15 Beta 2 causes problems with purge-nvda.

@psypryss could you test this if possible?

purge-wrangler.shpurge-nvda.shset-eGPU.shautomate-eGPU EFI Installer


ReplyQuote
emanuelediba
(@emanuelediba)
Active Member
Joined: 8 months ago
 

Strange. purge-nvda modifies the nvram only, right?
Hope that someone can test this issue too on a Mac with NVidia dGPU.

Mid-2012 15" Retina MacBook Pro + Akitio Node + AMD RX 580


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

@emanuelediba yes. I was thinking more along the lines of the trick not working anymore (just like pre-10.13.4).

purge-wrangler.shpurge-nvda.shset-eGPU.shautomate-eGPU EFI Installer


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

@mac_editor I’d have to wait until the full version ships. I don’t have the beta.

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


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

Reporting in that purge-nvda v3.0.6 works on macOS 10.14.6.

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


ReplyQuote
MZ6Alex
(@mz6alex)
Active Member
Joined: 1 year ago
 

Hi all! Been a little while since I messed around with my eGPU on MacOS since 10.14 killed my GTX1060. Anyways I just got a RX 580 the other day and am now using that with my Thunder2 enclosure with my (dreaded) mid-2014 MBP (750m dPGU). My setup currently utilizes x2 monitors hooked up to my eGPU while keeping the clamshell closed since I don't have enough desk room at the moment to leave it open. The eGPU functionality is working great so far utilizing purge-wrangler and this purge-nvda script, but I was wondering if there was ever a fix or workaround for the issue of the internal display not shutting off with the clamshell closed? 
I found another build where someone mentioned using an app called SwitchResX to disable the internal display, and while this does "disable" it, it doesn't actually turn the display completely off as would be optional.

Mid-2014 MacBook Pro | MacOS Mojave 10.14.6 | 750m dGPU & Intel Iris Pro iGPU | RX 580 4GB eGPU in AKiTiO Thunder2 enclosure


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

@mz6alex

Unfortunately there have been no new updates/fixes regarding that - both as the incentive decreases as the device gets older as well as me not having that Mac model anymore.

purge-wrangler.shpurge-nvda.shset-eGPU.shautomate-eGPU EFI Installer


ReplyQuote
MZ6Alex
(@mz6alex)
Active Member
Joined: 1 year ago
 

@mac_editor

Many thanks for the quick reply! Completely understandable. Many times reading this forum I wished I had just waited for the 2015 revision but gotta make do with what I have for now.
Believe it or not though I actually found a little trick to get the internal display to shut off. I'm not sure if this is a result of SwitchResX or not, but I'm able to replicate it the following way:
- "Disable" internal display with SwitchResX (maybe not needed...)
- Put computer to sleep using the toolbar menu (clicking apple logo in top left)
- After the displays shut off keep moving the mouse (preventing sleep) and the external displays will come back on, but the internal display will remain off.

I will just make use of this trick for now when I'm using my eGPU until the new scissor MacBook keyboards are out next year and I can finally upgrade!

Mid-2014 MacBook Pro | MacOS Mojave 10.14.6 | 750m dGPU & Intel Iris Pro iGPU | RX 580 4GB eGPU in AKiTiO Thunder2 enclosure


ReplyQuote
 of  9