[SCRIPT] PurgeWrangler: AMD + NVIDIA eGPUs for all Thunderbolt Macs
 
Notifications
Clear all

[Solved] [SCRIPT] PurgeWrangler: AMD + NVIDIA eGPUs for all Thunderbolt Macs  

 of  165
  RSS

fr34k
(@fr34k)
Reputable Member Moderator
Joined: 2 years ago
 
Posted by: mac_editor
Posted by: fr34k

@techyowl
do you know if updates only do deltas on .kexts? or do the replace them completely?

Complete replacement.

This simplifies things!

macOS-eGPU.sh on GitHub (fr34k's macOS-eGPU.sh on eGPU.io)
----
2016 15'' MacBook Pro + GTX1080Ti@32Gbps-TB3 (Sonnet Breakaway 550) + macOS 10.13.6 (17G65 driver: 378.10.10.10.30.107 + CUDA: 396.148)


ReplyQuote
Brian Duchesneau
(@brian_duchesneau)
Eminent Member
Joined: 2 years ago
 

After the 1.1.1 installer I see the following when running system_profiler

AppleGPUWrangler:
Bundle ID: com.apple.AppleGPUWrangler
Location: /System/Library/Extensions/AppleGraphicsControl.kext/Contents/PlugIns/AppleGPUWrangler.kext
File access failure; can't open, or I/O error: AppleGPUWrangler
AppleMGPUPowerControl:
Bundle ID: com.apple.driver.AppleMGPUPowerControl
Location: /System/Library/Extensions/AppleGraphicsControl.kext/Contents/PlugIns/AppleMGPUPowerControl.kext
GPUSupport:
Get Info String: GPUSupport 16.5.10.0.0
Location: /System/Library/PrivateFrameworks/GPUSupport.framework
GPUWrangler:
Location: /System/Library/PrivateFrameworks/GPUWrangler.framework
GPUCompiler:
Location: /System/Library/PrivateFrameworks/GPUCompiler.framework
SafeEjectGPU:
Location: /System/Library/PrivateFrameworks/SafeEjectGPU.framework
Type: GPU

2018 macmini i7 32GB/1TB SSD - OWC 650W - RX5700XT / Sonnet Breakaway Box RX/580 - OSX Catalina10.15.1 / Bootcamp


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

First attempt with Akitio Node and my Mac Mini late 2014 (pre 10.13.4) didn't work because of 3rd party cable and tb3/2 adapter. After I bought both Apple items, the node would turn on. Before, it was a brick. I noticed in system info that  the cable firmware versions is reported.

AKiTiO Node:

 

  Vendor Name: inXtron

  Device Name: AKiTiO Node

  Vendor ID: 0x41

  Device ID: 0x308

  Device Revision: 0x1

  UID: 0x0041537E1088B400

  Route String: 1

  Firmware Version: 25.1

  Port (Upstream):

  Status: Device connected

  Link Status: 0x2

  Speed: Up to 20 Gb/s x1

  Current Link Width: 0x2

  Cable Firmware Version: 1.0.16

  Cable Serial Number: C4M7332013UF798A3

  Link Controller Firmware Version: 0.36.0

 

Not sure if software does anything with it. My experience was total non-function (behaved like hardware). 10.13.4 broke me until Mac_editor's awesome script.

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

.

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

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

.

ReplyQuote
Brian Duchesneau
(@brian_duchesneau)
Eminent Member
Joined: 2 years ago
 

I think that is my problem with a 2012 macmini.  I ran the 1.1 script which you did not pass in tb type and it might have picked wrong.  I've tried running the the 1.0 script using tb1 and does not work. Also tried tb2 with the older script.  New script doesn't work at all. Macmini sees the GPU but doesn't load the drivers. If I unplug it complains.

2018 macmini i7 32GB/1TB SSD - OWC 650W - RX5700XT / Sonnet Breakaway Box RX/580 - OSX Catalina10.15.1 / Bootcamp


ReplyQuote
mac_editor
(@mac_editor)
Famed Member Moderator
Joined: 3 years ago

ReplyQuote
Brian Duchesneau
(@brian_duchesneau)
Eminent Member
Joined: 2 years ago
 

Any help appreciated!

system_profiler | grep GPU

AppleGPUWrangler:
Bundle ID: com.apple.AppleGPUWrangler
Location: /System/Library/Extensions/AppleGraphicsControl.kext/Contents/PlugIns/AppleGPUWrangler.kext
File access failure; can't open, or I/O error: AppleGPUWrangler
AppleMGPUPowerControl:
Bundle ID: com.apple.driver.AppleMGPUPowerControl
Location: /System/Library/Extensions/AppleGraphicsControl.kext/Contents/PlugIns/AppleMGPUPowerControl.kext
GPUSupport:
Get Info String: GPUSupport 16.5.10.0.0
Location: /System/Library/PrivateFrameworks/GPUSupport.framework
GPUWrangler:
Location: /System/Library/PrivateFrameworks/GPUWrangler.framework
GPUCompiler:
Location: /System/Library/PrivateFrameworks/GPUCompiler.framework
SafeEjectGPU:
Location: /System/Library/PrivateFrameworks/SafeEjectGPU.framework
Type: GPU
Metal: Supported, feature set macOS GPUFamily1 v3
| | | "PCITopLevel" = ("MCHC","P0P2","IGPU","XHC1","EHC2","HDEF","RP01","RP02","RP03","EHC1","LPCB","SATA","SBUS")
| | | "IOPPFDiagDict" = {"ResourceName"="Mac-031AEE4D24BFF0B1.plist","IGPUPLimitDict"={"currentLimit"=0x0,"handlerRegistered"=Yes,"pMin"=0xf,"pMax"=0x0},"DownstreamASPM"={"handlerRegistered"=Yes,"featureSupported"=Yes},"CPUPLimitDict"={"currentLimit"=0x0,"handlerRegistered"=Yes,"pMin"=0x17,"pMax"=0x0},"PLimitVersion"=0x3,"UpstreamASPM"={"handlerRegistered"=Yes,"featureSupported"=Yes},"IdlePLimitDict"={"currentLimit"=0x0,"handlerRegistered"=Yes,"pMin"=0x64,"pMax"=0x0}}
| | | "Machine" = {"Macmini6,1"={"IGPU"={"Heuristic"={"ID"=0x2,"EnableOverride"=0x0},"control-id"=0x10}}}
| | | | | "name" = "ATY_GPU"
| | +-o IGPU@2 <class IOPCIDevice, id 0x1000001fc, registered, matched, active, busy 0 (529 ms), retain 37>
| | | | "acpi-path" = "IOACPIPlane:/_SB/[email protected]/[email protected]"
| | | | "attached-gpu-control-path" = "IOService:/AppleACPIPlatformExpert/[email protected]/AppleACPIPCI/[email protected]/[email protected]/AGPM"
| | | | | "FeatureControl" = {"EnablePlaneRotation"=0x1,"GPUInterruptHandling"=0x1,"UseInterruptFilter"=0x1,"EDPDownSpreadDisable"=0x0,"FastDisplayDetectDisable"=0x0,"SpreadON"=0x1,"PowerStates"=0x1,"IgnorePanelTimings"=0x0,"GammaAdjustDisable"=0x0,"DisableDynamicFBC"=0x0,"RCxEIModeEnable"=0x1,"EnableDeepDisplay"=0x1,"MaximumSelfRefreshLevel"=0x3,"EnableConnectionState"=0x1,"DPM"=0x1,"CachedEDIDDisable"=0x0,"DeepRC6"=0x1,"ASRDisable"=0x0,"Gamma"=0x1,"FBC"=0x1,"RenderStandby"=0x1,"SetRC6Voltage"=0x0,"UseProgrammedCoefficients"=0x0,"Wate$
| | | | | | "Config4" = {"IGPU"={"unload"=Yes},"display"={"EDID"={"index"=0x0},"FeatureControl"=0xc,"unload"=No},"GFX0"={"EDID"={"index"=0x0},"FeatureControl"=0xc,"unload"=No}}
| | | | | | "Config3" = {"IGPU"={"unload"=Yes},"GFX0"={"EDID"={"index"=0x0},"FeatureControl"=0xc,"unload"=No}}
| | | | | "IOAccelTypes" = "IOService:/AppleACPIPlatformExpert/[email protected]/AppleACPIPCI/[email protected]/IntelAccelerator"
| | | | | "IOAccelTypes" = "IOService:/AppleACPIPlatformExpert/[email protected]/AppleACPIPCI/[email protected]/IntelAccelerator"
| | | | | "IOAccelTypes" = "IOService:/AppleACPIPlatformExpert/[email protected]/AppleACPIPCI/[email protected]/IntelAccelerator"
| | | | | "IODisplayPrefsKey" = "IOService:/AppleACPIPlatformExpert/[email protected]/AppleACPIPCI/[email protected]/[email protected]/display0/AppleDisplay-5c85-1905"
| | | | "IOUserClientCreator" = "pid 578, SafeEjectGPUServ"
| | | | "IOUserClientCreator" = "pid 578, SafeEjectGPUServ"
+-o AppleGPUWrangler <class AppleGPUWrangler, id 0x100000515, registered, matched, active, busy 0 (5 ms), retain 10>
| | "IOClass" = "AppleGPUWrangler"
| | "CFBundleIdentifier" = "com.apple.AppleGPUWrangler"
| | "IOMatchCategory" = "AppleGPUWrangler"
| +-o AppleGPUWranglerClient <class AppleGPUWranglerClient, id 0x10000059b, !registered, !matched, active, busy 0, retain 5>
| +-o AppleGPUWranglerClient <class AppleGPUWranglerClient, id 0x100000604, !registered, !matched, active, busy 0, retain 5>
| +-o AppleGPUWranglerClient <class AppleGPUWranglerClient, id 0x1000006fa, !registered, !matched, active, busy 0, retain 5>
| | "IOUserClientCreator" = "pid 578, SafeEjectGPUServ"
| +-o AppleGPUWranglerClient <class AppleGPUWranglerClient, id 0x1000007c4, !registered, !matched, active, busy 0, retain 5>
| "IOUserClientCreator" = "pid 578, SafeEjectGPUServ"
| "IOUserClientCreator" = "pid 578, SafeEjectGPUServ"
2018-04-06 14:22:12.859 system_profiler[833:25875] ### System cache - version is invalid...
2018-04-06 14:22:12.859 system_profiler[833:25875] building SYSTEM cache...
2018-04-06 14:22:12.890 system_profiler[833:25875] Filtering out duplicate preference bundle "/System/Library/PreferencePanes/PrintAndFax.prefPane"
2018-04-06 14:22:12.991 AllowPasswordPref[836:25884] error == Error Domain=com.apple.LocalAuthentication Code=-6 "Biometry is not available on this device." UserInfo={BiometryType=0, NSLocalizedDescription=Biometry is not available on this device.} isSupported == 0
2018-04-06 14:22:12.992 AllowPasswordPref[836:25884] Hardware Check err == 0
2018-04-06 14:22:12.993 AllowPasswordPref[836:25884] Result -1
2018-04-06 14:22:13.104 system_profiler[789:25190] ### System cache - version is invalid...
2018-04-06 14:22:13.104 system_profiler[789:25190] building SYSTEM cache...
2018-04-06 14:22:13.113 system_profiler[789:25190] Filtering out duplicate preference bundle "/System/Library/PreferencePanes/PrintAndFax.prefPane"
2018-04-06 14:22:13.166 AllowPasswordPref[841:25920] error == Error Domain=com.apple.LocalAuthentication Code=-6 "Biometry is not available on this device." UserInfo={BiometryType=0, NSLocalizedDescription=Biometry is not available on this device.} isSupported == 0
2018-04-06 14:22:13.167 AllowPasswordPref[841:25920] Hardware Check err == 0
2018-04-06 14:22:13.167 AllowPasswordPref[841:25920] Result -1
Name: ATY_GPU
2018-04-06 14:22:16.216 system_profiler[789:25762] ### writing SYSTEM cache...
macmini:~ duchesne$

2018 macmini i7 32GB/1TB SSD - OWC 650W - RX5700XT / Sonnet Breakaway Box RX/580 - OSX Catalina10.15.1 / Bootcamp


ReplyQuote
mac_editor
(@mac_editor)
Famed Member Moderator
Joined: 3 years ago
 

Tested on Mid-2012 13" MacBook Pro TB1:

Screen Shot 2018 04 06 at 2.44.12 PM

I noticed that sometimes hot-plugging in the first time does not work. Later hot-plugs work. This was using an unreleased version of the script, but the patch remains the same.

purge-wranglertbt-flashpurge-nvdaset-eGPU
Insights Into macOS Video Editing Performance

Master Threads:
2014 15-inch MacBook Pro 750M
2018 15-inch MacBook Pro

 
2019 13" MacBook Pro [8th,4C,U] + RX Vega 64 @ 32Gbps-TB3 (Mantiz Venus) + macOS 10.14.6 & Win10 [build link]  


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

Also working fine on my Mid-2014 MPB 15" 🙂

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

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


itsage and mac_editor liked
ReplyQuote
mac_editor
(@mac_editor)
Famed Member Moderator
Joined: 3 years ago
 

@techyowl Could you test the latest commit at your leisure? Specifically the backup part (you can simulate an old version of macOS by modifying the manifest.wglr file, then attempting re-patch).

purge-wranglertbt-flashpurge-nvdaset-eGPU
Insights Into macOS Video Editing Performance

Master Threads:
2014 15-inch MacBook Pro 750M
2018 15-inch MacBook Pro

 
2019 13" MacBook Pro [8th,4C,U] + RX Vega 64 @ 32Gbps-TB3 (Mantiz Venus) + macOS 10.14.6 & Win10 [build link]  


ReplyQuote
 of  165