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

Page 1 / 2 Next
 

mac_editor
(@mac_editor)
Noble Member Moderator
Joined:1 year  ago
Posts: 1026
June 28, 2018 11:30 am  

set-eGPU.sh allows you to easily set application eGPU preferences for all installed macOS applications. This allows applications to use the eGPU, and is display agnostic, making it convenient for many users without external monitors.

 

Usage

To install set-eGPU.sh:

curl -s "https://api.github.com/repos/mayankk2308/set-egpu/releases/latest" | grep '"browser_download_url":' | sed -E 's/.*"([^"]+)".*/\1/' | xargs curl -L -s -0 > set-eGPU.sh && chmod +x set-eGPU.sh && ./set-eGPU.sh && rm set-eGPU.sh

OR

Use @jeroen-van-keulen's Alln1 installer.

Please note that admin privileges are needed only for installation and software updates. Any actions performed by the script are done in a user shell automatically. The script does not modify any core system files. As such, the only requirement is macOS 10.13.4 or later.

The above command is one-time only. For future use, simply type:

set-eGPU

 

If you feel you don't need the script as you are dealing with just one application, you can use the following command to manage eGPU preference:

# Write to application name
defaults write -app "<app name>" GPUSelectionPolicy -string preferRemovable
# Write to application plist file
defaults write com.xxx.xxxx GPUSelectionPolicy -string preferRemovable
# To remove this preference
defaults delete -app "<app name>" GPUSelectionPolicy

 

If the above command says no application found, or some equivalent message, that might be because it is nested into its own folder (CINEBENCH, for instance). In the future, defaults may be deprecated for such use. set-eGPU.sh handles this for one extra nesting, and thus covers such applications. You need to find the plist associated with an app using:

osascript -e 'id of app "<app name>"'

 

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

Also note that because Mojave is a beta at this time, setting application eGPU preferences has some bugs. For example, checking the status of an application will always return no preference set, even though preference has clearly been set. Other issues include applications crashing when setting preferences. These may likely be resolved in future betas.

 

A thank you suffices, but for those kind souls who would love to contribute:

paypal  (@mac_editor)

purge-wrangler.shpurge-nvda.shset-eGPU.sh
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife
----
2014 MBP GT750M + RX480 TB3>TB2
2014 MBP GT750M + GTX980Ti TB3>TB2


PsyPryss, Chippy McChipset, avj and 7 people liked
ReplyQuote
goalque
(@goalque)
Noble Member Admin
Joined:2 years  ago
Posts: 1061

mac_editor liked
ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined:1 year  ago
Posts: 1026
June 28, 2018 2:19 pm  

@goalque I'd prefer it if we can avoid NVDAEGPUSupport kext while doing so (your codeless kext is much preferred - or no kext at all). It should be possible to inject modded kexts as required in Clover (just for plist update in most cases) - tho not sure how this affects the cache, etc. - I simply have less info on how that works - tho worth looking into maybe.

purge-wrangler.shpurge-nvda.shset-eGPU.sh
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife
----
2014 MBP GT750M + RX480 TB3>TB2
2014 MBP GT750M + GTX980Ti TB3>TB2


ReplyQuote
goalque
(@goalque)
Noble Member Admin
Joined:2 years  ago
Posts: 1061
June 28, 2018 3:30 pm  

The codeless automate-eGPU.kext wouldn't exist if Clover's InfoPlistPatch or InjectKexts were workable/stable. At least, the latter crashed the system immediately. I've not debugged, maybe related to direct memory manipulation. I recall both required FSInject efi. The current EFI solution doesn't require any additional efi drivers. A codeless kext will work always - its function is documented by Apple. The only downside, we cannot acquire Apple's kext signing certificate for this.

automate-eGPU EFIapple_set_os.efi
--
late-2016 13" Macbook Pro nTB + Vega64@32Gbps-TB3 (Netstor HL23T) + macOS & Win10
late-2016 13" Macbook Pro nTB + GTX980/RX580@32Gbps-TB3 (Netstor HL23T) + macOS10.13 & Win10


mac_editor liked
ReplyQuote
Jeroenvankeulen
(@jeroen-van-keulen)
Trusted Member
Joined:7 months  ago
Posts: 64
June 28, 2018 9:17 pm  

I've tried on my setup. Failure... :'-( 

It broke the eGPU all together. 
After reset 

SafeEjectGPU ResetPrefs

I got my eGPU back

ALLn1
MBP11,4, i7-4980HQ, 256gb SSD, 16gbRAM Mojave (Sonnet Breakaway box 350 + Gigabyte Radeon RX 580 Gaming 8GB)
MacBook7,1 A1342, 120gb SSD 4gbRAM. HS (Hiking/Camping)
Mm3,1 P7350, 250gb SSD 8gbRAM. HS (server) iPhone10,3 64gb. iOS12 iPad5,3, 16gb. iOS12 iPod shuffle 2nd gen. 2gb
GeekBench


mac_editor liked
ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined:1 year  ago
Posts: 1026
June 28, 2018 9:18 pm  

Mojave is a work-in-progress. Would expect no less. But at least it is having an effect.

@jeroen-van-keulen You can also set preferences by app. Instead of "-" provide app file path using SetPref. I tried this, but it never sets the apps preference correctly (checked using evalPref). Maybe it is fixed in a future build.

purge-wrangler.shpurge-nvda.shset-eGPU.sh
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife
----
2014 MBP GT750M + RX480 TB3>TB2
2014 MBP GT750M + GTX980Ti TB3>TB2


ReplyQuote
theitsage
(@itsage)
Famed Member Admin
Joined:2 years  ago
Posts: 2549
June 29, 2018 12:24 am  

@mac_editor Thank you very much for this discovery! It looks like @goalque is able to use internal display mode with this solution.

Best ultrabooks for eGPU use

eGPU enclosure buying guide

61 external GPU build guides


goalque and mac_editor liked
ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined:1 year  ago
Posts: 1026
June 29, 2018 1:09 am  

Final Cut Pro (10.4.3) using the GTX 1070 for timeline performance on the internal display:

purge-wrangler.shpurge-nvda.shset-eGPU.sh
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife
----
2014 MBP GT750M + RX480 TB3>TB2
2014 MBP GT750M + GTX980Ti TB3>TB2


Chippy McChipset, nando4, goalque and 1 people liked
ReplyQuote
Eightarmedpet
(@eightarmedpet)
Honorable Member
Joined:1 year  ago
Posts: 759
June 29, 2018 8:10 am  

This is super interesting! macOS needs some system wide gpu management like windows, considering egpus are a touted feature it’s crazy it doesn’t exist.

2017 13" MacBook Pro Touchbar + GTX1060@32Gbps-TB3 (AKiTiO Thunder3) + Win10
2017 13" MacBook Pro Touch Bar + GTX1070@32Gbps-TB3 (Sonnet Breakaway Box) + Win10
---
LG 5K Ultrafine flickering issue fix


ReplyQuote
goalque
(@goalque)
Noble Member Admin
Joined:2 years  ago
Posts: 1061
June 29, 2018 8:36 am  
Posted by: theitsage

@mac_editor Thank you very much for this discovery! It looks like @goalque is able to use internal display mode with this solution.

Yes, the internal can be the primary display. Needs further testing with different APIs. The OpenGL seems to require an online display (a headless ghost adapter or programmatically made fake display). I bet Metal accelerates everything on the internal screen, and you can pick up any app/game you like.

https://egpu.io/forums/mac-setup/two-new-egpu-solutions-on-macos-10-13-4-pure-efi-and-hybrid/paged/6/#post-38948

automate-eGPU EFIapple_set_os.efi
--
late-2016 13" Macbook Pro nTB + Vega64@32Gbps-TB3 (Netstor HL23T) + macOS & Win10
late-2016 13" Macbook Pro nTB + GTX980/RX580@32Gbps-TB3 (Netstor HL23T) + macOS10.13 & Win10


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined:1 year  ago
Posts: 1026
June 29, 2018 9:50 am  

@goalque Good news! Even with pw4/EFI patch, although SafeEjectGPU shows discrete, setting the preference to removable makes a difference. Tested on Final Cut Pro. Additional GPUSelectionPolicy are default and ignore.

With eGPU connected (no external display, shown as discrete) and default parameter - 750 used for timeline performance.  With preference set to preferRemovable and relaunching app, both 750M + 1070 used for timeline. Export uses CPU-only - unaffected.

Internal display + Purge-Wrangler 4.0.2 patch:

Using the latest web driver which does not support OpenCL/GL on my machine.

purge-wrangler.shpurge-nvda.shset-eGPU.sh
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife
----
2014 MBP GT750M + RX480 TB3>TB2
2014 MBP GT750M + GTX980Ti TB3>TB2


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined:1 year  ago
Posts: 1026
June 29, 2018 10:09 am  

@eightarmedpet Seems like its there, just under our noses and not in the UI, haha. You should also be able to use eGPU on your Ultrafine (just for apps) if everything works on internal display (like in the case of FCP).

purge-wrangler.shpurge-nvda.shset-eGPU.sh
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife
----
2014 MBP GT750M + RX480 TB3>TB2
2014 MBP GT750M + GTX980Ti TB3>TB2


ReplyQuote
Eightarmedpet
(@eightarmedpet)
Honorable Member
Joined:1 year  ago
Posts: 759
June 29, 2018 11:26 am  

That’s super exciting to hear, finally!
Currently on holiday but will give this a bash as soon as I’m back. The new Hybrid solution the best to pair with this command?

2017 13" MacBook Pro Touchbar + GTX1060@32Gbps-TB3 (AKiTiO Thunder3) + Win10
2017 13" MacBook Pro Touch Bar + GTX1070@32Gbps-TB3 (Sonnet Breakaway Box) + Win10
---
LG 5K Ultrafine flickering issue fix


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined:1 year  ago
Posts: 1026
June 29, 2018 11:31 am  

@eightarmedpet PW4 or EFI hybrid - both should do the trick. Cannot test Pure EFI myself. This setting works best for Metal apps, although the documentation clearly says also affects OpenCL/GL queues.

PS: Enjoy your vacation 🙂

purge-wrangler.shpurge-nvda.shset-eGPU.sh
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife
----
2014 MBP GT750M + RX480 TB3>TB2
2014 MBP GT750M + GTX980Ti TB3>TB2


ReplyQuote
ozzy
 ozzy
(@ozzy)
Trusted Member
Joined:1 year  ago
Posts: 67
June 29, 2018 6:11 pm  

Tried this with my setup - 10.3.5, 2012 MBP 15" Retina with 650m and 1070 eGPU. This is using the original 10.3.x solution though and @fr34k's script, since I can't try the Hybrid EFI method (TB1 macs not supported at the moment). I tried it with Hitman, which is a Metal game, which worked great under 10.2.x but has never worked under 10.3.x. Sadly it still doesn't seem to work. The GPU History is showing that the 1070 is being used and is being maxed out, and the 650m isn't being used, but the actual FPS is more like 4-5 FPS, which clearly is not the performance that I got under 10.2.x (where it ran flawlessly at 1440p). Oh well, will keep trying new methods when people come up with them 🙂

2012 15" Macbook Pro Retina GT650M + GTX1070@10Gbps-TB1 (AKiTiO Node via TB3->TB2 adapter) + macOS10.13 & Win10


ReplyQuote
Luisetepe
(@luisetepe)
Active Member
Joined:3 months  ago
Posts: 10
June 29, 2018 6:25 pm  

@mac_editor Any ways to check what name has tu be used in the command? Im trying with "Unity" (for the game engine) and "CINEBENCH OSX" for benchmarking, but in both situations it says that cant find an application with that name.


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined:1 year  ago
Posts: 1026
June 29, 2018 6:36 pm  

@luisetepe Usually the name of the app in Launchpad or Applications folder would do the trick.

@ozzy I tried testing F1 2016 - metal game too. Never launches. Looks like games will likely need dev-end support. Although my Mac has too many complications to make a generalization. @goalque was able to accelerate Valley benchmark easily with a non NVIDIA dGPU notebook.

purge-wrangler.shpurge-nvda.shset-eGPU.sh
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife
----
2014 MBP GT750M + RX480 TB3>TB2
2014 MBP GT750M + GTX980Ti TB3>TB2


ReplyQuote
Luisetepe
(@luisetepe)
Active Member
Joined:3 months  ago
Posts: 10
June 29, 2018 6:42 pm  

I think that's the case for apple Apps, for example "TextEdit" works for TextEdit, but i have tried unity, unity3d (seen that the plist file is com.unity3d...), and so on and i cant make it work. I've tried with "blender" for Blender or "photoshop" and "Adobe Photoshop CC 2018" for Adobe's Photoshop, and same result. I've only found some kind of man page for that specific command, but is using only TextEdit as example, so.. :p  https://ss64.com/osx/defaults.html


ReplyQuote
goalque
(@goalque)
Noble Member Admin
Joined:2 years  ago
Posts: 1061
June 29, 2018 7:08 pm  

Also tried Rise of the Tomb Raider (Metal accelerated), with a 2016 13" MBP and GTX 980. Launching the app from the internal screen's dock was possible, only when a headless ghost adapter was plugged in. If wasn't plugged, the game quickly shutted down itself.

defaults write com.feralinteractive.riseofthetombrider GPUSelectionPolicy -string preferRemovable

The man page of SafeEjectGPU says that some values can be specified in the app's Info.plist.

The current automate-eGPU "EFI Boot" does not produce removable key. This can be configured in the future.

automate-eGPU EFIapple_set_os.efi
--
late-2016 13" Macbook Pro nTB + Vega64@32Gbps-TB3 (Netstor HL23T) + macOS & Win10
late-2016 13" Macbook Pro nTB + GTX980/RX580@32Gbps-TB3 (Netstor HL23T) + macOS10.13 & Win10


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined:1 year  ago
Posts: 1026
June 29, 2018 8:13 pm  

@luisetepe I am preparing a script (set-eGPU.sh) that hopefully handles the problem (can be used to set all applications in /Applications and ~/Applications to use eGPU).

@goalque Confirming that having a non-primary external display (basically headless for this purpose) allowed F1 2016 to run (quite well) on internal display (no mirroring, etc.).

purge-wrangler.shpurge-nvda.shset-eGPU.sh
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife
----
2014 MBP GT750M + RX480 TB3>TB2
2014 MBP GT750M + GTX980Ti TB3>TB2


ReplyQuote
Luisetepe
(@luisetepe)
Active Member
Joined:3 months  ago
Posts: 10
June 29, 2018 8:32 pm  

@mac_editor Seeing goalque's post i tried with com.company.program form and detected com.blizzard.heroesofthestorm and com.unity3d.UnityEditor for example.
I didn't got them working anyways, HoTs its not using metal atm and crashes upon start, and Unity keeps using intel gpu if launching from internal as primary 😀


ReplyQuote
Luisetepe
(@luisetepe)
Active Member
Joined:3 months  ago
Posts: 10
June 29, 2018 8:52 pm  

Interesting thing I've found. For apps that for me didn't use the eGPU even if open in the external monitor  while the internal LCD is on (if I close the lid they DO work) as Photoshop for example, If i set defaults write com.adobe.Photoshop GPUSelectionPolicy -string preferRemovable they DO use the eGPU in the external monitor with the internal LCD active.


goalque liked
ReplyQuote
ozzy
 ozzy
(@ozzy)
Trusted Member
Joined:1 year  ago
Posts: 67
June 29, 2018 9:03 pm  

@mac_editor yes, I can get the Heaven benchmark to run fine. For whatever reason, the Metal games I've tried in 10.3.x have never worked (Hitman and Deus Ex: Mankind Divided). They launch and run, and show as using the 1070, but only get 4-5 FPS.

2012 15" Macbook Pro Retina GT650M + GTX1070@10Gbps-TB1 (AKiTiO Node via TB3->TB2 adapter) + macOS10.13 & Win10


mac_editor liked
ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined:1 year  ago
Posts: 1026

ReplyQuote
detunedradios
(@detunedradios)
Eminent Member
Joined:6 months  ago
Posts: 47
June 29, 2018 9:23 pm  

This is fantastic. I'll have to benchmark rendering BruceX on my RX 580 in FCPX 10.4.3 when I get a chance.

2016 15" MacBook Pro - 2.7GHz Core i7, Radeon Pro 460 4GB, 1TB SSD
Sonnet Breakaway Box 350 with Radeon RX 580 8GB


ReplyQuote
(@zambrigo)
Active Member
Joined:3 weeks  ago
Posts: 9
June 29, 2018 11:39 pm  

Hello everyone and congratulations for the great work you do to help the eGPU technology improve so fast!

I am new to this forum but I have been intensively reading and researching before buying what I think will be my eGPU setup, formed by an Akitio Node + Sapphire Nitro+ RX 580. The main reason not to buy it until now was all the problems I have been watching to make the apps use the eGPU, overall FCPX, Photoshop and Premiere.

I think this thread is a game changer for me and probably on Monday I will order the products, but before I would like @luisetepe to answer me a question, if possible. My actual setup is formed by a closed lid MBP 2017, attached to 2 external displays, 1 via TB2 and the other via a TB3 Raid that includes Displayport. After reading Luisetepe's post, I have a doubt that maybe he can explain.

With my actual setup (closed lid 100% of time and always using 2 external displays) would the eGPU do the graphic work in FCPX and other apps that you mention? Or would I need to apply the hack treated in this thread?

Thanks in advance, best regards,
Miguel.

Posted by: Luisetepe

...apps that for me didn't use the eGPU even if open in the external monitor  while the internal LCD is on (if I close the lid they DO work)...


ReplyQuote
detunedradios
(@detunedradios)
Eminent Member
Joined:6 months  ago
Posts: 47
June 30, 2018 1:23 am  

Fantastic news for FCPX users - I can confirm this enables rendering and exporting using your eGPU on the latest FCPX release (10.4.3) - confirmed with GPU usage in Activity Monitor. BruceX exported to 5K ProRes 422 in 38 seconds on my Radeon Pro 460 but in only 19 using my RX 580.

No more having to stick to 10.3!

2016 15" MacBook Pro - 2.7GHz Core i7, Radeon Pro 460 4GB, 1TB SSD
Sonnet Breakaway Box 350 with Radeon RX 580 8GB


mac_editor liked
ReplyQuote
detunedradios
(@detunedradios)
Eminent Member
Joined:6 months  ago
Posts: 47
June 30, 2018 5:14 am  
Posted by: ZambriGo

Hello everyone and congratulations for the great work you do to help the eGPU technology improve so fast!

I am new to this forum but I have been intensively reading and researching before buying what I think will be my eGPU setup, formed by an Akitio Node + Sapphire Nitro+ RX 580. The main reason not to buy it until now was all the problems I have been watching to make the apps use the eGPU, overall FCPX, Photoshop and Premiere.

I think this thread is a game changer for me and probably on Monday I will order the products, but before I would like @luisetepe to answer me a question, if possible. My actual setup is formed by a closed lid MBP 2017, attached to 2 external displays, 1 via TB2 and the other via a TB3 Raid that includes Displayport. After reading Luisetepe's post, I have a doubt that maybe he can explain.

With my actual setup (closed lid 100% of time and always using 2 external displays) would the eGPU do the graphic work in FCPX and other apps that you mention? Or would I need to apply the hack treated in this thread?

Thanks in advance, best regards,
Miguel.

Posted by: Luisetepe

...apps that for me didn't use the eGPU even if open in the external monitor  while the internal LCD is on (if I close the lid they DO work)...

So, first, if you use an eGPU you'll want to start plugging your displays directly into the eGPU rather than into your MBP itself for the best performance.

Second, most apps will Just Work as long as you launch them on an external display connected to your eGPU, so "clamshell + external monitor" is a pretty ideal scenario for getting apps to use your eGPU. What people have generally had trouble with is getting eGPU acceleration to work on a built-in display, which the terminal command in this thread helps with.

The tricky thing with FCPX in particular is that, for some reason, the 10.4 update made it so that renders only use your internal GPU rather than the external GPU (10.3 did renders with the eGPU as well, and timeline playback still uses the eGPU). But the terminal trick in this thread makes FCPX use the eGPU for rendering/exporting as well.

2016 15" MacBook Pro - 2.7GHz Core i7, Radeon Pro 460 4GB, 1TB SSD
Sonnet Breakaway Box 350 with Radeon RX 580 8GB


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined:1 year  ago
Posts: 1026
June 30, 2018 7:52 am  

Made setting preferences easier using a script - because why not (lol). Can be used to set prefs for all apps in one go. Check main post for details. Have also kept instructions for those who don't wish to use the script (dealing with one app, etc.).

purge-wrangler.shpurge-nvda.shset-eGPU.sh
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife
----
2014 MBP GT750M + RX480 TB3>TB2
2014 MBP GT750M + GTX980Ti TB3>TB2


artik liked
ReplyQuote
detunedradios
(@detunedradios)
Eminent Member
Joined:6 months  ago
Posts: 47
June 30, 2018 8:49 pm  

Note: FCPX crashes if you try to launch it without an eGPU attached in this state, so you'll have to switch it off and on depending on if you're using an eGPU at the moment.

2016 15" MacBook Pro - 2.7GHz Core i7, Radeon Pro 460 4GB, 1TB SSD
Sonnet Breakaway Box 350 with Radeon RX 580 8GB


ReplyQuote
(@rhenriques11)
Eminent Member
Joined:4 months  ago
Posts: 34
June 30, 2018 10:43 pm  

This is another nice effort. It sure works with some apps. However lots of apps are not identified (for instance Cinema 4D). In my case the script disabled one of my internal GPU's and one of my external ones. It seems to allow only 2 GPU's at a time. My MacPro 2013, with 2AMD's and 2 External NV 1080 GTX, only uses one of each. Agisoft Photoscan, which can use all available hardware, after the script is only able to "see" the external GPUs. Internal ones disappear from the list. Maybe it's an "easy to solve" problem.


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined:1 year  ago
Posts: 1026
June 30, 2018 11:02 pm  

@rhenriques11 thank you for the report 🙂 At the end of the day, these settings are Apple’s official methods of “preferring” GPUs for apps. So you might likely see this change a lot (in Mojave, like in their demo showing multiple eGPUs) over macOS updates. The script only automates the process of setting the pref for all apps that it finds. Could you post apps that the script could not find? Note that some apps may simply never use egpu even with this setting, but the app has been detected. This is just the first release. While this project is low priority on my list of things to do, I will refine it over time ;).

purge-wrangler.shpurge-nvda.shset-eGPU.sh
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife
----
2014 MBP GT750M + RX480 TB3>TB2
2014 MBP GT750M + GTX980Ti TB3>TB2


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined:1 year  ago
Posts: 1026
June 30, 2018 11:06 pm  

@detunedradios I noticed this as well. It would seem the option is inappropriately named preferRemovable. A preference should only apply if it is available (egpu connected) haha. Example, I tried setting this preference to Activity Monitor - guess what, all other GPUs disappeared besides egpu (lol).

purge-wrangler.shpurge-nvda.shset-eGPU.sh
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife
----
2014 MBP GT750M + RX480 TB3>TB2
2014 MBP GT750M + GTX980Ti TB3>TB2


ReplyQuote
(@rhenriques11)
Eminent Member
Joined:4 months  ago
Posts: 34
June 30, 2018 11:28 pm  
Posted by: mac_editor

@detunedradios I noticed this as well. It would seem the option is inappropriately named preferRemovable. A preference should only apply if it is available (egpu connected) haha. Example, I tried setting this preference to Activity Monitor - guess what, all other GPUs disappeared besides egpu (lol).

That's precisely what I'm seeing in most apps. Internal GPU's disappear and only the external ones are identified. In rare occasions, one of each gets active.


ReplyQuote
charleszhao
(@charleszhao)
Active Member
Joined:4 months  ago
Posts: 11
July 1, 2018 2:44 am  

it's great for fcpx rendering. thanks! mac_editor


mac_editor liked
ReplyQuote
detunedradios
(@detunedradios)
Eminent Member
Joined:6 months  ago
Posts: 47
July 1, 2018 6:25 am  

If anyone else wants a silly AppleScript to toggle this for FCPX:

display dialog "Is your eGPU connected?" buttons {"Yes", "No"} with title "FCPX eGPU Enabler"
if the button returned of the result is "Yes" then
do shell script "defaults write -app \"Final Cut Pro\" GPUSelectionPolicy -string preferRemovable"
display dialog "eGPU acceleration for Final Cut Pro has been enabled." buttons {"OK"}
else
do shell script "defaults delete -app \"Final Cut Pro\" GPUSelectionPolicy"
display dialog "eGPU acceleration for Final Cut Pro has been disabled." buttons {"OK"}
end if

2016 15" MacBook Pro - 2.7GHz Core i7, Radeon Pro 460 4GB, 1TB SSD
Sonnet Breakaway Box 350 with Radeon RX 580 8GB


ReplyQuote
Page 1 / 2 Next