[SCRIPT] automate-eGPU.sh v1.0.1 - macOS eGPU installation tool  

Page 9 / 9 Prev
  RSS

Sgt. Adrael
(@sgt-adrael)
Active Member
Joined: 1 year ago
Posts: 10
August 24, 2017 5:23 am  

I stuck at some point - I tied everything with my little Mac Mini Maschine from 2011 (Upgraded to 16GB, 2x 512GB SSD).

I havnt the Intel graphics Mini, it is the Radeon version. This seems to be the problem.

Anyways i got everything installed and the Akitio Node recognise my GTX960.

After I installed everything and do a restart with the Node connected, my Mac goes into the "Bluescreeen of Mac" (Issue screen) and restarts.

I have read that the Mac Mini versions with the Radeon 6630m arent compatible with an eGPU. But why are so much Macs out there with an dGPU that can go with a eGPU?

Anyone has something to try for me ? 

- Mac Mini Mid 2012 (16GB RAM, 2x 512GB SSD, Intel HD 4000)
- Akitio Node Thunderbold 3 + GTX 960 4GB Gaming
- 2x HP 27es Monitor


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
Posts: 1504
August 24, 2017 9:54 am  
Posted by: Sgt. Adrael

I stuck at some point - I tied everything with my little Mac Mini Maschine from 2011 (Upgraded to 16GB, 2x 512GB SSD).

I havnt the Intel graphics Mini, it is the Radeon version. This seems to be the problem.

Anyways i got everything installed and the Akitio Node recognise my GTX960.

After I installed everything and do a restart with the Node connected, my Mac goes into the "Bluescreeen of Mac" (Issue screen) and restarts.

I have read that the Mac Mini versions with the Radeon 6630m arent compatible with an eGPU. But why are so much Macs out there with an dGPU that can go with a eGPU?

Anyone has something to try for me ? 

What version of macOS are you using? Script post mentions it does not work with your Mac. Maybe try Rastafabi's app...

 

@goalque: Is the reason this Mac does not work discrete graphics - the AMD card/kexts?

purge-wrangler.shpurge-nvda.shset-eGPU.sh
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife
----
Multiple Build Guides


ReplyQuote
Sgt. Adrael
(@sgt-adrael)
Active Member
Joined: 1 year ago
Posts: 10
August 24, 2017 10:16 am  
Posted by: mac_editor
Posted by: Sgt. Adrael

I stuck at some point - I tied everything with my little Mac Mini Maschine from 2011 (Upgraded to 16GB, 2x 512GB SSD).

I havnt the Intel graphics Mini, it is the Radeon version. This seems to be the problem.

Anyways i got everything installed and the Akitio Node recognise my GTX960.

After I installed everything and do a restart with the Node connected, my Mac goes into the "Bluescreeen of Mac" (Issue screen) and restarts.

I have read that the Mac Mini versions with the Radeon 6630m arent compatible with an eGPU. But why are so much Macs out there with an dGPU that can go with a eGPU?

Anyone has something to try for me ? 

What version of macOS are you using? Script post mentions it does not work with your Mac. Maybe try Rastafabi's app...

 

@goalque: Is the reason this Mac does not work discrete graphics - the AMD card/kexts?

Thanks for your reply.

I am using Mac OS Sierra 10.12.6.

It`s weird, I can install everything with no issues. The only problem is when I do a reboot with the eGPU connected.

I got in a loop of the Mac Error Screen, after it loads half way at the Apple Loading Screen.

Without the eGPU connected I dont have any issues. 🙁

- Mac Mini Mid 2012 (16GB RAM, 2x 512GB SSD, Intel HD 4000)
- Akitio Node Thunderbold 3 + GTX 960 4GB Gaming
- 2x HP 27es Monitor


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
Posts: 1504
August 24, 2017 10:22 am  
Posted by: Sgt. Adriel
Thanks for your reply.
I am using Mac OS Sierra 10.12.6.

It`s weird, I can install everything with no issues. The only problem is when I do a reboot with the eGPU connected.

I got in a loop of the Mac Error Screen, after it loads half way at the Apple Loading Screen.

Without the eGPU connected I dont have any issues. 🙁

Can you please boot in verbose mode and see where it gets stuck? If the internal discrete GPU is cause, I might have something for you to try. Also, just to confirm, this is the Mid-2011 Mac Mini with AMD HD6330M only right?

 

I presume you are connecting the display to your eGPU, yes?

purge-wrangler.shpurge-nvda.shset-eGPU.sh
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife
----
Multiple Build Guides


ReplyQuote
Sgt. Adrael
(@sgt-adrael)
Active Member
Joined: 1 year ago
Posts: 10
August 24, 2017 10:55 am  
Posted by: mac_editor
Posted by: Sgt. Adriel
Thanks for your reply.
I am using Mac OS Sierra 10.12.6.

It`s weird, I can install everything with no issues. The only problem is when I do a reboot with the eGPU connected.

I got in a loop of the Mac Error Screen, after it loads half way at the Apple Loading Screen.

Without the eGPU connected I dont have any issues. 🙁

Can you please boot in verbose mode and see where it gets stuck? If the internal discrete GPU is cause, I might have something for you to try. Also, just to confirm, this is the Mid-2011 Mac Mini with AMD HD6330M only right?

 

I presume you are connecting the display to your eGPU, yes?

Yay, its the Mac Mini with the AMD HD6330M only.

When I boot with the displays connected to the eGPU there is just a black screen and it keeps rebooting again and again.

I try to make a picture of the screen where it gets stuck, when I am at home.

- Mac Mini Mid 2012 (16GB RAM, 2x 512GB SSD, Intel HD 4000)
- Akitio Node Thunderbold 3 + GTX 960 4GB Gaming
- 2x HP 27es Monitor


ReplyQuote
theitsage
(@itsage)
Famed Member Admin
Joined: 2 years ago
Posts: 3114
August 24, 2017 12:16 pm  

@Sgt. Adrael I'd recommend booting your Mac mini with eGPU connected only and no display. The only display should be connected directly to the back of the Mac mini. Once you confirm eGPU is working properly, you can introduce one display at a time to the eGPU.

You may need a boot delay so that the eGPU does hang the boot up process. The precise timing depends on each Mac model. Make sure you can hear the boot chime and plug the eGPU into the Mac mini after the boot chime finishes. If it still hangs, add another second each time until it boots.

Best ultrabooks for eGPU use

eGPU enclosure buying guide

84 external GPU build guides


ReplyQuote
Sgt. Adrael
(@sgt-adrael)
Active Member
Joined: 1 year ago
Posts: 10
August 24, 2017 5:37 pm  
Posted by: mac_editor
Posted by: Sgt. Adrael

I stuck at some point - I tied everything with my little Mac Mini Maschine from 2011 (Upgraded to 16GB, 2x 512GB SSD).

I havnt the Intel graphics Mini, it is the Radeon version. This seems to be the problem.

Anyways i got everything installed and the Akitio Node recognise my GTX960.

After I installed everything and do a restart with the Node connected, my Mac goes into the "Bluescreeen of Mac" (Issue screen) and restarts.

I have read that the Mac Mini versions with the Radeon 6630m arent compatible with an eGPU. But why are so much Macs out there with an dGPU that can go with a eGPU?

Anyone has something to try for me ? 

What version of macOS are you using? Script post mentions it does not work with your Mac. Maybe try Rastafabi's app...

 

@goalque: Is the reason this Mac does not work discrete graphics - the AMD card/kexts?

I have made a screenshot off the verbose mode:

http://imgur.com/a/zz56C  

and here is the error message I get if I reboot in Mac os:

Anonymous UUID:       AD9DF834-F2F0-FF76-51AC-C3401D602350

 

Thu Aug 24 19:23:53 2017

 

*** Panic Report ***

panic(cpu 0 caller 0xffffff80231fe39d): Kernel trap at 0xffffff7fa5d88114, type 14=page fault, registers:

CR0: 0x000000008001003b, CR2: 0x0000000000000c48, CR3: 0x0000000027db1000, CR4: 0x00000000000626e0

RAX: 0x0000000000000000, RBX: 0xffffff920d3cbe00, RCX: 0x0000000009000000, RDX: 0xffffff802386b658

RSP: 0xffffff920d3cbe00, RBP: 0xffffff920d3cbe20, RSI: 0xffffff8045a8aa00, RDI: 0x0000000000000000

R8:  0xffffff8045e00000, R9:  0xffffff802386b618, R10: 0xffffff80238671b0, R11: 0xffffff8045dfc900

R12: 0x0000000100000358, R13: 0xffffff804599fab8, R14: 0xffffff8045a8a800, R15: 0xffffff804599f000

RFL: 0x0000000000010246, RIP: 0xffffff7fa5d88114, CS:  0x0000000000000008, SS:  0x0000000000000000

Fault CR2: 0x0000000000000c48, Error code: 0x0000000000000000, Fault CPU: 0x0, PL: 0, VF: 1

 

Backtrace (CPU 0), Frame : Return Address

0xffffff920d3cba90 : 0xffffff80230e953c 

0xffffff920d3cbb10 : 0xffffff80231fe39d 

0xffffff920d3cbcf0 : 0xffffff802309a593 

0xffffff920d3cbd10 : 0xffffff7fa5d88114 

0xffffff920d3cbe20 : 0xffffff7fa5d8b08f 

0xffffff920d3cbe70 : 0xffffff7fa5e0bfa9 

0xffffff920d3cbe90 : 0xffffff8023693f03 

0xffffff920d3cbed0 : 0xffffff80236baafe 

0xffffff920d3cbf10 : 0xffffff80236932f8 

0xffffff920d3cbf90 : 0xffffff8023692927 

0xffffff920d3cbfb0 : 0xffffff80230978f7 

      Kernel Extensions in backtrace:

         com.apple.iokit.IOAcceleratorFamily2(311.14)[13F71024-7246-3AD1-A551-5C186BC70889]@0xffffff7fa5d60000->0xffffff7fa5deffff

            dependency: com.apple.iokit.IOPCIFamily(2.9)[3E00E7D2-E569-341D-9BE0-34D5DE491825]@0xffffff7fa3932000

            dependency: com.apple.iokit.IOGraphicsFamily(515.3)[A423518D-758D-3021-A111-A59F44D760A8]@0xffffff7fa3d1e000

         com.nvidia.web.GeForceWeb(10.1.8)[4BEA1FD8-8362-3362-86B1-8CA9726CFF70]@0xffffff7fa5dff000->0xffffff7fa5ea1fff

            dependency: com.apple.iokit.IOPCIFamily(2.9)[3E00E7D2-E569-341D-9BE0-34D5DE491825]@0xffffff7fa3932000

            dependency: com.apple.iokit.IONDRVSupport(516.1)[480556A8-289E-3A63-83F8-0E9224255A68]@0xffffff7fa3d66000

            dependency: com.nvidia.web.NVDAResmanWeb(10.1.8)[ACF2DC87-2323-3506-BC1F-3B82D213D8C9]@0xffffff7fa3d82000

            dependency: com.apple.iokit.IOGraphicsFamily(515.3)[A423518D-758D-3021-A111-A59F44D760A8]@0xffffff7fa3d1e000

            dependency: com.apple.iokit.IOAcceleratorFamily2(311.14)[13F71024-7246-3AD1-A551-5C186BC70889]@0xffffff7fa5d60000

 

BSD process name corresponding to current thread: kernel_task

 

Mac OS version:

16G29

 

Kernel version:

Darwin Kernel Version 16.7.0: Thu Jun 15 17:36:27 PDT 2017; root:xnu-3789.70.16~2/RELEASE_X86_64

Kernel UUID: D3314D98-5D40-3CD8-98A4-F1DD46C20E03

Kernel slide:     0x0000000022e00000

Kernel text base: 0xffffff8023000000

__HIB  text base: 0xffffff8022f00000

System model name: Macmini5,2 (Mac-4BC72D62AD45599E)

 

System uptime in nanoseconds: 4942023396

last loaded kext at 4060482100: com.apple.driver.AppleMikeyHIDDriver 131 (addr 0xffffff7fa6331000, size 16384)

loaded kexts:

com.nvidia.web.GeForceWeb 10.1.8

com.nvidia.web.NVDAGM100HalWeb 10.1.8

com.nvidia.web.NVDAResmanWeb 10.1.8

com.nvidia.NVDAStartupWeb 10.1.8

com.apple.driver.AppleMikeyHIDDriver 131

com.apple.driver.AppleMikeyDriver 279.48

com.apple.driver.pmtelemetry 1

com.apple.iokit.IOUserEthernet 1.0.1

com.apple.kext.AMDLegacyFramebuffer 1.5.1

com.apple.driver.AppleHDAHardwareConfigDriver 279.48

com.apple.iokit.IOBluetoothSerialManager 5.0.5f1

com.apple.driver.AppleUpstreamUserClient 3.6.4

com.apple.driver.AppleMCCSControl 1.3.4

com.apple.driver.AppleHDA 279.48

com.apple.AMDRadeonX3000 1.5.1

com.apple.Dont_Steal_Mac_OS_X 7.0.0

com.apple.driver.AppleOSXWatchdog 1

com.apple.driver.ApplePolicyControl 3.14.49

com.apple.driver.AppleSMCPDRC 1.0.0

com.apple.kext.AMD6000Controller 1.5.1

com.apple.driver.AppleHV 1

com.apple.driver.AppleThunderboltIP 3.0.8

com.apple.driver.AppleLPC 3.1

com.apple.driver.ACPI_SMC_PlatformPlugin 1.0.0

com.apple.driver.AppleIntelSlowAdaptiveClocking 4.0.0

com.apple.driver.AppleIntelHD3000Graphics 10.0.2

com.apple.driver.AppleIntelSNBGraphicsFB 10.0.2

com.apple.driver.AppleMuxControl 3.14.49

com.apple.driver.AppleFIVRDriver 4.1.0

com.apple.iokit.IOBluetoothUSBDFU 5.0.5f1

com.apple.driver.AppleIRController 341.2

com.apple.driver.AppleFileSystemDriver 3.0.1

com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1

com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0

com.apple.BootCache 40

com.apple.filesystems.hfs.kext 366.70.1

com.apple.iokit.IOAHCIBlockStorage 295.20.1

com.apple.driver.AppleFWOHCI 5.5.5

com.apple.iokit.AppleBCM5701Ethernet 10.2.10

com.apple.driver.AppleSDXC 1.7.6

com.apple.driver.AirPort.Brcm4331 800.20.26

com.apple.driver.AppleAHCIPort 326.60.1

com.apple.driver.AirPort.Brcm4360 1150.12.1a1

com.apple.driver.AppleRTC 2.0

com.apple.driver.AppleACPIButtons 5.0

com.apple.driver.AppleHPET 1.8

com.apple.driver.AppleSMBIOS 2.1

com.apple.driver.AppleACPIEC 5.0

com.apple.driver.AppleAPIC 1.7

com.apple.driver.AppleIntelCPUPowerManagementClient 219.0.0

com.apple.nke.applicationfirewall 172

com.apple.security.quarantine 3

com.apple.security.TMSafetyNet 8

com.apple.driver.AppleIntelCPUPowerManagement 219.0.0

com.apple.iokit.IOSerialFamily 11

com.apple.driver.DspFuncLib 279.48

com.apple.kext.OSvKernDSPLib 525

com.apple.iokit.IOSurface 159.9

com.apple.iokit.IOAcceleratorFamily2 311.14

com.apple.driver.AppleSMBusController 1.0.18d1

com.apple.kext.AMDSupport 1.5.1

com.apple.driver.AppleSSE 1.0

com.apple.AppleGraphicsDeviceControl 3.14.49

com.apple.driver.AppleSMBusPCI 1.0.14d1

com.apple.iokit.IOFireWireIP 2.2.7

com.apple.driver.AppleHDAController 279.48

com.apple.iokit.IOHDAFamily 279.48

com.apple.iokit.IOAudioFamily 205.15

com.apple.vecLib.kext 1.2.0

com.apple.driver.AppleThunderboltEDMSink 4.1.1

com.apple.driver.IOPlatformPluginLegacy 1.0.0

com.apple.driver.IOPlatformPluginFamily 6.0.0d8

com.apple.kext.AMDLegacySupport 1.5.1

com.apple.iokit.IOSlowAdaptiveClockingFamily 1.0.0

com.apple.driver.AppleBacklightExpert 1.1.0

com.apple.driver.AppleSMC 3.1.9

com.apple.iokit.IONDRVSupport 516.1

com.apple.iokit.IOGraphicsFamily 515.3

com.apple.driver.AppleGraphicsControl 3.14.49

com.apple.iokit.IOSCSIArchitectureModelFamily 394.50.1

com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport 5.0.5f1

com.apple.iokit.IOBluetoothHostControllerUSBTransport 5.0.5f1

com.apple.iokit.IOBluetoothHostControllerTransport 5.0.5f1

com.apple.iokit.IOBluetoothFamily 5.0.5f1

com.apple.driver.usb.IOUSBHostHIDDevice 1.1

com.apple.driver.usb.cdc 5.0.0

com.apple.driver.usb.networking 5.0.0

com.apple.driver.usb.AppleUSBHostCompositeDevice 1.1

com.apple.driver.AppleThunderboltDPInAdapter 5.0.2

com.apple.driver.AppleThunderboltDPOutAdapter 5.0.2

com.apple.driver.AppleThunderboltDPAdapterFamily 5.0.2

com.apple.driver.AppleThunderboltPCIUpAdapter 2.1.3

com.apple.driver.AppleThunderboltPCIDownAdapter 2.1.3

com.apple.driver.AppleHPM 3.0.9

com.apple.driver.AppleIntelLpssI2CController 3.0.60

com.apple.driver.AppleIntelLpssDmac 3.0.60

com.apple.driver.AppleIntelLpssI2C 3.0.60

com.apple.driver.usb.AppleUSBHub 1.1

com.apple.filesystems.hfs.encodings.kext 1

com.apple.driver.AppleXsanScheme 3

com.apple.driver.AppleThunderboltNHI 4.5.4

com.apple.iokit.IOThunderboltFamily 6.5.7

com.apple.iokit.IOFireWireFamily 4.6.6

com.apple.iokit.IOEthernetAVBController 1.0.3b4

com.apple.iokit.IOAHCIFamily 288

com.apple.iokit.IO80211Family 1200.12.2

com.apple.driver.mDNSOffloadUserClient 1.0.1b8

com.apple.iokit.IONetworkingFamily 3.2

com.apple.driver.corecapture 1.0.4

com.apple.driver.AppleUSBMergeNub 900.4.1

com.apple.driver.usb.AppleUSBUHCIPCI 1.1

com.apple.driver.usb.AppleUSBUHCI 1.1

com.apple.driver.usb.AppleUSBEHCIPCI 1.1

com.apple.driver.usb.AppleUSBEHCI 1.1

com.apple.driver.usb.AppleUSBHostPacketFilter 1.0

com.apple.iokit.IOUSBFamily 900.4.1

com.apple.driver.AppleUSBHostMergeProperties 1.1

com.apple.iokit.IOHIDFamily 2.0.0

com.apple.driver.AppleEFINVRAM 2.1

com.apple.driver.AppleEFIRuntime 2.1

com.apple.iokit.IOSMBusFamily 1.1

com.apple.security.sandbox 300.0

com.apple.kext.AppleMatch 1.0.0d1

com.apple.driver.AppleKeyStore 2

com.apple.driver.AppleMobileFileIntegrity 1.0.5

com.apple.driver.AppleCredentialManager 1.0

com.apple.driver.KernelRelayHost 1

com.apple.iokit.IOUSBHostFamily 1.1

com.apple.driver.AppleBusPowerController 1.0

com.apple.driver.DiskImages 444.50.16

com.apple.iokit.IOStorageFamily 2.1

com.apple.iokit.IOReportFamily 31

com.apple.driver.AppleFDEKeyStore 28.30

com.apple.driver.AppleACPIPlatform 5.0

com.apple.iokit.IOPCIFamily 2.9

com.apple.iokit.IOACPIFamily 1.4

com.apple.kec.Libm 1

com.apple.kec.pthread 1

com.apple.kec.corecrypto 1.0

Model: Macmini5,2, BootROM MM51.0077.B33, 2 processors, Intel Core i5, 2,5 GHz, 16 GB, SMC 1.75f0

Graphics: AMD Radeon HD 6630M, AMD Radeon HD 6630M, PCIe, 256 MB

Memory Module: BANK 0/DIMM0, 8 GB, DDR3, 1333 MHz, 0x859B, 0x435438473353313333394D2E4D3136464E00

Memory Module: BANK 1/DIMM0, 8 GB, DDR3, 1333 MHz, 0x859B, 0x435438473353313333394D2E4D3136464E00

AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xE4), Broadcom BCM43xx 1.0 (5.106.98.100.26)

Bluetooth: Version 5.0.5f1, 3 services, 27 devices, 1 incoming serial ports

Network Service: Wi-Fi, AirPort, en1

Serial ATA Device: SanDisk SDSSDA240G, 240,06 GB

USB Device: USB 2.0 Bus

USB Device: Hub

USB Device: 2.4G Keyboard Mouse

USB Device: BRCM20702 Hub

USB Device: Bluetooth USB Host Controller

USB Device: USB 2.0 Bus

USB Device: Hub

USB Device: IR Receiver

Thunderbolt Bus: Mac mini, Apple Inc., 25.1

 

- Mac Mini Mid 2012 (16GB RAM, 2x 512GB SSD, Intel HD 4000)
- Akitio Node Thunderbold 3 + GTX 960 4GB Gaming
- 2x HP 27es Monitor


ReplyQuote
Sgt. Adrael
(@sgt-adrael)
Active Member
Joined: 1 year ago
Posts: 10
August 24, 2017 6:05 pm  

Okay the next test:

installed the script only, without the Nvidia drivers. And it keeps crashing in Apple Loading Screen.

I don't know whats going on - I don't want to change my Mini 🙁

- Mac Mini Mid 2012 (16GB RAM, 2x 512GB SSD, Intel HD 4000)
- Akitio Node Thunderbold 3 + GTX 960 4GB Gaming
- 2x HP 27es Monitor


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
Posts: 1504
August 24, 2017 11:39 pm  

@Sgt. Adrael: Looking at the trace it is clear the NVIDIA Web drivers are indeed loaded and functioning as expected. I have a question, since I don't have a Mac mini to test:

Let's say you have a untainted Sierra install. You setup the eGPU using the script (installed with web drivers) and boot with the display connected to the Mac mini directly and no video output devices connected to the eGPU. Does the computer boot?

If it does, it might be difficult to explain why the boot does not succeed with a display output from the eGPU - perhaps what @theitsage wanted to circumvent with his suggestion.

In any case, looks like some additional testing will be required to get this working.

Before proceeding, please ensure you have a backup of an untainted installation of your system as well as access to recovery (or an extra external drive installation) on boot. If not, I highly advise avoiding what I am suggesting next.

 


Looking at the trace, while the last loaded kext was the AppleMikeyHIDDriver  - which seems microphone/audio related (for handling headphone audio controls I think), the kernel backtrace indicates graphics IO drivers that are crucial for managing display policies and acceleration on macOS. For the sake of testing one thing at a time in an order of minimal to excessive modifications, lets start by preventing the HID driver from loading and see what happens. On an untainted installation, with SIP disabled, launch terminal and execute the following sequence of commands:

  • sudo su
  • mkdir /Backup\ Kexts/
  • mv /System/Library/Extensions/AppleMikeyHIDDriver.kext /Backup\ Kexts/
  • touch /System/Library/Extensions/

 

Setup automate-eGPU.sh as expected.

Check logs again if boot fails and report.

If the computer refuses to boot at all even without the eGPU, you will have to reverse the kext move - which can be done via recovery terminal (recommended) or additional installation (become superuser in terminal and reverse the move). If the computer fails to boot with the eGPU, but boots fine without it - that's good.

In either of the above cases, your next steps would be using the same sequence of commands to move all AMD-related stuff/drivers by modifying the mv command above and replacing that AppleMikeyHIDDriver.kext with AMD*.*. Then try booting with the eGPU connected + display connected to eGPU. You can do this from the recovery terminal as well (already as superuser) if the system isn't booting. Don't think the absence of the HID driver should prevent boot but can't say.

  • Best Case: Boot succeeds w/ eGPU acceleration - try moving back the HID driver only and see if it works.
  • Chance: Boot with eGPU still fails, but computer boots with display directly plugged in to Mac mini - but without graphics acceleration (like safe boot).
  • Worst Case: Mac mini refuses to boot in any configuration.

In any case - to restore your config - move everything from Backup Kexts back as mentioned before. If by chance things have been corrupted and macOS never boots, install over the existing installation (using recovery or extra external installation) to save your OS, then remove the Backup Kexts folder with its content (which would become redundant). Or just restore from an untainted backup.

Don't count on this working. This is just theory to me since I don't have a Mac mini.

purge-wrangler.shpurge-nvda.shset-eGPU.sh
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife
----
Multiple Build Guides


ReplyQuote
Sgt. Adrael
(@sgt-adrael)
Active Member
Joined: 1 year ago
Posts: 10
August 29, 2017 11:22 am  

@mac_editor: I have to thank you for your time.

I was really disappointed that I could not get this Setup running.

I searched a little bit and I found a cheap offer of a Mac Mini 2012 with the i5 & Intel HD 4000. I bouth it for 260 EUR changed the SSDs and the RAM and reinstalled Mac OSX Sierra 10.12.6.

Runs like a beast - I gave the older Mac mini 2011 to my Mum for her office work (perfect for her).

 

I tried to install everything again - and now, I dont have any issues so far (thanks to the Script *thumbs up*).

It runs very well with two external Monitors (see desc.).

I am not really a (PC) Gamer but I can run Games like Diablo very well. Maybe I do a new thread with my Setup & Benchmarks.

 

Anyways, I got one more question, because I am a Designer:

Has anyone a solution to Adobe programs to use the eGPU? Thats the main reason I need to use my eGPU.

How is the experience for example with an Macbook Pro with iGPU and dGPU - can you change the graphics cards or

are Adobe programs use the dGPU automaticly?

Idk, maybe I start a new thread for that question.

- Mac Mini Mid 2012 (16GB RAM, 2x 512GB SSD, Intel HD 4000)
- Akitio Node Thunderbold 3 + GTX 960 4GB Gaming
- 2x HP 27es Monitor


theitsage liked
ReplyQuote
Eightarmedpet
(@eightarmedpet)
Noble Member
Joined: 2 years ago
Posts: 1037
August 30, 2017 7:42 am  

Not sure if this has been documented anywhere but I feel it's quite important:

Using this script will interfere with using the LG 5K TB3 displays. Mine was unusable (blank but recognised, twice!) when this script was run. After uninstalling everything worked as should, thank god. Had to enter the following into terminal...

"cd Desktop sudo ./automate-eGPU.sh -uninstall "

 

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
---
LG 5K Ultrafine flickering issue fix


ReplyQuote
goalque
(@goalque)
Noble Member Admin
Joined: 2 years ago
Posts: 1300
September 3, 2017 1:23 am  

Sonnet Technologies has just added a very detailed eGFX installation guide for macOS in their eGFX Breakaway Box support library, trusting to my automate-eGPU.sh script:

http://www.sonnettech.com/support/downloads/manuals/egfx_macos_sierra_ug.pdf

"The Sonnet eGFX Breakaway Box is Thunderbolt certified for Windows and macOS, is certified for external graphics under Windows 10, but not yet certified for external graphics under macOS. Nevertheless, we understand that many users have experienced success using the Sonnet eGFX Breakaway Box for external graphics and/or CUDA with macOS Sierra. The information regarding how to do this is readily available on the internet, and to help manage our support load, Sonnet has organized what we consider to be the most accurate of the information available in this installation guide. Note that you will not be able to obtain support from Apple or NVIDIA for external graphics under macOS at this time. If you have any issues using any Sonnet product, please contact Sonnet customer service at [email protected]"

The first company who got the Thunderbolt 3 macOS PCIe certification before other companies even knew about it. The reason became apparent after WWDC 2017.

Netstor HL23T was also certified by Apple. At present, the only eGFX-capable enclosure that has two TB3 ports. Mac logo is the sign of this certification. As yet, no other macOS certified enclosures exist. They're all for Win10 (PC):

https://thunderbolttechnology.net/products?tid=121&field_company_nid=All&field_prod_os_value_many_to_one=All&field_prod_tb_version_value_many_to_one=tbv3

We don't see Mac/Apple logo anywhere on AKiTiO's web site but Node Lite is under macOS certification category in thunderbolttechnology.net. A small contradiction there.

It will be interesting how certification categories evolve and what companies Apple favours. MacOS High Sierra is just an operating system among others, but I suppose Apple's firmware/Thunderbolt kexts makes most of the plug-and-play functionality, and the enclosure firmware has a role as well.

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, bitinn and nando4 liked
ReplyQuote
bitinn
(@bitinn)
Eminent Member
Joined: 1 year ago
Posts: 25
September 3, 2017 9:20 am  

Thx people for all the hard work.

I am trying to get AORUS Gaming Box and automate eGPU script to work, BUT so far only one of user implementation guide verify this to work (with a Macbook Pro 2013).

Even @theitsage didn't get it to work with macOS? Can anyone confirm this?

 

mid-2012 11" MacBook Air + [email protected] (Aorus Gaming Box via TB3->TB2 adapter) + macOS10.12
early-2015 13" MacBook Pro + [email protected] (Aorus Gaming Box via TB3->TB2 adapter) + macOS10.13


ReplyQuote
goalque
(@goalque)
Noble Member Admin
Joined: 2 years ago
Posts: 1300
September 3, 2017 10:00 am  

"The featured B&W photo you see starts with the Gigabyte AORUS GTX 1070 Gaming Box on the far left, mid 2015 11″ MacBook Air, mid 2017 13″ MacBook Pro, late 2016 15″ MacBook Pro, and late 2011 17″ MacBook Pro. The good news is they all work with this gaming box in macOS Sierra 10.12 using goalque’s automate-eGPU script."

https://egpu.io/gigabyte-aorus-gtx-1070-gaming-box-review-tiny-but-mighty/

Please troubleshoot in Terminal (kextstat & log commands mentioned on this thread).

Have you tried a clean install of macOS 10.12.6?

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
theitsage
(@itsage)
Famed Member Admin
Joined: 2 years ago
Posts: 3114
September 3, 2017 11:41 am  
Posted by: goalque

Sonnet Technologies has just added a very detailed eGFX installation guide for macOS in their eGFX Breakaway Box support library, trusting to my automate-eGPU.sh script:

http://www.sonnettech.com/support/downloads/manuals/egfx_macos_sierra_ug.pdf

"The Sonnet eGFX Breakaway Box is Thunderbolt certified for Windows and macOS, is certified for external graphics under Windows 10, but not yet certified for external graphics under macOS. Nevertheless, we understand that many users have experienced success using the Sonnet eGFX Breakaway Box for external graphics and/or CUDA with macOS Sierra. The information regarding how to do this is readily available on the internet, and to help manage our support load, Sonnet has organized what we consider to be the most accurate of the information available in this installation guide. Note that you will not be able to obtain support from Apple or NVIDIA for external graphics under macOS at this time. If you have any issues using any Sonnet product, please contact Sonnet customer service at [email protected]"

The first company who got the Thunderbolt 3 macOS PCIe certification before other companies even knew about it. The reason became apparent after WWDC 2017.

Netstor HL23T was also certified by Apple. At present, the only eGFX-capable enclosure that has two TB3 ports. Mac logo is the sign of this certification. As yet, no other macOS certified enclosures exist. They're all for Win10 (PC):

https://thunderbolttechnology.net/products?tid=121&field_company_nid=All&field_prod_os_value_many_to_one=All&field_prod_tb_version_value_many_to_one=tbv3

We don't see Mac/Apple logo anywhere on AKiTiO's web site but Node Lite is under macOS certification category in thunderbolttechnology.net. A small contradiction there.

It will be interesting how certification categories evolve and what companies Apple favours. MacOS High Sierra is just an operating system among others, but I suppose Apple's firmware/Thunderbolt kexts makes most of the plug-and-play functionality, and the enclosure firmware has a role as well.

Your automated-eGPU script is no doubt the go-to choice for Macs running 10.12.6 and older. For those who bought the Apple Dev Kit, I believe technical support is currently handled by Sonnet as the linked PDF suggests.

As for certification, marketing languages sometimes make it confusing for people to fully understand the technical differences. There's a distinction between Thunderbolt certified and external graphics certified. In my interpretation, Thunderbolt certified means the Thunderbolt device meets or exceeds the standard (imposed by Intel and OS makers) for hosting PCIe components externally. External graphics certified means the Thunderbolt device should first be Thunderbolt certified and have the required parts to host a graphics card safely and sufficiently.

Best ultrabooks for eGPU use

eGPU enclosure buying guide

84 external GPU build guides


goalque liked
ReplyQuote
goalque
(@goalque)
Noble Member Admin
Joined: 2 years ago
Posts: 1300
September 3, 2017 12:50 pm  

I know, for example, RX 560 is possible. Plug-and-play in macOS High Sierra.

However, I have zero interest in kext hacking because we got Apple's attention and official support. I'm sure that they can do it properly, SIP enabled, with multiple USB-C devices and 4K/5K displays.

Yep, "Thunderbolt certified" seems to be the basis. The current eGFX (PC firmware) certification does not apply to macOS. Sonnet mentioned "not yet", and "for external graphics under macOS at this time". Sounds like macOS eGFX certification category in High Sierra might be possible with Apple's signed TB3 firmware.

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
i0ntempest
(@i0ntempest)
Eminent Member
Joined: 1 year ago
Posts: 47
September 19, 2017 2:39 am  

Hi, I used to use your script on a MacBook Air and everything worked like a charm. But now I've switched to an iMac 2017 with Radeon Pro 560 built-in, and your script no longer works. The GTX 1070 eGPU became visible in System Information after I run the script, but the display connected to it stays black. Do I need to do more for eGPU to work on iMac with discrete GPU?

Also, if I use Rastafabi's package, the eGPU will work, but the internal screen will stop working, while Radeon Pro 560 still visible in System Information. Any thoughts? Thanks in advance.

Setup 1: Apple iMac 2017 21.5” 4K + eGPU
dGPU: AMD Radeon Pro 560
eGPU: Gigabyte G1 Gaming NVIDIA GeForce GTX 1070 via Thunderbolt 3 (AKiTiO Node)
Setup 2: Mac mini 2018 + eGPU
iGPU: Intel UHD Graphics 630
eGPU: EVGA NVIDIA GeForce GTX 1050 Ti SC via Thunderbolt 3 (AKiTiO Node Lite)


ReplyQuote
diogodasilva
(@diogodasilva)
Active Member
Joined: 1 year ago
Posts: 10
September 22, 2017 2:12 pm  

My setup is MBP Mid 2014, 15″with internal DGPU 750m, Aktio Tb3 -> TB2 (adapter), AMD RX580

I was able to install and test on Geekbench and LuxMark, it works on both.

However, I cannot select the eGPU on softwares such as Premiere, Lightroom, Final Cut, Davinci Resolve, etc…

Is there a way to force these apps to use eGPU instead of dGPU?

I have yet to list my system & eGPU hardware or link a build guide in my signature. I will update this soon to give context to my posts.


ReplyQuote
geoheil
(@geoheil)
Eminent Member
Joined: 1 year ago
Posts: 26
September 22, 2017 9:32 pm  

I am using OS X 10.12.6 on a MacBook Pro 2017. Also an Akitio Node including a Nvidia 1080 TI is connected via Thunderbolt 3 with my Mac.

Running the script tells me that everything is fine, but the 1080 Ti is not recognized.

A screen is connected to the 1080 Tis HDMI port (though. I would only be interested in using it for number crunching / deep learning)

But apparently the GPU is not detected otherwise.

For me, it is only partially detected as a generic Nvidia GPU:

 

I have yet to list my system & eGPU hardware or link a build guide in my signature. I will update this soon to give context to my posts.


ReplyQuote
23d1
 23d1
(@23d1)
Active Member
Joined: 1 year ago
Posts: 15
October 13, 2017 4:55 pm  
Posted by: geoheil

I am using OS X 10.12.6 on a MacBook Pro 2017. Also an Akitio Node including a Nvidia 1080 TI is connected via Thunderbolt 3 with my Mac.

Running the script tells me that everything is fine, but the 1080 Ti is not recognized.

A screen is connected to the 1080 Tis HDMI port (though. I would only be interested in using it for number crunching / deep learning)

But apparently the GPU is not detected otherwise.

For me, it is only partially detected as a generic Nvidia GPU:

 

I have the same issue whenever shutting down or restarting. Uninstalling, then reinstalling and then running the script with the -a flag helps sometimes. I've noticed that disconnecting all other Thunderbolt devices can help as well.

Mac Pro (Late 2013) / Akitio Node + Gigabyte AORUS Xtreme GeForce GTX 1080 Ti Waterforce 11GD

Also, if I disconnect or shut down the Akitio Node macOS crashes.

Any help appreciated.

I have yet to list my system & eGPU hardware or link a build guide in my signature. I will update this soon to give context to my posts.


ReplyQuote
(@jerry_normandin)
Active Member
Joined: 1 year ago
Posts: 11
October 14, 2017 2:20 pm  

Thanks for creating this tool!  I have a Macpro6,1 that I got as payment on a project.    When I read this article I bought an Akitio Node and used Nvidia GTX 970.   I run Mac OSX 10.11.6 and have not upgraded because my projects will all need to updated and rebuilt.   Your tool worked flawlessly!  The eGPU works great on MacOS 10.11.6 with no issues.  I've got all the Cuda samples built and working.. now to rebuild my opencv stuff.

 

I would really like to do the same for my Ubuntu 17.10 bare metal install for my MacPro.    What I've do so far is

pass off pci=hpbussize=10,hpmemsize=2M,nocrs,realloc on the grub boot command line.   modprobe will load the kernel driver but NVidia-smi does not detect the card.   The device files were created and have the proper 666 permissions.

Any help getting an egpu to work with Linux on my MacPro6,1 would be appreciated. 

I have yet to list my system & eGPU hardware or link a build guide in my signature. I will update this soon to give context to my posts.


ReplyQuote
tachikoma
(@tachikoma)
New Member
Joined: 1 year ago
Posts: 2
October 30, 2017 6:03 pm  

I am an unlucky owner of the 6630M Mac mini arggggg. I went ahead and tried this out. Started like you said by moving the AppleMikeyHIDDriver. The result of this test did not hurt my ability to reboot. I then moved all amd and ati labeled kexts to the backup folder as well. Doing this results in the mini hanging at the loading screen not able to boot up. I tried every variation I could at that point to get it to boot by hooking the display up directly to the gpu etc.

Any ideas about what I can possibly try next? Hope is fading for my mostly useless 6630m mini. This really messes up my plan of placing the mini inside of my akitio node 3 box. We will need to start a support group for 6630m owners. Any other ideas are much appreciated.

I have yet to list my system & eGPU hardware or link a build guide in my signature. I will update this soon to give context to my posts.


ReplyQuote
leniscuba
(@leniscuba)
New Member
Joined: 1 year ago
Posts: 1
November 16, 2017 3:34 am  
Good evening guys / girls, they are new to the blog and I honestly do not understand much about the subject. I have a box with the GTX 1050ti and I could make it work in my Macbook Pro 2016 and Sierra system 10.12.6. The problem I have is that my Macbook asks me to upgrade to the High Sierra version. Can someone tell me if the eGPU is already running in High Sierra?
Thank you very much to all.

I have yet to list my system & eGPU hardware or link a build guide in my signature. I will update this soon to give context to my posts.


ReplyQuote
rodrigosouza
(@rodrigosouza)
Active Member
Joined: 7 months ago
Posts: 5
April 13, 2018 2:23 pm  

I have the same problem... I used egpu by years in my macbook mid 2011 and a GTX 970. Last week, it get rain water and dead... I got the macmini for work and now I unsderstand the radeon 6630m problem... I hope that some genius discovery the solution...

I have yet to list my system & eGPU hardware or link a build guide in my signature. I will update this soon to give context to my posts.


ReplyQuote
airoscar
(@airoscar)
Active Member
Joined: 7 months ago
Posts: 7
April 14, 2018 4:25 am  

Do you have to use an external display for this to work? I followed the steps on Mac 10.12.6, everything looks good except I don't have a "ghost display", is that just because you are using an actual external display? I only have the built-in display (2015 MacBook Pro 15" with discreet AMD GPU).

I can see my eGPU but it is not being used. What should I do?

EDIT: nvm, i miss the part about headless display, so that's an actual plug.

I have yet to list my system & eGPU hardware or link a build guide in my signature. I will update this soon to give context to my posts.


ReplyQuote
s4nket
(@s4nket)
New Member
Joined: 6 months ago
Posts: 3
May 31, 2018 5:13 am  

I know this thread is old but I'd appreciate if anyone can help.
I have a Late 2013 MBP, no dGPU, Aorus Gaming Box 1070, TB3->TB2 and OS 10.12.6 (16G29). I did a fresh install, disabled SIP and ran the script with eGPU connected. I get the error message "Thunderbolt device is connected, but no external GPUs detected". The fan is running and I can see the device in System Report -> Thunderbolt but not in Graphics/Displays. I tried GhostDisplay HDMI (Spectacle and DisableMonitor), ghost display connected to Mac, connected to eGPU,  even tried with connection to TV. Same message for all cases.

Cant get it to be detected on fresh Windows 10 bootcamp install (only Iris Pro in Device Manager). I tried all the tricks mentioned by people with similar build, to not install bootcamp drivers, remove drivers using DDU, partially installing Broadcom/Trackpad only drivers but cant get it detected on Windows Bootcamp. Also did power cycle reset for Aorus Gaming Box many times.

A little back story, I bought the eGPU in Dec 2017, it worked fine on 10.13.3 for months (Windows BootCamp Internal Display) and then eventually after update to 10.13.4 everything broke. Spent days trying to get the script working on 10.13.4 (all the scripts available on this site) and then eventually thought of downgrading OS to use a more stable Sierra and automate-eGpu script but that isn't working either.

Please help.

I have yet to list my system & eGPU hardware or link a build guide in my signature. I will update this soon to give context to my posts.


ReplyQuote
Sabharwal
(@sabharwal)
Active Member
Joined: 2 months ago
Posts: 19
October 2, 2018 9:47 pm  

@goalque 

sorry I'm a bit new to this eGPU world.

I've been trying to run w9100 as a eGPU, 

I've installed the script and cannot boot up with eGPU plugged in and so i hot plug it before login. 

i can see the GFX card in the system report - graphics section as AMD 8xxx but cannot see it in my system preference or as a monitor attached. 

can you pls help. 

thanks

***      automate-eGPU.sh v1.0.1      ***

* (c) 2016, 2017 by Goalque & FricoRico *

*****************************************

Detected eGPU

 Hawaii XT GL [FirePro W9100]

Current OS X

 10.11.6 15G22010

Previous OS X

 10.11.6 appstore

Latest installed Nvidia web driver

 [not found]

Checking IOPCITunnelCompatible keys...

 

SetIOPCIMatch() appended device ID 0x67a01002 in /System/Library/Extensions/AMD8000Controller.kext/Contents/Info.plist

SetIOPCIMatch() appended device ID 0x67a01002 in /System/Library/Extensions/AMDRadeonX4000.kext/Contents/Info.plist

IOPCITunnelCompatible mods done.

Rebuilding caches...

All ready. Please restart the Mac.

Mac Pro 2013 - D700 - Sonnet Echo III TB2 - AMD W9100 - OS 10.13.6 High Sierra
Macbook pro late 2013 - GT750M - Sonnet Echo III TB2 - AMD W9100 - OS 10.11.6 El Captain


ReplyQuote
Page 9 / 9 Prev