[SCRIPT] Better eGPUs on Macs with Discrete NVIDIA GPUs  

Page 7 / 8 Prev Next
  RSS

mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years  ago
Posts: 1329
April 6, 2018 3:41 pm  
Posted by: PsyPryss

Thanks maceditor. Making it sleep does indeed shut off the internal and the external connected monitor via egpu. But it never wakes up. And ya. Closing the lid doesn’t make the internal lcd switch off. Thanks. Are there any possible workarounds?

Sadly no. Quite interestingly, if you disable dGPU on Sierra (down to Mavericks in fact), everything works fine. High Sierra is just "different" - I feel like saying broken but can't without evidence lol.

purge-wrangler.shpurge-nvda.shset-eGPU.sh
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife
----
Multiple Build Guides


ReplyQuote
PsyPryss
(@psypryss)
Eminent Member
Joined: 10 months  ago
Posts: 48
April 6, 2018 4:45 pm  

Thanks for the reply and update to the first post! Thank you sir!

Here’s hoping that future revisions of 10.13 will “fix” these issues. 

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


mac_editor liked
ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years  ago
Posts: 1329
April 6, 2018 4:50 pm  
Posted by: PsyPryss

Thanks for the reply and update to the first post! Thank you sir!

Here’s hoping that future revisions of 10.13 will “fix” these issues. 

Lol yes but that's unlikely.. There might be a change in 10.14 at best.

purge-wrangler.shpurge-nvda.shset-eGPU.sh
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife
----
Multiple Build Guides


ReplyQuote
PsyPryss
(@psypryss)
Eminent Member
Joined: 10 months  ago
Posts: 48
April 6, 2018 7:10 pm  

@mac_editor Any recommendations for brightness control? Tried changing the nvram values for backlight but didn’t work.

Unistalling the script, unplugging the egpu boot in and change brightness, install the script, plug in egpu works.... -.-

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: 2 years  ago
Posts: 1329
April 6, 2018 7:34 pm  

There is a software application for it. See Issues section on script's GitHub - one of the closed issues has it mentioned.

purge-wrangler.shpurge-nvda.shset-eGPU.sh
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife
----
Multiple Build Guides


ReplyQuote
PsyPryss
(@psypryss)
Eminent Member
Joined: 10 months  ago
Posts: 48
April 7, 2018 9:11 am  

Thanks @mac_editor.

Update: The brightness software didn’t work as I thought it would. Back to rebooting...

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


ReplyQuote
TECKNIT
(@tecknit)
New Member
Joined: 2 years  ago
Posts: 1
April 8, 2018 8:55 am  

Thanks to @mac_editor

 

I have successfully use the software to enable my RX Vega 56, and everything works fine, but it seems can only use one external monitor. I have connected my Apple Cinema Display 27 to the eGPU and try to connect another 21 inch monitor via HDMI, and suddenly the system crash and reboot...

 

Everything works fine when I used only one external monitor, I guess maybe the problem only happened on dGPU Macs.


mac_editor liked
ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years  ago
Posts: 1329
April 8, 2018 6:10 pm  
Posted by: TECKNIT

Thanks to @mac_editor

 

I have successfully use the software o enable my RX Vega 56, and evening work fine, but it seems can only use one external monitor. I have connected my Apple Cinema Display 27 to the eGPU and try to connect another 21 inch monitor via HDMI, and suddenly the system crash and reboot...

 

Everything works fine when I used only one external monitor, I guess maybe the problem only happened on dGPU Macs.

Disabling the discrete GPU = no video output from video-out ports on your mac directly.

purge-wrangler.shpurge-nvda.shset-eGPU.sh
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife
----
Multiple Build Guides


ReplyQuote
(@karl_snyder)
New Member
Joined: 6 months  ago
Posts: 4
April 19, 2018 11:26 am  

I tried this script of a MBP 2012 TB1 with a discrete Nvidia and my Mac no longer boots.  I can get it to try to boot into recovery mode but after a minute or two with the boot progress bar it fails to boot.  Also the primary laptop display is blank.

Any ideas to get this thing to boot and to get the primary display to work?

I was able to uninstall purge-nvda through single user mode and get back the system. Do you have any ideas how I might be able to disable the nVidia card so that I can get the eGPU AMD to work?


ReplyQuote
johnnyquest
(@johnnyquest)
New Member
Joined: 6 months  ago
Posts: 1
April 25, 2018 8:13 pm  

Thanks so much for doing this. I have a Late 2013 MacBook Pro with 

NVIDIA GeForce GT 750M 2 GB

Intel Iris Pro 1536 MB

If I disable the NVIDIA so that I can use mt Sonnet Beakaway Box with Radeon RX 580 8 GB Sapphire, what should I do when I travel with my Laptop?


ReplyQuote
charleszhao
(@charleszhao)
Active Member
Joined: 7 months  ago
Posts: 11
April 26, 2018 5:50 am  
Posted by: johnnyquest

Thanks so much for doing this. I have a Late 2013 MacBook Pro with 

NVIDIA GeForce GT 750M 2 GB

Intel Iris Pro 1536 MB

If I disable the NVIDIA so that I can use mt Sonnet Beakaway Box with Radeon RX 580 8 GB Sapphire, what should I do when I travel with my Laptop?

just unplug the egpu and then uninstall the script in the terminal, just simple and reboot, back to normal.


ReplyQuote
Koopa
(@koopa)
Active Member
Joined: 1 year  ago
Posts: 14
April 26, 2018 12:20 pm  

Did anyone figure out a way yet to fix the sleep problem? It is quite annoying to have the MacBook crash every time you accidentally close the lid


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years  ago
Posts: 1329
April 26, 2018 1:51 pm  
Posted by: Koopa

Did anyone figure out a way yet to fix the sleep problem? It is quite annoying to have the MacBook crash every time you accidentally close the lid

One way could be to disable sleep/hibernation maybe:

sudo pmset -a autopoweroff 0
sudo pmset -a standby 0
sudo pmset -a hibernatemode 0

Defaults are 11, and respectively. Courtesy of @techyowl for a different problem. Lemme know how it goes.

purge-wrangler.shpurge-nvda.shset-eGPU.sh
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife
----
Multiple Build Guides


theitsage liked
ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years  ago
Posts: 1329
April 30, 2018 7:44 pm  

purge-nvda.sh now at 2.0.0. Auto-installs and provides direct command-line support after first-time use, making it easier than ever to manage. See the releases section for full CHANGELOG. Would appreciate testers.

purge-wrangler.shpurge-nvda.shset-eGPU.sh
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife
----
Multiple Build Guides


ReplyQuote
clarketus
(@clarketus)
Active Member
Joined: 7 months  ago
Posts: 13
April 30, 2018 8:49 pm  

I upgraded purge-nvda from 1.4.0 to 2.0.0 and the system works perfectly. I only used the first option "1. Enable AMD eGPUs".

Guides:
Mid 2012 15" MBP GT650M Non Retina + [email protected] (Gigabyte Gaming Box via TB3->TB2 adapter) + macOS 10.13.4 / Win10


mac_editor liked
ReplyQuote
PsyPryss
(@psypryss)
Eminent Member
Joined: 10 months  ago
Posts: 48
May 1, 2018 3:12 am  

Updated 1.4.0 to 2.0.0. Works. No problems so far.

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


mac_editor liked
ReplyQuote
ricardokuster
(@ricardokuster)
Active Member
Joined: 6 months  ago
Posts: 8
May 1, 2018 8:08 am  

This is my first post here, so @mac_editor, thank you 🙂 for the hard work and time on making this happen !

The update worked just fine.

I just noticed some errors on the terminal screen saying : "No such file or directory" – please see screenshot.
Does this happened to you also ?

Kind regards.

MacBook Pro (Retina, 15-inch, Mid 2014) — iGPU : Intel Iris Pro 1.5 Gb — dGPU : NVIDIA GeForce GT 750M 2Gb — eGPU : Sapphire Nitro+ Radeon RX Vega 64 8Gb Air Cooling @16Gbps — Sonnet Breakaway 650 — TB3 to TB2 adapter — TB2 cable (2m) — macOS 10.13.4


mac_editor liked
ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years  ago
Posts: 1329
May 1, 2018 1:43 pm  
Posted by: ricardokuster

This is my first post here, so @mac_editor, thank you 🙂 for the hard work and time on making this happen !

The update worked just fine.

I just noticed some errors on the terminal screen saying : "No such file or directory" – please see screenshot.
Does this happened to you also ?

Kind regards.

Thanks for the report, I’ve come across a few bugs which I shall hopefully resolve soon in version 2.0.1.

purge-wrangler.shpurge-nvda.shset-eGPU.sh
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife
----
Multiple Build Guides


ReplyQuote
charleszhao
(@charleszhao)
Active Member
Joined: 7 months  ago
Posts: 11
May 4, 2018 8:54 am  

after I install this script v2.o, it installed and showed the menu properly. but later in the terminal i type "purge-nvda" command, terminal just tell me Permission denied, is there anything i can do? 

great thanks


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years  ago
Posts: 1329
May 4, 2018 12:46 pm  
Posted by: charleszhao

after I install this script v2.o, it installed and showed the menu properly. but later in the terminal i type "purge-nvda" command, terminal just tell me Permission denied, is there anything i can do? 

great thanks

That’s another bug - if you originally ran the script with sudo.

purge-wrangler.shpurge-nvda.shset-eGPU.sh
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife
----
Multiple Build Guides


ReplyQuote
charleszhao
(@charleszhao)
Active Member
Joined: 7 months  ago
Posts: 11
May 4, 2018 2:27 pm  

got it. i think should be worked after uninstall then reinstall the 2.0 ver


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years  ago
Posts: 1329
May 4, 2018 7:03 pm  
Posted by: charleszhao

got it. i think should be worked after uninstall then reinstall the 2.0 ver

Try 2.0.1 and please report if you can 🙂

Use the command in Step 2 (updated) to directly run if SIP already disabled.

purge-wrangler.shpurge-nvda.shset-eGPU.sh
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife
----
Multiple Build Guides


ReplyQuote
charleszhao
(@charleszhao)
Active Member
Joined: 7 months  ago
Posts: 11
May 7, 2018 4:15 pm  
Posted by: mac_editor
Posted by: charleszhao

got it. i think should be worked after uninstall then reinstall the 2.0 ver

Try 2.0.1 and please report if you can 🙂

Use the command in Step 2 (updated) to directly run if SIP already disabled.

works perfectly! thank u so much for long time working on it.


ReplyQuote
ricardokuster
(@ricardokuster)
Active Member
Joined: 6 months  ago
Posts: 8
May 7, 2018 4:39 pm  

Hi @mac_editor,

The eGPU keeps working perfectly.

But on my side I cannon run the purge-nvda command directly on terminal, I still receive some error messages.
What changed from 2.0.0 apparently is that the chflags command is not appearing anymore on the errors.

You can compare the screenshots here :
screenshot 2.0.0 – screenshot 2.0.1

Best regards and thanks again !
🙂

MacBook Pro (Retina, 15-inch, Mid 2014) — iGPU : Intel Iris Pro 1.5 Gb — dGPU : NVIDIA GeForce GT 750M 2Gb — eGPU : Sapphire Nitro+ Radeon RX Vega 64 8Gb Air Cooling @16Gbps — Sonnet Breakaway 650 — TB3 to TB2 adapter — TB2 cable (2m) — macOS 10.13.4


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years  ago
Posts: 1329
May 8, 2018 4:51 am  
Posted by: ricardokuster

Hi @mac_editor,

The eGPU keeps working perfectly.

But on my side I cannon run the purge-nvda command directly on terminal, I still receive some error messages.
What changed from 2.0.0 apparently is that the chflags command is not appearing anymore on the errors.

You can compare the screenshots here :
screenshot 2.0.0 – screenshot 2.0.1

Best regards and thanks again !
🙂

Could you run the following in Terminal and share a screenshot:

ls /usr

purge-wrangler.shpurge-nvda.shset-eGPU.sh
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife
----
Multiple Build Guides


ReplyQuote
(@neo302)
Active Member
Joined: 5 months  ago
Posts: 13
May 10, 2018 1:21 am  

Hey @mac_editor,
Do you know why a 2014 15" MBP would hang after running 1 in the menu during the boot logo?  I've tried multiple times and it just sits there just past 1/2 way on the progress bar.


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years  ago
Posts: 1329
May 10, 2018 3:50 am  
Posted by: Neo302

Hey @mac_editor,
Do you know why a 2014 15" MBP would hang after running 1 in the menu during the boot logo?  I've tried multiple times and it just sits there just past 1/2 way on the progress bar.

Try troubleshooting. Follow the instructions and check the status of the system using the script (2.0.1). What do you see?

purge-wrangler.shpurge-nvda.shset-eGPU.sh
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife
----
Multiple Build Guides


ReplyQuote
ricardokuster
(@ricardokuster)
Active Member
Joined: 6 months  ago
Posts: 8

ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years  ago
Posts: 1329
May 10, 2018 1:07 pm  
Posted by: ricardokuster

actually the same happened here...

in troubleshoot - recovery mode :
mount : ok
purge-nvda : command not found 😐

If the command is not detected (in your case the /usr/local/bin/ was not present so it's different), you can call by specifying entire path - /usr/local/bin/purge-nvda.

purge-wrangler.shpurge-nvda.shset-eGPU.sh
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife
----
Multiple Build Guides


ReplyQuote
(@neo302)
Active Member
Joined: 5 months  ago
Posts: 13
May 10, 2018 9:16 pm  
Posted by: mac_editor
Posted by: Neo302

Hey @mac_editor,
Do you know why a 2014 15" MBP would hang after running 1 in the menu during the boot logo?  I've tried multiple times and it just sits there just past 1/2 way on the progress bar.

Try troubleshooting. Follow the instructions and check the status of the system using the script (2.0.1). What do you see?

@mac_editor  Right after I run the script, I see this:

>> System Status

 AMD eGPU Patch: Detected

NVIDIA Suppression: Not Detected

IGPU Forced: Detected

After it hangs, I reboot and do command + s to get to a prompt.  Then I run the troubleshoot commands to get back to purge-nvda.  When I run system status again, I see this:

>> System Status

AMD eGPU Patch: Detected

NVIDIA Suppression: Not Detected

IGPU Forced: Not Detected

Is there anything else I should try?  This is on version 2.0.1.
If I uninstall, I'm able to get back to High Sierra.
Thanks


ReplyQuote
(@neo302)
Active Member
Joined: 5 months  ago
Posts: 13
May 10, 2018 9:47 pm  
Posted by: mac_editor
Posted by: ricardokuster

actually the same happened here...

in troubleshoot - recovery mode :
mount : ok
purge-nvda : command not found 😐

If the command is not detected (in your case the /usr/local/bin/ was not present so it's different), you can call by specifying entire path - /usr/local/bin/purge-nvda.

@mac_editor  I got it working by reinstalling via command prompt.  I initially installed via manual download and typing in commands.  I'm not sure what could have been different as it appeared to work. 
Thanks!


ReplyQuote
PsyPryss
(@psypryss)
Eminent Member
Joined: 10 months  ago
Posts: 48
June 2, 2018 6:18 am  

Reporting in that purge-nvda works on 10.13.5 on 2012 non-retina MBP.

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


mac_editor liked
ReplyQuote
ricardokuster
(@ricardokuster)
Active Member
Joined: 6 months  ago
Posts: 8

ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years  ago
Posts: 1329
June 5, 2018 5:34 am  
purge-nvda.sh successfully purging NVIDIA GPUs as of Mojave (18A293u).

purge-wrangler.shpurge-nvda.shset-eGPU.sh
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife
----
Multiple Build Guides


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years  ago
Posts: 1329
June 28, 2018 2:09 pm  

I have discovered another method to disable the discrete NVIDIA GPU, and that involves completely disabling the muxing system on macOS (no kext modifications). The trick is to set the mux to iGPU beforehand, then disable muxing completely. This is much better because there is no driver-disabling going on - even if there was failure setting the mux - computer will boot fine ALWAYS. However, I need to test how this affects AMD eGPUs. Any volunteers (my eGPU is not working)? purge-nvda will be updated once I can confirm AMD eGPU works in this setting (have a feeling removable-designated GPUs should work fine - but can't say for sure).

Note how there is no "Automatic Graphics Switching" option in preferences, even tho I'm running a dGPU Mac.

 

dGPU is present - just never used. And guess what else this solves: High temps on dGPU for no reason.

Update: It seems like disabling the muxing completely is problematic and disables all manner of GPUs except the  one set before disabling. Perhaps it requires a more delicate touch - partial disabling. Will look into that some time. Still found it pretty cool that disabling muxing is so painless.

purge-wrangler.shpurge-nvda.shset-eGPU.sh
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife
----
Multiple Build Guides


avj, ricardokuster, theitsage and 1 people liked
ReplyQuote
avj
 avj
(@avj)
Active Member
Joined: 10 months  ago
Posts: 17
July 3, 2018 6:23 pm  

@mac_editor thanks a lot for the hard work and commitement! 
my setup: 
macbook pro retina mid-2014 with nvidia 750m dgpu
sonnet efgx 350 with rx 580 8G
an external dell ultrasharp

successfully installed purge-wrangler and purge-nvda and I have the "disconnect rx 580" icon in the menu bar.
the displays panel shows that the internal retina uses the igpu (intel iris pro) and the external uses the rx 580.
I moved the menu bar in the display arranements to the external.
does this make is the primary display? so now every app I open will use the AMD egpu?
just to be sure that I had installed it right:

purge-nvidia status says 

AMD eGPU Patch: Detected

NVIDIA Suppression: Detected

IGPU Forced: Not Detected

 and purge-wrangler status says:

AMD Patch: Detected

NVIDIA Patch: Not Detected


If the igpu forced is not detected, how can the mac os boot at all?
The system report graphics shows them all (igpu, dgpu nvidia 750m, egpu rx 580)
Note that while installing I've see problem with forcing boot the igpu, status said it's not detected - then I couldn't boot (loading bar stuck) then restarted with CMD+S and reinstalled both scripts, disabled hibernation in both of them, then booted successfully).

now for the problem: as I said I've moved the menu bar to the external monitor and  tried to oppen adobe after effects, and cinema 4D - both stuck for several minutes on their splash screens (AE says cleaning up c4d says loading plugins)....

update:
installed set-egpu and set for all applications. ae and c4d  still does not launch. (photoshop and illustrator does open)
but I guess launching an app uses the cpu, so why shouldn't it work at this point? looks like it somehow affects the whole system.

should I try to reinstall something? maybe I do not need the three of them?

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


ReplyQuote
Page 7 / 8 Prev Next