[Sticky] [SCRIPT] Enable AMD & NVIDIA eGPUs on TB1/2/3 Macs on macOS 10.13.4+  

Page 15 / 31 Prev Next
  RSS

PsyPryss
(@psypryss)
Eminent Member
Joined: 12 months ago
Posts: 49
June 1, 2018 10:18 am  

@mac_editor
When the script (3.1.0) is run it shows “mkdir: /usr/local/bin: Operation not permitted”.  Then it proceeds to ask for password. I downloaded the script and made it executable. Am I missing something?

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


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
Posts: 1586
June 1, 2018 10:31 am  

@psypryss Did 3.0.2 work fine for you? Don’t seem to recall what I changed there. Will take a look. Running with sudo may resolve the problem. 

UPDATE: Should not be problematic. A minor bug where that section of code executes without superuser permissions. Recursive call re-runs that part anyway so binary should install fine. Regardless, shall update the script with the minor fix in a moment.

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


PsyPryss liked
ReplyQuote
PsyPryss
(@psypryss)
Eminent Member
Joined: 12 months ago
Posts: 49
June 1, 2018 10:50 am  

I’ll run it with sudo then. Thanks. 3.0.2 works. 3.1.0 works too. But 3.0.2 didn’t have any errors.

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


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
Posts: 1586
June 1, 2018 10:53 am  

@psypryss 3.1.0 bin should have installed fine. Try running again in 2 minutes (purge-wrangler command). Should update to 3.1.1 which I think should resolve it.

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


PsyPryss liked
ReplyQuote
PsyPryss
(@psypryss)
Eminent Member
Joined: 12 months ago
Posts: 49
June 1, 2018 11:02 am  

Gotcha.
Btw, purge-nvda 2.1.0 also has the same error. 

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


mac_editor liked
ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
Posts: 1586
June 1, 2018 11:05 am  

@psypryss Yes they basically have the same mechanism so if 3.1.1 works for you here, the I'll update that script too. Please let me know how the update process goes.

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


PsyPryss liked
ReplyQuote
PsyPryss
(@psypryss)
Eminent Member
Joined: 12 months ago
Posts: 49
June 1, 2018 11:23 am  

@mac_editor the error is gone. Works great. Thanks!

Thanks for updating purge-nvda too. 

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


mac_editor liked
ReplyQuote
Jeroenvankeulen
(@jeroen-van-keulen)
Trusted Member
Joined: 12 months ago
Posts: 78
June 1, 2018 12:02 pm  

 

15

ALLn1
MBP11,4, i7-4980HQ, 256gb SSD, 16gbRAM Mojave (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
GeekBench


ReplyQuote
dream3
(@dream3)
Estimable Member
Joined: 2 years ago
Posts: 107
June 1, 2018 2:39 pm  

@zetthard Hey man have you submitted your guide yet?

I have a similar setup and was wondering if I can safely upgrade to 10.13.4. 
You mentioned the script work fine but what about day to day usage? Any bugs or annoyances?
Heard some guys had issues with sleeping function?

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


ReplyQuote
chrisheninger
(@chrisheninger)
New Member
Joined: 8 months ago
Posts: 2
June 2, 2018 12:54 am  

Works on 10.13.5!

I like to live on the edge– so I upgraded to 10.13.5 and after re-running the purge-wrangler script everything is working exactly as before. 👍

Thanks yet again! The script has been getting easier to use with each version too– I enjoyed the menu that is present in v3. 🙂

Mid-2015 MacBook Pro + Akitio Node + Radeon RX580 👨🏻‍💻


ReplyQuote
PsyPryss
(@psypryss)
Eminent Member
Joined: 12 months ago
Posts: 49
June 2, 2018 6:16 am  

Reporting that purge-wrangler works on 10.13.5 on 2012 non-retina MBP.

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


mac_editor liked
ReplyQuote
TheFurious
(@thefurious)
Active Member
Joined: 9 months ago
Posts: 13
June 2, 2018 1:00 pm  

hi guys,

after a failed attempt with the HP Omen Accelerator (didn´t even booted up) I tried a new one with the Sonnet Breakaway Box 350.

At least the Graphicscard (AMD RX 580)  get identified and the Box is booting up. But: My Macbook Pro Retina Early 2015 isn´t switching to it and stays at the Iris 6000. The Fans of the GPU working only when I disconnect the eGPU. Any Ideas? 

Thanks and greetings from Germany 🙂

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
Posts: 1586
June 2, 2018 1:04 pm  

@thefurious If you're using external display -> connect the display to eGPU, then set it as main display. If you're not using an external display, you won't see the card in About This Mac.., but some apps that address eGPUs may be able to use it (such as computation benchmarks).

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


ReplyQuote
TheFurious
(@thefurious)
Active Member
Joined: 9 months ago
Posts: 13
June 2, 2018 3:28 pm  

Ahhh...thanks. Will Test it when I’m back home. Can you recommend a Benchmark who uses the GPU with the internal display? The Heaven Benchmark seems to use the internal GPU...

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


ReplyQuote
Jeroenvankeulen
(@jeroen-van-keulen)
Trusted Member
Joined: 12 months ago
Posts: 78
June 2, 2018 3:30 pm  

@TheFurious, Use Geekbench.

ALLn1
MBP11,4, i7-4980HQ, 256gb SSD, 16gbRAM Mojave (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
GeekBench


ReplyQuote
Jeroenvankeulen
(@jeroen-van-keulen)
Trusted Member
Joined: 12 months ago
Posts: 78
June 2, 2018 4:33 pm  

ALLn1 Installer 10.13.4 > 10.14 beta Latest release


What does it do?
This little app let's you install all  @mac_editor scripts without using terminal in depth.

  1. It installs the scripts like it would when using terminal commands
  2. Places ALLn1 enabler in the folder Programs
  3. Deletes PW cTB enabler 2.0 (if it is in applications folder)


Instructions for ALL
n1 Installer:

!!!Make sure SIP is disabled!!!

Edit: if on 10.14 b, reboot after installing twice.

  1. Download ALLn1.dmg
  2. Mount ALLn1.dmg by clicking the icon
  3. Open ALLn1 Installer
  4. Select the script you want to install
  5. Wait a moment, you will be asked your password.
  6. type your password (script is being installed)
  7. In the background ALLn1 is placed in Programs folder.

After your first patch you can easily acces your installed scripts by just opening ALLn1 from you Program folder.

Scripts will auto update like normal.

Download

UPDATE:
Installer will automatically contain the latest release

ALLn1
MBP11,4, i7-4980HQ, 256gb SSD, 16gbRAM Mojave (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
GeekBench


Kzsma, Miguel Pereira, spidervideo and 3 people liked
ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
Posts: 1586
June 3, 2018 3:14 am  

@jeroen-van-keulen Please see the main post's Step 2, which now uses a version-agnostic terminal command. This means you won't have to update the installer every time per version. It will simply fetch and download the latest version automatically.

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


ReplyQuote
duhlong
(@duhlong)
New Member
Joined: 6 months ago
Posts: 2
June 3, 2018 3:18 am  

Hi All,

So first I want to say thanks! These scripts are fantastic. I have a 2015 MacBook Pro, and I've been looking forward to the prospect of have an eGPU. Then I heard Apple dropped support for everything without Thunderbolt 3, which prompted me to find this website. I haven't purchased any hardware yet (because the crypto-mining buttholes screwed up the GPU market), but I was curious how the script worked.

After browsing the purge-wrangle.sh script, I found out it's literally just a string replacement. <Moderated //@mac_editor>. So at this point I understood WHAT worked, but I didn't know WHY it worked.

So I downloaded the Hopper Disassembler, as it is able to show cool things like control flow graphs and convert assembly into pseudocode, which looks like a strange mix of assembly and C. 

BTW, I don't have much experience reverse engineering and modifying executable code, but I do sometimes browse assembly generated from my C++ compiler. 

Here is the pseudocode:

<Moderated //@mac_editor>

Here is the assembly:

<Moderated //@mac_editor>

And now we see why only Thunderbolt3 works. <Moderated //@mac_editor>. The purge-wrangler.sh script modifies the kernel extension to only check for the Thunderbolt version that is on your current system.

So basically, I wouldn't say Apple is actively blocking Thunderbolt 1/2. They are just not supporting it. If we had the source code, we could easily change this to support TB2 and TB1.  Oh well. Poop.

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
Posts: 1586
June 3, 2018 3:23 am  

@duhlong Posting Apple code (especially disassembled) and discussing the details in public is not recommended/permitted - although we don't have such rules at the moment. I have read your post and you're exactly correct in how purge-wrangler works, but in this case, I feel I cannot approve your post here. Sincerest apologies.

Also, about "actively blocking" vs. "not supported" - I felt the former was more accurate because TB1 & 2 were never supported to begin with. Now they are blocked, in a rudimentary sense.

Edit: Have moderated your post and approved. Good work looking into this. I used Hopper as well.

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


ReplyQuote
duhlong
(@duhlong)
New Member
Joined: 6 months ago
Posts: 2
June 3, 2018 3:52 am  

@mac_editor  Ah, OK. Apologies. I just thought it would be interesting. I didn't consider any legal issues surrounding posting Apple's assembly. That thought did not cross my mind. Though I see you took out a verbal description as well. Also unsure of the legalities of verbally describing such details.

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
Posts: 1586
June 3, 2018 4:04 am  

@duhlong Appreciate your understanding! Thank you, and welcome to egpu.io.

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


ReplyQuote
TheFurious
(@thefurious)
Active Member
Joined: 9 months ago
Posts: 13
June 3, 2018 11:00 am  

Thanks Guys! Works now "almost" like charm. The 580 is detected and also in use. 
Why only "almost"? I have huge problems with sleep/wakeup processes. It seems that my macbook goes not into sleepmode properly and is rebooting. 

Anyone also with the same issues and maybe a solution?

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
Posts: 1586
June 3, 2018 11:51 am  

@thefurious Script also has a hibernation disable option. Please try that.

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


ReplyQuote
TheFurious
(@thefurious)
Active Member
Joined: 9 months ago
Posts: 13
June 3, 2018 1:50 pm  

@mac_editor 

THX will try that. 

But what if want to keep the Hibernation Mode?

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


ReplyQuote
Jeroenvankeulen
(@jeroen-van-keulen)
Trusted Member
Joined: 12 months ago
Posts: 78
June 3, 2018 2:21 pm  

@mac_editor,

Its fixed and updated. I cant respond to our private message. Somehow this webforum is breaking down on me. I cant quote people anymore, I cant upload anything and my earlier uploads I cant see. And now the latest responses are hovering over the send button in private messages mode, but only in our conversation...

ALLn1
MBP11,4, i7-4980HQ, 256gb SSD, 16gbRAM Mojave (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
GeekBench


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
Posts: 1586
June 4, 2018 12:08 am  

@thefurious Even officially supported configs have sleep issues lol. See here.

@jeroen-van-keulen Thanks for letting me know. Noticed that too. Messages is broken. Doesn't handle long lines well.

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


ReplyQuote
Guru Nightmare
(@gurunightmare)
Active Member
Joined: 1 year ago
Posts: 12
June 4, 2018 11:35 am  

Runnin' GREAT!! on my Mac Mini 2014 (late) + Akitio Node + Rx 580 + 10.13.5. Thousands thumbs up!!

Mac Mini Late 2014 + MSI Radeon RX580 Gaming X [email protected]>TB3 (AKiTiO Node)


mac_editor liked
ReplyQuote
Jeroenvankeulen
(@jeroen-van-keulen)
Trusted Member
Joined: 12 months ago
Posts: 78
June 4, 2018 9:12 pm  

Report:

Script working on 10.14.0 beta 1
PW cTB enabler installer is working after a reboot after the first boot.

Geekbench results

ALLn1
MBP11,4, i7-4980HQ, 256gb SSD, 16gbRAM Mojave (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
GeekBench


mac_editor liked
ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
Posts: 1586
June 4, 2018 9:14 pm  

@jeroen-van-keulen are symptoms same without any system modifications? Icon shows briefly, etc..

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


ReplyQuote
Jeroenvankeulen
(@jeroen-van-keulen)
Trusted Member
Joined: 12 months ago
Posts: 78
June 4, 2018 9:15 pm  

Yes! Icon showed up. Then nothing.

ALLn1
MBP11,4, i7-4980HQ, 256gb SSD, 16gbRAM Mojave (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
GeekBench


mac_editor liked
ReplyQuote
dream3
(@dream3)
Estimable Member
Joined: 2 years ago
Posts: 107
June 5, 2018 12:52 am  

@mac_editor

When should I activate option 8? I have a TB2, Mid 2015 iGPU macbook pro with aorus RX 580, 10.13.5.

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


ReplyQuote
Victorcan
(@victorcan)
Active Member
Joined: 8 months ago
Posts: 8
June 5, 2018 1:21 am  

Might it be beneficial to permanently disable sip ?
It reenables itself after the initial boot after it was disabled, And any time I have problems the problems seem to go away once I launch with SIP disabled, don't even need to run purge wrangler? Is this normal ?

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
Posts: 1586
June 5, 2018 4:38 am  

@dream3 It may resolve deep sleep issues with eGPU plugged in on mac notebooks. Disabling FileVault as well combined, may help.

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


ReplyQuote
Jeroenvankeulen
(@jeroen-van-keulen)
Trusted Member
Joined: 12 months ago
Posts: 78
June 5, 2018 9:30 am  

UPDATE:

PW cTB installer works on 10.14 b1 after rebooting twice after installing 10.14.b1

ALLn1
MBP11,4, i7-4980HQ, 256gb SSD, 16gbRAM Mojave (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
GeekBench


ReplyQuote
fabz
 fabz
(@fabz)
Active Member
Joined: 7 months ago
Posts: 9
June 5, 2018 3:19 pm  

Hi, what can i try to get this R280 (6GB) to work. Its only recognized as: 

AMD (0x1002) 
Device ID 0x6798

I tried to install the "automate-eGPU.kext", but after loading this happens: "

/Library/Extensions/automate-eGPU.kext failed to load - (libkern/kext) authentication failure (file ownership/permissions); check the system/kernel logs for errors or try kextutil(8)." 

Kext cache is already refreshed. 

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
Posts: 1586
June 5, 2018 6:30 pm  

@fabz Try fixing permissions & refreshing cache:

sudo chown -R root:wheel /Library/Extensions
sudo chmod -R 755 /Library/Extensions
sudo touch /Library/Extensions
sudo reboot

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


theitsage liked
ReplyQuote
Page 15 / 31 Prev Next