[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

mac_editor
(@mac_editor)
Famed Member Moderator
Joined: 4 years ago
 

Page shortcut:  https://egpu.io/set-eGPU   |  set-egpu

 


Script Version macOS Support Github All Releases

Note: I will not be responding to questions already addressed in the documentation. Please read through before posting questions.

Contents

A quick run-through of what's included in this document:

Pre-Requisites

macOS requirements, pre-system configuration specifics, and more.

Installation

Installing and running the script.

Script Options

Available capabilities and options in the script.

Post-Install

System configuration after script installation and some other things of note.

Troubleshooting

Additional resources and guides for eGPUs.

Disclaimer

Please read the disclaimer before using this script.

License

By using this script, you consent to the license that the script comes bundled with.

Support

Support the developer if you'd like to.

 


Get set-eGPU

Thank you for using set-eGPU. Please consider starring the repository, or if you like, donate via PayPal:

paypal

The project is currently under active development.

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]  


Leovinus, slhdsnet, rhyker2u and 10 people liked
ReplyQuote
goalque
(@goalque)
Noble Member Admin
Joined: 4 years ago
 

A great finding! Let's make Nvidia removable too 😉 So this would be more or less equal to Windows 10 global graphics preference:

https://pureinfotech.com/set-gpu-app-windows-10/amp/

automate-eGPU EFIapple_set_os.efi

Mid 2015 15-inch MacBook Pro eGPU Master Thread

 
2018 13" MacBook Pro [8th,4C,U] + Radeon VII @ 32Gbps-TB3 (ASUS XG Station Pro) + Win10 1809 [build link]  


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

@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-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
goalque
(@goalque)
Noble Member Admin
Joined: 4 years ago
 

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

Mid 2015 15-inch MacBook Pro eGPU Master Thread

 
2018 13" MacBook Pro [8th,4C,U] + Radeon VII @ 32Gbps-TB3 (ASUS XG Station Pro) + Win10 1809 [build link]  


ReplyQuote
Jeroenvankeulen
(@jeroen-van-keulen)
Trusted Member
Joined: 3 years ago
 

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

It broke the eGPU all together. 
After reset 

SafeEjectGPU ResetPrefs

I got my eGPU back

MBP11,4, i7-4980HQ, 256gb SSD, 16gbRAM Cathalina (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
✧✧

 
2015 15" MacBook Pro [4th,4C,H] + RX 580 @ 16Gbps-TB2>TB3 (Sonnet Breakaway 350) + macOS 10.14 [build link]  


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

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-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
itsage
(@itsage)
Illustrious Member Admin
Joined: 4 years ago
 

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

external graphics card builds
best laptops for external GPU
eGPU enclosure buyer's guide

 
2013 Mac Pro (FP D500 x2) [3rd,12C,E] + RX 5700 XT @ 16Gbps-TB2>TB3 (Mantiz Saturn Pro) + macOS 11 [build link]  


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

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

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]  


Chippy McChipset, nando4, goalque and 1 people liked
ReplyQuote
Eightarmedpet
(@eightarmedpet)
Noble Member Moderator
Joined: 4 years ago
 

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 Touch Bar
GTX1060 + AKiTiO Thunder3 + Win10
GTX1070 + Sonnet Breakaway Box + Win10
GTX1070 + Razer Core V1 + Win10
Vega 56 + Razer Core V1 + macOS + Win10
Vega 56 + Mantiz Venus + macOS + W10

---

LG 5K Ultrafine flickering issue fix

 
2017 13" MacBook Pro [7th,2C,U] + RX 5700 XT @ 32Gbps-TB3 (Mantiz Venus) + macOS 10.15.4 & Win10 2004 [build link]  


ReplyQuote
goalque
(@goalque)
Noble Member Admin
Joined: 4 years ago
 
Posted by: itsage

@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

Mid 2015 15-inch MacBook Pro eGPU Master Thread

 
2018 13" MacBook Pro [8th,4C,U] + Radeon VII @ 32Gbps-TB3 (ASUS XG Station Pro) + Win10 1809 [build link]  


ReplyQuote
 of  14