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

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

 of  172
  RSS

mac_editor
(@mac_editor)
Famed Member Moderator
Joined: 3 years ago
 
Posted by: rubdub

I'll give that a shot, thanks @mac_editor ! But from my recent attempts, does it look like my process for installing the .kext files looks correct and does it look like I'm using the appropriate .kext files for an RX460?

Seems so.

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

Hey @mac_editor 

So I did a bit of debugging. I tried installing a clean version of osx 13.4 and found the following problems with regards to sleep

1. purge_wrangler.sh 2.0.2 alone doesn't cause any sleep problems. 
2. purge_wrangler.sh 2.0.2 + adding the .kext files from here: https://egpu.io/forums/mac-setup/app-automate-egpu-by-goalque/paged/3/#post-33558 causes kernel panic in sleep with or without plugging in the egpu
3. purge_wrangler.sh 2.0.2 + adding the .kext files from here Aug 8th update:  https://egpu.io/forums/mac-setup/app-automate-egpu-by-goalque/paged/1/#post-21637  causes kernel panic in sleep with or without plugging in the egpu

So it appears my sleep crashing problems are related to the .kext files I'm using. I have an RX460 so I need to use one of the .kext files that enables the older AMD cards. 

The way I've been installing the .kext files is to:
sudo chown -R root:wheel /Library/Extensions/automate-eGPU.kext/
sudo kextload /Library/Extensions/automate-eGPU.kext
This seems to correctly work as doing so properly detects the RX460, but also causes sleep to eventually kernel panic and crash the system regardless of whether or not the egpu is plugged in...
I also tried using "kext utility" but observed the same problems. 

I'm at a bit of a loss...It sounds like people are able to run eGPU with sleep correctly working (2014/2015 mbp 15"). Am I using the wrong kext files for my RX460? Should I try resetting my SMC? 

Thanks 
 

Nice work looking into this. One alternative to try instead of using the kext is to manually update AMDRadeonX4000 kext Baffin accelerator and add the IOPCITunnelCompatible key there. @itsage mentions how to do this in the automate-eGPU.kext thread. It may perhaps not make a difference, but worth a shot if you wish to eliminate the kexts as a variable directly.

So I tried adding the IOPCITunnelCompatible key to the AMDRadeonX4000 kext info and it does correctly enable the RX460. Unfortunately, I experience the same problems with sleep as I did with manually adding the kext files. After about 10minutes of sleep with the egpu plugged in, the macbook backlight comes on for a second, goes off, comes back on, and the system is all black screens and completely frozen until the eventual restart....

Talk about frustrating...so close to a really slick and fully functional setup...I've been trying all kinds of permutations of kext utility and purge_wrangler.sh installs/uninstalls and executions but to no success. Perhaps it's an issue the the RX460? I might run to microcenter and pick up an RX560 to see if it exhibits the same behavior.

MBP mid 2015 15" w/AMD R9 M370X 10.13.4
Working on Mantiz + RX460 -> Apple TB3/TB2 -> Apple TB2 -> MBP


ReplyQuote
gumby
(@gumby)
Active Member
Joined: 2 years ago
 
Posted by: PsyPryss
Posted by: gumby

I have a 750m in my macbook pro. It says Nvidia Chip model under system report and shows the card as null under the disconnect on the top right. I am not able to log in and have been using bootcamp so I am reinstalling macOS soon and would like to redo all the steps from scratch in case I might've overlooked something. Anyone else out there with a discrete chipand TB2 that got it to work and won't mind sharing their exact steps? Thanks

What egpu are you using?

750m on a 2013 macbook pro

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

.

ReplyQuote
PsyPryss
(@psypryss)
Trusted Member
Joined: 3 years ago
 

That’s the dgpu. What egpu are you using? AMD or Nvidia?

Mid 2012 15" (Non-Retina) MPB GT650M + RX580 (AKiTio Node via TB3 -> TB2/TB1 Adaptor) macOS 10.13.4/Win10


ReplyQuote
Jared Franz
(@jared_franz)
New Member
Joined: 2 years ago
 

thank you for the advice, I'll have to try another adapter. Which do you use or reccomend?

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

.

ReplyQuote
gumby
(@gumby)
Active Member
Joined: 2 years ago
 

sorry I misread it, it's gtx 1050 ti . runs perfectly on bootcamp

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

.

ReplyQuote
techyowl
(@techyowl)
Eminent Member
Joined: 3 years ago
 

Anyone else having Sleep Wake Failures with the latest Script? I’m having sleep wake failures as soon as I disable SIP and run the install script? When I put my MacBook Pro 13” 2015 model into sleep and turn off the external monitor it crashes within a few minutes and goes into a black screen after rebooting a few times on it’s own.

early-2015 13" MBP Retina + RX580@16Gbps-TB2 (AKiTiO Node via TB3->TB2 adapter)


ReplyQuote
mac_editor
(@mac_editor)
Famed Member Moderator
Joined: 3 years ago
 
Posted by: Blaine Miller

Anyone else having Sleep Wake Failures with the latest Script? I’m having sleep wake failures as soon as I disable SIP and run the install script? When I put my MacBook Pro 13” 2015 model into sleep and turn off the external monitor it crashes within a few minutes and goes into a black screen after rebooting a few times on it’s own.

See main post’s troubleshooting section. This issue is not related to the script. It’s one of the unfortunate byproducts of running unsupported configurations. Maybe rebuilding kext cache can help, though I doubt it.

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
Jeroenvankeulen
(@jeroen-van-keulen)
Trusted Member
Joined: 3 years ago
 
Posted by: Blaine Miller

Anyone else having Sleep Wake Failures with the latest Script? I’m having sleep wake failures as soon as I disable SIP and run the install script? When I put my MacBook Pro 13” 2015 model into sleep and turn off the external monitor it crashes within a few minutes and goes into a black screen after rebooting a few times on it’s own.

Having the same issues but as @mac_editor states we are on unsupported machines.
I don't mind shutting my MacBook down and booting it back up, it takes no more then 15 seconds...

ALLn1
MBP11,4, i7-4980HQ, 256gb SSD, 16gbRAM Cathalina (Sonnet Breakaway box 350 + Gigabyte Radeon RX 580 Gaming 8GB)
MacBook7,1 A1342, P8600 120gb SSD 4gbRAM. Mojave (Hiking/Camping)
iMac7,1 A1224, T9500 CPU upgrade 120gb SSD 4gbRAM. HS
Mac mini3,1 P7350, 250gb SSD 8gbRAM. HS (server) iPhone10,3 64gb. iOS12 iPad5,3, 16gb. iOS12 iPod shuffle 2nd gen. 2gb
✧✧

 
2015 15" MacBook Pro [4th,4C,H] + RX 580 @ 16Gbps-TB2>TB3 (Sonnet Breakaway 350) + macOS 10.14 [build link]  


ReplyQuote
jj9k
 jj9k
(@jj9k)
Active Member
Joined: 2 years ago
 

many thanks to the OP for this script. brilliant to know that eGPUs are supported by you if not apple!

However, I have had a problem and advice from anyone who can help will be greatly appreciated. I have a Mac Pro 2013 and upgraded to 10.13.4, installed this script, put a Radeon RX580 in a Sonnet 550W eGPU box and connected it using TB3-2 adapter.  RX580 card showed up and worked. However, benchmarking it against the performance of the iGPUs AMD FirePro D500s it was a little slower, which i was not expecting. I had it on the lower thunderbolt bus (the the HDMI comes off of) and so was next going to switch to one of the other two buses to see if that increased performance. However at this stage the machine crashed. Not been able to get it booted up since. Have disconnect the sonnet all together. Machine will not get passed the apple logo white on black boot screen with the white per cent bar, which gets to 100% but then hangs forever.  Tried the script 'recover' command and then hit return through the commands that followed which did not seem to run automatically, but after restart no boot. Machine boots off a 10.13.3 bootable backup but would still not boot when i did a 10.13.4 timemachine restore. Now running a 10.13.3 timemachine restore in the hope of getting up and running again.  I am not very technical and so any advice on the issue with my apparently corrupt file system (or why my RX580 might have been running so slowly before that problem) will be immensely helpful. Many thanks!

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

.

ReplyQuote
 of  172