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

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

 of  176
  RSS

mac_editor
(@mac_editor)
Famed Member Moderator
Joined: 4 years ago
 
Posted by: Brian Duchesneau

Yes. I had the same problem. I ended up restoring the kext from 10.13.3 via Time Machine and rebuilt the kext cache manually from the command line.

i think there might be an issue with one of the scripts that I used from here that did either incorrect tb1/2 detection patching and/or incorrect kext cache regeneration. I know I used the early version that would overwrite the original backup, so maybe that was part of my problem too.

i’ve read In one of the posts of a user that used the original script prior to tb1/2 auto detect having to pass in tb2 on a tb1 Mac mini to get it working. With that switch removed and now relying on auto detect being the only option.

i hope if the above is true the guys providing us help can fix this before the next OSX update reverts these changes.

Either way, thanks to all the folks in this forum for all the help and guidance this week.

Wish I had the 2012 Mac mini to test throughly. Glad you have a working system at least. The patch is correctly performed in all scripts. Now, how the patch affects macs differs from Mac to mac, but theoretically should be the same - eGPU support. Of course, as it is with many theories - it's flawed lol 😉

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]  


PsyPryss liked
ReplyQuote
rhenriques11
(@rhenriques11)
Eminent Member
Joined: 3 years ago
 
Posted by: Sickntired

This thread has allowed me to use my AMD Vega 64 with my Mac Mini 2014 very easily!  Thanks!

However, I also have an Nvidia 1080 Ti that I would prefer to use because of its speed and because the card is quieter. 

What exactly do I need to do to get the 1080 Ti card working?  I haven't actually connected it yet as I wanted to be sure I did any necessary steps first. 

Thank you for any help!

Before doing anything, restart with Command+R and go to the terminal and type

csrutil disable

it's also a good idea to disable gatekeeper, at least temporarly. 

sudo spctl --master-disable

After in this sequence:
First install this driver 387.10.10.10.30.103
Second install this file NVDAEGPUSuppor-v8.zip
Third install CUDA download page

Make all the asked reboots

Finally get handy a AppleGPUWrangler.kext 3.16.2 from MacOS 10.13.3. The path is 

/System/Library/Extensions/AppleGraphicsControl.kext/Contents/PlugIns/

Replace it by the one that is in the same path in 10.13.4. Repair permissions by entering the following commands into a terminal window:

 

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

Restart

If everything went well, you should be able to connect and use your external NV GTX 1080 Ti.

If you are in a laptop, disable the first option in the Energy Saver control panel. 

I hope that I was able to do a useful compilation from the efforts of several talented guys from this forum, to get NVidias working 😉   It's not the most elegant or the most technical desirable solution but at least it works reliably. 

 

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

.

goalque liked
ReplyQuote
rmvz3
(@rmvz3)
Trusted Member
Joined: 3 years ago
 
Posted by: rhenriques11 Repair permissions by entering the following commands into a terminal window

I've restored a Time Machine copy of AppleGPUWrangler.kext (v3.16.2, from a backup from January, 6th). I've done all this process (copying the kext from recovery boot) but when I try to do the permissions repair as you recommend, it always says "Operation not permitted" for each file. What am I doing wrong?

Edit: I've previously rebuilt the kernel cache using:

sudo touch /System/Library/Extensions && sudo kextcache -u /

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

.

ReplyQuote
rhenriques11
(@rhenriques11)
Eminent Member
Joined: 3 years ago
 
Posted by: rmvz3
Posted by: rhenriques11 Repair permissions by entering the following commands into a terminal window

I've restored a Time Machine copy of AppleGPUWrangler.kext (v3.16.2, from a backup from January, 6th). I've done all this process (copying the kext from recovery boot) but when I try to do the permissions repair as you recommend, it always says "Operation not permitted" for each file. What am I doing wrong?

Edit: I've previously rebuilt the kernel cache using:

sudo touch /System/Library/Extensions && sudo kextcache -u /

You must use exactly this text without quotes

"sudo chown -R root:wheel /System/Library/Extensions/"

do the same for the other 2 lines

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

.

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

My fault. I had the SIP enabled. Sorry.

Anyway, I’ve plugged in my card and I got a nice Kernel Panic. After rebooting, I tried again and I see a new icon on the menu bar with an option: unplug “(null)”. About my Max doesn’t show the 1070 either, just the intel and gt650m dGPU. 

Doesn’t seem to be working to me. Perhaps I should use the purge-nva script to disable the dGPU?

Captura 2018 04 08 a las 1.11.45

It seems it recognizes there's an eGPU after all

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

.

ReplyQuote
rhenriques11
(@rhenriques11)
Eminent Member
Joined: 3 years ago
 
Posted by: rmvz3

My fault. I had the SIP enabled. Sorry.

Anyway, I’ve plugged in my card and I got a nice Kernel Panic. After rebooting, I tried again and I see a new icon on the menu bar with an option: unplug “(null)”. About my Max doesn’t show the 1070 either, just the intel and gt650m dGPU. 

Doesn’t seem to be working to me. Perhaps I should use the purge-nva script to disable the dGPU?

Captura 2018 04 08 a las 1.11.45

It seems it recognizes there's an eGPU after all

Check here if it's the NVidia driver that is selected:

Screen Shot 2018 04 08 at 00.58.09
Screen Shot 2018 04 08 at 00.58.35

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

.

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

Yes, it is. I'm doing everything again. I'm not really sure if I had SIP disabled or enabled without kext.

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

.

ReplyQuote
mac_editor
(@mac_editor)
Famed Member Moderator
Joined: 4 years ago
 
Posted by: rmvz3

My fault. I had the SIP enabled. Sorry.

Anyway, I’ve plugged in my card and I got a nice Kernel Panic. After rebooting, I tried again and I see a new icon on the menu bar with an option: unplug “(null)”. About my Max doesn’t show the 1070 either, just the intel and gt650m dGPU. 

Doesn’t seem to be working to me. Perhaps I should use the purge-nva script to disable the dGPU?

Captura 2018 04 08 a las 1.11.45

It seems it recognizes there's an eGPU after all

Disabling dGPU not required for NVIDIA eGPU setups. The web driver would accelerate the dGPU anyway.

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
rmvz3
(@rmvz3)
Trusted Member
Joined: 3 years ago
 

I have repeated the process and everything remains the same. Card model is not recognized and the external monitor doesn't turn on. So, not a success case. I guess a TB1 Mac, Nvidia dGPU and Nvidia eGPU is not the best combination of all ^_^

EDIT: Success (kinda). Turns out that booting with the eGPU plugged do work. The card name is recognized too. So, hot plug/unplug is not working but, at least, I can use my eGPU. Thank you all for your help. 

Captura 2018 04 08 a las 2.40.40
Captura 2018 04 08 a las 2.39.51
Captura 2018 04 08 a las 2.39.37

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

.

itsage liked
ReplyQuote
breakaway550
(@breakaway550)
New Member
Joined: 2 years ago
 

Thanks, mac_editor.  you're awsome!  it worked now.

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

.

ReplyQuote
 of  176