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

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

 of  14
  RSS

Luisetepe
(@luisetepe)
Active Member
Joined: 2 years ago
 

@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 😀

To do: Create my signature with system and expected eGPU configuration information to give context to my posts. I have no builds.

.

ReplyQuote
Luisetepe
(@luisetepe)
Active Member
Joined: 2 years ago
 

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.

To do: Create my signature with system and expected eGPU configuration information to give context to my posts. I have no builds.

.

goalque liked
ReplyQuote
ozzy
 ozzy
(@ozzy)
Estimable Member
Joined: 3 years ago
 

@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) [3rd,4C,Q] + GTX 1070 @ 10Gbps-TB1>TB3 (AKiTiO Node) + macOS 10.13 & Win10 [build link]  

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

@luisetepe expected behavior - the setting is display independent 😉

purge-wranglertbt-flashpurge-nvdaset-eGPU
Insights Into macOS Video Editing Performance

Master Threads:
2014 15-inch MacBook Pro 750M
2018 15-inch MacBook Pro

 
2019 13" MacBook Pro [8th,4C,U] + RX Vega 64 @ 32Gbps-TB3 (Mantiz Venus) + macOS 10.14.6 & Win10 [build link]  


ReplyQuote
detunedradios
(@detunedradios)
Trusted Member
Joined: 3 years ago
 

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, modded with 650W PSU, with Radeon RX Vega 64


ReplyQuote
ZambriGo
(@zambrigo)
Active Member
Joined: 2 years ago
 

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)...

To do: Create my signature with system and expected eGPU configuration information to give context to my posts. I have no builds.

.

ReplyQuote
detunedradios
(@detunedradios)
Trusted Member
Joined: 3 years ago
 

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, modded with 650W PSU, with Radeon RX Vega 64


ReplyQuote
detunedradios
(@detunedradios)
Trusted Member
Joined: 3 years ago
 
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, modded with 650W PSU, with Radeon RX Vega 64


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

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-wranglertbt-flashpurge-nvdaset-eGPU
Insights Into macOS Video Editing Performance

Master Threads:
2014 15-inch MacBook Pro 750M
2018 15-inch MacBook Pro

 
2019 13" MacBook Pro [8th,4C,U] + RX Vega 64 @ 32Gbps-TB3 (Mantiz Venus) + macOS 10.14.6 & Win10 [build link]  


artik liked
ReplyQuote
detunedradios
(@detunedradios)
Trusted Member
Joined: 3 years ago
 

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, modded with 650W PSU, with Radeon RX Vega 64


ReplyQuote
 of  14