[SCRIPT] fr34k's macOS-eGPU.sh - one script, all solutions, fully automated
 
Notifications
Clear all

[SCRIPT] fr34k's macOS-eGPU.sh - one script, all solutions, fully automated  

 of  77
  RSS

fr34k
(@fr34k)
Reputable Member Moderator
Joined: 3 years ago
 

@rhenriques11
My guess is (all guesses here!!!!!), and that's also why the eject button didn't work, is that the driver doesn't have an appropriate quit function as normally all KEXT should have. E.g. the KEXT needs 2 Functions here for smooth eGPU use: Handling an eject and a forceful remove. If the kernel of the system tries to exit but the KEXT tries a 0 deref. 
Here 2 things come to play, the eGPU's power supply and the nMBP's auto in function. Exactly it's somewhat of a 
mystery to me as well.
You can avoid the KP though by rebooting and at the moment of shutdown, the moment the eGPU looses power: disconnect! Then shutdown the system.

fr34k's macOS-eGPU.sh on GitHub or 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
rhenriques11
(@rhenriques11)
Eminent Member
Joined: 3 years ago
 

Here 2 things come to play, the eGPU's power supply and the nMBP's auto in function. Exactly it's somewhat of a mystery to me as well.
You can avoid the KP though by rebooting and at the moment of shutdown, the moment the eGPU looses power: disconnect! Then shutdown the system.

I've been doing, or at least trying to do, exactly this. However it's not easy do disconnect two external GPU's in a tiny fraction of time. I'm successful sometimes but unsuccessful most of the times.

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

.

ReplyQuote
Jonathan David
(@dukebound85)
New Member
Joined: 3 years ago
 

I have a mantiz box

How do I get USB ports to work? I can boot with the EGPU and get the displays but no usb. If I eject the EGPU and plug back in, I get the USB devices connected to EGPU but no displays form the EGPU.

Thanks

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

.

ReplyQuote
piranhaco
(@piranhaco)
Active Member
Joined: 3 years ago
 
Posted by: piranhaco
Posted by: fr34k

@piranhaco
Under normal circumstances one of these steps should help.

  • Step set 1
    • boot without eGPU
    • hot plug eGPU with monitor
    • log out
  • Step set 2
    • boot without eGPU
    • hot plug eGPU only (no external monitor)
    • wait 15 sec
    • log out
    • hot plug monitor
    • wait 15 sec
    • log in
  • Step set 3
    • boot without eGPU
    • log out
    • hot plug eGPU
  • Step set 4 (no FileVault)
    • boot without eGPU
    • hot plug before first login

EDIT: Hadn't seen the other/your answer:


So, what are the best options for me regarding macOS, Nvidia Drivers, NVIDIA eGPU support version? Is it a good idea to upgrade my macOS to 13.6? is everything in 13.6 stable? or should I stay in 13.4? because of my iMac with Thunderbolt 2 situation? 

.6 should be good choice, most report it working.


And as a side note, I never would be able to install everything from this script, I mean, I always got the message --nvidiaEGPUsupport (Skip - Unsupported) And if I tried the Nvidia Drivers 378.10.10.10.30.103 it says that it can't find it. so I had to mix between this script and try to install the --nvidiaEGPUsupport manually from yifanlu [APP] NVIDIA eGPU support for High Sierra (NVIDIAEGPUSupport). so because I'm in 13.4 now I used the NVDAEGPUSuppor-v8.zip  and tried ti mach it with the drivers 387.10.10.10.30.103.pkg.

It seems you've found a bug. This should not have happened! I'll try to fix it. EDIT: Should have been fixed with version 1.4, see which one you have so I can check if it's been resolved.


So, and I know it a lot of questions, but. It's not very clear what are the right steps for everything. I mean:


- I know that I need to run the purge-wrangler if I'm using a T2, so in what moment should I run the purge-wrangler script? Before or after yours? 

You don't need to. The script can handle that as well. --unlockThunderboltV12 | -V is exactly for that.


- Is it ok to try to install the NVDAEGPUSuppor-v8 manually? why am I getting this nvidiaEGPUsupport (Skip - Unsupported) from the script?

For .4/.5 it was OK, but for .6 it is not! .6 requires a completely different patch


- Should I try to update the macOS to 13.6 or should I stay in the 13.4? 

 s.a.

Thanks! I'll try it today!

Ok, but let me ask you. I'm gonna try a clean update to 13.6 with a fresh install. As I said before, this is an iMac 5K late 2015, T2, Node Pro, Nvidia 1080ti. 

Do I try the --full? or what parameters do you recommend me. I tried the --full but I ended running the fallowing script most of the times:

bash <(curl -s https://raw.githubusercontent.com/learex/macOS-eGPU/master/macOS-eGPU.sh)  --install --nvidiaDriver 387.10.10.10.30.106 --nvidiaEGPUsupport --unlockThunderboltV12 --unlockNvidia --cudaDriver

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

.

ReplyQuote
piranhaco
(@piranhaco)
Active Member
Joined: 3 years ago
 
Posted by: piranhaco
Posted by: piranhaco
Posted by: fr34k

@piranhaco
Under normal circumstances one of these steps should help.

  • Step set 1
    • boot without eGPU
    • hot plug eGPU with monitor
    • log out
  • Step set 2
    • boot without eGPU
    • hot plug eGPU only (no external monitor)
    • wait 15 sec
    • log out
    • hot plug monitor
    • wait 15 sec
    • log in
  • Step set 3
    • boot without eGPU
    • log out
    • hot plug eGPU
  • Step set 4 (no FileVault)
    • boot without eGPU
    • hot plug before first login

EDIT: Hadn't seen the other/your answer:


So, what are the best options for me regarding macOS, Nvidia Drivers, NVIDIA eGPU support version? Is it a good idea to upgrade my macOS to 13.6? is everything in 13.6 stable? or should I stay in 13.4? because of my iMac with Thunderbolt 2 situation? 

.6 should be good choice, most report it working.


And as a side note, I never would be able to install everything from this script, I mean, I always got the message --nvidiaEGPUsupport (Skip - Unsupported) And if I tried the Nvidia Drivers 378.10.10.10.30.103 it says that it can't find it. so I had to mix between this script and try to install the --nvidiaEGPUsupport manually from yifanlu [APP] NVIDIA eGPU support for High Sierra (NVIDIAEGPUSupport). so because I'm in 13.4 now I used the NVDAEGPUSuppor-v8.zip  and tried ti mach it with the drivers 387.10.10.10.30.103.pkg.

It seems you've found a bug. This should not have happened! I'll try to fix it. EDIT: Should have been fixed with version 1.4, see which one you have so I can check if it's been resolved.


So, and I know it a lot of questions, but. It's not very clear what are the right steps for everything. I mean:


- I know that I need to run the purge-wrangler if I'm using a T2, so in what moment should I run the purge-wrangler script? Before or after yours? 

You don't need to. The script can handle that as well. --unlockThunderboltV12 | -V is exactly for that.


- Is it ok to try to install the NVDAEGPUSuppor-v8 manually? why am I getting this nvidiaEGPUsupport (Skip - Unsupported) from the script?

For .4/.5 it was OK, but for .6 it is not! .6 requires a completely different patch


- Should I try to update the macOS to 13.6 or should I stay in the 13.4? 

 s.a.

Thanks! I'll try it today!

Ok, but let me ask you. I'm gonna try a clean update to 13.6 with a fresh install. As I said before, this is an iMac 5K late 2015, T2, Node Pro, Nvidia 1080ti. 

Do I try the --full? or what parameters do you recommend me. I tried the --full but I ended running the fallowing script most of the times:

bash <(curl -s https://raw.githubusercontent.com/learex/macOS-eGPU/master/macOS-eGPU.sh)  --install --nvidiaDriver 387.10.10.10.30.106 --nvidiaEGPUsupport --unlockThunderboltV12 --unlockNvidia --cudaDriver

Ok, so:

I’m now in 13.6 (fresh install). I’m trying to run the script but every time I try to run it I’m getting this NVIDIA eGPU enabler Skip, incompatible and macOS 10.13.4/.5 NVIDIA patch Skip Incompatible.

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

.

ReplyQuote
SDC23
(@sdc23)
New Member
Joined: 3 years ago
 

Mac Pro 2013, Nvidia Geforce GTX 980Ti, Atiko Node Pro, TB3-2, OS 10.13.5


ReplyQuote
fr34k
(@fr34k)
Reputable Member Moderator
Joined: 3 years ago
 
Posted by: dukebound85

I have a mantiz box

How do I get USB ports to work? I can boot with the EGPU and get the displays but no usb. If I eject the EGPU and plug back in, I get the USB devices connected to EGPU but no displays form the EGPU.

Thanks

@dukebound85

I'm sorry, but that's something you might want to ask @Mymantiz_John

fr34k's macOS-eGPU.sh on GitHub or 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
fr34k
(@fr34k)
Reputable Member Moderator
Joined: 3 years ago
 

@piranhaco
1. The bug still 
exists (thanks @sdc23 for the transcript!, your answer follows soon)
2. None of them, those are for .4/.5 you need -n -l, but try none. The script should automatically know what to do, in fact that's what it's build for.

fr34k's macOS-eGPU.sh on GitHub or 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
fr34k
(@fr34k)
Reputable Member Moderator
Joined: 3 years ago
 

@sdc23
nope, it's not your card! It's bug, let me fix it.
   NVIDIA eGPU enabler                                      [skip, incompatible]
that one should be 
installed! I'll reply again once fixed.

EDIT: Patch is out.

fr34k's macOS-eGPU.sh on GitHub or 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)


Antani72 liked
ReplyQuote
Mymantiz_John
(@mymantiz_john)
Vendor
Joined: 4 years ago
 
Posted by: fr34k
Posted by: dukebound85

I have a mantiz box

How do I get USB ports to work? I can boot with the EGPU and get the displays but no usb. If I eject the EGPU and plug back in, I get the USB devices connected to EGPU but no displays form the EGPU.

Thanks

@dukebound85

I'm sorry, but that's something you might want to ask @Mymantiz_John

This is not about the scripts, please reach us for further diagnostic.

Mantiz: ● ●


fr34k liked
ReplyQuote
 of  77