Share:

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

  RSS

goalque
(@goalque)
Noble Member Admin
Joined: 2 years ago
Posts: 1345
October 21, 2018 9:54 am  

Page shortcut:  https://egpu.io/automate-eGPU-EFI   |  automate-egpu-efi


automate-eGPU EFI

Finally, automate-eGPU EFI has evolved to a point where it is no longer dependent on a codeless kext. This simplifies things so greatly that I decided to leave the whole installation process off. No GUI installer, no scripts, and all background processes which belonged to the hybrid side are now gone. What is left, is pure EFI. You can copy-paste the EFI folder to a FAT32 formatted USB stick (use Disk Utility in macOS, Format: MS-DOS (FAT), Scheme: Master Boot Record, and named something else than "EFI") which works as all-in-one package for AMD/NVIDIA/macOS/Windows automation, including TB1 and TB2 Macs too. Just hold down the Option key on startup and select "EFI Boot". Nvidia web drivers need to be installed separately if you are using Maxwell or Pascal architecture cards (hopefully Turing drivers will be available soon). FileVault and T2 chip systems are supported. Due to lack of time testing older AMD cards, v1.0.5 may not provide eGPU screen output from older generation AMD cards on macOS. I do have a pure EFI workaround to remedy this but it needs more testing.

The whole idea of automate-eGPU EFI is to keep your system clean, no modified kexts. When the USB is unplugged, and you reboot, your Mac is in factory state.

First off, uninstall all previous workarounds and ensure that your system is clean (if you are sure, skip this step):
https://egpu.io/wp-content/uploads/2018/10/validate-kexts.sh_.zip

chmod +x validate-kexts.sh

sudo ./validate-kexts.sh

Here's the automate-eGPU EFI v1.0.5 package:
https://egpu.io/wp-content/uploads/2018/10/EFI.zip

If you happen to have a T2 chip equipped Mac, check that you have checked "No Security" and "Allow booting from external media":
https://support.apple.com/en-us/HT208330

iGPU only Macs are easy. You don't have to do any additional steps. It just works.

If you happen to have AMD dGPU and Nvidia eGPU combo, v1.0.5's behaviour remains the same as it was in v1.0.3 - the internal screen may go black. To avoid this, please do the following:

Edit config.plist

<key>MuxSetting</key>

<integer>1</integer>

1) Boot from the external USB drive (hold down the Option key and select "EFI Boot"), eGPU disconnected.

2) Hot plug the eGPU after logged in.

Then execute the following commands:

3) sudo pmset -a gpuswitch 2
4) sudo pmset -a gpuswitch 0

5) Shift+Cmd+Q and press enter to log out
6) Log in

Optional steps for dGPU activation:

7) sudo pmset -a gpuswitch 2
8) sudo pmset -a gpuswitch 1

There are a couple of key short cuts in EFI menu screen (after q is pressed): s=quick shut down, r=restart. Reset deletes the nvram setting if you have set the USB stick bootable (launch on startup = ON). The stick remembers the last chosen operating system and marks that as a "*" character. This flag can be used for quick boot or timed out warm reboots in the future.

In order to have large memory area on Windows, users can apply their own compiled DSDT.aml into \EFI\CLOVER\ACPI\Windows\ folder. Those who have more knowledge of ASL language can also try to resize Thunderbolt bridge memory regions, allowing specific BARs the eGPU requests from the firmware.

apple_set_os.efi is loaded always from the drivers64UEFI folder. Remove it if you don't need it. @itsage, did you use it in the 2010 Mac Pro configuration? Please also remove if you are using the nMP or Mac mini.

No boot screens yet via an eGPU. I had a version that extracted the GOP driver from the eGPU on the fly, then loaded it from the USB stick on next boot and allowed custom boot screens. Unfortunately, the screen rendering was extremely slow with the latest Apple firmwares (approximately one row per second) but when I have time I could try drawing on the screen directly using GOP instead of STO (Simple Text Out protocol, which presumably runs on top of GOP).


automate-eGPU EFI v1.0.5 Installer

Following content was authored by @mac_editor.

Seeing people make some errors while creating the USB disk, and also the different patch for AMD eGPUs that allows for safe eject, I thought it would be best to have a simple installer that:

  • Formats an existing external partition for you.
  • Installs automate-eGPU-EFI onto that partition.
  • Updates the configuration for NVIDIA or AMD, the latter based on system thunderbolt version.

 

I recommend physically ejecting any external drives you do not want to format just in case. Internal disks are not supported for safety reasons. Users have already reported success with the installer, but it's best to never take chances.

 

To Use:

bash <(curl -s  https://egpu.io/wp-content/uploads/2018/11/automate-eGPU-EFI-install.txt) 

Copy-paste into Terminal (default shell only: bash), and follow instructions from there.

 

What Does This Installer Do?

  • It asks you what disk to format.
  • After preparing the disk, it downloads the files needed for EFI.
  • A SHAsum saved in script itself is used to validate the download, to ensure that the file is exactly the same as when I tested on my system - for everyone.
  • Once validation is complete, the script places the files as needed onto the prepared disk.
  • Finally, the script asks what GPU vendor you are using, and modifies the KernelAndKextPatches section in the configuration property list (see Clover documentation).
  • For NVIDIA, no changes are made, while for AMD, the NVIDIA NVRAM value is removed, and @goalque's NVIDIA patch is replaced with my Thunderbolt 1/2 patch, that enables native-like eGPU support with the eGPU icon in the menubar working as expected.
  • It is evident that one could easily combine a variety of kext/kernel patches (such as for Ti82 enclosures) if needed by adding more KernelAndKextPatches keys.

 

The installer is also hosted only on this website. If you obtained the EFI installer or files from some other source, we cannot guarantee it's authenticity. You can see the full code for the installer (not the EFI application itself) on Pastebin.

This topic was modified 1 month ago

automate-eGPU EFIapple_set_os.efi
--
late-2016 13" Macbook Pro nTB + [email protected] (Netstor HL23T) + macOS & Win10
late-2016 13" Macbook Pro nTB + GTX980/[email protected] (Netstor HL23T) + macOS10.13 & Win10


王前冲, slhdsnet, TrDA and 11 people liked
Quote
Eightarmedpet
(@eightarmedpet)
Noble Member
Joined: 2 years ago
Posts: 1364

ReplyQuote
goalque
(@goalque)
Noble Member Admin
Joined: 2 years ago
Posts: 1345
October 21, 2018 11:06 am  

Yes, the included apple_set_os.efi and config.plist's MuxSetting=1 should resolve error code 12 in most cases. If still doesn't work, and you don't have the large memory area as default in the firmware, use your own compiled DSDT.aml.

automate-eGPU EFIapple_set_os.efi
--
late-2016 13" Macbook Pro nTB + [email protected] (Netstor HL23T) + macOS & Win10
late-2016 13" Macbook Pro nTB + GTX980/[email protected] (Netstor HL23T) + macOS10.13 & Win10


ReplyQuote
Technomad
(@technomad)
Eminent Member
Joined: 1 year ago
Posts: 42
October 21, 2018 11:15 am  

That's great news, but what I'm seeing is a link to a folder of the execs, not a link to an installer pkg (as per previous versions). Am I missing something obvious?

Thanks…

Mid-2017 MBP 15”/3.1GHz, Razer Core v2, EVGA GTX1080Ti, LG 34UM95, HTC Vive, Samsung Odyssey, MS Hololens.


ReplyQuote
goalque
(@goalque)
Noble Member Admin
Joined: 2 years ago
Posts: 1345
October 21, 2018 11:19 am  
Posted by: Technomad

That's great news, but what I'm seeing is a link to a folder of the execs, not a link to an installer pkg (as per previous versions). Am I missing something obvious?

Thanks…

Yep. "No GUI installer, no scripts, and all background processes which belonged to the hybrid side are now gone. What is left, is pure EFI. You can copy-paste the EFI folder to a FAT32 formatted USB stick which works as all-in-one package for AMD/NVIDIA/macOS/Windows automation".

automate-eGPU EFIapple_set_os.efi
--
late-2016 13" Macbook Pro nTB + [email protected] (Netstor HL23T) + macOS & Win10
late-2016 13" Macbook Pro nTB + GTX980/[email protected] (Netstor HL23T) + macOS10.13 & Win10


ReplyQuote
mattlukezahra
(@mattlukezahra)
Active Member
Joined: 6 months ago
Posts: 13
October 21, 2018 12:48 pm  

I'm very sorry for having to ask this question but what does this script do exactly ?
I have a MacBook Pro 2018 ( I attached the specs ) I just tried to use this script with my AORUS GTX 1070 Gaming Box both windows and mac didn't find the egpu, Please let me know as i'd be more then happy to test out anything 🙂

Thank you very much for your help 

Matthew

Pending: Add my system information and expected eGPU configuration to my signature to give context to my posts


ReplyQuote
CreekGeek
(@creekgeek)
New Member
Joined: 2 years ago
Posts: 3
October 21, 2018 1:02 pm  

Ohmygod! This just works! I *just* picked today to set up my egpu, and after trying unsuccessfully to install the last two versions of your boot install on a USB stick, I saw this post! 

This is BRILLIANT! You are a GENIUS, and I couldn't THANK YOU enough!!!!

Running an Nvidia GTX 1060 with and Akitio Node on an MBP Retina mid-2012. About to try bootcamp now.

BRILLIANT!!! THANK YOU!!!

Pending: Add my system information and expected eGPU configuration to my signature to give context to my posts


slhdsnet and goalque liked
ReplyQuote
goalque
(@goalque)
Noble Member Admin
Joined: 2 years ago
Posts: 1345
October 21, 2018 1:05 pm  

@mattlukezahra

There are no scripts. It's an EFI app that is executed before the OS loads. The "EFI Boot" just works as a filter and uses Apple's native boot.efi to go into macOS and bootmgfw.efi to go into Windows Boot Camp.

No modifications are done to the firmware or operating systems when you boot through the EFI app.

This post was modified 5 months ago

automate-eGPU EFIapple_set_os.efi
--
late-2016 13" Macbook Pro nTB + [email protected] (Netstor HL23T) + macOS & Win10
late-2016 13" Macbook Pro nTB + GTX980/[email protected] (Netstor HL23T) + macOS10.13 & Win10


ReplyQuote
mattlukezahra
(@mattlukezahra)
Active Member
Joined: 6 months ago
Posts: 13
October 21, 2018 1:12 pm  

Thank you for your fast reply,

I just did a clean installation of high sierra 10.13.6, would you kindly explain for what it is used for exactly as I'm still not understanding I truly apologise and thank you for your patience  

Pending: Add my system information and expected eGPU configuration to my signature to give context to my posts


ReplyQuote
goalque
(@goalque)
Noble Member Admin
Joined: 2 years ago
Posts: 1345
October 21, 2018 1:15 pm  
Posted by: mattlukezahra

Thank you for your fast reply,

I just did a clean installation of high sierra 10.13.6, would you kindly explain for what it is used for exactly as I'm still not understanding I truly apologise and thank you for your patience  

Don't worry if the startup screen says "eGPU not detected", you can try to continue booting into macOS or Windows anyway. Some enclosures have more complex PCIe bridges and the app cannot recognize the card position correctly. Of course, you have to install Nvidia web drivers separately.

automate-eGPU EFIapple_set_os.efi
--
late-2016 13" Macbook Pro nTB + [email protected] (Netstor HL23T) + macOS & Win10
late-2016 13" Macbook Pro nTB + GTX980/[email protected] (Netstor HL23T) + macOS10.13 & Win10


ReplyQuote
zipp0rsch
(@zipp0rsch)
Active Member
Joined: 5 months ago
Posts: 13
October 21, 2018 1:22 pm  

Thank you very much for the update @goalque. Is there a list of supported AMD cards? Is RX 460 still supported?

Pending: Add my system information and expected eGPU configuration to my signature to give context to my posts


ReplyQuote
mattlukezahra
(@mattlukezahra)
Active Member
Joined: 6 months ago
Posts: 13
October 21, 2018 1:27 pm  

to imstall the nvidia driver the only method I found working is using this script on macOS purge-wrangler as if I just try to install the driver manually this error message comes up 

Pending: Add my system information and expected eGPU configuration to my signature to give context to my posts


ReplyQuote
goalque
(@goalque)
Noble Member Admin
Joined: 2 years ago
Posts: 1345
October 21, 2018 1:31 pm  
Posted by: zipp0rsch

Thank you very much for the update @goalque. Is there a list of supported AMD cards? Is RX 460 still supported?

Unfortunately I don't have a full list at the moment. If the device id is missing from the kexts, the card doesn't work. R9 Fury and Nano may work out of the box on Mojave because Apple has been quietly improving the drivers of older generation AMD cards.

As a rule of thumb, if the AMD card works with the classic Mac Pro, it definitely works also via Thunderbolt.

This post was modified 5 months ago

automate-eGPU EFIapple_set_os.efi
--
late-2016 13" Macbook Pro nTB + [email protected] (Netstor HL23T) + macOS & Win10
late-2016 13" Macbook Pro nTB + GTX980/[email protected] (Netstor HL23T) + macOS10.13 & Win10


theitsage liked
ReplyQuote
mattlukezahra
(@mattlukezahra)
Active Member
Joined: 6 months ago
Posts: 13
October 21, 2018 1:32 pm  

when I boot on the usb drive it finds the eGPU 🙂 

Pending: Add my system information and expected eGPU configuration to my signature to give context to my posts


goalque liked
ReplyQuote
goalque
(@goalque)
Noble Member Admin
Joined: 2 years ago
Posts: 1345
October 21, 2018 1:33 pm  
Posted by: mattlukezahra

to imstall the nvidia driver the only method I found working is using this script on macOS purge-wrangler as if I just try to install the driver manually this error message comes up 

Try https://github.com/Benjamin-Dobell/nvidia-update

automate-eGPU EFIapple_set_os.efi
--
late-2016 13" Macbook Pro nTB + [email protected] (Netstor HL23T) + macOS & Win10
late-2016 13" Macbook Pro nTB + GTX980/[email protected] (Netstor HL23T) + macOS10.13 & Win10


jangoloti liked
ReplyQuote
mattlukezahra
(@mattlukezahra)
Active Member
Joined: 6 months ago
Posts: 13
October 21, 2018 3:16 pm  

sorry for taking that long to reply,

I managed to make it work on macOS thank you so much 😎  for that link to download the Nvidia drivers,

I understood what this does and I like the idea as it doesn't modify anything in your macOS since you boot into the usb drive and that is just amazing as like that you won't have anything running around and you can simply reboot and you'd have normal macOS untampered,

love your work and I'm gonna try next to set it up on windows bootcamp via external hdd and will keep you updated 🙂

if there is anything I can test out just let me know, I have attached my specs 

send me your PayPal so I buy you a beer 🙂 🍺 🍻  least I can do for all your hard work and patience

thanks again 

kind regards

Matthew

Pending: Add my system information and expected eGPU configuration to my signature to give context to my posts


goalque liked
ReplyQuote
theitsage
(@itsage)
Famed Member Admin
Joined: 2 years ago
Posts: 3679
October 21, 2018 3:18 pm  

@goalque Thank you for a wonderful eGPU boot manager. This is currently the best method to use eGPU on a Mac to dual boot. When I tried an earlier 1.0.5 build, I was able to use an R9 Fury in Mojave and allocated large memory in Windows 10 on the 2016 15" MacBook Pro. This solution transformed it into a very eGPU-friendly laptop in Windows. For the first time, I could hot-unplug an eGPU on this laptop and no BSOD occurred. It also activated Intel iGPU without reducing Nvidia eGPU's H2D bandwidth.

Best ultrabooks for eGPU use

eGPU enclosure buying guide

94 external GPU build guides


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
Posts: 1908
October 21, 2018 3:33 pm  

This is the simplest and most elegant eGPU solution ever. I had tried this pre-release and it worked perfectly on the 2018 15" MBP. @goalque if anything has changed since then, let me know and I shall retest again. Also, I didn't have to change the mux or pmset config when I last used your workaround (via script on High Sierra) and just hot-plugged and logged out. So it may not always be needed. Perhaps I'll retest this with EFI.

Also, I currently have 2 macOS (Mojave main, High Sierra for experiments) internal partitions. How do I specify which one to boot?

Edit: Thank you for your work!

This post was modified 5 months ago

purge-wrangler.shpurge-nvda.shset-eGPU.shautomate-eGPU EFI Installer
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife
eGPU Hardware Chart
----
Multiple Build Guides


slhdsnet and goalque liked
ReplyQuote
goalque
(@goalque)
Noble Member Admin
Joined: 2 years ago
Posts: 1345
October 21, 2018 3:58 pm  

@mac_editor

Nothing is changed. Good to know that plain MuxSetting=1 worked. The Mid 2015 15" M370X MBP needed those additional steps, especially if I had Visual Studio Code opened (activates the dGPU). pmset commands are the same what logout/login hook scripts did earlier in v1.0.4, now you can do this part manually.

It picks up the first OS in the search loop. v1.0.5 doesn't support multiple macOS installations.

automate-eGPU EFIapple_set_os.efi
--
late-2016 13" Macbook Pro nTB + [email protected] (Netstor HL23T) + macOS & Win10
late-2016 13" Macbook Pro nTB + GTX980/[email protected] (Netstor HL23T) + macOS10.13 & Win10


ReplyQuote
Eightarmedpet
(@eightarmedpet)
Noble Member
Joined: 2 years ago
Posts: 1364
October 21, 2018 4:08 pm  
Posted by: goalque

Yes, the included apple_set_os.efi and config.plist's MuxSetting=1 should resolve error code 12 in most cases. If still doesn't work, and you don't have the large memory area as default in the firmware, use your own compiled DSDT.aml.

Welllllllll... I gave it a bash, just with my Nvidia card that was working previously, and bootup is much more predictable! Latest Windows builds have had me having to reboot 2-3 times ot get everything working but this time it just worked, witohut even hotplugging.

Not sure I can be bothered to take my 1070 out, but I have a Razer core on route and i'll test my 570 in that, if it works, oh boy, next stop Vega!

This current method is the first one that doesnt mess with my Ultrafine display! Oddly Windows had to do some work in the background to recognise everything plugged into it as if it was first time set up, but after that i'm all good.

Massive massive thanks, if I finally get AMD working in Bootcamp I will be so happy, and I'm sure others will appreciate the break from me banging on about it too... 😉 @itsage

edit: it did something funny to my set up - maybe corrupted drivers? GPU was not being detected. Also had issues with peripherals attached to monitor on boot selection (externals not showing up). Figured I may be putting too much through the one cable (5K screen, 2 x drives, Wireless adopter for mouse) so have plugged directly into a free port on the right hand side. Looks like we may be back in action.

edit 2: I'm now back to only being able to run at 4k not 5, god knows why/whats changed. No biggie really as I game at 1440. Hot unplugging works but nothing happens when I plug back in...

This post was modified 5 months ago

2017 13" MacBook Pro Touchbar + [email protected] (AKiTiO Thunder3) + Win10
2017 13" MacBook Pro Touch Bar + [email protected] (Sonnet Breakaway Box) + Win10

2017 13" MacBook Pro Touch Bar + GTX1070 (debating 2070 upgrade) @32Gbps-TB3 (Razer Core V1) + Win10

2017 13" MacBook Pro Touch Bar + Vega 56 @32Gbps-TB3 (Razer Core V1) + Win10 & macOS 10.14+

---
LG 5K Ultrafine flickering issue fix


ReplyQuote
nmzik
(@nmzik)
Eminent Member
Joined: 2 years ago
Posts: 24
October 21, 2018 4:21 pm  
Thank you for your EFI app! 
I'm sorry if I may seem annoying.
Unfortunately I cannot get it to work. The main display still uses dGPU (Nvidia GT750m in my case) 
I have a couple questions regarding this tool. 
1)First of all, what does these commands do ? 
sudo pmset -a gpuswitch 2 
sudo pmset -a gpuswitch 0 

Do they allow MacOS to preserve "gpu-power-prefs" value? When I tested, it didn't! Then why we should use that? 
2)Does you tool allow to power down dGPU? Because dGPU still gives heat even when it is not used on Windows for rendering etc. 
For almost two years I use this solution: "Running .nsh script in EFI Shell through Refind + switch-gpu on Windows side when switching between MacOS->Windows"(MacOs resets "gpu-power-prefs" value) 
mm 7C2 1 ;IO :1  
mm 7D4 1 ;IO :50 
mm 7C2 1 ;IO :0  
mm 7D4 1 ;IO :50 

Only one downside of this solution is "sleep mode" on both Windows and MacOS. Mac switches panel to dGPU when its wakes up resulting in black screen because dGPU is powered down. It would be nice to see that solution in one EFI binary :) 
Again, I'm sorry for this type of questions. I use my dGPU for gaming only on Windows. 
This post was modified 5 months ago

MacBook Pro Late 2013 15" MacBook Pro GT750M + Sapphire Pulse [email protected]>TB3 (AKiTiO Node)


ReplyQuote
DidierC41
(@didierc41)
Active Member
Joined: 1 year ago
Posts: 18
October 21, 2018 4:59 pm  
Posted by: goalque
Posted by: Technomad

That's great news, but what I'm seeing is a link to a folder of the execs, not a link to an installer pkg (as per previous versions). Am I missing something obvious?

Thanks…

Yep. "No GUI installer, no scripts, and all background processes which belonged to the hybrid side are now gone. What is left, is pure EFI. You can copy-paste the EFI folder to a FAT32 formatted USB stick which works as all-in-one package for AMD/NVIDIA/macOS/Windows automation".

@goalque, thank you again and again for the great work!
I have question: since I used your 1.0.4 hybrid dAMD solution, should I have to uninstall that version with the uninstall option that comes from your automate-eGPU-EFI-v.1.0.4.pkg GUI before trying to boot with the new 1.0.5 folder on a clean USB stick?

And is the additional 8-steps workaround you suggest for MBP with dAMD GPU (my case) is mandatory, or may it works without it? 
because these commands look like they are affecting the system, or am I wrong on that?

MacBookPro 15" 2016, MacOS 10.13.6 (17G65), dGPU RP460, Sonnet eGFX BB550W, NVIDIA GTX 1080


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
Posts: 1908
October 21, 2018 6:31 pm  

@nmzik 750M Macs are not straightforward with the EFI solution and some more stuff will be needed to be done. Referring to commands here:  https://egpu.io/forums/mac-setup/guide-troubleshooting-egpus-on-macos/#post-38232

For AMD eGPUs

If not using external display, no need to do anything. Otherwise:
- Command #12 for NVIDIA GPUs.
- gpu-power-prefs command from purge-nvda.sh.

 

For NVIDIA eGPUs

OpenGL won't work (High Sierra + 387.xx Web Drivers), so to fix that, kext plist mods needed done in purge-nvda.sh option #2. No issues with 7xx non-webdriver eGPUs.

 

For windows side, I don't know why you disable the dGPU every time (assuming you have the 580 still as in your sig). Performance difference is negligible and good thermal paste resolves CPU heating anyway.

This post was modified 5 months ago

purge-wrangler.shpurge-nvda.shset-eGPU.shautomate-eGPU EFI Installer
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife
eGPU Hardware Chart
----
Multiple Build Guides


NerdsLTD and goalque liked
ReplyQuote
goalque
(@goalque)
Noble Member Admin
Joined: 2 years ago
Posts: 1345
October 21, 2018 8:22 pm  
Posted by: DidierC41

@goalque, thank you again and again for the great work!
I have question: since I used your 1.0.4 hybrid dAMD solution, should I have to uninstall that version with the uninstall option that comes from your automate-eGPU-EFI-v.1.0.4.pkg GUI before trying to boot with the new 1.0.5 folder on a clean USB stick?

And is the additional 8-steps workaround you suggest for MBP with dAMD GPU (my case) is mandatory, or may it works without it? 
because these commands look like they are affecting the system, or am I wrong on that?

Yes, uninstall v1.0.4. Starting from v1.0.5 there is nothing to uninstall.

It may work without. At least, use MuxSetting integer value 1. pmset command just changes the gmux state on the fly, no harm.

automate-eGPU EFIapple_set_os.efi
--
late-2016 13" Macbook Pro nTB + [email protected] (Netstor HL23T) + macOS & Win10
late-2016 13" Macbook Pro nTB + GTX980/[email protected] (Netstor HL23T) + macOS10.13 & Win10


ReplyQuote
(@gcoban)
Active Member
Joined: 6 months ago
Posts: 5
October 21, 2018 9:37 pm  

Hi @goalque,

Can you recheck validate-kext script please?
I think its output should be opposite because it says "Invalid system kext found" even my system is clean.

Thanks

This post was modified 5 months ago

Pending: Add my system information and expected eGPU configuration to my signature to give context to my posts


ReplyQuote
goalque
(@goalque)
Noble Member Admin
Joined: 2 years ago
Posts: 1345
October 21, 2018 10:09 pm  

@gcoban would you run commands one by one:

sudo kextutil -t -v 0 /System/Library/Extensions/AppleGraphicsControl.kext
sudo kextutil -t -v 0 /System/Library/Extensions/AppleGraphicsControl.kext/Contents/PlugIns/AppleGPUWrangler.kext
sudo kextutil -t -v 0 /System/Library/Extensions/AppleGraphicsControl.kext/Contents/PlugIns/AppleGraphicsDevicePolicy.kext
sudo kextutil -t -v 0 /System/Library/Extensions/IOGraphicsFamily.kext
sudo kextutil -t -v 0 /System/Library/Extensions/IONDRVSupport.kext

One of those returns something else than an empty string.

automate-eGPU EFIapple_set_os.efi
--
late-2016 13" Macbook Pro nTB + [email protected] (Netstor HL23T) + macOS & Win10
late-2016 13" Macbook Pro nTB + GTX980/[email protected] (Netstor HL23T) + macOS10.13 & Win10


ReplyQuote
André Santos Silva
(@andre_santos_silva)
Active Member
Joined: 1 year ago
Posts: 14
October 21, 2018 10:43 pm  

Hey, great work!

When using your solution and trying to boot into windows, I get stuck in “saving...”, it doesn’t move past it.

any ideas for troubleshooting?
thanks!

late-2013 13" Macbook Pro Retina + [email protected] (Sonnet Greakaway 350 via TB3->TB2 adapter) + macOS10.13 & Win10


ReplyQuote
(@gcoban)
Active Member
Joined: 6 months ago
Posts: 5
October 21, 2018 10:54 pm  

All returns empty string. Also, I have reinstalled latest update for High Sierra to validate.

Pending: Add my system information and expected eGPU configuration to my signature to give context to my posts


ReplyQuote
goalque
(@goalque)
Noble Member Admin
Joined: 2 years ago
Posts: 1345
October 21, 2018 10:54 pm  

@andre_santos_silva
As if your USB stick is write protected. It tries to save the "setting" file on the USB drive. Erase the content and try again, maybe with some other USB/SD card (FAT32 formatted in Disk Utility). Or there is a bug that you have to boot into macOS first...

This post was modified 5 months ago

automate-eGPU EFIapple_set_os.efi
--
late-2016 13" Macbook Pro nTB + [email protected] (Netstor HL23T) + macOS & Win10
late-2016 13" Macbook Pro nTB + GTX980/[email protected] (Netstor HL23T) + macOS10.13 & Win10


ReplyQuote
goalque
(@goalque)
Noble Member Admin
Joined: 2 years ago
Posts: 1345
October 21, 2018 10:57 pm  
Posted by: gcoban

All returns empty string. Also, I have reinstalled latest update for High Sierra to validate.

Ok, then everything is fine. I get "No modified kexts found. Your system is clean."

automate-eGPU EFIapple_set_os.efi
--
late-2016 13" Macbook Pro nTB + [email protected] (Netstor HL23T) + macOS & Win10
late-2016 13" Macbook Pro nTB + GTX980/[email protected] (Netstor HL23T) + macOS10.13 & Win10


ReplyQuote
(@gcoban)
Active Member
Joined: 6 months ago
Posts: 5
October 21, 2018 11:07 pm  

@goalque,

Can we use this script without USB Boot?
For example, create a partition for EFI and put the 1.0.5 content into it, and boot from that partition?
If its ok, we may not have to allow booting from external sources?

Pending: Add my system information and expected eGPU configuration to my signature to give context to my posts


atlonxp liked
ReplyQuote
Charly4
(@charly4)
Eminent Member
Joined: 2 years ago
Posts: 39
October 21, 2018 11:10 pm  

Bravo @goalque I was waiting so bad the 1.0.5 version!! Thank you for your hard work!!

Well I'm having a strange behavior probably because my dGPU NVIDIA 650m...

The first time I tried the 1.0.5 I forgot to uninstall 1.0.4 but clean kexts (to excited to try it...) The result, EFI Menu Screen detect the eGPU showing the 3 GPU´s and boom OSX 10.13.6 booting like charm, also realized that the strange glitches with some transparent effects that i had in previous 1.0.4 disappear!!

Then I realized that didn't uninstall properly 1.0.4, so executed the uninstall and boot again, well since then the eGPU has never been detected again in EFI Menu Screen and some times before the EFI Menu Screen appears it shows this:

After seen this text on the scree I can press "q" and continue with the EFI Menu Screen like no problems.

Also the transparency issues are been shown again, but I realized that closing session and log into the session again the glitches disappear!!

Another thing, I tried multiple times booting Windows, always keeps stucked on OS option menu to boot and I only can force shut down.

Any idea how can solve Windows problem? Probably I'm going to reinstall OSX to clean everything and then also Windows but maybe there is something I can try before..

Thank you guys!!

Macbook PRO Retina 2012 15" (Intel HD 4000 + Nvidia Geforce GT 650M)
Akitio Thunder 2 + Nvidia 970 GTX


goalque liked
ReplyQuote
goalque
(@goalque)
Noble Member Admin
Joined: 2 years ago
Posts: 1345
October 21, 2018 11:17 pm  

@charly4

From the apple_set_os.efi thread:

The following are likely not UEFI 2.0 compatible for apple_set_os.efi to work.  See linked discussion with inconclusive results.

  • 2012 15" Macbook Pro GT650M as explained
  • 2011 15" Macbook Pro HD6750M as found 

automate-eGPU EFIapple_set_os.efi
--
late-2016 13" Macbook Pro nTB + [email protected] (Netstor HL23T) + macOS & Win10
late-2016 13" Macbook Pro nTB + GTX980/[email protected] (Netstor HL23T) + macOS10.13 & Win10


ReplyQuote
Charly4
(@charly4)
Eminent Member
Joined: 2 years ago
Posts: 39
October 21, 2018 11:24 pm  

Oh no...

So that means that 1.0.5 is not compatible with my setup?

Does this mean that I have to delete apple_set_os.efi like you said

"apple_set_os.efi is loaded always from the drivers64UEFI folder. Remove it if you don't need it. @itsage, did you use it in the 2010 Mac Pro configuration? Please also remove if you are using the nMP or Mac mini."

I´m a little beat confused about what means my system is not UEFI 2.0 compatible...

Macbook PRO Retina 2012 15" (Intel HD 4000 + Nvidia Geforce GT 650M)
Akitio Thunder 2 + Nvidia 970 GTX


ReplyQuote
nu_ninja
(@nu_ninja)
Estimable Member
Joined: 12 months ago
Posts: 133
October 21, 2018 11:47 pm  

@zipp0rsch
I've got my RX 460 working in macos and windows now over TB1.

@gcoban
My 10+ year old usb drive I have on hand was being weird so I installed the EFI folder directly to a small FAT32 partition and it seems to work. Not sure if there might be consequences to this though.

This post was modified 5 months ago

Mid-2012 13" Macbook Pro (MacBookPro9,2) TB1 -> RX 460/560 (AKiTiO Node)
+ macOS 10.14.2+Win10
+ Linux Mint 19.1


ReplyQuote
(@gcoban)
Active Member
Joined: 6 months ago
Posts: 5
October 22, 2018 12:32 am  

Since I didn't want to make my computer to be bootable by someone else without my permission, I wished to use like that. Then I realized that I can protect EFI boot by password. Now, when I press option key right after the Apple logo, it asks password. This way, no longer need to create EFI boot disk 🙂

Thanks, @goalque, it works perfectly. If you can add hot-unplug support, it will be very very nice.

I am looking for your Paypal account too, to buy you a beer 🙂

Pending: Add my system information and expected eGPU configuration to my signature to give context to my posts


ReplyQuote