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

[SCRIPT] Better eGPUs on Macs with Discrete NVIDIA GPUs  

 of  9
  RSS

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

Purge NVDA 2.1.1 has a bug where option 3 doesn’t work. The igpu status is wrong because it cannot be read for subsequent boots. Otherwise should not be a problem. An update to the script is already planned.

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


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

thank you for your quick replay. do you think that's the source of the problem with opening these apps (not responding...)

MBPr Mid 2014, dGPU: Nvidia750M ■ Sonnet eGFX 350 ■ AMD RX 580 8gb ■ TB3-TB2 adapter ■ Dell U2518d ■ high sierra 10.13.5


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

thank you for your quick replay. do you think that's the source of the problem with opening these apps (not responding...)

Unrelated. It’s likely the apps + set egpu. Cannot be helped if apps won’t initialize. 

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


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

Ok, will wait for update. 
It has to be somehow related to one of the scripts, because before the installation they would work well. This had happened even before installing set-egpu, just nvda and wrangler.

Now I am at the CMD+S stage, trying to uninstall the scripts one by one, and getting each sentence individualy, should I just hold enter to run them all, or type “y” and enter for each one?

MBPr Mid 2014, dGPU: Nvidia750M ■ Sonnet eGFX 350 ■ AMD RX 580 8gb ■ TB3-TB2 adapter ■ Dell U2518d ■ high sierra 10.13.5


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

@avj the scripts (except set-eGPU) don’t control how apps will be accelerated. Even if I update purge-nvda, you won’t see a difference. The upcoming update is for NVIDIA eGPU users anyway. You can uninstall without needing to go to single user mode unless you can’t boot. Just follow script instructions.

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


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

Ok, but now I cannot boot so I have to do it on (I guess) single user mode. I think I will have to reinstall mac os. 
did I have to suppress nvidia dgpu for AMD egpu to work? 
by the way, since you have the same mac model, what scripts and options work the best with it?

MBPr Mid 2014, dGPU: Nvidia750M ■ Sonnet eGFX 350 ■ AMD RX 580 8gb ■ TB3-TB2 adapter ■ Dell U2518d ■ high sierra 10.13.5


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

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

Using a revamped version of purge-nvda (coming soon), Macs with NVIDIA dGPUs can now use latest web drivers for NVIDIA eGPUs. A benchmark comparing internal (using set-eGPU) vs. external display:

INTERNAL DISPLAY
EXTERNAL DISPLAY

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


PsyPryss and artik liked
ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 3 years ago
 

The update (3.0.0) is out. Please read the first post for some suggestions.

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


PsyPryss liked
ReplyQuote
Jeroenvankeulen
(@jeroen-van-keulen)
Trusted Member
Joined: 2 years ago
 

ALLn1 Installer 10.13.4 > 10.14 beta 3

What does it do?
This little app let's you install all  @mac_editor scripts without using terminal in depth.

  1. It installs the scripts like it would when using terminal commands
  2. Places ALLn1 enabler in the folder Programs
  3. Deletes PW cTB enabler 2.0 (if it is in applications folder)


Instructions for ALL
n1 Installer:

!!!Make sure SIP is disabled!!!

Edit: if on 10.14 b, reboot after installing twice.

  1. Download ALLn1.dmg
  2. Mount ALLn1.dmg by clicking the icon
  3. Open ALLn1 Installer
  4. Select the script you want to install
  5. Wait a moment, you will be asked your password.
  6. type your password (script is being installed)
  7. In the background ALLn1 is placed in Programs folder.

After your first patch you can easily acces your installed scripts by just opening ALLn1 from you Program folder.

Scripts will auto update like normal.

Download

UPDATE:
Installer will automatically contain the latest release

Donate

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


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

purge-nvda 3.0.0 works on 10.13.6. 

That aside after upgrading to 10.13.6 it seems that the texts are not as sharp as before. Black text has a blueish colour on some letters. Turning off font smoothing helped a bit. On 10.13.5 the texts were sharp. 

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


ReplyQuote
Mymantiz_John
(@mymantiz_john)
Vendor
Joined: 3 years ago
 
Posted by: PsyPryss

purge-nvda 3.0.0 works on 10.13.6. 

That aside after upgrading to 10.13.6 it seems that the texts are not as sharp as before. Black text has a blueish colour on some letters. Turning off font smoothing helped a bit. On 10.13.5 the texts were sharp. 

Purge-nvda 3.0.0 works on 10.13.6 too with 2014 MBP 15" + 750M / Mantiz eGPU + RX580!!
Really appreciate with Mac_editor great works.

Mantiz: ● ●


mac_editor and itsage liked
ReplyQuote
vinhdiesel
(@vinhdiesel)
Trusted Member
Joined: 1 year ago
 

is the script functional in 10.14 ?

 

My Setup


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

ReplyQuote
vinhdiesel
(@vinhdiesel)
Trusted Member
Joined: 1 year ago
 

@mac_editor even with hot plugging and everything ?

My Setup


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

ReplyQuote
vinhdiesel
(@vinhdiesel)
Trusted Member
Joined: 1 year ago
 

@mac_editor 

have you tried running the mac in clamshell mode with this. with purge-nvda active the internal display doesn't turn off.

My Setup


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

Could users of this script try installing this as well? It may resolve wake from sleep issues. Cannot test myself as I don't own an applicable Mac anymore.

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


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

Mind walking me thru it? I got the lilu 1.2.7 kext. So I just copy that to /Library/Extensions? And then copy the EnableLidWake folder to /Library/Extensions?

Thanks @mac_editor.

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

@psypryss The EnableLidWake kext will need to be compiled and built first. Don't have the time to look into it but basically once you build it using Xcode, you'll have a .kext file that must be placed in /Library/Extensions.

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


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

Under the requirement section it says that a "Mac with integrated Intel GPU + dedicated NVIDIA GPU" is needed. What about a late 2013 27" iMac, which has an NVIDIA 780M gpu but not really an iGPU? Correct me if I'm wrong, but it's my understanding that an iGPU is present on the logic board but is always disabled.

I'm very close to buying an eGPU and a card and would like to do it around the Black Friday/Christmas period, but I want to know if it'll work in both macOS and Bootcamp on my computer first. If it doesn't, I'll need to wait a bit more fo ra new computer. Thanks for your help!

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

@ryegeleye Since the iGPU is disabled already, there is not much that can be done. It must be present and working (like an MBP) for the script to do its thing.

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: 10 months ago
 

I don't know how but I seem to be able to use both my internal and external GPU with all functionality such as clamshell close (apple light off) and control the brightness of the display also. I was trying to reinstall the script and had a few problems with the external display, somehow it all came too and working with both now.

Is there any downsides to the configuration I have now seemingly ended up with? I'm confused as when I first set this up I remember having to use this script to turn off the iGPU etc.

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 Please add your config. to your signature. What Mac + what macOS + eGPU setup?

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: 10 months ago
 

@Mac_editor Updated that now — hope that helps!

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

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 Thanks! For that config. OpenGL/CL won't work on eGPU. Video output will work as expected. Hence this script. Also, this script doesn't disable iGPU, but the dGPU.

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: 10 months ago
 

@mac_editor Ahhh so for example my if I didn't have the intel one also that would be a dGPU?

So to clarify — do I need to be using this script? I'm a little lost.

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 If the discrete GPU is the only GPU, then this script is not valid. This script is for Intel + NVIDIA Macs. Please read the pre-requisites.

If you need OpenCL/GL compute, then use this script. For example, some older macOS games (such as GRID) use OpenGL. They won't run on the eGPU without this script.

This post was modified 8 months ago

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: 10 months ago
 

@Mac_editor Thank you for the clarification. So there is nothing freakish going on, that was my main concern. 

Thanks for your help and scripts!

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 Yes, NVIDIA + NVIDIA can work without purge-nvda (sans OpenGL/CL quirk). For general use and Metal apps (such as F1 2016) it's ok to avoid. Happy to assist.

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


ReplyQuote
esatamacmodular
(@esatamacmodular)
Estimable Member
Joined: 3 years ago
 
Posted by: ryegeleye

Under the requirement section it says that a "Mac with integrated Intel GPU + dedicated NVIDIA GPU" is needed. What about a late 2013 27" iMac, which has an NVIDIA 780M gpu but not really an iGPU? Correct me if I'm wrong, but it's my understanding that an iGPU is present on the logic board but is always disabled.

I'm very close to buying an eGPU and a card and would like to do it around the Black Friday/Christmas period, but I want to know if it'll work in both macOS and Bootcamp on my computer first. If it doesn't, I'll need to wait a bit more fo ra new computer. Thanks for your help!

As I continue to design the setup for my iMac 2013 eGPU I was unaware of this ^ ... So it seems like this script is not for me since as you mention there is no iGPU on this iMac 2013(?).

iMac 2013 10.14.1, Macbook Air 2013 10.11, MBP 2016 13" 10.13.6 , HP 4530s 10.11, node lite, DA-2 PSU w/mod, PE4L 2.1b expresscard34, GTX460,1050Ti,1060,1070/Ti RX470,560,580


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

@esatamacmodular Yes this script won't be helpful to you. However, you will be ok if your eGPU is a Kepler series NVIDIA, or an AMD eGPU without an external monitor plugged in to it (in both such cases you will not require purge-nvda, just purge-wrangler).

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


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

@esatamacmodular Yes this script won't be helpful to you. However, you will be ok if your eGPU is a Kepler series NVIDIA, or an AMD eGPU without an external monitor plugged in to it (in both such cases you will not require purge-nvda, just purge-wrangler).

ok thanks. So no nvidia 10 series then for 2013 iMac w/discrete Nvidia. Even with purge-wrangler (?). Thats kind of exactly what I'm putting together right now and this is the first I've heard that it's not going to work. I suppose I can try anyway.

iMac 2013 10.14.1, Macbook Air 2013 10.11, MBP 2016 13" 10.13.6 , HP 4530s 10.11, node lite, DA-2 PSU w/mod, PE4L 2.1b expresscard34, GTX460,1050Ti,1060,1070/Ti RX470,560,580


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

@esatamacmodular Sorry for the confusion. I was answering with respect to the capabilities of this script and what I said above could be easily misinterpreted.

If you pair your iMac NVIDIA dGPU + 10 series GPU, it will work, but OpenCL/GL on eGPU won't. macOS will boot fine and you should be able to use the system normally otherwise. See the hardware chart in purge-wrangler documentation or my signature.

This post was modified 8 months ago

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


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

@mac_editor Is it possible to add back the option to reboot the system in the script? Somehow using the script to reboot works whereas using the system it hangs during boot. Just updated the script to 3.0.3. Thanks!

Update: Shame on me for not RTFM. It works after setting the Mux to iGPU. Thanks.

This post was modified 7 months ago

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

@psypryss I was hoping to clean up the menu for the script(s) a little so decided to remove it. Since you mention it worked better for you, I might add it as a prompt/question after applying a patch in a subsequent release (though it may not necessarily guarantee a better experience - the mux NVRAM value has always been weird).

This post was modified 7 months ago

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


PsyPryss liked
ReplyQuote
 of  9