[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

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

@psonice
also try under know issues:
Black monitor with/without mouse

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)


ReplyQuote
ozzy
 ozzy
(@ozzy)
Estimable Member
Joined: 3 years ago
 
Posted by: mac_editor
Posted by: ozzy

@mac_editor Do you mean OpenGL doesn't work? Or OpenCL? I don't think OpenCL would affect something like the Heaven benchmark, right?

My bad... OpenGL lol. Well, both don't if I recall correctly.

Ahha. I edited the system check plist for Deus Ex to get it to launch despite the failed system check. Sadly though it runs at about 0.1 FPS, so it definitely isn't using the eGPU. That's a Metal game, so looks like games are still a no-go unfortunately. Will stick to just using the eGPU in Windows.

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
 
Posted by: ozzy

Ahha. I edited the system check plist for Deus Ex to get it to launch despite the failed system check. Sadly though it runs at about 0.1 FPS, so it definitely isn't using the eGPU. That's a Metal game, so looks like games are still a no-go unfortunately. Will stick to just using the eGPU in Windows.

Good find. Haven't extensively tested myself (away from eGPUs for a few days). Last I tested was Geekbench Metal compute which worked. GFXBench also worked, if I recall correctly. Use Activity Monitor -> Press CMD+4 to monitor GPU activity.

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
lovejimbo
(@lovejimbo)
Active Member
Joined: 2 years ago
 
Posted by: fr34k

@lovejimbo
Ah I've been 
ambiguous...
If you used @goalque's instructions there is no backup to get back from... (bad @goalque 😝)
You will need to perform the upgrade in order to get the new wrangler... (Or if you've backed it up then restore it... (including permissions (755) and ownership (root:wheel) and cache-rebuild, (steps 12-14)))

Perfect - works brilliantly! Thank you for all your efforts, much appreciated!

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

.

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

@psonice
also try under know issues:
Black monitor with/without mouse

2014 Mac mini was my 3rd test machine. Still no black screen on any of my monitors connected to the eGPU. However, the iGPU displayed black through HDMI (with background light). We should collect a detailed list of used monitors, display interfaces, macOS settings [displays have separate spaces, automatic graphics switching, the main display, displays order/position, FileVault] and monitor settings [AMD FreeSync on/off, DP version] and boot procedure to pinpoint this issue.

If some can read the system log, they could answer the following question: have you got any of these errors?

Fallback GPU Display Pipe transaction submission failed

DisplayPipe Capabilities Extended are not supported on offline Fbs

To be sure that there are no other factors (old workarounds or conflicting software), people should start from a fresh installation of macOS 10.13.4.

Could the culprit be a certain dGPU/iGPU + eGPU combo or monitor model? We don't know yet.

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
ozzy
 ozzy
(@ozzy)
Estimable Member
Joined: 3 years ago
 
Posted by: mac_editor
Posted by: ozzy

Ahha. I edited the system check plist for Deus Ex to get it to launch despite the failed system check. Sadly though it runs at about 0.1 FPS, so it definitely isn't using the eGPU. That's a Metal game, so looks like games are still a no-go unfortunately. Will stick to just using the eGPU in Windows.

Good find. Haven't extensively tested myself (away from eGPUs for a few days). Last I tested was Geekbench Metal compute which worked. GFXBench also worked, if I recall correctly. Use Activity Monitor -> Press CMD+4 to monitor GPU activity.

Metalbench definitely worked, and showed activity on the 1070 eGPU. I didn't try GFXBench Metal though. Deus Ex (Metal) and the Heaven benchmark (OpenGL) used the 650m dGPU though interestingly.

I can't remember, are we supposed to have displays have separate spaces On, or Off?

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
 
Posted by: ozzy

I can't remember, are we supposed to have displays have separate spaces On, or Off?

Should not affect acceleration anyway. Device is simply not initialized as OpenCL/GL compute capable. Which is odd since this the Web Driver's responsibility.

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
wzienrgo
(@wzienrgo)
Active Member
Joined: 2 years ago
 

Hi I’m new to this... For the SIP, should I disable it or just enable unsigned kext? After installed the script do I need to enable SIP back again?  😕 

iMac Pro (macOS 10.13.14) + GeForce GTX 1080 Ti (Mantiz Venus)


ReplyQuote
psonice
(@psonice)
Estimable Member
Joined: 3 years ago
 
Posted by: goalque
2014 Mac mini was my 3rd test machine. Still no black screen on any of my monitors connected to the eGPU. However, the iGPU displayed black through HDMI (with background light). We should collect a detailed list of used monitors, display interfaces, macOS settings [displays have separate spaces, automatic graphics switching, the main display, displays order/position, FileVault] and monitor settings [AMD FreeSync on/off, DP version] and boot procedure to pinpoint this issue.

If some can read the system log, they could answer the following question: have you got any of these errors?

Fallback GPU Display Pipe transaction submission failed

DisplayPipe Capabilities Extended are not supported on offline Fbs

To be sure that there are no other factors (old workarounds or conflicting software), people should start from a fresh installation of macOS 10.13.4.

Could the culprit be a certain dGPU/iGPU + eGPU combo or monitor model? We don't know yet.

I restored back to 10.3.3 backup overnight unfortunately so can't check the logs now, but:

2014 iMac 27"
dGPU: Radeon 295X
Attached monitor: (iMac's display)

iGPU: None (or Apple disabled it, it doesn't show anywhere)

eGPU: Sonnet 550 / Nvidia 1080TI
TB: 2
Attached monitor: Acer CB240HYK (4K, 24", set to [email protected] for retina) using DisplayPort set to 1.2 (will double check that shortly)

Filevault is on, Displays Have Separate spaces is on, eGPU attached monitor was set to primary.
Graphics switching not available, free sync not available.

Boot methods tried:
1. Boot with eGPU attached
2. Boot without, connect after login (black external monitor)
2b. Log out after connecting, log back in (black internal monitor, giant lag levels)
3. Boot without, connect at login screen after 15 seconds, connect display 15 seconds later, log in (black external)

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

.

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

Just finished testing my Mid 2104 MBP with Iris Pro + Nvidia 750M...

Alas, it got itself pretty upset...

  • eGPU: Sonnet 350 / Nvidia GTX970
  • TB: 2
  • Attached monitor: Just built in Retina Display
  • Graphics switching not available – 750M always active
  • Screen Brightness adjust doesn't work
  • Hotplug after login: eGPU icon appears in menu bar with "Disconnect Null" (no biggy as used to this)
  • System report shows "Nvidia Chip Model"
  • Cuda apps don't see GTX970 (Octane Render w/ C4D)
  • Cinema 4D crashes (or just black screens, difficult to tell) if eGPU connected - launches ok if eGPU hotplugged after, but no joy with CUDA as above
  • If boot with eGPU connected just black display
  • If I use the "Disconnect" from menu - mac screen goes black and I have to force restart 

As far as I can tell the script was happy and everything is in place.

Without eGPU connected, OpenCL / OpenGL / Metal all seem to be functioning.

As ever, thanks for all the work on this 🙂

Given up on all my Macs...but successfully running: Gigabyte Designare Z390, Core i9-9900K, 64GB RAM, 2x Internal GTX 1080TI, 2x GTX 1070 eGPU (Sonnet eGFX)

 
2018 Gigabyte Z390 Designare (GTX1080TIx2) [9th,8C,K] + GTX 1070 @ 32Gbps-TB3 (Sonnet Breakaway 350) + Win10 [build link]  


goalque liked
ReplyQuote
 of  76