[SCRIPT] fr34k's macOS-eGPU.sh - one script, all solutions, fully automated
 
Notifications
Clear all

[SCRIPT] fr34k's macOS-eGPU.sh - one script, all solutions, fully automated  

 of  76
  RSS

goalque
(@goalque)
Noble Member Admin
Joined: 4 years ago
 
Posted by: Glenn Aitken

everything working perfectly on 2017 MBP 15", 10.13.4,  with NVidia 1080 Ti 🙂  Thanks guys amazing work!

Great! One way people can contribute is to post also success stories, and answer the following question:

Do you get eGPU screen output out of the box if the computer is started from a powerless state or do you need to logout -> hot plug the display and login?

Please mention your Mac model, eGPU card & enclosure, monitor model, used display cables and adapters.

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]  


fr34k liked
ReplyQuote
Kyle Chung
(@kyle_chung)
New Member
Joined: 2 years ago
 

Just to share my results on MacBook Pro 15" 2016:

macOS: 10.13.4 (17E199)
Nvidia 1070 + Akitio Node
Using eM (Samsung CF791)
Boot up with eGPU connected works.
Hotplugin then logout-login also works.

However, the UI performance on eM is bad. Everything can be a bit sluggish, especially when switching different apps/tabs.
Right now I can accept it since my primary use case is CUDA for deep learning, half of the time I only remote ssh to my mac so UI slowness is not an issue.

But in the long run I still expect this can be solved when better support is coming from either macOS or the web driver.

Btw I also dual-boot Windows in a external SSD (WTG, not bootcamp), and it works perfectly in Windows (But only after the DSDT override with a test mode enabled.)

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

.

ReplyQuote
Daisaku
(@daisaku)
Eminent Member
Joined: 3 years ago
 

I used to use the old script but I have no idea how to uninstall it. I tried following what it said in the github for people who used to use the old scripts but I got error messages. Please help, thank you. 

Screen Shot 2018 05 13 at 10.39.16

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

.

ReplyQuote
ickys11
(@ickys11)
New Member
Joined: 2 years ago
 

@fr34k Thank you!  The script worked for me however a few things I'm noticing.
- I've lost brightness control on my keyboard F1/F2 keys as well as the brightness slider in system prefs
- System won't go to sleep when screen closed...and won't go to clamshell mode.
- Disconnect seems to work from the menu icon but I cannot unplug the thunderbolt cable without a kernel panic.

So with this config will I just have to fully shutdown after using the egpu everytime or is there a workaround anyone knows about.

Thanks again!

My system is a Mid-2012 MBP Retina, TB2, Akitio Node with GTX1060

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

.

fr34k liked
ReplyQuote
fr34k
(@fr34k)
Reputable Member Moderator
Joined: 3 years ago
 

@ickys11
nope not yet, research ongoing

et al
I'm still very busy and cannot do much right now. (I guess it was obvious that I didn't answer to any questions)
In the upcoming week(s) a few improvements will be on their way such as
- the "old wrangler" problem, there will be improvements to that (better instructions or if read permissions weren't set the will be etc.)
- multi eGPU setup
- NVIDIA dGPU
- tons of fixes (logic and bugs, especially CUDA)
- custom uninstaller for all parts (if corrupt installations are present)
- better disabling of auto update
- better termination of programs (iTerm support + kill of all other instances + only kill if something will be done -> move after deduction)

This will still take some time and it won't be one update, it will be gradual as I see something is finished. I'll give notifications in this thread of course.
Every time I have an idea I open new branches so one can see the changes. The master branch should always work, but please don't use the other ones/use them only if I PM you to test specific functions, they're highly experimental and often not finished. Therefore the script might exit, leaving your system in an unrecognised state.

fr34k's macOS-eGPU.sh on GitHub or on eGPU.io

2016 15'' MacBook Pro + GTX1080Ti@32Gbps-TB3 (Sonnet Breakaway 550) + macOS 10.13.6 (17G65 driver: 378.10.10.10.30.107 + CUDA: 396.148)


ikir and Charly4 liked
ReplyQuote
goalque
(@goalque)
Noble Member Admin
Joined: 4 years ago
 

Good news. I found a new EFI approach that does not require @fr34k's or @mac_editor's binary patches. No need to backup kexts because none of the system files are modified. The SIP can be fully enabled.

Both AMD and Nvidia cards work out of the box. I just tested this on Mid 2015 15" MBP (M370X)

Bad news:

1) the eGPU is not hot pluggable, neither AMD nor Nvidia
2) macOS wants to utilize AMD dGPU so the internal screen is sluggish

I could try to control the gmux switch in EFI so that the iGPU becomes always active

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
Markus Koepke
(@ghostronaut)
Eminent Member
Joined: 3 years ago
 

I can confirm the new script working on a Macbook Pro 15" Touch Bar 2017 (3,1 Ghz, 16GB Ram) with 10.13.4 and a Aorus Gaming Box 1080.

Macbook Pro Touchbar 2017 i7 3.1Ghz Kaby Lake 16GB Ram | Aorus Gaming Box 1080 | HTC Vive

 
2017 15" MacBook Pro (RP560) [7th,4C,H] + GTX 1080 @ 32Gbps-TB3 (AORUS Gaming Box) + macOS 10.13.2 & Win10 [build link]  


ReplyQuote
Charly4
(@charly4)
Eminent Member
Joined: 3 years ago
 
Posted by: goalque

Good news. I found a new EFI approach that does not require @fr34k's or @mac_editor's binary patches. No need to backup kexts because none of the system files are modified. The SIP can be fully enabled.

Both AMD and Nvidia cards work out of the box. I just tested this on Mid 2015 15" MBP (M370X)

Bad news:

1) the eGPU is not hot pluggable, neither AMD nor Nvidia
2) macOS wants to utilize AMD dGPU so the internal screen is sluggish

I could try to control the gmux switch in EFI so that the iGPU becomes always active

Great!!
Do you think that it would be usable in 2012 MBPR or just  in UEFI 2.0 compatible devices?

Macbook PRO Retina 2012 15" (Intel HD 4000 + Nvidia Geforce GT 650M)
Akitio Thunder 2 + Nvidia 970 GTX


ReplyQuote
LeoLeal
(@leoleal)
Eminent Member
Joined: 3 years ago
 

@goalque
Would It be easily "Undoable"?

You think It will behave better with NVidia Drivers than the EGPU Enabler (keep in mind that newer driver works flawlessly with Internal screen if I remove EGPU Enabler)?

Macbook Pro Late 2013 (dGPU GT 750m) + Akitio Thunder 2 + GTX 970


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

@Charly4 I don't know yet. Starting from Late 2013 should work.

@LeoLeal it does not change anything in macOS so there is nothing to "undo/uninstall" if the EFI is executed from the USB stick.

Still examining if yifanlu's kext is required or can we do that part in EFI as well.

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]  


Charly4 liked
ReplyQuote
 of  76