Two new eGPU solutions on macOS 10.13.4: pure EFI and hybrid
 
Notifications
Clear all

Two new eGPU solutions on macOS 10.13.4: pure EFI and hybrid  

 of  68
  RSS

PaperHeart
(@paperheart)
Active Member
Joined: 3 years ago
 
Posted by: goalque

@PaperHeart Okay, I thought so. Isn't there any user interface lag while the AMD dGPU is activated? We know that eGPU spans the screen across both displays and apps launched from the eGPU monitor (or headless ghost adapter) will continue running on the internal display, accelerated by the eGPU, if you move the window.

@goalque Yes you are completely correct. There is no UI lag or glitch at all when internal display is driven by dGPU, the system works perfectly fine, better than I expected. I've just done a quick test, if I set the internal display as the primary one and launch a application on it, the application is run on dGPU even if I drag the window to the display connected to the eGPU (and of course, vise versa).

Another thing I noticed is that when the internal screen is driven by iGPU, i.e. eGPU connected before system boot. If there is a dynamic icon, for instance, a syncing dropbox icon (only dynamic one, a dropbox icon without the spinning arrow does not cause this problem) or a real time network traffic monitor, on the system status bar, the whole system will become extremely slow (~1 frame per 2 seconds). Once I quit that application or set it as a static icon in the preferences of that application, the OS goes back to normal in few seconds.

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

@PaperHeart Interesting. You can edit the config.plist file and also try setting ForceIntegrated to <false/>. If there is a need for forcing AMD dGPU in the future, I might implement a new key "ForceDedicated", or maybe a key with an integer value (do nothing=0, ForceIntegrated=1, ForceDedicated=2). Now, if you set ForceIntegrated=false, the app doesn't control the gmux in any way.

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
PaperHeart
(@paperheart)
Active Member
Joined: 3 years ago
 
Posted by: goalque

@PaperHeart Interesting. You can edit the config.plist file and also try setting ForceIntegrated to <false/>. If there is a need for forcing AMD dGPU in the future, I might implement a new key "ForceDedicated", or maybe a key with an integer value (do nothing=0, ForceIntegrated=1, ForceDedicated=2). Now, if you set ForceIntegrated=false, the app doesn't control the gmux in any way.

@goalque I did some quick test with ForceIntegrated set to false.

Results:
-Plug before system boot. iGPU drive internal display on idle. When application requires high performance GPU launched, internal screen was turned off although at that time dGPU was powering it. UI lag when switching GPUs. Dynamic status bar icon caused system slow.

-Hot plug. iGPU drive internal display on idle. dGPU was driving internal display when application requiring high performance GPU launched (internal screen not turned off). No UI lag when switching GPUs. No dynamic icon influence. Internal screen acceleration worked ok.

In comparison, with ForceIntegrated set to true. The internal screen is always driven by iGPU when cold plugged and by dGPU when hot plugged regardless of whether there is an application requiring high performance GPU is running.

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

Maybe the firmware remembers the default gmux state in the preboot environment, once set to integrated and "automatic graphics switching" turned on. Anyway, ForceIntegrated=true solved the problem where both screens were black (when cold plugged), so that is now default when the installer detects a dGPU equipped Mac. Useful in "Pure EFI" mode 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]  


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

@goalque Since Bootcamp Support is still unavailable with this solution, It would be nice To make It clear in the original post too... some of us are gamers and need windown runnign with the eGPU to play games.

Grats on the results tho... It is very exciting that we have an alternative for eGPU without tainting(somewhat) the SO.

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


ReplyQuote
kingbri
(@kingbri)
Eminent Member
Joined: 2 years ago
 

@leoleal, do we really need the script. In my personal experiece I use my egpu for gaming on windows because windows natively supports most nvidia cards or amd cards (mac supports AMD better). I only use the egpu on mac for editing and VMs. Or are you talking about forcing an igpu over a dgpu because that needs to be fixed. This script looks really cool and I cannot wait to try it on my TB1 mac!

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

.

ReplyQuote
Riss
 Riss
(@riss)
Eminent Member
Joined: 3 years ago
 
Posted by: goalque

Just select the "EFI Boot" disk image on the Apple's startup manager screen. You need the USB on every startup, then can unplug it. Another install option is the internal "Macintosh HD" and its EFI partition, no need for USB stick. The installer is able to uninstall everything from the internal disk as well, but this is at beta stage so I recommend USB.

It is very unlikely that something can go wrong because there is strong preinstall validation. The EFI app doesn't support AMD eGPU at the moment, only Nvidia 900 and 1000 series cards.

What about Quadro Pascal? Have one P2000 (along with old flashed GTX 780)

mid 2014 MBP 15" GT750m | Mac mini 2012 | Akitio Thunder 2 & 3 | GTX 780 3GB (flashed) | GTX Black Titan 6GB (stock) | Quadro P2000 (stock)


ReplyQuote
Eightarmedpet
(@eightarmedpet)
Noble Member Moderator
Joined: 4 years ago
 
Posted by: LeoLeal

@goalque Since Bootcamp Support is still unavailable with this solution, It would be nice To make It clear in the original post too... some of us are gamers and need windown runnign with the eGPU to play games.

Grats on the results tho... It is very exciting that we have an alternative for eGPU without tainting(somewhat) the SO.

Would this effect booting into windows though? On boot select screen selecting Bootcamp means you bypass this script surely? 

@goalque will delete and reinstall, see where I end up, the promise of accelerating my Ultrafine is too tempting... have updated to 10.14.5 too, was previously on .4.

edit: have I made a mistake updating to .5?

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
 

@Riss, I can provide a new version without eGPU validation for those who want to test Nvidia cards which aren't on the list atm. Once confirmed, I will add it. There seems be a possible vBIOS problem with the Titan X Pascal, not even pci scanning in EFI detects this card with @shrapnl's nMP, has anyone else the Titan X to confirm?

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

Interesting development with great potential, thanks @goalque
Here is my experience with Pure EFI installations on the Macintosh HD; Sonnet 550 + GTX1070 + Dell P2415Q:

  • Mac Mini 2014 (iGPU via HDMI-cable, eGPU via DP-cable). This worked once (great Valley score and FPS), but resulted in dark (though live) screens ever after. Wanted to mod "config.plist", but could not find this file.
  • MacBook Pro 2017 15-inch TB RP560. After EFI Boot the Apple logo plus boot progress bar appears first on MBP screen, then switches to eGPU screen, and finally results in "Critical software component missing" message which fails to install.

So close, so close... I'll keep watching this thread.

~

Radeon RX 5700 XT + Razer Core X + LG 23.7" 4K UltraFine + Huawei VR2 DP/USB to USB-C cable
Mac Mini 2018 always latest public macOS build

 
2017 Intel NUC7i5BNH [7th,2C,U] + GTX 1080 Ti @ 32Gbps-TB3 (Sonnet Breakaway 550) + Win10 [build link]  


goalque liked
ReplyQuote
 of  68