Share:

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

Page 9 / 19
  RSS

toddbluhm
(@toddbluhm)
New Member
Joined: 10 months ago
Posts: 1
July 7, 2018 7:49 am  

@goalque Just wanted to say thank you so much for this awesome solution. I have mid-2014 Macbook pro 11,3 with the 750M and I just got it working and love it! Having my screen brightness controls and sleep mode back is amazing (came from fr34k's script)!

It took most of the day to get this working trying different combinations of the EFI versions + NVidia drivers (378.x) +/- refind. I ran into the exact same issue that @lexine ran into when trying to use 1.0.3. My debug log stops at the exact spot "RootDir:" and never continues. Using what @lexine said about going back to original 1.0.0 I tried that with numerous failures. Eventually, I figured out the right timing for plugging the eGPU in during boot, but it took forever having to try, fail, reboot, go into system preferences, select mac as startup disk to boot into because of the default boot volume issue. I know that has been fixed, and I am sure you will figure out the RootDir issue as well. I just wanted to say thanks and confirm its working on another 750M.

One of the hardest parts was figuring out the right timing for plugging the eGPU in. Mine works every time when I plug my eGPU in when the loading bar is about 10% complete (after typing your password, the loading bar shows up). I could not get logout/login working and obviously as stated in the installer, plugged in before boot does not work.

For clarity on my specs:
MBP 11,3 Mac OS 10.13.5 (with FileVault on)
Intel Iris Pro iGPU
NVidia 750M  dGPU
2 Dell P2415Q 4k Monitors
Sonnet 550W enclosure
EVGA GeForce GTX 1080 FTW HYBRID eGPU
automate-eGPU EFI 1.0.0 Hybrid
ReFind 0.11.2 with Mac + Win10 + Pop!_OS (though unusable in startup disk mode)
NVidia web drivers 378.10.10.10.25.104

Pending: Add my system information and expected eGPU configuration to my signature to give context to my posts


Twister liked
ReplyQuote
mickiii
(@mickiii)
New Member
Joined: 11 months ago
Posts: 3
July 7, 2018 4:17 pm  

Having similar black screen issue as others have reported. Running a MBP14.3 on 10.13.5 with an Aorus GTX 1070 and hybridmode on 1.0.3 version of your script, but is seems to halt on boot with just a black screen. I have tried booting with the eGPU inserted as well as hot plugging right after selecting the EFI boot option. Am I doing it wrong?

I enabled debugging and got this: 

0:100 0:100 MemLog inited, TSC freq: 2904341320
0:100 0:000 CPU was calibrated with RTC
0:100 0:000 start
0:100 0:000 
0:100 0:000 Now is 7.7.2018, 16:0:48 (GMT)
0:100 0:000 Starting Clover revision: 4513 on Apple EFI
0:100 0:000 Build with: [Args: -mc --no-usb -D NO_GRUB_DRIVERS_EMBEDDED -t XCODE8 | -D DISABLE_USB_SUPPORT -D NO_GRUB_DRIVERS_EMBEDDED --conf=/Users/goalque/src/edk2/Conf -D USE_BIOS_BLOCKIO -D USE_LOW_EBDA -a X64 -b RELEASE -t XCODE8 -n 9 | OS: 10.13.5 | XCODE: 9.4.1]
0:100 0:000 SelfDevicePath=PciRoot(0x0)\Pci(0x14,0x0)\USB(0x4,0x0)\USB(0x0,0x0)\HD(1,MBR,0x00000000,0x2,0x3BBFFE) @7923B918
0:100 0:000 SelfDirPath = \EFI\BOOT
0:100 0:000 Running on: '' with board ''
0:100 0:000 === [ GetCPUProperties ] ==================================
0:100 0:000 CPU Vendor = 756E6547 Model=906E9
0:100 0:000 The CPU supported SSE4.1
0:100 0:000 BrandString = Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz
0:100 0:000 The CPU supported turbo
0:100 0:000 MSR 0x35 40008
0:100 0:000 TSC/CCC Information Leaf:
0:100 0:000 numerator : 242
0:100 0:000 denominator : 2
0:100 0:000 Calibrated ARTFrequency: 0
0:100 0:000 MSR 0xE2 before patch 40000008
0:100 0:000 MSR 0xCE 0808083B_F1011D00
0:100 0:000 corrected FLEX_RATIO = 180000
0:100 0:000 MSR 0x1B0 00000000
0:100 0:000 FSBFrequency = 0 MHz, DMI FSBFrequency = 0 MHz, Corrected FSBFrequency = 0 MHz
0:100 0:000 MaxDiv/MinDiv: 29.0/8
0:100 0:000 Turbo: 35/36/37/39
0:100 0:000 Features: 0xBFEBFBFF
0:100 0:000 Threads: 8
0:100 0:000 Cores: 4
0:100 0:000 FSB: 0 MHz
0:100 0:000 CPU: 0 MHz
0:100 0:000 TSC: 0 MHz
0:100 0:000 PIS: 0 MHz
0:100 0:000 ExternalClock: 0 MHz
0:100 0:000 === [ GetDevices ] ========================================
0:100 0:000 PCI (00|00:00.00) : 8086 5910 class=060000
0:100 0:000 PCI (00|00:01.00) : 8086 1901 class=060400
0:100 0:000 PCI (00|01:00.00) : 1002 67EF class=030000
0:100 0:000 - GFX: Model=AMD Radeon Pro 555 (ATI/AMD)
0:100 0:000 PCI (00|01:00.01) : 1002 AAE0 class=040300
0:100 0:000 - HDMI Audio: 
0:100 0:000 PCI (00|00:02.00) : 8086 591B class=030000
0:100 0:000 - GFX: Model=Intel HD Graphics 630 (Intel)
0:100 0:000 PCI (00|00:14.00) : 8086 A12F class=0C0330
0:100 0:000 PCI (00|00:15.00) : 8086 A160 class=118000
0:100 0:000 PCI (00|00:16.00) : 8086 A13A class=078000
0:100 0:000 PCI (00|00:19.00) : 8086 A166 class=118000
0:100 0:000 PCI (00|00:1B.00) : 8086 A167 class=060400
0:101 0:000 PCI (00|02:00.00) : 144D A804 class=010802
0:101 0:000 PCI (00|00:1C.00) : 8086 A110 class=060400
0:101 0:000 PCI (00|03:00.00) : 14E4 43BA class=028000
0:101 0:000 - WIFI: Vendor=Broadcom
0:101 0:000 PCI (00|00:1E.00) : 8086 A127 class=118000
0:101 0:000 PCI (00|00:1E.01) : 8086 A128 class=118000
0:101 0:000 PCI (00|00:1E.02) : 8086 A129 class=118000
0:101 0:000 PCI (00|00:1E.03) : 8086 A12A class=118000
0:101 0:000 PCI (00|00:1F.00) : 8086 A151 class=060100
0:101 0:000 PCI (00|00:1F.02) : 8086 A121 class=058000
0:101 0:000 PCI (00|00:1F.03) : 8086 A170 class=040300
0:101 0:000 PCI (00|00:1F.04) : 8086 A123 class=0C0500
0:101 0:000 PCI (00|00:01.01) : 8086 1905 class=060400
0:101 0:000 PCI (00|04:00.00) : 8086 1578 class=060400
0:101 0:000 PCI (00|05:00.00) : 8086 15D3 class=060400
0:101 0:000 PCI (00|06:00.00) : 8086 15D2 class=088000
0:101 0:000 PCI (00|05:01.00) : 8086 15D3 class=060400
0:101 0:000 PCI (00|05:02.00) : 8086 15D3 class=060400
0:101 0:000 PCI (00|07:00.00) : 8086 15D4 class=0C0330
0:101 0:000 PCI (00|05:04.00) : 8086 15D3 class=060400
0:101 0:000 PCI (00|00:01.02) : 8086 1909 class=060400
0:101 0:000 PCI (00|7A:00.00) : 8086 1578 class=060400
0:101 0:000 PCI (00|7B:00.00) : 8086 15D3 class=060400
0:101 0:000 PCI (00|7C:00.00) : 8086 15D2 class=088000
0:101 0:000 PCI (00|7B:01.00) : 8086 15D3 class=060400
0:101 0:000 PCI (00|7B:02.00) : 8086 15D3 class=060400
0:101 0:000 PCI (00|7D:00.00) : 8086 15D4 class=0C0330
0:101 0:000 PCI (00|7B:04.00) : 8086 15D3 class=060400
0:101 0:000 === [ GetDefaultSettings ] ================================
0:101 0:000 Clover load options size = 0 bytes
0:118 0:016 EFI\CLOVER\config.plist loaded: Success
0:118 0:000 === [ GetListOfThemes ] ===================================
0:118 0:000 === [ Found config plists ] ===============================
0:118 0:000 - config.plist
0:118 0:000 === [ GetEarlyUserSettings ] ==============================
0:118 0:000 timeout set to 0
0:118 0:000 Custom boot CUSTOM_BOOT_DISABLED (0x0)
2:485 2:367 KextsToPatch: 2 requested
3:824 1:338 - [00]: IOGraphicsFamily (IOGraphicsFamily Patch (c) egpu.io [goalque]) :: BinPatch :: data len: 14
10:609 6:785 - [01]: AppleGPUWrangler (AppleGPUWrangler Discrete Patch (c) egpu.io [goalque]) :: BinPatch :: data len: 14
15:980 5:371 === [ LoadDrivers ] =========0:100 0:100 MemLog inited, TSC freq: 2904477560
0:100 0:000 CPU was calibrated with RTC
0:100 0:000 start
0:100 0:000 
0:100 0:000 Now is 7.7.2018, 16:1:38 (GMT)
0:100 0:000 Starting Clover revision: 4513 on Apple EFI
0:100 0:000 Build with: [Args: -mc --no-usb -D NO_GRUB_DRIVERS_EMBEDDED -t XCODE8 | -D DISABLE_USB_SUPPORT -D NO_GRUB_DRIVERS_EMBEDDED --conf=/Users/goalque/src/edk2/Conf -D USE_BIOS_BLOCKIO -D USE_LOW_EBDA -a X64 -b RELEASE -t XCODE8 -n 9 | OS: 10.13.5 | XCODE: 9.4.1]
0:100 0:000 SelfDevicePath=PciRoot(0x0)\Pci(0x14,0x0)\USB(0x4,0x0)\USB(0x0,0x0)\HD(1,MBR,0x00000000,0x2,0x3BBFFE) @791F4718
0:100 0:000 SelfDirPath = \EFI\BOOT
0:100 0:000 Running on: '' with board ''
0:100 0:000 === [ GetCPUProperties ] ==================================
0:100 0:000 CPU Vendor = 756E6547 Model=906E9
0:100 0:000 The CPU supported SSE4.1
0:100 0:000 BrandString = Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz
0:100 0:000 The CPU supported turbo
0:100 0:000 MSR 0x35 40008
0:100 0:000 TSC/CCC Information Leaf:
0:100 0:000 numerator : 242
0:100 0:000 denominator : 2
0:100 0:000 Calibrated ARTFrequency: 0
0:100 0:000 MSR 0xE2 before patch 40000008
0:100 0:000 MSR 0xCE 0808083B_F1011D00
0:100 0:000 corrected FLEX_RATIO = 180000
0:100 0:000 MSR 0x1B0 00000000
0:100 0:000 FSBFrequency = 0 MHz, DMI FSBFrequency = 0 MHz, Corrected FSBFrequency = 0 MHz
0:100 0:000 MaxDiv/MinDiv: 29.0/8
0:100 0:000 Turbo: 35/36/37/39
0:100 0:000 Features: 0xBFEBFBFF
0:100 0:000 Threads: 8
0:100 0:000 Cores: 4
0:100 0:000 FSB: 0 MHz
0:100 0:000 CPU: 0 MHz
0:100 0:000 TSC: 0 MHz
0:100 0:000 PIS: 0 MHz
0:100 0:000 ExternalClock: 0 MHz
0:100 0:000 === [ GetDevices ] ========================================
0:100 0:000 PCI (00|00:00.00) : 8086 5910 class=060000
0:100 0:000 PCI (00|00:01.00) : 8086 1901 class=060400
0:100 0:000 PCI (00|01:00.00) : 1002 67EF class=030000
0:100 0:000 - GFX: Model=AMD Radeon Pro 555 (ATI/AMD)
0:100 0:000 PCI (00|01:00.01) : 1002 AAE0 class=040300
0:100 0:000 - HDMI Audio: 
0:100 0:000 PCI (00|00:02.00) : 8086 591B class=030000
0:100 0:000 - GFX: Model=Intel HD Graphics 630 (Intel)
0:100 0:000 PCI (00|00:14.00) : 8086 A12F class=0C0330
0:100 0:000 PCI (00|00:15.00) : 8086 A160 class=118000
0:101 0:000 PCI (00|00:16.00) : 8086 A13A class=078000
0:101 0:000 PCI (00|00:19.00) : 8086 A166 class=118000
0:101 0:000 PCI (00|00:1B.00) : 8086 A167 class=060400
0:101 0:000 PCI (00|02:00.00) : 144D A804 class=010802
0:101 0:000 PCI (00|00:1C.00) : 8086 A110 class=060400
0:101 0:000 PCI (00|03:00.00) : 14E4 43BA class=028000
0:101 0:000 - WIFI: Vendor=Broadcom
0:101 0:000 PCI (00|00:1E.00) : 8086 A127 class=118000
0:101 0:000 PCI (00|00:1E.01) : 8086 A128 class=118000
0:101 0:000 PCI (00|00:1E.02) : 8086 A129 class=118000
0:101 0:000 PCI (00|00:1E.03) : 8086 A12A class=118000
0:101 0:000 PCI (00|00:1F.00) : 8086 A151 class=060100
0:101 0:000 PCI (00|00:1F.02) : 8086 A121 class=058000
0:101 0:000 PCI (00|00:1F.03) : 8086 A170 class=040300
0:101 0:000 PCI (00|00:1F.04) : 8086 A123 class=0C0500
0:101 0:000 PCI (00|00:01.01) : 8086 1905 class=060400
0:101 0:000 PCI (00|04:00.00) : 8086 1578 class=060400
0:101 0:000 PCI (00|05:00.00) : 8086 15D3 class=060400
0:101 0:000 PCI (00|06:00.00) : 8086 15D2 class=088000
0:101 0:000 PCI (00|05:01.00) : 8086 15D3 class=060400
0:101 0:000 PCI (00|05:02.00) : 8086 15D3 class=060400
0:101 0:000 PCI (00|07:00.00) : 8086 15D4 class=0C0330
0:101 0:000 PCI (00|05:04.00) : 8086 15D3 class=060400
0:101 0:000 PCI (00|00:01.02) : 8086 1909 class=060400
0:101 0:000 PCI (00|7A:00.00) : 8086 1578 class=060400
0:101 0:000 PCI (00|7B:00.00) : 8086 15D3 class=060400
0:101 0:000 PCI (00|7C:00.00) : 8086 15D2 class=088000
0:101 0:000 PCI (00|7B:01.00) : 8086 15D3 class=060400
0:101 0:000 PCI (00|7B:02.00) : 8086 15D3 class=060400
0:101 0:000 PCI (00|7D:00.00) : 8086 15D4 class=0C0330
0:101 0:000 PCI (00|7B:04.00) : 8086 15D3 class=060400
0:101 0:000 PCI (00|08:00.00) : 8086 1578 class=060400
0:101 0:000 PCI (00|09:01.00) : 8086 1578 class=060400
0:101 0:000 PCI (00|0A:00.00) : 10DE 1B81 class=030000
0:101 0:000 - GFX: Model=Gigabyte GeForce GTX 1070 family 1FF (Nvidia)
0:101 0:000 PCI (00|0A:00.01) : 10DE 10F0 class=040300
0:101 0:000 - HDMI Audio: 
0:101 0:000 PCI (00|09:04.00) : 8086 1578 class=060400
0:101 0:000 PCI (00|0B:00.00) : 8086 15B6 class=0C0330
0:101 0:000 === [ GetDefaultSettings ] ================================
0:101 0:000 Clover load options size = 0 bytes
0:118 0:016 EFI\CLOVER\config.plist loaded: Success
0:118 0:000 === [ GetListOfThemes ] ===================================
0:118 0:000 === [ Found config plists ] ===============================
0:118 0:000 - config.plist
0:118 0:000 === [ GetEarlyUserSettings ] ==============================
0:118 0:000 timeout set to 0
0:118 0:000 Custom boot CUSTOM_BOOT_DISABLED (0x0)
1:833 1:714 KextsToPatch: 2 requested
3:418 1:585 - [00]: IOGraphicsFamily (IOGraphicsFamily Patch (c) egpu.io [goalque]) :: BinPatch :: data len: 14
8:814 5:395 - [01]: AppleGPUWrangler (AppleGPUWrangler Discrete Patch (c) egpu.io [goalque]) :: BinPatch :: data len: 14
14:184 5:369 === [ LoadDrivers ] =======================================
69:482 55:298 === [ InitScreen ] ========================================
125:473 55:990 reinit: self device path=PciRoot(0x0)\Pci(0x14,0x0)\USB(0x4,0x0)\USB(0x0,0x0)\HD(1,MBR,0x00000000,0x2,0x3BBFFE)
126:806 1:332 === [ GetDefaultSettings ] ================================
172:199 45:393 === [ GetAcpiTablesList ] =================================
219:074 46:875 Get Acpi Tables List from RSDT:
221:752 2:677 - [00]: FACP Apple00 len=244
223:081 1:328 - [01]: UEFI EDK2 len=66
224:419 1:338 - [02]: ECDT Apple00 len=83
225:753 1:334 - [03]: HPET Apple00 len=56
227:087 1:333 - [04]: APIC Apple00 len=188
228:418 1:330 - [05]: MCFG Apple00 len=60
229:752 1:333 - [06]: SBST Apple00 len=48
231:077 1:325 - [07]: SSDT SmcDppt len=36
232:413 1:335 - [08]: SSDT PEG0GFX0 len=2045
233:749 1:335 - [09]: SSDT PEG0SSD0 len=36
235:079 1:330 - [10]: SSDT SsdtS3 len=49
236:414 1:334 - [11]: SSDT SataAhci len=221
237:750 1:336 - [12]: SSDT Sdxc len=184
239:076 1:325 - [13]: SSDT TbtPEG12 len=40064
240:412 1:336 - [14]: SSDT Xhci len=4092
241:743 1:330 - [15]: SSDT Cpu0Ist len=1554
243:074 1:331 - [16]: SSDT ApIst len=1450
244:408 1:334 - [17]: SSDT Cpu0Cst len=661
245:743 1:334 - [18]: SSDT ApCst len=281
247:079 1:335 - [19]: SSDT CpuSsdt len=3862
248:422 1:343 - [20]: DMAR KBL len=352
249:752 1:329 - [21]: VFCT Apple00 len=62084
251:083 1:331 === [ GetUserSettings ] ============================

Pending: Add my system information and expected eGPU configuration to my signature to give context to my posts


ReplyQuote
(@keith_walls)
Eminent Member
Joined: 1 year ago
Posts: 34
July 7, 2018 8:34 pm  

Trying to install "automate on 16GB USB stick formatted in FAT32 and it won't let me- "automate.... cannot be installed on this disk..."

What am I doing wrong?

Pending: Add my system information and expected eGPU configuration to my signature to give context to my posts


ReplyQuote
Riss
 Riss
(@riss)
Active Member
Joined: 2 years ago
Posts: 19
July 7, 2018 8:40 pm  
Posted by: goalque

@Riss Are you saying that @fr34k's or @mac_editor's script gave the eGPU video output but the EFI Hybrid solution didn't?

They use exactly the same Nvidia patches, except the EFI does everything on-the-fly. I gave @mac_editor and @fr34k sole rights to use my Nvidia patches.

What does the Graphics/Displays section say? Automatic graphics switching on or off?

@goalque yes, fr34k's script + webdriver 378.10.10.25.104 works (graphics are set always on automatics switching)

However I tinkered with the setup a bit, reinstalled macOS, USB stick etc and when I got the black screen on boot I logged off and voila the eGPU kicked in and works as a charm!

Laptop is running on Intel GPU and is nicely cool, external monitor is connected to eGPU

Screen Shot 2018 07 07 at 11.24.01 PM
Screen Shot 2018 07 07 at 11.25.55 PM
Screen Shot 2018 07 07 at 11.34.08 PM (2)

Activity monitor is showing quick test of editing in Capture One 10, even exporting seemed a bit faster

time to get a smaller, flush USB drive I guess 🙂

edit 30 min later: OK, would have been too easy I guess...

- internal LCD is showing artefacts from time to time (Nvidia/Apple as culprit?)
- Geekbench 4 doesn't allow Compute benchmark 

Screen Shot 2018 07 08 at 12.14.44 AM

- Heaven benchmark ran at max 30fps (I rememeber seeing above 60fps on Mac mini 2012 with TB1)
- Capture One also sees only 2 OpenCL GPU's (even though it doesn't use those 2 at all and all runs on eGPU)

I might add that I ran set-eGPU.sh script and chose to accelerate all apps

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


goalque liked
ReplyQuote
avj
 avj
(@avj)
Active Member
Joined: 1 year ago
Posts: 17
July 8, 2018 2:48 am  

Many thanks for the work and support!
I've tried purge-wrangler to enable my tb2 mac setup, (with and without purge-nvda to suppress dgpu nvidia 750m). It works, and the activity monitor GPU history shows that the RX 580 is working. But the performance is poor, tb2-3 adapter and the tb cable are both new, external dell monitor connected to the sonnet egfx with apple's HDMI cable, also tried with Dell's mDP-DP cable.

Unigine heaven on extreme gives 20-30 fps.
Trying to play fortnite on mac os - the most modern free 3D game that should be supported, it can barely run the opening screen and animations, and is shows 17-20FPS. Guess it's not normal for this setup.

Now have tried to install the automate eGPU 1.0.3, it said that my mac can't use pure EFI due to its nvidia dgpu, and I should plug the eGPU during login. Next, I chose to install it on a FAT32 formatted usb stick, and got the error: Your eGPU [0x67df1002] is not supported.

MBPr Mid 2014, dGPU: Nvidia750M ■ Sonnet eGFX 350 ■ AMD RX 580 8gb ■ TB3-TB2 adapter ■ Dell U2518d ■ high sierra 10.13.5


ReplyQuote
Eightarmedpet
(@eightarmedpet)
Noble Member
Joined: 2 years ago
Posts: 1448

ReplyQuote
goalque
(@goalque)
Noble Member Admin
Joined: 2 years ago
Posts: 1369
July 8, 2018 10:25 am  
Posted by: Keith Walls

Trying to install "automate on 16GB USB stick formatted in FAT32 and it won't let me- "automate.... cannot be installed on this disk..."

What am I doing wrong?

How did you format the disk? Disk Utility -> Erase -> MS-DOS (FAT)?

@toddbluhm Default volume shouldn't be issue anymore with the 1.0.3. I'll send you a new version for testing that does not perform Volume->RootDir == NULL or !FileExists(Volume->RootDir, LoaderPath) checks. Let see how far it proceeds then.

@mickiii The boot process stops at GetUserSettings, something goes wrong in there. Did you edit the config.plist manually?

@avj AMD cards are not supported at present.

automate-eGPU EFIapple_set_os.efi
--
late-2016 13" Macbook Pro nTB + [email protected] (Netstor HL23T) + macOS & Win10
late-2016 13" Macbook Pro nTB + GTX980/[email protected] (Netstor HL23T) + macOS10.13 & Win10


ReplyQuote
(@keith_walls)
Eminent Member
Joined: 1 year ago
Posts: 34
July 8, 2018 11:20 am  

@goalque, I formatted with Fat32 on two different memory sticks with the NTFS for Mac app, neither worked. I also tried just the MS-DOS option with Disk Utility. Neither works.

Pending: Add my system information and expected eGPU configuration to my signature to give context to my posts


ReplyQuote
goalque
(@goalque)
Noble Member Admin
Joined: 2 years ago
Posts: 1369
July 8, 2018 11:32 am  
Posted by: Keith Walls

@goalque, I formatted with Fat32 on two different memory sticks with the NTFS for Mac app, neither worked. I also tried just the MS-DOS option with Disk Utility. Neither works.

And it has a single partition, no Boot Camp? Can you take a screenshot? What's your machine and macOS version?

automate-eGPU EFIapple_set_os.efi
--
late-2016 13" Macbook Pro nTB + [email protected] (Netstor HL23T) + macOS & Win10
late-2016 13" Macbook Pro nTB + GTX980/[email protected] (Netstor HL23T) + macOS10.13 & Win10


ReplyQuote
mickiii
(@mickiii)
New Member
Joined: 11 months ago
Posts: 3
July 8, 2018 3:20 pm  

Yep, I edited it manually. What is the correct way of editing it?

Pending: Add my system information and expected eGPU configuration to my signature to give context to my posts


ReplyQuote
goalque
(@goalque)
Noble Member Admin
Joined: 2 years ago
Posts: 1369
July 8, 2018 4:50 pm  
Posted by: mickiii

Yep, I edited it manually. What is the correct way of editing it?

There shouldn't be reason, except setting Debug to true in troubleshooting situations. If you did something else, maybe a broken XML tag and explains why GetUserSettings cannot be read. Anyway, something in XML parsing failed.

automate-eGPU EFIapple_set_os.efi
--
late-2016 13" Macbook Pro nTB + [email protected] (Netstor HL23T) + macOS & Win10
late-2016 13" Macbook Pro nTB + GTX980/[email protected] (Netstor HL23T) + macOS10.13 & Win10


ReplyQuote
Pavelusha
(@pavelusha)
Active Member
Joined: 10 months ago
Posts: 12
July 9, 2018 6:02 pm  

First of all, thank you guys for all hard work you're doing! It's amazing to me that a couple guys could do what a huge corporation with all the resources it has couldn't.

Just wanted to report that Hybrid solution works perfect on my setup (well almost).
I have Retina 2012 Macbook Pro 15", 16 GB RAM, Nvidia 650M 1GB, SSD 1TB, eGPU Nvidia GTX 1080 TI 11 GB, Akitio PRO TB3 (connected with apple TB3->TB2 connector and TB cable). macOS 10.13.5

I used version 1.0.1 first (Hybrid) installed on boot volume and web driver 387.10.10.10.35.106
So OpenGL/CL didn't work. Changed the driver to 378.10.10.10.25.104
Got Open GL/CL support, but for instance Tomb Raider FPS was horrible.

After version 1.0.3 was released tried to uninstall version 1.0.1 and install that one, but version 1.0.3 consistently gives me an error that I have an incompatible kext and need to reinstall os. So went back to installing version 1.0.1. Since version 1.0.3 asked me to remove web driver, I didn't install web driver while installing EFI boot, and installed web driver using webdriver.sh script. this time I tried to use web driver version 387.10.10.10.25.161
So as a result now everything works as it should. I have OpenGL/SL, Metal working just fine. Tomb Raider runs at 70fps no problem. Heaven gives like 70–90 FPS  etc. 
During boot I have a choice of 3 options. "Macintosh HD", will boot up just regular, no EGPU. EFI boot will boot up with eGPU, and Windows which obviously boots up windows.

A couple things which don't work. There is no eGPU icon in the menu even though in the system info the card shows up as an external. Probably because I installed the web driver thru the script it didn't install NVIDIA settings panel (don't really care about that).
Also when I open GPU monitor in the Activity monitor only GTX 1080 TI shows up. No dGPU or iGPU, but they show up in the system info and it actually says that laptop screen controlled by Nvidia 650m. (again not upset about that since looks like everything get's rendered thru GTX 1080 Ti and that's what I want anyway).

P.S. Can't add any screenshots right now, but if anybody interested I can do it later in the evening.

2018 Macbook Pro 15", AKiTiO Node Pro - Asus GeForce GTX 1080ti 11GB


goalque liked
ReplyQuote
goalque
(@goalque)
Noble Member Admin
Joined: 2 years ago
Posts: 1369
July 9, 2018 6:24 pm  
Posted by: Pavelusha

After version 1.0.3 was released tried to uninstall version 1.0.1 and install that one, but version 1.0.3 consistently gives me an error that I have an incompatible kext and need to reinstall os.

If it said "Invalid system kext found. Please reinstall macOS", you have to reinstall macOS. Your system is not clean. You can install older Nvidia web drivers later, when the installer has done its job.

automate-eGPU EFIapple_set_os.efi
--
late-2016 13" Macbook Pro nTB + [email protected] (Netstor HL23T) + macOS & Win10
late-2016 13" Macbook Pro nTB + GTX980/[email protected] (Netstor HL23T) + macOS10.13 & Win10


ReplyQuote
Pavelusha
(@pavelusha)
Active Member
Joined: 10 months ago
Posts: 12
July 9, 2018 6:28 pm  

I understand that. was planing to reinstall since forever now, but probably will wait till macOS 10.14 will be released. (hopefully in a couple months)
It's just interesting that version 1.0.1 is ok with that and works just fine and version 1.0.3 doesn't like it.

oh, sorry forgot to tell that before using any version web driver was uninstalled.

2018 Macbook Pro 15", AKiTiO Node Pro - Asus GeForce GTX 1080ti 11GB


ReplyQuote
goalque
(@goalque)
Noble Member Admin
Joined: 2 years ago
Posts: 1369
July 9, 2018 6:37 pm  
Posted by: Pavelusha

I understand that. was planing to reinstall since forever now, but probably will wait till macOS 10.14 will be released. (hopefully in a couple months)
It's just interesting that version 1.0.1 is ok with that and works just fine and version 1.0.3 doesn't like it.

Ok. 1.0.1 doesn't have system kext validation. It's important that your system kexts are unmodified, with correct permissions. The error message indicates that one of these is modified:

AppleGraphicsControl.kext

AppleGPUWrangler.kext

AppleGraphicsDevicePolicy.kext

IOGraphicsFamily.kext

IONDRVSupport.kext

automate-eGPU EFIapple_set_os.efi
--
late-2016 13" Macbook Pro nTB + [email protected] (Netstor HL23T) + macOS & Win10
late-2016 13" Macbook Pro nTB + GTX980/[email protected] (Netstor HL23T) + macOS10.13 & Win10


ReplyQuote
Pavelusha
(@pavelusha)
Active Member
Joined: 10 months ago
Posts: 12
July 9, 2018 6:41 pm  

I see. So most likely AppleGPUWrangler.kext was modified at some point by the scripts I used before.
I wonder will it fix it if I'll copy that. one on my computer from another one win macOS 10.13.5 installed.

2018 Macbook Pro 15", AKiTiO Node Pro - Asus GeForce GTX 1080ti 11GB


ReplyQuote
goalque
(@goalque)
Noble Member Admin
Joined: 2 years ago
Posts: 1369
July 9, 2018 6:48 pm  
Posted by: Pavelusha

I see. So most likely AppleGPUWrangler.kext was modified at some point by the scripts I used before.
I wonder will it fix it if I'll copy that. one on my computer from another one win macOS 10.13.5 installed.

Copy-pasting isn't enough, but may work if you know how to repair kext ownership and permissions in the Terminal. One more thing, somehow you managed to pass Thunderbolt version check. TB1 is not yet supported.

Posted by: Pavelusha

There is no eGPU icon in the menu even though in the system info the card shows up as an external.

https://egpu.io/forums/mac-setup/two-new-egpu-solutions-on-macos-10-13-4-pure-efi-and-hybrid/paged/5/#post-38739

automate-eGPU EFIapple_set_os.efi
--
late-2016 13" Macbook Pro nTB + [email protected] (Netstor HL23T) + macOS & Win10
late-2016 13" Macbook Pro nTB + GTX980/[email protected] (Netstor HL23T) + macOS10.13 & Win10


ReplyQuote
Pavelusha
(@pavelusha)
Active Member
Joined: 10 months ago
Posts: 12
July 10, 2018 5:29 am  

Sorry, it's a bit off topic, but for the life of me I can't find how to attach some pictures to the post 🙁 

Wanted to add some screenshots and can't figure out how. Are there any limitation on the forum about that?

2018 Macbook Pro 15", AKiTiO Node Pro - Asus GeForce GTX 1080ti 11GB


ReplyQuote
Pavelusha
(@pavelusha)
Active Member
Joined: 10 months ago
Posts: 12
July 11, 2018 5:00 am  

Just wanted to report that everything works after installing macOS 10.13.6 update.
Also after installing it EFI Boot Version 1.0.3 installed with the latest NVIDIA driver without any questions and everything works as expected.

One little thing though, it changed the "Macintosh HD" volume boot icon in the boot menu to it's own. Not a big deal though.

Screen Shot 2018 07 09 at 7.14.50 PM
Screen Shot 2018 07 09 at 7.41.40 PM
Screen Shot 2018 07 09 at 8.41.07 PM
Screen Shot 2018 07 09 at 8.41.17 PM
Screen Shot 2018 07 11 at 8.40.56 AM

This post was modified 10 months ago

2018 Macbook Pro 15", AKiTiO Node Pro - Asus GeForce GTX 1080ti 11GB


ReplyQuote
goalque
(@goalque)
Noble Member Admin
Joined: 2 years ago
Posts: 1369
July 11, 2018 2:43 pm  

automate-eGPU EFI v1.0.4 is released

https://cdn.egpu.io/wp-content/uploads/2018/07/automate-eGPU-EFI-v.1.0.4.pkg_.zip

- added support for all TB1 Macs
- dropped support for MacBookPro 11,3 (also other Nvidia dGPU equipped models not recommended, please use 1.0.3)
- AMD dGPU + Nvidia eGPU framebuffer conflict solved

This special version introduces three new Hybrid modes:

1) Hybrid (iGPU)
2) Hybrid (AMD dGPU)
3) Hybrid (closed-clamshell) -> black internal screen, neither iGPU nor AMD dGPU show "Color LCD" under Graphics/Displays

You should always hot plug the eGPU when using any of these Hybrid modes, AFTER logged into macOS. The app logs you out automatically and enables eGPU screen output. This should work also with the Late 2013 Mac Pro (Hybrid AMD dGPU mode), enabling other display interfaces through the AMD dGPU but hot plugging the display cable might be still necessary.

Closed-clamshell is not tested with the iGPU only MBPs, please choose "Hybrid (iGPU)". Confirmed to work only with an AMD dGPU equipped model (M370X).

When using closed-clamshell mode, you should run also the following command:

sudo pmset -a sleep 0; sudo pmset -a hibernatemode 0; sudo pmset -a disablesleep 1;

https://gist.github.com/pwnsdx/2ae98341e7e5e64d32b734b871614915

This post was modified 10 months ago

automate-eGPU EFIapple_set_os.efi
--
late-2016 13" Macbook Pro nTB + [email protected] (Netstor HL23T) + macOS & Win10
late-2016 13" Macbook Pro nTB + GTX980/[email protected] (Netstor HL23T) + macOS10.13 & Win10


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
Posts: 1979
July 11, 2018 3:09 pm  

@goalque Awesome work. So to get NVIDIA eGPU display output + AMD dGPU display out = One has to hot-plug eGPU -> logout, and hot-plug displays (for Mac Pro 2013) directly? I presume you are using launchctl to log out automatically as a hook.

purge-wrangler.shpurge-nvda.shset-eGPU.shautomate-eGPU EFI Installer
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife
eGPU Hardware Chart
----
Multiple Build Guides


goalque liked
ReplyQuote
goalque
(@goalque)
Noble Member Admin
Joined: 2 years ago
Posts: 1369
July 11, 2018 3:22 pm  
Posted by: mac_editor

@goalque Awesome work. So to get NVIDIA eGPU display output + AMD dGPU display out = One has to hot-plug eGPU -> logout, and hot-plug displays (for Mac Pro 2013) directly? I presume you are using launchctl to log out automatically as a hook.

Just hot plug the eGPU after logged in (doesn't matter how soon, it worked 10 times in a row with the M370X). Hot plugging internal displays (HDMI, mDP) might be necessary only with the nMP.

Yes, one agent background service and logout & login hooks. "Uninstall "option removes them all.

Nvidia dGPU support is dropped on purpose because there is now so much AMD dGPU logic and hot plugging is required in Hybrid mode - until you or @pengus77 figure out more reliable workaround (OpenCL working, Metal working, no old web drivers...) for 750M by EFI methods.

This post was modified 10 months ago

automate-eGPU EFIapple_set_os.efi
--
late-2016 13" Macbook Pro nTB + [email protected] (Netstor HL23T) + macOS & Win10
late-2016 13" Macbook Pro nTB + GTX980/[email protected] (Netstor HL23T) + macOS10.13 & Win10


ReplyQuote
goalque
(@goalque)
Noble Member Admin
Joined: 2 years ago
Posts: 1369
July 11, 2018 8:19 pm  

@keith_walls asked for a short explanation of the 3 different methods currently in use: my EFI app, and mac_editor's & fr34k's scripts.

fr34k's solution is based on the old yifanlu's kext and older patches. This is no more necessary with my two new Nvidia workarounds - the other works also in Mojave (currently in use), and the other only in 10.13.4 and 10.13.5. "Pure EFI" is the last backup plan if Apple blocks my generic Nvidia patch as well - it doesn't need any kext patches.

The main difference between scripts and EFI is that EFI does not modify any system binaries, not even kext plist files. All the script solutions modify kext binaries and plists directly.

If mac_editor's or fr34k's scripts' uninstall mechanism has a bug, your only chance is to reinstall macOS or restore from the Time Machine backup.

Due to Mac firmware differences, all Macs may not accept the EFI solution at the moment (can be solved by debugging). In that case, try @mac_editor's scripts.

Differences between the "Hybrid" and "Pure EFI":

- "Hybrid" adds a codeless kext and background service
- "Hybrid" supports hot plugging and v.1.0.4 "Hybrid" requires hot plugging after logged in
- "Pure EFI" installed on the USB keeps your system as it was before installation: no kexts, no background services, nothing changed, nothing added
- "Pure EFI" does not support hot plugging, the eGPU must be plugged in during the boot process

automate-eGPU EFIapple_set_os.efi
--
late-2016 13" Macbook Pro nTB + [email protected] (Netstor HL23T) + macOS & Win10
late-2016 13" Macbook Pro nTB + GTX980/[email protected] (Netstor HL23T) + macOS10.13 & Win10


theitsage liked
ReplyQuote
kingbri
(@kingbri)
Eminent Member
Joined: 12 months ago
Posts: 40
July 11, 2018 10:25 pm  

@goalque, with the 1.0.4 version, if I reboot, hotplug with the boot screen or the login screen, I get repeated kernel panics until the egpu is removed, should I hotplug after logging in?

Pending: Add my system information and expected eGPU configuration to my signature to give context to my posts


ReplyQuote
goalque
(@goalque)
Noble Member Admin
Joined: 2 years ago
Posts: 1369
July 11, 2018 11:06 pm  
Posted by: kingbri

@goalque, with the 1.0.4 version, if I reboot, hotplug with the boot screen or the login screen, I get repeated kernel panics until the egpu is removed, should I hotplug after logging in?

Which Mac, eGPU enclosure, method, boot procedure...? You mentioned TB1 and some 2012 model earlier but I don't know anything else, 13" or 15"? I cannot help. 

v1.0.4 instructions do not mention "with the boot screen or login screen". I said AFTER logged in, three times. Please read carefully.

2011 Mac mini works perfectly.

automate-eGPU EFIapple_set_os.efi
--
late-2016 13" Macbook Pro nTB + [email protected] (Netstor HL23T) + macOS & Win10
late-2016 13" Macbook Pro nTB + GTX980/[email protected] (Netstor HL23T) + macOS10.13 & Win10


ReplyQuote
kingbri
(@kingbri)
Eminent Member
Joined: 12 months ago
Posts: 40
July 11, 2018 11:21 pm  

@goalque MBP is mid 2012 13" normal display. Egpu is an Egfx BB with a gtx1060. Not sure what you mean by boot procedure, but I have the hybrid igpu method installed. Whenever I hotplug (even after logging in) I get continously rebooted (looks like a kernel panic) until egpu is removed

This post was modified 10 months ago

Pending: Add my system information and expected eGPU configuration to my signature to give context to my posts


ReplyQuote
goalque
(@goalque)
Noble Member Admin
Joined: 2 years ago
Posts: 1369
July 11, 2018 11:27 pm  
Posted by: kingbri

@goalque MBP is mid 2012 13" normal display. Egpu is an Egfx BB with a gtx1060. Not sure what you mean by boot procedure, but I have the hybrid igpu method installed. Whenever I hotplug (even after logging in) I get continously rebooted (looks like a kernel panic) until egpu is removed

Thanks for the more detailed reply. BB? It's just impossible to help people here as so many don't describe in detail. "Hybrid (iGPU)" is correct option. I guess you messed up your system already by hot plugging at login screen. Unplug everything, uninstall, reboot, reinstall, reboot, and try again. If still the same, reinstall macOS.

This post was modified 10 months ago

automate-eGPU EFIapple_set_os.efi
--
late-2016 13" Macbook Pro nTB + [email protected] (Netstor HL23T) + macOS & Win10
late-2016 13" Macbook Pro nTB + GTX980/[email protected] (Netstor HL23T) + macOS10.13 & Win10


ReplyQuote
kingbri
(@kingbri)
Eminent Member
Joined: 12 months ago
Posts: 40
July 11, 2018 11:33 pm  

I say BB, it means Breakaway Box

Pending: Add my system information and expected eGPU configuration to my signature to give context to my posts


ReplyQuote
goalque
(@goalque)
Noble Member Admin
Joined: 2 years ago
Posts: 1369
July 11, 2018 11:44 pm  
Posted by: kingbri

I say BB, it means Breakaway Box

Thanks. There are 4 BBs: GPU-350W-TB3Z, GPU-550W-TB3, GPU-650W-TB3, GPU-350W-TB3DEK. Would be useful if people put system configuration in signature.

Confirm that automate-eGPU.kext is generated under "/Library/Extensions/" folder.

"/Library/Application Support/Automate-eGPU/" contains three files: automate-eGPU.sh, logout.sh, relogin.sh.

And "/Library/LaunchAgents/" contains automate-eGPU-agent.plist.

Still don't know your exact boot procedure; USB stick or internally, and did you select the "EFI Boot" disk on Apple's startup manager?

This post was modified 10 months ago

automate-eGPU EFIapple_set_os.efi
--
late-2016 13" Macbook Pro nTB + [email protected] (Netstor HL23T) + macOS & Win10
late-2016 13" Macbook Pro nTB + GTX980/[email protected] (Netstor HL23T) + macOS10.13 & Win10


ReplyQuote
ENickRyan
(@enickryan)
Active Member
Joined: 2 years ago
Posts: 5
July 12, 2018 4:40 am  
Posted by: goalque

automate-eGPU EFI v1.0.4 is released

https://cdn.egpu.io/wp-content/uploads/2018/07/automate-eGPU-EFI-v.1.0.4.pkg_.zip

- added support for all TB1 Macs
- dropped support for MacBookPro 11,3 (also other Nvidia dGPU equipped models not recommended, please use 1.0.3)

@goalque Thanks for your work thinking through and implementing this clever solution. If I am understanding correctly, my "MacBookPro10,1" falls in-between your recommendations. v1.0.3 would not run on a TB1 machine and v1.0.4 is not recommended on a Nvidia dGPU. Is that correct or is it still worth a try?

I attempted an install tonight, however, ran into "Invalid system kext found. Please reinstall macOS." This weekend I plan to reinstall MacOS 10.13.5 and then attempt the Pure EFI boot method (if your feedback provides any hope that it could be successful).

MBP 15" Early 2013 GT650M + [email protected] (AKiTiO Node via TB3->TB2) + macOS & Win10
MBP 15" 2017 RP560 (Work)


ReplyQuote
Pavelusha
(@pavelusha)
Active Member
Joined: 10 months ago
Posts: 12
July 12, 2018 6:47 am  
Posted by: ENickRyan

If I am understanding correctly, my "MacBookPro10,1" falls in-between your recommendations. v1.0.3 would not run on a TB1 machine and v1.0.4 is not recommended on a Nvidia dGPU.

@enickryan I have the same model. Look at this post  https://egpu.io/forums/mac-setup/two-new-egpu-solutions-on-macos-10-13-4-pure-efi-and-hybrid/paged/9/#post-39617

 Everything works after I upgraded to 10.13.6 and used version 1.0.3 for boot. Used Hybrid mode.

2018 Macbook Pro 15", AKiTiO Node Pro - Asus GeForce GTX 1080ti 11GB


goalque liked
ReplyQuote
goalque
(@goalque)
Noble Member Admin
Joined: 2 years ago
Posts: 1369
July 12, 2018 9:07 am  
Posted by: Pavelusha
Posted by: ENickRyan

If I am understanding correctly, my "MacBookPro10,1" falls in-between your recommendations. v1.0.3 would not run on a TB1 machine and v1.0.4 is not recommended on a Nvidia dGPU.

@enickryan I have the same model. Look at this post  https://egpu.io/forums/mac-setup/two-new-egpu-solutions-on-macos-10-13-4-pure-efi-and-hybrid/paged/9/#post-39617

 Everything works after I upgraded to 10.13.6 and used version 1.0.3 for boot. Used Hybrid mode.

That's interesting because 650M model should be "Thunderbolt port (up to 10 Gbps)" according to Apple and you should get a message "Only TB2 and TB3 Macs are supported. Please disconnect all TB1 devices." with v1.0.3.

 

However, v1.0.3 didn't find any TB1 devices. Would you run the following command in Terminal, what does it say?

ioreg -c IORegistryEntry -d 1 | sed -n -E 's/.*IOThunderboltSwitchType1"=([0-9]+).*/\1/p'

automate-eGPU EFIapple_set_os.efi
--
late-2016 13" Macbook Pro nTB + [email protected] (Netstor HL23T) + macOS & Win10
late-2016 13" Macbook Pro nTB + GTX980/[email protected] (Netstor HL23T) + macOS10.13 & Win10


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
Posts: 1979
July 12, 2018 9:31 am  

@goalque some devices (such as 2012 Mac Mini) report as Thunderbolt 2 for some users. Early PurgeWrangler users were having similar issues, 2.0.2+ resolved that. purge-wrangler & macOS-eGPU.sh use AppleThunderboltNHI(TypeX) class in the ioregistry, where X is version.

purge-wrangler.shpurge-nvda.shset-eGPU.shautomate-eGPU EFI Installer
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife
eGPU Hardware Chart
----
Multiple Build Guides


goalque liked
ReplyQuote
Gnim
 Gnim
(@gnim)
Active Member
Joined: 10 months ago
Posts: 5
July 12, 2018 9:44 am  

@goalque, you are superb! Everytime when I am desperate with vexing egpu problems, you come and solve them. The new clamshell mode works perfectly with my 2016 15' Macbook pro.
1 tip for others: It takes like half a minute before the external display shows the desktop. So wait patiently. 

Pending: Add my system information and expected eGPU configuration to my signature to give context to my posts


goalque liked
ReplyQuote
goalque
(@goalque)
Noble Member Admin
Joined: 2 years ago
Posts: 1369
July 12, 2018 10:16 am  
Posted by: Gnim

@goalque, you are superb! Everytime when I am desperate with vexing egpu problems, you come and solve them. The new clamshell mode works perfectly with my 2016 15' Macbook pro.
1 tip for others: It takes like half a minute before the external display shows the desktop. So wait patiently. 

Thanks! 🙂 The new clamshell mode should provide the maximum performance on the eGPU monitor, because there is an exact boundary - windows cannot be moved to the invisible internal screen area.

automate-eGPU EFIapple_set_os.efi
--
late-2016 13" Macbook Pro nTB + [email protected] (Netstor HL23T) + macOS & Win10
late-2016 13" Macbook Pro nTB + GTX980/[email protected] (Netstor HL23T) + macOS10.13 & Win10


ReplyQuote
Eightarmedpet
(@eightarmedpet)
Noble Member
Joined: 2 years ago
Posts: 1448
July 12, 2018 10:48 am  

Thanks for the explanation of the 3 different methods. Sounds like EFI does the least tinkering and as I dont care about hot plugging may be the best solution for me.

Did you mean your methods work in Mojave? Couldn't quite work out what you wrote reg that.

2017 13" MacBook Pro Touchbar + [email protected] (AKiTiO Thunder3) + Win10
2017 13" MacBook Pro Touch Bar + [email protected] (Sonnet Breakaway Box) + Win10

2017 13" MacBook Pro Touch Bar + GTX1070 (debating 2070 upgrade) @32Gbps-TB3 (Razer Core V1) + Win10

2017 13" MacBook Pro Touch Bar + Vega 56 @32Gbps-TB3 (Razer Core V1) + Win10 & macOS 10.14+

---
LG 5K Ultrafine flickering issue fix


ReplyQuote
Page 9 / 19