automate-eGPU EFI - eGPU boot manager for macOS and Windows
 
Notifications
Clear all

[Solved] automate-eGPU EFI - eGPU boot manager for macOS and Windows  

 of  108
  RSS

OliverB
(@oliverb)
Noble Member
Joined: 2 years ago
 
Posted by: goalque

You shouldn't combine scripts. This is pure EFI and patches are done on the fly during the boot. I would reinstall macOS from the recovery. What macOS version are you running? Some had to do full erase/reinstall to get things work right. And as I suggested, please try rebuilding kernel caches.

Of course, I didn't want to combine then, that's why I went back to a clean system. But the EFI-Solution didn't work until unlocking nVidia once with the other scripts. I am running 10.13.6. How to I rebuild kernel caches? Do you have a link.

PS: Now it is running super fine, except for a very annoying process ncprwsmac which consumes CPU and slows down every 3d-benchmark. I hate it.

2018 15" MBP & 2015 13" MBP connected to RTX2080Ti GTX1080Ti GTX1080 Vega56 RX580 R9-290 GTX680

 
2018 15" MacBook Pro (RP560X) [8th,6C,H] + RX 5700 XT @ 32Gbps-TB3 (ASUS XG Station Pro) + Win10 & macOS 10.15.4 [build link]  


ReplyQuote
goalque
(@goalque)
Noble Member Admin
Joined: 4 years ago
 
You went back by TimeMachine which doesn't necessarily guarantee a clean system.
 
A snippet from my old automate-eGPU.sh to rebuild caches:
Make a script or execute those commands one by one (SIP must be disabled):
function RebuildCaches()
{

 echo "Rebuilding caches..."

 if [[ $(test -f /System/Library/PrelinkedKernels/prelinkedkernel && echo 1) ]]

 then

 rm /System/Library/PrelinkedKernels/prelinkedkernel 2>/dev/null

 fi

 if [[ $(test -f /System/Library/Caches/com.apple.kext.caches/Startup/kernelcache && echo 1) ]]

 then

 rm /System/Library/Caches/com.apple.kext.caches/Startup/kernelcache 2>/dev/null

 fi

 touch /System/Library/Extensions

 kextcache -q -update-volume /

 touch /System/Library/Extensions

 kextcache -system-caches
}

automate-eGPU EFIapple_set_os.efi

Mid 2015 15-inch MacBook Pro eGPU Master Thread

 
2018 13" MacBook Pro [8th,4C,U] + Radeon VII @ 32Gbps-TB3 (ASUS XG Station Pro) + Win10 1809 [build link]  


ReplyQuote
OliverB
(@oliverb)
Noble Member
Joined: 2 years ago
 

I will give it a try, will restore with TimeMachine and rebuild kernel caches. This will be interesting.

Rebuild Cache gave some warnings. Do they matter?

Rebuilding caches...

ncplbmac.kext does not appear in strict exception list for architecture: x86_64

Kext with invalid signatured (-67007) allowed: <OSKext 0x7ffd9f63ebf0 [0x7fff84492af0]> { URL = "ncplbmac.kext/ -- file:///System/Library/Extensions/", ID = "com.ncp-e.vpn.driver.ncplbmac" }

kext file:///System/Library/Extensions/zfs.kext/ is in hash exception list, allowing to load

BJUSBLoad.kext does not appear in strict exception list for architecture: x86_64

Kext with invalid signatured (-67007) allowed: <OSKext 0x7ffda2aa3e30 [0x7fff84492af0]> { URL = "BJUSBLoad.kext/ -- file:///Library/Extensions/", ID = "jp.co.canon.bj.print.BJUSBLoad" }

2018 15" MBP & 2015 13" MBP connected to RTX2080Ti GTX1080Ti GTX1080 Vega56 RX580 R9-290 GTX680

 
2018 15" MacBook Pro (RP560X) [8th,6C,H] + RX 5700 XT @ 32Gbps-TB3 (ASUS XG Station Pro) + Win10 & macOS 10.15.4 [build link]  


ReplyQuote
OliverB
(@oliverb)
Noble Member
Joined: 2 years ago
 

I am now after restoring from TimeMachine. The annoying process "ncprwsmac" is *not* running. I thought so as I never saw it beforce. Which script/steps activates it?

2018 15" MBP & 2015 13" MBP connected to RTX2080Ti GTX1080Ti GTX1080 Vega56 RX580 R9-290 GTX680

 
2018 15" MacBook Pro (RP560X) [8th,6C,H] + RX 5700 XT @ 32Gbps-TB3 (ASUS XG Station Pro) + Win10 & macOS 10.15.4 [build link]  


ReplyQuote
goalque
(@goalque)
Noble Member Admin
Joined: 4 years ago
 

Why do you stick to TimeMachine? My recommendation was macOS reinstallation that rewrites the whole S/L/E content.

automate-eGPU EFIapple_set_os.efi

Mid 2015 15-inch MacBook Pro eGPU Master Thread

 
2018 13" MacBook Pro [8th,4C,U] + Radeon VII @ 32Gbps-TB3 (ASUS XG Station Pro) + Win10 1809 [build link]  


ReplyQuote
OliverB
(@oliverb)
Noble Member
Joined: 2 years ago
 
Posted by: OliverB

I am now after restoring from TimeMachine. The annoying process "ncprwsmac" is *not* running. I thought so as I never saw it beforce. Which script/steps activates it?

Because I want for severals reason the system resetted to the point before I started the installation. This is what TimeMachine is for.
But, what is more important, This super annoying process is triggered by either the EFI-Boat oder the e-GPU Pluggin and it won't go away afterwards, if not killed! It comes back even after rebooting the system without eGPU plugged-in. This is very bad! I have to find out, what exactly is triggering it. Do you have any idea?

Screen Shot 2018 10 28 at 15.11.35

2018 15" MBP & 2015 13" MBP connected to RTX2080Ti GTX1080Ti GTX1080 Vega56 RX580 R9-290 GTX680

 
2018 15" MacBook Pro (RP560X) [8th,6C,H] + RX 5700 XT @ 32Gbps-TB3 (ASUS XG Station Pro) + Win10 & macOS 10.15.4 [build link]  


ReplyQuote
goalque
(@goalque)
Noble Member Admin
Joined: 4 years ago
 

Sorry, I cannot help if you cannot reinstall macOS. Googling says ncprwsmac is "NCP Secure Enterprise Mac Client". You don't have a clean system.

automate-eGPU EFIapple_set_os.efi

Mid 2015 15-inch MacBook Pro eGPU Master Thread

 
2018 13" MacBook Pro [8th,4C,U] + Radeon VII @ 32Gbps-TB3 (ASUS XG Station Pro) + Win10 1809 [build link]  


ReplyQuote
OliverB
(@oliverb)
Noble Member
Joined: 2 years ago
 

I have good news. The EFI-Boot worked now without using any script. What did I do different?

Trying out find out the reason for ncprwsmac I made it more slowly step for step, installing the nVidia drivers at the end. And it works like charm.
Of course, I you have a MacBookPro 15" with Radeon dGPU, this is very important: 
sudo pmset -a gpuswitch 0

PS: ncprwsmac still appears in my process list, but only after all was running. Each component/step alone does not trigger it. Do anyone has an idea how I can get rid off it other than killing it every time?

2018 15" MBP & 2015 13" MBP connected to RTX2080Ti GTX1080Ti GTX1080 Vega56 RX580 R9-290 GTX680

 
2018 15" MacBook Pro (RP560X) [8th,6C,H] + RX 5700 XT @ 32Gbps-TB3 (ASUS XG Station Pro) + Win10 & macOS 10.15.4 [build link]  


ReplyQuote
goalque
(@goalque)
Noble Member Admin
Joined: 4 years ago
 

Glad to hear. According to your kext rebuild output, you have some 3rd party kexts that may conflict with loading Nvidia related kexts (and on-the-fly patching). That's why I recommended starting from scratch, a clean macOS installation. Maybe rebuilding kext caches helped after all.

automate-eGPU EFIapple_set_os.efi

Mid 2015 15-inch MacBook Pro eGPU Master Thread

 
2018 13" MacBook Pro [8th,4C,U] + Radeon VII @ 32Gbps-TB3 (ASUS XG Station Pro) + Win10 1809 [build link]  


ReplyQuote
OliverB
(@oliverb)
Noble Member
Joined: 2 years ago
 
Posted by: goalque

Glad to hear. According to your kext rebuild output, you have some 3rd party kexts that may conflict with loading Nvidia related kexts (and on-the-fly patching). That's why I recommended starting from scratch, a clean macOS installation. Maybe rebuilding kext caches helped after all.

I understand. Thank you for your support and your great tools.

2018 15" MBP & 2015 13" MBP connected to RTX2080Ti GTX1080Ti GTX1080 Vega56 RX580 R9-290 GTX680

 
2018 15" MacBook Pro (RP560X) [8th,6C,H] + RX 5700 XT @ 32Gbps-TB3 (ASUS XG Station Pro) + Win10 & macOS 10.15.4 [build link]  


goalque liked
ReplyQuote
 of  108