[SCRIPT] Accelerate All Applications On eGPU - macOS 10.13.4+  

Page 3 / 4 Prev Next
  RSS

nanoBit
(@nanobit)
Trusted Member
Joined: 11 months ago
Posts: 97
July 22, 2018 11:37 am  

Maybe a little but off-topic but has anyone tested the script with FCP? I did...it worked and FCP 10.4.3 used my GTX 1080 on export. But somehow it took exactly as long as exporting without the eGPU and FCP used it just at about 40%. Just wanted to know if anyone has the same issue or an idea how to solve this?

Setup: MacBook Pro 2018 15" 2.6GHz Radeon Pro 560X on macOS 10.14 & Windows 10 (Bootcamp); Sonnet eGFX Breakaway Box 350 with a Zotac GTX1080 AMP! Edition


ReplyQuote
damonhayhow
(@damonhayhow)
Eminent Member
Joined: 2 years ago
Posts: 22
July 22, 2018 1:22 pm  

Yes, I did set for all apps. 

Truly, its a fantastic script. And it certainly shows the fallacy that developers have to pour considerable resources into redeveloping their apps to work with eGPU's.  😉 Especially FCPX. 

I'll update in my signature with my setup. In this case, however, as I said, I have a 2016 13" Touchbar MBP which works great in the same setup. I put my new 15" 2018 MBP into the exact same setup and it failed twice in the exact same way.

It is REALLY bizarre behaviour. But for right now, Im happy with everything to use the egpu on High Sierra. Im not game to try Mojave a third time. 😉

2018 15" Macbook Pro I7 2.6 Ghz / 16Gb / 512 Gb / 560X. 2x LG Ultrafine 4K displays. Razer Core V2 eGPU, Radeon RX580, Sunnix UPD2018 Displayport adapter.


ReplyQuote
Eightarmedpet
(@eightarmedpet)
Noble Member
Joined: 2 years ago
Posts: 1134
July 22, 2018 4:09 pm  
Posted by: damonhayhow

Yes, I did set for all apps. 

Truly, its a fantastic script. And it certainly shows the fallacy that developers have to pour considerable resources into redeveloping their apps to work with eGPU's.  😉 Especially FCPX. 

I'll update in my signature with my setup. In this case, however, as I said, I have a 2016 13" Touchbar MBP which works great in the same setup. I put my new 15" 2018 MBP into the exact same setup and it failed twice in the exact same way.

It is REALLY bizarre behaviour. But for right now, Im happy with everything to use the egpu on High Sierra. Im not game to try Mojave a third time. 😉

I think we need pics of your set up... sounds impressive...

2017 13" MacBook Pro Touchbar + [email protected] (AKiTiO Thunder3) + Win10
2017 13" MacBook Pro Touch Bar + [email protected] (Sonnet Breakaway Box) + Win10

2017 13" MacBook Pro Touch Bar + GTX1070 (debating 2070 upgrade) @32Gbps-TB3 (Razer Core V1) + Win10

2017 13" MacBook Pro Touch Bar + Vega 56 @32Gbps-TB3 (Razer Core V1) + Win10 & macOS 10.14+

---
LG 5K Ultrafine flickering issue fix


ReplyQuote
042e
 042e
(@042e)
New Member
Joined: 5 months ago
Posts: 2
July 26, 2018 1:23 pm  

I am finally able to see some results now using the Blackmagic eGPU together with the fit-headless GS adapter, but I do have to use mirroring. Can anyone expand a bit on the setup of using a headless adapter without mirroring?

Some applications will work/benefit from having a headless adapter connected to the eGPU without mirroring - especially OpenCL applications.

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
Posts: 1600
July 26, 2018 4:12 pm  

@042e That is with reference to some games such as F1 2016 which won't launch on internal display if headless adapter is at least not connected. A special case I suppose.

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


ReplyQuote
042e
 042e
(@042e)
New Member
Joined: 5 months ago
Posts: 2
July 26, 2018 4:28 pm  

@mac_editor Ah I see, thank you for the clarification!

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


mac_editor liked
ReplyQuote
iaomw
(@iaomw)
Active Member
Joined: 2 years ago
Posts: 18
July 26, 2018 7:05 pm  

Thanks, that's so great. But looks like the WebGL content is Chrome\Safari is not using eGPU.

Do I need to do something special for Chrome and Safari?

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


ReplyQuote
limozeen
(@limozeen)
Active Member
Joined: 9 months ago
Posts: 13
July 30, 2018 8:16 pm  

I'm not sure if this is script-related, as I have surely installed a couple of programs since installing this script four or five days ago, but FCPX has today become unusable ---- only during rendering.

My new MBP, running 10.13.6, all-but-hangs, processing at a snails pace though without extensive resource utilization. Console reveals the following fault, which consistently and repeatedly appears only when FCPX is rendering video. Everything goes back to normal the instant rendering is stopped.

IOAccelFenceMachine::fence_timeout(IOTimerEventSource *): AMDRadeonAccelerator prodding blockFenceInterrupt

That error repeats every three or four seconds, infinitely. Any idea what's going on and if it's related to the script?

Does the script make any changes that are persistent even after using the script to reset eGPU preferences for all applications? How would I uninstall it completely if I want to confirm that the script isn't the issue here?

Unexpectedly, I can't find much else on the internet about that error. Help, please! 🙂 Thanks!

ps - When everything is working, your script rocks!

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
Posts: 1600
July 30, 2018 8:19 pm  

@limozeen Ideally resetting eGPU preferences should revert everything back to how it was before setting any preference. For good measure, reset the specific application as well.

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


ReplyQuote
limozeen
(@limozeen)
Active Member
Joined: 9 months ago
Posts: 13
July 30, 2018 8:22 pm  

Done and done. No dice.

Tried restarting, as well as various configurations of set-eGPU, eGPU plugged in vs. not, dummy head in vs. not, etc.

I'll explore other possible software avenues.

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
Posts: 1600
July 30, 2018 8:25 pm  

@limozeen For FCP, check com.apple.FinalCut.plist file and see if it has GPUSelectionPolicy key. If it doesn't, then the script has reset the preference successfully. If it does, delete it manually and retry. Another way might be to remove that plist file (keep it somewhere else and see what happens).

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: 1600
July 30, 2018 8:38 pm  

Apple has removed the SafeEjectGPU command line options to set/reset eGPU preferences as of macOS Mojave Beta 5. Either it is not possible to use CLI to set preferences in macOS Mojave or it has simply been moved (latter likely I guess). In any case, this setting is now available in UI as of macOS Mojave Beta 5. I haven't tested whether the older defaults technique works or not.

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


theitsage liked
ReplyQuote
limozeen
(@limozeen)
Active Member
Joined: 9 months ago
Posts: 13
July 31, 2018 8:28 am  

Hey mac_editor! Thank you so much for your rapid responses earlier!

As it happens - and as you suspected - it had nothing to do with your script. Bizarrely, the root cause of it all were a couple of older and incompatible FCPX plugins. It's incredible when seemingly insignificant problems end up completely putting the brakes on the usability of even the most powerful computer.

Glad I got it fixed, anyway.

If anyone else has this issue in the future: You may be able to isolate the problem to FCPX plugins or other non-stock elements by launching FCPX from another user account. (The effectiveness of this will depend on whether plugins are shared by all users or not. There is no "safe mode" for FCPX.).

This website along with Apple's FCPX troubleshooting page have good information on what to try once you have isolated the issue to FCPX.  What worked for me was  resetting my FCPX preferences, then backing up your plugins folders (there are three, use Google), and finally renaming/nuking those folders. Restart and see if you are good to go. If yes, rebuild your plugin library one plugin at a time. checking for the fault after each plugin install. It's annoying but it works.

Peace.

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


mac_editor liked
ReplyQuote
dre
 dre
(@dre)
Active Member
Joined: 9 months ago
Posts: 19
August 6, 2018 11:03 am  

Hey mac_editor, I didn't remove the script before installing the public beta of Mojave, any tips on how to remove the script (now that egpu's are supported with FCPX in mojave?). I looked but couldn't see idiot proof instructions 😉 Thanks x

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
Posts: 1600
August 6, 2018 11:06 am  

@dre Do you wish to completely remove it from the system? If so, just reset all apps (if you had used the script to set some), then remove it from /usr/local/bin.

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


ReplyQuote
dre
 dre
(@dre)
Active Member
Joined: 9 months ago
Posts: 19
August 6, 2018 11:10 am  
Posted by: mac_editor

@dre Do you wish to completely remove it from the system? If so, just reset all apps (if you had used the script to set some), then remove it from /usr/local/bin.

Yes, remove completely, I was only using if for FCPX and now there's official support in mojave it's not required on my machine.

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
Posts: 1600
August 6, 2018 11:16 am  

@dre cool, so just reset preference for Final Cut Pro with the script and remove it as above. That should be sufficient. 👍

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


ReplyQuote
Zaylondon
(@zaylondon)
New Member
Joined: 4 months ago
Posts: 1
August 17, 2018 12:03 am  

Everyone having problems with the apple black magic egpu not working efficiently. I’ve got it working on a 2014 mac thunderbolt 2 ports & working for any software. There has DEFINATELY been a huge difference with this device regarding my graphics. Working with 1080p videos and big improvements on FPS. Mac was throttled at 22 FPS and struggling. I have t done a reading as of yet but I can see from experience it’s got to be way above 50fps easily...

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


ReplyQuote
chappie
(@chappie)
New Member
Joined: 4 months ago
Posts: 1
August 21, 2018 6:08 pm  

hi, thanks for this great tool. while the last days i am working to update my macbook pro. i like to push the rendering of my final cut x version 10.4.3. mac os version is 10.13.6
nearly everything is now working with my new radeon rx vega 64. prerendering, playback of 4k material. but not the rendering of my fcx projects. just after starting is my intel rendering and nothing happend on my radeon. do somebody maybe know the reason? thanks a lot. chappie

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


ReplyQuote
(@albatraoz)
Active Member
Joined: 1 year ago
Posts: 12
September 12, 2018 5:01 am  

Has anybody has been able to accelerate a Steam Game? Most other Apps work for me in the applications folder but I think because Steam holds apps in a different folder the script won't accelerate them.

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
Posts: 1600
September 12, 2018 5:03 am  

@albatraoz Hmm, I thought I had fixed that. I will have to retest. In the meantime, try version 1.1.1.

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


ReplyQuote
(@albatraoz)
Active Member
Joined: 1 year ago
Posts: 12
September 12, 2018 6:02 am  
Posted by: mac_editor

@albatraoz Hmm, I thought I had fixed that. I will have to retest. In the meantime, try version 1.1.1.

Thanks Mac! Please let me know if you find anything unusual (Or if Steam Games are working for you).

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
Posts: 1600
September 12, 2018 6:12 am  

@albatraoz What version of macOS are you using? Also could you post a screenshot of searching for a Steam game as well (ex. rocket league or something)?

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


ReplyQuote
(@albatraoz)
Active Member
Joined: 1 year ago
Posts: 12
September 12, 2018 9:29 am  
Posted by: mac_editor

@albatraoz What version of macOS are you using? Also could you post a screenshot of searching for a Steam game as well (ex. rocket league or something)?

All good I managed to get it working using the Purge-Wrangler Script as opposed to automate-gpu. Thanks for the help.

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


ReplyQuote
ozzy
 ozzy
(@ozzy)
Trusted Member
Joined: 2 years ago
Posts: 72
September 16, 2018 2:10 am  

@mac_editor  Any idea how to search for applications in cases where there may be multiple applications with a similar name? For instance, Tomb Raider and Rise of the Tomb Raider. Or Deus Ex: Human Revolution and Deus Ex: Mankind Divided?

It only ever seems to find one of them and I haven't been able to get it to find Rise of the Tomb Raider regardless of what I try.

2012 15" Macbook Pro Retina GT650M + [email protected] (AKiTiO Node via TB3->TB2 adapter) + macOS10.13 & Win10


ReplyQuote
ozzy
 ozzy
(@ozzy)
Trusted Member
Joined: 2 years ago
Posts: 72
September 16, 2018 8:07 pm  

I was able to manually insert the settings into the .plist file. Interestingly, when I did just:

<key>GPUSelectionPolicy</key>
<string>preferRemovable</string>

it didn't work and didn't recognize the eGPU (and the game wouldn't launch).  However, when I put in the eject policy setting first, then it did work:

<key>GPUEjectPolicy</key>
<string>relaunch</string>
<key>GPUSelectionPolicy</key>
<string>preferRemovable</string>

Did some benchmarking on Windows/Mac (required a whole bunch of updates to Windows to get it working again). At 1440p with Very High settings in DX12 mode Windows gets ~47 FPS on the benchmark, while at 1440p with Very High settings OS 10.3.6 gets ~41 FPS on the benchmark. Have read elsewhere that Mojave helps, so maybe when that comes out the gap will close a bit. Still, a ~15% drop in performance vs. Windows is much better than normal.

2012 15" Macbook Pro Retina GT650M + [email protected] (AKiTiO Node via TB3->TB2 adapter) + macOS10.13 & Win10


mac_editor liked
ReplyQuote
theaceofbass
(@theaceofbass)
New Member
Joined: 3 months ago
Posts: 1
September 19, 2018 7:30 pm  

Hi all,

Hoping someone out there might help. Trying to get an iMac Pro to work with an eGPU (PNY Nvidia 1080 ti) via a USB-C Sonnet eGPU box. iMac is running OS 10.13.6. Tried a couple of times with a script posted on these forums. It installs the driver, and within System Info I can see the mac in some way recognizes the Nvidia card - but not the extent I get the eGPU icon and Nvidia preferences doesn't recognize the card being attached. 

Does the above script work? Does it require any other tweaking / scripts? I'm ideally trying to get iMac / iMac pros to run with Nvidia so I can make use of Octane Render and Red Shift Render on C4D on Mac OS. 

Can provide more info if needed - machine is at work and I'm writing this from home. 

Any help welcome, apologies for any amateur hour questions!

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
Posts: 1600
September 19, 2018 8:36 pm  

@ozzy Sorry wasn't able to reply before as the forum was misbehaving for me. Glad you got things going. I'll look into the issue when possible.

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


ReplyQuote
ozzy
 ozzy
(@ozzy)
Trusted Member
Joined: 2 years ago
Posts: 72
September 20, 2018 5:56 pm  

@mac_editor No worries! Let me know if you wanted to test anything. I've actually noticed that problem shows up with a lot of games that have similar names that I have installed (e.g. Borderlands 2 vs Borderlands the Pre-Sequal, Civ IV vs Civ V vs Civ VI, Tomb Raider vs. Rise of the Tomb Raider, Deus Ex Mankind Divided vs. Deus Ex Human Revolution, etc.). Seems to be pretty random which one the script picks up.

Also now that I have an external hard drive I re-installed most of my Steam Library (including most of those games). Interesting to see which "old" OpenGL games will pickup and use the eGPU and which ones either a) won't launch, b) will crash, or c) will display on external monitor but are clearly rendering using internal GPU.

2012 15" Macbook Pro Retina GT650M + [email protected] (AKiTiO Node via TB3->TB2 adapter) + macOS10.13 & Win10


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
Posts: 1600
September 20, 2018 7:08 pm  

@ozzy Roger that. I will investigate soon. I'll ping you if I need anything to be tested. Don't have much time these days.

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


ReplyQuote
tsakal
(@tsakal)
Estimable Member
Joined: 3 months ago
Posts: 122
September 25, 2018 9:22 am  

@zaylondon
I am using the same card in a Gigabyte gaming box with a map 13 2015 tb2 see below. Have you used FCP X which version, how is it? 

My setup mbp13 2015 i7 16gb ram Mojave last beta, Everything works, especially fcp x v 10.3.4 uses the external gpu for everything rendering and exporting. i did not dare to upgrade to 10.4 yet as i am afraid that it will not work. Heaven moderate with 2x anti with high setting at 41 fps min 30 max 76 ultra 39.5 fps with min 26.5 max 63.1 . I get excited only by the thought of pairing my new gaming box rx580 with the new 4 core mbp 13, only if they offered it with 32 gb ram ..... 

A. 2.7 GHz I7 4 Cores, 16Gb, 1TB MBP 13 2018 TB3 , EGPU Gigabyte Gaming Box RX580 8Gb

B. 3.1 GHz I7, 16Gb, 1TB MBP 13 2015 TB2 , EGPU Gigabyte Gaming Box RX580 8Gb


ReplyQuote
tsakal
(@tsakal)
Estimable Member
Joined: 3 months ago
Posts: 122
September 25, 2018 9:24 am  

@chappie

Have you tried with Mojave? 

I have the fcp 10.3.4 working fine with mojave on a mbp 13 2015

A. 2.7 GHz I7 4 Cores, 16Gb, 1TB MBP 13 2018 TB3 , EGPU Gigabyte Gaming Box RX580 8Gb

B. 3.1 GHz I7, 16Gb, 1TB MBP 13 2015 TB2 , EGPU Gigabyte Gaming Box RX580 8Gb


ReplyQuote
tsakal
(@tsakal)
Estimable Member
Joined: 3 months ago
Posts: 122
September 25, 2018 9:27 am  

@mac_editor @albatraoz
Check this out 

A. 2.7 GHz I7 4 Cores, 16Gb, 1TB MBP 13 2018 TB3 , EGPU Gigabyte Gaming Box RX580 8Gb

B. 3.1 GHz I7, 16Gb, 1TB MBP 13 2015 TB2 , EGPU Gigabyte Gaming Box RX580 8Gb


ReplyQuote
(@emeric_zahnd)
New Member
Joined: 2 months ago
Posts: 1
October 8, 2018 8:36 am  

1st - Thank you i'm about to try it 
2sd - tried to read all comments but missing the info if i need to re-enable the SIP thing back @ the end of the process ? 

thanks for your help.

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


ReplyQuote
Rowley
(@rowley)
Active Member
Joined: 1 month ago
Posts: 5
November 6, 2018 6:19 am  

@mac_editor I setup my eGPU according to the procedures which wrote by @jeroen-van-keulen and yours, system seems recognized my Rx460 because I can find the icon in menu-bar and two graphic cards placed in system information as well. However, the "about my Mac Book" still shows internal graphic card and Photoshop cc 2019 can't choose the eGPU as well. I would like to use internal monitor with eGPU so ran the script you provided, and I saw my PS has preferred eGPU already, but the app doesn't use eGPU when render the picture... any suggestion on it? Thank you!

ps: Early 2015 RMBP 13'' + MacOS Mojave 10.14.2 beta

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
Posts: 1600
November 6, 2018 6:30 am  

@rowley set-eGPU.sh doesn't work/is not needed on Mojave.

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


ReplyQuote
Page 3 / 4 Prev Next