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

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

Does anyone happen to have Catalina beta logs? Would be interesting to see if the first part of the "Device path str" remains the same. The suffix now goes wrong due to likely bug in APFSContainer_Support() method.

https://sourceforge.net/p/cloverefiboot/code/HEAD/tree/rEFIt_UEFI/refit/main.c

It seems to pick up the Volume Group UUID always. However, manually added "Preboot" UUID suffix (the value from diskutil command) didn't work either when I tested.

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
mac_editor
(@mac_editor)
Famed Member Moderator
Joined: 3 years ago
 
Posted by: @goalque

However, manually added "Preboot" UUID suffix (the value from diskutil command) didn't work either when I tested.

Interesting. Assuming Preboot volume is accessible as always, I would have expected the UUID of the primary volume (for clarification, not the UUID of Preboot volume itself) to have worked. Guess something more has changed. Edit: looks like it worked, see below. 

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
goalque
(@goalque)
Noble Member Admin
Joined: 4 years ago
 

"Preboot" volume + "Macintosh HD" UUID combo worked! Logged into macOS 10.15 successfully FileVault enabled Smile I will test more tomorrow. So we just need to wait for APFSContainer_Support() fix in Clover.

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
goalque
(@goalque)
Noble Member Admin
Joined: 4 years ago
 

Here's the quick fix.

https://egpu.io/wp-content/uploads/2019/10/automate-eGPU.efi_.zip

Replace the old automate-eGPU.efi and add a new key-value pair into config.plist (under Boot dict):

<key>MacOSVolumeUUID</key>
<string>00000000-0000-0000-0000-000000000000</string>
where the string value is your "Macintosh HD" UUID:
diskutil info "Macintosh HD" | grep "Volume UUID"

Worked fine with HD 7970 but GTX 780 did not provide eGPU screen output.

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
itsage
(@itsage)
Illustrious Member Admin
Joined: 4 years ago
 
Posted by: @goalque

Here's the quick fix.

https://egpu.io/wp-content/uploads/2019/10/automate-eGPU.efi_.zip

Replace the old automate-eGPU.efi and add a new key-value pair into config.plist:

<key>MacOSVolumeUUID</key>
<string>00000000-0000-0000-0000-000000000000</string>
where the string value is your "Macintosh HD" UUID:
diskutil info "Macintosh HD" | grep "Volume UUID"

 

@goalque Thank you very much for taking the time to provide this fix! I will test later today. Can you comment on apple_set_os.efi? Do you know if it helps with the current situation on Apple-T2-Chip Macs with Catalina firmware booting into Windows?

external graphics card builds
best laptops for external GPU
eGPU enclosure buyer's guide

 
2020 13" MacBook Pro [10th,4C,G] + RTX 2080 Ti @ 32Gbps-TB3 (AORUS Gaming Box) + Win10 2004 [build link]  


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

@itsage I removed apple_set_os.efi from the folder structure because saw some posts that it wouldn't work. I've not investigated it yet. It is not necessary on macOS.

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
itsage
(@itsage)
Illustrious Member Admin
Joined: 4 years ago
 

@goalque Thank you and no worries on apple_set_os.efi in Boot Camp mode. I tried it on 2017 13" MacBook Pro + VisionTek mini eGFX + RX 480 just now to see if it would boot into macOS. It stuck at "Ready" following RETURN key press. This machine is running 10.15.1 Beta (19B77a). I added the new key at the top of config.plist. 

Spoiler
debug.log

0:100 0:100 MemLog inited, TSC freq: 3504410720
0:100 0:000 CPU was calibrated with RTC
0:100 0:000 start
0:100 0:000
0:100 0:000 Now is 21.10.2019, 17:27:40 (GMT)
0:100 0:000 Starting Clover revision: 4513 on Apple EFI
0:100 0:000 Build with: [Args: -x64 -D NO_GRUB_DRIVERS_EMBEDDED -t XCODE8 | -D NO_GRUB_DRIVERS_EMBEDDED --conf=/Users/goalque/src/edk2/Conf -D USE_LOW_EBDA -a X64 -b RELEASE -t XCODE8 -n 9 | OS: 10.13.6 | XCODE: 10.0] 0:100 0:000 SelfDevicePath=PciRoot(0x0)\Pci(0x1C,0x0)\Pci(0x0,0x0)\SasEx(0x010000009C83B09C,0x390205007074616C,0x0,NoTopology,0,0,0)\HD(3,GPT,A0B1C6BD-2644-4005-B544-AFCDDFF0DDF2,0xA30CB00,0x1600) @77851318
0:100 0:000 SelfDirPath = \EFI\BOOT
0:153 0:052 Running on: '' with board ''
0:153 0:000 === [ GetCPUProperties ] ==================================
0:153 0:000 CPU Vendor = 756E6547 Model=806E9
0:153 0:000 The CPU supported SSE4.1
0:153 0:000 BrandString = Intel(R) Core(TM) i7-7567U CPU @ 3.50GHz
0:153 0:000 The CPU supported turbo
0:153 0:000 MSR 0x35 20004
0:153 0:000 TSC/CCC Information Leaf:
0:153 0:000 numerator : 292
0:153 0:000 denominator : 2
0:153 0:000 Calibrated ARTFrequency: 0
0:153 0:000 MSR 0xE2 before patch 40000008
0:153 0:000 MSR 0xCE 0204043B_F1012300
0:153 0:000 corrected FLEX_RATIO = 100000
0:153 0:000 MSR 0x1B0 00000000
0:153 0:000 FSBFrequency = 0 MHz, DMI FSBFrequency = 0 MHz, Corrected FSBFrequency = 0 MHz
0:153 0:000 MaxDiv/MinDiv: 35.0/4
0:153 0:000 Turbo: 39/39/39/40
0:153 0:000 Features: 0xBFEBFBFF
0:153 0:000 Threads: 4
0:153 0:000 Cores: 2
0:153 0:000 FSB: 0 MHz
0:153 0:000 CPU: 0 MHz
0:153 0:000 TSC: 0 MHz
0:153 0:000 PIS: 0 MHz
0:153 0:000 ExternalClock: 0 MHz
0:153 0:000 === [ GetDevices ] ========================================
0:153 0:000 PCI (00|00:00.00) : 8086 5904 class=060000
0:153 0:000 PCI (00|00:02.00) : 8086 5927 class=030000
0:153 0:000 - GFX: Model=Intel Iris Plus Graphics 650 (Intel)
0:153 0:000 PCI (00|00:14.00) : 8086 9D2F class=0C0330
0:153 0:000 PCI (00|00:15.02) : 8086 9D62 class=118000
0:153 0:000 PCI (00|00:16.00) : 8086 9D3A class=078000
0:153 0:000 PCI (00|00:19.00) : 8086 9D66 class=118000
0:153 0:000 PCI (00|00:1C.00) : 8086 9D10 class=060400
0:153 0:000 PCI (00|01:00.00) : 106B 2003 class=018002
0:153 0:000 PCI (00|00:1D.03) : 8086 9D1B class=060400
0:153 0:000 PCI (00|02:00.00) : 14E4 43BA class=028000
0:153 0:000 - WIFI: Vendor=Broadcom
0:153 0:000 PCI (00|00:1E.00) : 8086 9D27 class=118000
0:153 0:000 PCI (00|00:1E.01) : 8086 9D28 class=118000
0:153 0:000 PCI (00|00:1E.03) : 8086 9D2A class=118000
0:153 0:000 PCI (00|00:1F.00) : 8086 9D4E class=060100
0:153 0:000 PCI (00|00:1F.02) : 8086 9D21 class=058000
0:153 0:000 PCI (00|00:1F.03) : 8086 9D71 class=040300
0:153 0:000 PCI (00|00:1F.04) : 8086 9D23 class=0C0500
0:153 0:000 PCI (00|00:1C.04) : 8086 9D14 class=060400
0:153 0:000 PCI (00|03:00.00) : 8086 1578 class=060400
0:153 0:000 PCI (00|04:00.00) : 8086 15D3 class=060400
0:153 0:000 PCI (00|05:00.00) : 8086 15D2 class=088000
0:153 0:000 PCI (00|04:01.00) : 8086 15D3 class=060400
0:153 0:000 PCI (00|04:02.00) : 8086 15D3 class=060400
0:153 0:000 PCI (00|06:00.00) : 8086 15D4 class=0C0330
0:153 0:000 PCI (00|04:04.00) : 8086 15D3 class=060400
0:153 0:000 PCI (00|00:1D.00) : 8086 9D18 class=060400
0:153 0:000 PCI (00|79:00.00) : 8086 1578 class=060400
0:153 0:000 PCI (00|7A:00.00) : 8086 15D3 class=060400
0:153 0:000 PCI (00|7B:00.00) : 8086 15D2 class=088000
0:153 0:000 PCI (00|7A:01.00) : 8086 15D3 class=060400
0:154 0:000 PCI (00|7A:02.00) : 8086 15D3 class=060400
0:154 0:000 PCI (00|7C:00.00) : 8086 15D4 class=0C0330
0:154 0:000 PCI (00|7A:04.00) : 8086 15D3 class=060400
0:154 0:000 PCI (00|07:00.00) : 8086 15D3 class=060400
0:154 0:000 PCI (00|08:01.00) : 8086 15D3 class=060400
0:154 0:000 PCI (00|09:00.00) : 1002 67DF class=030000
0:154 0:000 - GFX: Model=AMD Radeon RX 480 (ATI/AMD)
0:154 0:000 PCI (00|09:00.01) : 1002 AAF0 class=040300
0:154 0:000 - HDMI Audio:
0:154 0:000 PCI (00|08:04.00) : 8086 15D3 class=060400
0:154 0:000 PCI (00|0A:00.00) : 8086 15C0 class=060400
0:154 0:000 PCI (00|0B:00.00) : 8086 15C0 class=060400
0:154 0:000 PCI (00|0C:00.00) : 8086 1533 class=020000
0:154 0:000 - LAN: 0 Vendor=Intel
0:154 0:000 PCI (00|0B:01.00) : 8086 15C0 class=060400
0:154 0:000 PCI (00|0D:00.00) : 1B21 1242 class=0C0330
0:154 0:000 PCI (00|0B:02.00) : 8086 15C0 class=060400
0:154 0:000 PCI (00|0E:00.00) : 8086 15C1 class=0C0330
0:154 0:000 === [ GetDefaultSettings ] ================================
0:154 0:000 Clover load options size = 0 bytes
0:155 0:000 EFI\CLOVER\config.plist loaded: Success
0:155 0:000 === [ GetListOfThemes ] ===================================
0:155 0:000 === [ Found config plists ] ===============================
0:155 0:000 - config.plist
0:155 0:000 === [ GetEarlyUserSettings ] ==============================
0:155 0:000 timeout set to 0
0:155 0:000 Custom boot CUSTOM_BOOT_DISABLED (0x0)
0:170 0:015 KextsToPatch: 3 requested
0:178 0:007 - [00]: IOGraphicsFamily (IOGraphicsFamily Patch (c) egpu.io [goalque])Data: 732CC898, Len: 14 = Data: 732CC818, Len: 14 = :: BinPatch :: data len: 14
0:221 0:043 - [01]: AppleGPUWrangler (AppleGPUWrangler Discrete Patch (c) egpu.io [goalque])Data: 732CC818, Len: 14 = Data: 732CC898, Len: 14 = :: BinPatch :: data len: 14
0:266 0:045 === [ LoadDrivers ] =======================================
0:584 0:317 Loading apple_set_os.efi status=Success
0:613 0:029 === [ InitScreen ] ========================================
0:935 0:322 reinit: self device path=PciRoot(0x0)\Pci(0x1C,0x0)\Pci(0x0,0x0)\SasEx(0x010000009C83B09C,0x390205007074616C,0x0,NoTopology,0,0,0)\HD(3,GPT,A0B1C6BD-2644-4005-B544-AFCDDFF0DDF2,0xA30CB00,0x1600)
0:944 0:008 === [ GetDefaultSettings ] ================================
1:204 0:260 === [ GetAcpiTablesList ] =================================
1:477 0:272 Get Acpi Tables List from RSDT:
1:491 0:014 - [00]: FACP Apple00 len=244
1:498 0:007 - [01]: UEFI EDK2 len=66
1:506 0:007 - [02]: ECDT Apple00 len=83
1:514 0:007 - [03]: HPET Apple00 len=56
1:521 0:007 - [04]: APIC Apple00 len=188
1:528 0:007 - [05]: MCFG Apple00 len=60
1:535 0:007 - [06]: SBST Apple00 len=48
1:542 0:007 - [07]: SSDT SmcDppt len=36
1:550 0:007 - [08]: SSDT SsdtS3 len=49
1:558 0:007 - [09]: SSDT SataAhci len=273
1:566 0:007 - [10]: SSDT Sdxc len=184
1:574 0:007 - [11]: SSDT TbtOnPCH len=35596
1:582 0:007 - [12]: SSDT Xhci len=3316
1:589 0:007 - [13]: SSDT Cpu0Ist len=1884
1:597 0:007 - [14]: SSDT ApIst len=1450
1:605 0:007 - [15]: SSDT Cpu0Cst len=661
1:613 0:007 - [16]: SSDT ApCst len=281
1:621 0:007 - [17]: SSDT CpuSsdt len=3862
1:629 0:008 - [18]: DMAR KBL len=280
1:637 0:008 === [ GetUserSettings ] ===================================
1:923 0:285 GetUserSettings done
1:931 0:008 === [ ScanVolumes ] =======================================
2:247 0:315 Found 10 volumes with blockIO
2:255 0:008 - [00]: Volume: PciRoot(0x0)\Pci(0x1C,0x0)\Pci(0x0,0x0)\SasEx(0x010000009C83B09C,0x390205007074616C,0x0,NoTopology,0,0,0)
2:271 0:016 - [01]: Volume: PciRoot(0x0)\Pci(0x1C,0x0)\Pci(0x0,0x0)\SasEx(0x010000009C83B09C,0x390205007074616C,0x0,NoTopology,0,0,0)\HD(1,GPT,F32AF86C-129D-4667-84A9-C005BF66743C,0x6,0x12C00)
2:287 0:016 - [02]: Volume: PciRoot(0x0)\Pci(0x1C,0x0)\Pci(0x0,0x0)\SasEx(0x010000009C83B09C,0x390205007074616C,0x0,NoTopology,0,0,0)\HD(2,GPT,97A2E96B-7640-4C90-92FF-EA480A129E10,0x12C06,0xA2F9E16)
2:305 0:017 - [03]: Volume: PciRoot(0x0)\Pci(0x1C,0x0)\Pci(0x0,0x0)\SasEx(0x010000009C83B09C,0x390205007074616C,0x0,NoTopology,0,0,0)\HD(3,GPT,A0B1C6BD-2644-4005-B544-AFCDDFF0DDF2,0xA30CB00,0x1600)
2:321 0:016 This is SelfVolume !!
2:329 0:007 - [04]: Volume: PciRoot(0x0)\Pci(0x1C,0x0)\Pci(0x0,0x0)\SasEx(0x010000009C83B09C,0x390205007074616C,0x0,NoTopology,0,0,0)\HD(4,GPT,CE135BB4-6E6D-465A-A20C-F5B8392FB01A,0xA30E100,0x45E7B00)
2:345 0:016 - [05]: Volume: PciRoot(0x0)\Pci(0x1C,0x0)\Pci(0x0,0x0)\SasEx(0x010000009C83B09C,0x390205007074616C,0x0,NoTopology,0,0,0)\HD(2,GPT,97A2E96B-7640-4C90-92FF-EA480A129E10,0x12C06,0xA2F9E16)\VenMedia(BE74FCF7-0B7C-49F3-9147-01F4042E6842,A842DF6022A335488F750DF9DBFF3ABF)
2:361 0:015 - [06]: Volume: PciRoot(0x0)\Pci(0x1C,0x0)\Pci(0x0,0x0)\SasEx(0x010000009C83B09C,0x390205007074616C,0x0,NoTopology,0,0,0)\HD(2,GPT,97A2E96B-7640-4C90-92FF-EA480A129E10,0x12C06,0xA2F9E16)\VenMedia(BE74FCF7-0B7C-49F3-9147-01F4042E6842,D465B08934CCD34294CE8D561EE71C28)
2:377 0:016 - [07]: Volume: PciRoot(0x0)\Pci(0x1C,0x0)\Pci(0x0,0x0)\SasEx(0x010000009C83B09C,0x390205007074616C,0x0,NoTopology,0,0,0)\HD(2,GPT,97A2E96B-7640-4C90-92FF-EA480A129E10,0x12C06,0xA2F9E16)\VenMedia(BE74FCF7-0B7C-49F3-9147-01F4042E6842,2EFFC09CBF14CB41A13F92BEAFED6EC2)
2:392 0:015 - [08]: Volume: PciRoot(0x0)\Pci(0x1C,0x0)\Pci(0x0,0x0)\SasEx(0x010000009C83B09C,0x390205007074616C,0x0,NoTopology,0,0,0)\HD(2,GPT,97A2E96B-7640-4C90-92FF-EA480A129E10,0x12C06,0xA2F9E16)\VenMedia(BE74FCF7-0B7C-49F3-9147-01F4042E6842,117A169719BF3D46BB86EEFEABE464FA)
2:407 0:014 - [09]: Volume: PciRoot(0x0)\Pci(0x1C,0x0)\Pci(0x0,0x0)\SasEx(0x010000009C83B09C,0x390205007074616C,0x0,NoTopology,0,0,0)\HD(2,GPT,97A2E96B-7640-4C90-92FF-EA480A129E10,0x12C06,0xA2F9E16)\VenMedia(BE74FCF7-0B7C-49F3-9147-01F4042E6842,ABBDBE741778A34C97E5782686E46BBF)
2:421 0:014 about to start LoadSelections
2:428 0:007 LoadSelections 1
2:436 0:007 fs index 0
2:443 0:007 fs index 1
2:450 0:007 fs index 2
2:458 0:007 fs index 3
2:465 0:007 fs index 4
2:472 0:007 fs index 5
2:479 0:007 fs index 6
2:486 0:007 USB file system found
2:494 0:007 LoadSelections 2
2:501 0:007 LoadSelections 3
2:508 0:007 LoadSelections 4
2:516 0:007 LoadSelections 5
2:523 0:007 LoadSelections 7
2:530 0:007 LoadSelections 8
2:538 0:008 LoadSelections 10
2:546 0:008 LoadSelections 11
2:554 0:008 LoadSelections 12
2:562 0:008 LoadSelections 13
2:570 0:008 LoadSelections 15
2:578 0:007 LoadSelections 18
2:586 0:008 LoadSelections 19
2:595 0:008 LoadSelections 20
2:603 0:007 Volume name: Whole Disc Boot
2:610 0:007 Volume name: EFI
2:618 0:007 Volume name: Legacy HD2
2:627 0:008 Volume name: EGPU
2:635 0:008 Volume name: Legacy HD4
2:643 0:008 Volume name: Preboot
2:651 0:007 VolName 1: Preboot
2:659 0:007 VolName: Preboot
2:667 0:007 RootDir:
2:675 0:008 DeviceHandle: 772CDE18
2:683 0:007 AddLoaderEntry for Volume Name=Preboot
2:691 0:008 AddLoaderEntry here1
2:699 0:007 CopyKernelAndKextPatches here 1
2:707 0:007 CopyKernelAndKextPatches here 2
2:714 0:007 CopyKernelAndKextPatches here 3
2:721 0:007 CopyKernelAndKextPatches here 4
2:729 0:007 CopyKernelAndKextPatches here 5
2:736 0:007 CopyKernelAndKextPatches here 6
2:743 0:007 CopyKernelAndKextPatches here 7
2:751 0:007 CopyKernelAndKextPatches here 8
2:758 0:007 CopyKernelAndKextPatches here 9
2:765 0:007 CopyKernelAndKextPatches here 10
2:773 0:007 CopyKernelAndKextPatches here 11
2:780 0:007 CopyKernelAndKextPatches here 12
2:787 0:007 CopyKernelAndKextPatches here 13
2:794 0:006 CopyKernelAndKextPatches here 14
2:802 0:007 CopyKernelAndKextPatches here 15
2:809 0:007 CopyKernelAndKextPatches here 16
2:816 0:007 CopyKernelAndKextPatches here 17
2:823 0:007 AddLoaderEntry here2
2:830 0:007 AddLoaderEntry here3
2:838 0:007 AddLoaderEntry here4
2:845 0:007 AddLoaderEntry here5
2:852 0:007 AddLoader() done
2:860 0:008 REFIT_MENU_ENTRY done
2:868 0:008 Filtering KextPatches:
2:876 0:007 - [00]: IOGraphicsFamily (IOGraphicsFamily Patch (c) egpu.io [goalque]) :: BinPatch :: [OS: <null string> | MatchOS: All | MatchBuild: All] ==> allowed
2:893 0:017 - [01]: AppleGPUWrangler (AppleGPUWrangler Discrete Patch (c) egpu.io [goalque]) :: BinPatch :: [OS: <null string> | MatchOS: All | MatchBuild: All] ==> allowed
2:910 0:016 - [02]: <null string> :: BinPatch :: [OS: <null string> | MatchOS: All | MatchBuild: All] ==> allowed
2:926 0:016 FilterKextPatches() done
2:934 0:007 FilterKernelPatches() done
2:942 0:008 FilterBootPatches() done
2:950 0:007 === [ PatchACPI ] =========================================
3:283 0:333 PreCleanup RSDT: count=19, length=112
3:291 0:008 PreCleanup RSDT, corrected RSDT: count=19, length=112
3:299 0:008 PreCleanup XSDT: count=19, length=188
3:309 0:009 PreCleanup XSDT, corrected XSDT: count=19, length=188
3:317 0:008 === [ ACPIDropTables ] ====================================
3:610 0:293 Cleanup RSDT: count=19, length=112
3:618 0:007 corrected RSDT: count=19, length=112
3:626 0:007 Cleanup XSDT: count=19, length=188
3:634 0:007 corrected XSDT count=19, length=188
3:642 0:008 PatchACPI() done
3:657 0:014 SetVariablesForOSX() done
3:665 0:008 EventsInitialize() done
3:673 0:007 call LoadKexts()
3:681 0:008 LoadKexts() done
3:689 0:008 call LoadMacOS()
3:697 0:007 call FileDevicePath()
3:704 0:006 FileDevicePath() done
3:711 0:007 Device path str: PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/SasEx(0x010000009C83B09C,0x390205007074616C,0x0,NoTopology,0,0,0)/HD(2,GPT,97A2E96B-7640-4C90-92FF-EA480A129E10,0x12C06,0xA2F9E16)/VenMedia(BE74FCF7-0B7C-49F3-9147-01F4042E6842,A842DF6022A335488F750DF9DBFF3ABF)/\00000000-0000-0000-0000-000000000000\System\Library\CoreServices\boot.efi
3:718 0:007 LoadImage() done with status: Not Found
3:725 0:007 UninitRefitLib() done

external graphics card builds
best laptops for external GPU
eGPU enclosure buyer's guide

 
2020 13" MacBook Pro [10th,4C,G] + RTX 2080 Ti @ 32Gbps-TB3 (AORUS Gaming Box) + Win10 2004 [build link]  


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

@itsage Is it under "Boot" dict? For example:

...
<key>DefaultLoader</key>
<string>boot.efi</string>
<key>MacOSVolumeUUID</key>
<string>your unique Macintosh HD UUID here</string>
<key>DefaultVolume</key>
<string>Preboot</string>
...
 
Quickly debugged apple_set_os.efi as well in EFI Shell. It returns "Could not set version". The current version is value 3 on a 2018 13" MBP. It might be worth to set only the vendor, and skip set_os_version.

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
mac_editor
(@mac_editor)
Famed Member Moderator
Joined: 3 years ago
 

@goalque

Can confirm it boots fine on macOS 10.15.1 19B77a. Here's debug log of successful boot. UUID is correctly substituted with provided UUID in config.plist.

Spoiler
automate-eGPU EFI Bootlog

0:100 0:100 MemLog inited, TSC freq: 2643007980
0:100 0:000 CPU was calibrated with RTC
0:100 0:000 start
0:101 0:001
0:101 0:000 Now is 21.10.2019, 19:3:33 (GMT+0)
0:101 0:000 Starting Clover revision: 4513 on Apple EFI
0:101 0:000 Build with: [Args: -x64 -D NO_GRUB_DRIVERS_EMBEDDED -t XCODE8 | -D NO_GRUB_DRIVERS_EMBEDDED --conf=/Users/goalque/src/edk2/Conf -D USE_LOW_EBDA -a X64 -b RELEASE -t XCODE8 -n 9 | OS: 10.13.6 | XCODE: 10.0] 0:101 0:000 SelfDevicePath=PciRoot(0x0)\Pci(0x14,0x0)\USB(0x2,0x0)\USB(0x1,0x0)\USB(0x3,0x0)\HD(2,GPT,FEBC4AA0-844E-4A76-A8FE-E0A29748A0ED,0x64800,0x1CE3000) @7390D818
0:101 0:000 SelfDirPath = \EFI\BOOT
0:313 0:212 Running on: '' with board ''
0:313 0:000 === [ GetCPUProperties ] ==================================
0:313 0:000 CPU Vendor = 756E6547 Model=906EA
0:313 0:000 The CPU supported SSE4.1
0:313 0:000 BrandString = Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz
0:313 0:000 The CPU supported turbo
0:313 0:000 MSR 0x35 6000C
0:313 0:000 TSC/CCC Information Leaf:
0:313 0:000 numerator : 216
0:313 0:000 denominator : 2
0:313 0:000 Calibrated ARTFrequency: 0
0:313 0:000 MSR 0xE2 before patch 00000008
0:313 0:000 MSR 0xCE 0808083B_F1011A00
0:313 0:000 corrected FLEX_RATIO = 180000
0:313 0:000 MSR 0x1B0 00000000
0:313 0:000 FSBFrequency = 0 MHz, DMI FSBFrequency = 0 MHz, Corrected FSBFrequency = 0 MHz
0:313 0:000 MaxDiv/MinDiv: 26.0/8
0:313 0:000 Turbo: 41/42/42/43
0:313 0:000 Features: 0xBFEBFBFF
0:313 0:000 Threads: 12
0:313 0:000 Cores: 6
0:313 0:000 FSB: 0 MHz
0:313 0:000 CPU: 0 MHz
0:313 0:000 TSC: 0 MHz
0:313 0:000 PIS: 0 MHz
0:313 0:000 ExternalClock: 0 MHz
0:313 0:000 === [ GetDevices ] ========================================
0:313 0:000 PCI (00|00:00.00) : 8086 3EC4 class=060000
0:313 0:000 PCI (00|00:01.00) : 8086 1901 class=060400
0:313 0:000 PCI (00|01:00.00) : 1002 67EF class=030000
0:313 0:000 - GFX: Model=AMD Radeon Pro 555 (ATI/AMD)
0:313 0:000 PCI (00|01:00.01) : 1002 AAE0 class=040300
0:313 0:000 - HDMI Audio:
0:313 0:000 PCI (00|00:02.00) : 8086 3E9B class=030000
0:313 0:000 - GFX: Model=Intel UHD Graphics 630 (Intel)
0:313 0:000 PCI (00|00:12.00) : 8086 A379 class=118000
0:313 0:000 PCI (00|00:14.00) : 8086 A36D class=0C0330
0:313 0:000 PCI (00|00:14.02) : 8086 A36F class=050000
0:313 0:000 PCI (00|00:16.00) : 8086 A360 class=078000
0:313 0:000 PCI (00|00:1B.00) : 8086 A340 class=060400
0:313 0:000 PCI (00|02:00.00) : 106B 2005 class=018002
0:313 0:000 PCI (00|02:00.01) : 106B 1801 class=000000
0:313 0:000 PCI (00|02:00.02) : 106B 1802 class=000000
0:313 0:000 PCI (00|02:00.03) : 106B 1803 class=040100
0:313 0:000 PCI (00|00:1C.00) : 8086 A338 class=060400
0:316 0:002 PCI (00|03:00.00) : 14E4 4464 class=028000
0:316 0:000 - WIFI: Vendor=Broadcom
0:316 0:000 PCI (00|00:1E.00) : 8086 A328 class=078000
0:316 0:000 PCI (00|00:1F.00) : 8086 A313 class=060100
0:316 0:000 PCI (00|00:1F.04) : 8086 A323 class=0C0500
0:316 0:000 PCI (00|00:1F.05) : 8086 A324 class=0C8000
0:316 0:000 PCI (00|00:01.01) : 8086 1905 class=060400
0:316 0:000 PCI (00|04:00.00) : 8086 1578 class=060400
0:316 0:000 PCI (00|05:00.00) : 8086 15EA class=060400
0:316 0:000 PCI (00|06:00.00) : 8086 15EB class=088000
0:317 0:000 PCI (00|05:01.00) : 8086 15EA class=060400
0:317 0:000 PCI (00|05:02.00) : 8086 15EA class=060400
0:317 0:000 PCI (00|07:00.00) : 8086 15EC class=0C0330
0:317 0:000 PCI (00|05:04.00) : 8086 15EA class=060400
0:317 0:000 PCI (00|00:01.02) : 8086 1909 class=060400
0:317 0:000 PCI (00|7A:00.00) : 8086 1578 class=060400
0:317 0:000 PCI (00|7B:00.00) : 8086 15EA class=060400
0:317 0:000 PCI (00|7C:00.00) : 8086 15EB class=088000
0:317 0:000 PCI (00|7B:01.00) : 8086 15EA class=060400
0:317 0:000 PCI (00|7B:02.00) : 8086 15EA class=060400
0:317 0:000 PCI (00|7D:00.00) : 8086 15EC class=0C0330
0:317 0:000 PCI (00|7B:04.00) : 8086 15EA class=060400
0:317 0:000 === [ GetDefaultSettings ] ================================
0:317 0:000 Clover load options size = 0 bytes
0:334 0:016 EFI\CLOVER\config.plist loaded: Success
0:334 0:000 === [ GetListOfThemes ] ===================================
0:334 0:000 === [ Found config plists ] ===============================
0:334 0:000 - config.plist
0:342 0:008 === [ GetEarlyUserSettings ] ==============================
0:342 0:000 timeout set to 0
0:342 0:000 Custom boot CUSTOM_BOOT_DISABLED (0x0)
0:541 0:198 KextsToPatch: 3 requested
0:628 0:087 - [00]: IOGraphicsFamily (IOGraphicsFamily Patch (c) egpu.io [goalque])Data: 7A501F18, Len: 14 = Data: 6C637298, Len: 14 = :: BinPatch :: data len: 14
1:364 0:736 - [01]: AppleGPUWrangler (AppleGPUWrangler Discrete Patch (c) egpu.io [goalque])Data: 6C637298, Len: 14 = Data: 7A501F18, Len: 14 = :: BinPatch :: data len: 14
1:905 0:541 === [ LoadDrivers ] =======================================
5:855 3:949 === [ InitScreen ] ========================================
10:061 4:206 reinit: self device path=PciRoot(0x0)\Pci(0x14,0x0)\USB(0x2,0x0)\USB(0x1,0x0)\USB(0x3,0x0)\HD(2,GPT,FEBC4AA0-844E-4A76-A8FE-E0A29748A0ED,0x64800,0x1CE3000)
10:161 0:099 === [ GetDefaultSettings ] ================================
13:456 3:295 === [ GetAcpiTablesList ] =================================
16:843 3:387 Get Acpi Tables List from RSDT:
17:020 0:176 - [00]: FACP Apple00 len=244
17:108 0:088 - [01]: SSDT Cpu0Ist len=1409
17:207 0:098 - [02]: SSDT ApIst len=1532
17:296 0:089 - [03]: SSDT Cpu0Cst len=880
17:384 0:088 - [04]: SSDT ApCst len=586
17:472 0:088 - [05]: SSDT CpuSsdt len=7117
17:561 0:088 - [06]: SSDT SaSsdt len=12742
17:649 0:088 - [07]: UEFI EDK2 len=66
17:748 0:098 - [08]: ECDT Apple00 len=83
17:838 0:089 - [09]: HPET Apple00 len=56
17:926 0:088 - [10]: APIC Apple00 len=300
18:014 0:088 - [11]: SBST Apple00 len=48
18:103 0:088 - [12]: SSDT SmcDppt len=36
18:191 0:088 - [13]: SSDT PEG0GFX0 len=2333
18:289 0:098 - [14]: SSDT SsdtS3 len=49
18:379 0:089 - [15]: SSDT SataAhci len=81
18:467 0:088 - [16]: SSDT Sdxc len=184
18:556 0:088 - [17]: SSDT TbtPEG12 len=52328
18:644 0:088 - [18]: SSDT Xhci len=2633
18:732 0:088 - [19]: DMAR EDK2 len=136
18:833 0:100 - [20]: MCFG Apple00 len=60
18:921 0:088 - [21]: VFCT Apple00 len=62084
19:008 0:087 === [ GetUserSettings ] ===================================
22:378 3:369 GetUserSettings done
22:472 0:094 === [ ScanVolumes ] =======================================
26:198 3:725 Found 14 volumes with blockIO
26:286 0:088 - [00]: Volume: PciRoot(0x0)\Pci(0x1B,0x0)\Pci(0x0,0x0)\SasEx(0x0100000000000000,0x000000007074616C,0x0,NoTopology,0,0,0)
26:462 0:176 - [01]: Volume: PciRoot(0x0)\Pci(0x1B,0x0)\Pci(0x0,0x0)\SasEx(0x0100000000000000,0x000000007074616C,0x0,NoTopology,0,0,0)\HD(1,GPT,0F1BB17D-7F64-438F-A433-6960112E195E,0x6,0x12C00)
26:649 0:186 - [02]: Volume: PciRoot(0x0)\Pci(0x1B,0x0)\Pci(0x0,0x0)\SasEx(0x0100000000000000,0x000000007074616C,0x0,NoTopology,0,0,0)\HD(2,GPT,1528ADA3-65D4-4F70-B475-7B9FDEAD77DF,0x12C06,0x66720FA)
26:825 0:176 - [03]: Volume: PciRoot(0x0)\Pci(0x1B,0x0)\Pci(0x0,0x0)\SasEx(0x0100000000000000,0x000000007074616C,0x0,NoTopology,0,0,0)\HD(3,GPT,88561F1F-7B1E-458B-BF41-0DB6A95E3BD4,0x6684D00,0xDD7841)
27:003 0:177 - [04]: Volume: PciRoot(0x0)\Pci(0x1B,0x0)\Pci(0x0,0x0)\SasEx(0x0100000000000000,0x000000007074616C,0x0,NoTopology,0,0,0)\HD(4,GPT,050F85CA-0484-4C6A-9DE3-28FEDD4A24C6,0x745C600,0x1E700)
27:190 0:187 - [05]: Volume: PciRoot(0x0)\Pci(0x1B,0x0)\Pci(0x0,0x0)\SasEx(0x0100000000000000,0x000000007074616C,0x0,NoTopology,0,0,0)\HD(2,GPT,1528ADA3-65D4-4F70-B475-7B9FDEAD77DF,0x12C06,0x66720FA)\VenMedia(BE74FCF7-0B7C-49F3-9147-01F4042E6842,1EEFA3EA32654D4EA3B5E012AB9AEFD6)
27:366 0:176 - [06]: Volume: PciRoot(0x0)\Pci(0x1B,0x0)\Pci(0x0,0x0)\SasEx(0x0100000000000000,0x000000007074616C,0x0,NoTopology,0,0,0)\HD(2,GPT,1528ADA3-65D4-4F70-B475-7B9FDEAD77DF,0x12C06,0x66720FA)\VenMedia(BE74FCF7-0B7C-49F3-9147-01F4042E6842,09505A4E4337F146AF49211BEFF4771B)
27:592 0:226 - [07]: Volume: PciRoot(0x0)\Pci(0x1B,0x0)\Pci(0x0,0x0)\SasEx(0x0100000000000000,0x000000007074616C,0x0,NoTopology,0,0,0)\HD(2,GPT,1528ADA3-65D4-4F70-B475-7B9FDEAD77DF,0x12C06,0x66720FA)\VenMedia(BE74FCF7-0B7C-49F3-9147-01F4042E6842,6AA5096E0D022F4AAB2B867F28D095ED)
27:799 0:206 - [08]: Volume: PciRoot(0x0)\Pci(0x1B,0x0)\Pci(0x0,0x0)\SasEx(0x0100000000000000,0x000000007074616C,0x0,NoTopology,0,0,0)\HD(2,GPT,1528ADA3-65D4-4F70-B475-7B9FDEAD77DF,0x12C06,0x66720FA)\VenMedia(BE74FCF7-0B7C-49F3-9147-01F4042E6842,15E4383C7F676B47AA0689E0554578A2)
27:976 0:177 - [09]: Volume: PciRoot(0x0)\Pci(0x1B,0x0)\Pci(0x0,0x0)\SasEx(0x0100000000000000,0x000000007074616C,0x0,NoTopology,0,0,0)\HD(2,GPT,1528ADA3-65D4-4F70-B475-7B9FDEAD77DF,0x12C06,0x66720FA)\VenMedia(BE74FCF7-0B7C-49F3-9147-01F4042E6842,6BBF35AADDE9364FA70C49CE2B830BE5)
28:169 0:193 - [10]: Volume: PciRoot(0x0)\Pci(0x14,0x0)\USB(0x2,0x0)\USB(0x1,0x0)\USB(0x2,0x0)
28:345 0:175 USB volume
28:434 0:089 USB volume
28:522 0:088 USB volume
28:611 0:088 - [11]: Volume: PciRoot(0x0)\Pci(0x14,0x0)\USB(0x2,0x0)\USB(0x1,0x0)\USB(0x3,0x0)
28:805 0:194 USB volume
28:894 0:089 USB volume
28:982 0:088 USB volume
29:070 0:088 - [12]: Volume: PciRoot(0x0)\Pci(0x14,0x0)\USB(0x2,0x0)\USB(0x1,0x0)\USB(0x3,0x0)\HD(1,GPT,A200AFD8-DC3A-4474-867A-25623533D732,0x28,0x64000)
29:264 0:193 Result of bootcode detection: bootable unknown (legacy)
29:352 0:088 USB volume
29:440 0:088 USB volume
29:528 0:088 USB volume
29:617 0:088 - [13]: Volume: PciRoot(0x0)\Pci(0x14,0x0)\USB(0x2,0x0)\USB(0x1,0x0)\USB(0x3,0x0)\HD(2,GPT,FEBC4AA0-844E-4A76-A8FE-E0A29748A0ED,0x64800,0x1CE3000)
29:809 0:192 Result of bootcode detection: bootable unknown (legacy)
29:902 0:092 USB volume
29:990 0:088 USB volume
30:078 0:088 USB volume
30:167 0:089 This is SelfVolume !!
30:270 0:103 about to start LoadSelections
30:359 0:089 LoadSelections 1
30:448 0:088 fs index 0
30:536 0:088 fs index 1
30:625 0:088 fs index 2
30:723 0:098 fs index 3
30:811 0:088 fs index 4
30:900 0:089 fs index 5
30:989 0:088 fs index 6
31:077 0:088 fs index 7
31:164 0:087 USB file system found
31:264 0:099 LoadSelections 2
31:352 0:087 LoadSelections 3
31:466 0:114 LoadSelections 4
31:555 0:088 LoadSelections 5
31:644 0:088 LoadSelections 7
31:742 0:098 LoadSelections 8
31:831 0:088 LoadSelections 10
31:920 0:089 LoadSelections 11
32:008 0:088 LoadSelections 12
32:096 0:088 LoadSelections 13
32:185 0:088 LoadSelections 15
32:283 0:098 LoadSelections 18
32:372 0:088 LoadSelections 19
32:460 0:088 LoadSelections 20
32:548 0:088 Volume name: Whole Disc Boot
32:637 0:088 Volume name: EFI
32:725 0:088 Volume name: Legacy HD2
32:826 0:100 Volume name: Legacy HD3
32:915 0:089 Volume name: Legacy HD4
33:004 0:088 Volume name: Preboot
33:092 0:088 VolName 1: Preboot
33:180 0:088 VolName: Preboot
33:278 0:097 RootDir:
33:366 0:088 DeviceHandle: 706E5C98
33:455 0:089 AddLoaderEntry for Volume Name=Preboot
33:543 0:088 AddLoaderEntry here1
33:632 0:088 CopyKernelAndKextPatches here 1
33:720 0:088 CopyKernelAndKextPatches here 2
33:818 0:098 CopyKernelAndKextPatches here 3
33:914 0:095 CopyKernelAndKextPatches here 4
34:002 0:088 CopyKernelAndKextPatches here 5
34:090 0:088 CopyKernelAndKextPatches here 6
34:178 0:088 CopyKernelAndKextPatches here 7
34:267 0:088 CopyKernelAndKextPatches here 8
34:365 0:098 CopyKernelAndKextPatches here 9
34:454 0:089 CopyKernelAndKextPatches here 10
34:542 0:088 CopyKernelAndKextPatches here 11
34:630 0:088 CopyKernelAndKextPatches here 12
34:723 0:092 CopyKernelAndKextPatches here 13
34:811 0:088 CopyKernelAndKextPatches here 14
34:912 0:100 CopyKernelAndKextPatches here 15
35:000 0:088 CopyKernelAndKextPatches here 16
35:088 0:088 CopyKernelAndKextPatches here 17
35:203 0:114 AddLoaderEntry here2
35:291 0:088 AddLoaderEntry here3
35:389 0:097 AddLoaderEntry here4
35:478 0:088 AddLoaderEntry here5
35:566 0:088 AddLoader() done
35:654 0:088 REFIT_MENU_ENTRY done
35:742 0:088 Filtering KextPatches:
35:831 0:088 - [00]: IOGraphicsFamily (IOGraphicsFamily Patch (c) egpu.io [goalque]) :: BinPatch :: [OS: <null string> | MatchOS: All | MatchBuild: All] ==> allowed
36:021 0:190 - [01]: AppleGPUWrangler (AppleGPUWrangler Discrete Patch (c) egpu.io [goalque]) :: BinPatch :: [OS: <null string> | MatchOS: All | MatchBuild: All] ==> allowed
36:198 0:176 - [02]: <null string> :: BinPatch :: [OS: <null string> | MatchOS: All | MatchBuild: All] ==> allowed
36:385 0:187 FilterKextPatches() done
36:473 0:088 FilterKernelPatches() done
36:562 0:088 FilterBootPatches() done
36:651 0:089 === [ PatchACPI ] =========================================
40:563 3:912 PreCleanup RSDT: count=22, length=124
40:652 0:088 PreCleanup RSDT, corrected RSDT: count=22, length=124
40:740 0:088 PreCleanup XSDT: count=22, length=212
40:828 0:088 PreCleanup XSDT, corrected XSDT: count=22, length=212
40:917 0:089 === [ ACPIDropTables ] ====================================
44:378 3:460 Cleanup RSDT: count=22, length=124
44:467 0:089 corrected RSDT: count=22, length=124
44:555 0:088 Cleanup XSDT: count=22, length=212
44:653 0:098 corrected XSDT count=22, length=212
44:742 0:088 PatchACPI() done
44:830 0:088 SetVariablesForOSX() done
44:918 0:088 EventsInitialize() done
45:007 0:089 call LoadKexts()
45:095 0:088 LoadKexts() done
45:194 0:098 call LoadMacOS()
45:282 0:088 call FileDevicePath()
45:370 0:088 FileDevicePath() done
45:465 0:094 Device path str: PciRoot(0x0)/Pci(0x1B,0x0)/Pci(0x0,0x0)/SasEx(0x0100000000000000,0x000000007074616C,0x0,NoTopology,0,0,0)/HD(2,GPT,1528ADA3-65D4-4F70-B475-7B9FDEAD77DF,0x12C06,0x66720FA)/VenMedia(BE74FCF7-0B7C-49F3-9147-01F4042E6842,1EEFA3EA32654D4EA3B5E012AB9AEFD6)/\AA35BF6B-E9DD-4F36-A70C-49CE2B830BE5\System\Library\CoreServices\boot.efi
45:555 0:089 LoadImage() done with status: Success
45:643 0:088 UninitRefitLib() done

set_os issue was reported here too: https://github.com/0xbb/apple_set_os.efi/issues/20

Interesting suggestion to set only vendor. What's the set_os_version value when booting macOS? Has that changed?

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]  


goalque and itsage liked
ReplyQuote
itsage
(@itsage)
Illustrious Member Admin
Joined: 4 years ago
 

@goalque Like you suspected it was user error. I placed the new key and string above it. Moved it in the order you showed and it worked great!

 

external graphics card builds
best laptops for external GPU
eGPU enclosure buyer's guide

 
2020 13" MacBook Pro [10th,4C,G] + RTX 2080 Ti @ 32Gbps-TB3 (AORUS Gaming Box) + Win10 2004 [build link]  


goalque liked
ReplyQuote
 of  108