Kryptonite: eGFX Support for All Thunderbolt Macs with FileVault, SIP, and ART Enabled on macOS + Windows  

 of  40
  RSS

mac_editor
(@mac_editor)
Famed Member Moderator
Joined: 7 years ago
 

HeaderScript Version macOS Support Github All Releases

Announcements

Latesthttps://egpu.io/forums/postid/103090/

Nov. 6, 2022: Kryptonite is not yet updated for macOS Ventura, but you can make it work if your Mac CPU supports AVX2.0 instructions. After installing Kryptonite via the installer, a manual step needs to be performed. Replace the Lilu.kext which the latest version. Reference: https://github.com/mayankk2308/kryptonite/issues/34#issuecomment-1291912159

Sep. 23, 2021: All GitHub documentation has been moved to the wiki section. Before posting questions, read the FAQ on the wiki.


PurgeWrangler has worked generally well in ensuring native eGPU support on old Thunderbolt 1 and 2 Macs and for NVIDIA eGPU support on all Thunderbolt Macs. However, users have always sacrificed security features such as System Integrity Protection. With macOS Big Sur, FileVault and thus Authenticated-Root also needed to be disabled. This in turn meant that delta software updates would break. While the lifecycle for most old Thunderbolt Macs is coming to end, I thought it'd be fitting to have a modern patching mechanism for them for the following reasons:

  • Finally take advantage of years' of Apple's security innovations on patched systems.
  • Users running unsupported versions of macOS on their machines may have an easy time integrating eGPU-related patches.
  • It's fun and I finally got some time to mess about!

The solution involves using the already-popular OpenCore (OC) bootloader to inject a kext I am working on that actually implements the patches. The kext leverages Lilu, which OC users will be rather familiar with.

The bootloader configuration will allow users to boot any copy of macOS (10.13.4 or newer) they have installed using a lovely boot selector (part of OpenCore) and patch them on the fly, while keeping all security features enabled (except T2 chip, if used there). Additionally, for Bootcamp users, OpenCore can enable the iGPU on boot and allow for DSDT injections to enable "Large Memory" to assist with eGPU device allocation in Windows. All details are on the Kryptonite wiki.

To get started: https://github.com/mayankk2308/kryptonite

And for those who really want to: paypal

"Desultory reading is delightful, but to be beneficial, our reading must be carefully directed." — Seneca

Author: kryptonitepurge-wranglertbt-flashpurge-nvdaset-eGPU
Insights Into macOS Video Editing Performance
Launching Apps on Specific (e)GPUs on macOS
Definitive macOS Thunderbolt eGFX Compatibility Registry

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]  


ponqable, joysthokkins, Eightarmedpet and 4 people liked
ReplyQuote
Topic Tags
itsage
(@itsage)
Founder Admin
Joined: 7 years ago
 

@mac_editor, Amazing work! It worked first time for me on a clean macOS Big Sur 11.4 install on 2015 15-in MacBook Pro. The solution works through both cold-plug and hot-plug. The entire experience is very much the same as natively supported Macs. Thank you!

Here's a photo of the boot screen once I selected OpenCore from OPTION BOOT menu. 

LinkedIn | Youtube | Instagram
 
external graphics card builds
best laptops for external GPU
eGPU enclosure buyer's guide

 
2017 21" iMac 4K (RP555) [7th,4C] + RX 6800 @ 32Gbps-TB3 (Netstor HL23T-Plus) + macOS 13 & Win11 22H2 [build link]  


artik and mac_editor liked
ReplyQuote
mac_editor
(@mac_editor)
Famed Member Moderator
Joined: 7 years ago
 

@itsage, sweet! Thank you for testing. Is SIP & ART/FileVault enabled on your system as well?

 

"Desultory reading is delightful, but to be beneficial, our reading must be carefully directed." — Seneca

Author: kryptonitepurge-wranglertbt-flashpurge-nvdaset-eGPU
Insights Into macOS Video Editing Performance
Launching Apps on Specific (e)GPUs on macOS
Definitive macOS Thunderbolt eGFX Compatibility Registry

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

@mac_editor, SIP and ART were enabled. I did not turn on FileVault because I never liked it, but will turn it on to test next.

 

LinkedIn | Youtube | Instagram
 
external graphics card builds
best laptops for external GPU
eGPU enclosure buyer's guide

 
2017 21" iMac 4K (RP555) [7th,4C] + RX 6800 @ 32Gbps-TB3 (Netstor HL23T-Plus) + macOS 13 & Win11 22H2 [build link]  


ReplyQuote
mac_editor
(@mac_editor)
Famed Member Moderator
Joined: 7 years ago
 

@itsage, nice. Hopefully it should work just fine with FV enabled.

 

"Desultory reading is delightful, but to be beneficial, our reading must be carefully directed." — Seneca

Author: kryptonitepurge-wranglertbt-flashpurge-nvdaset-eGPU
Insights Into macOS Video Editing Performance
Launching Apps on Specific (e)GPUs on macOS
Definitive macOS Thunderbolt eGFX Compatibility Registry

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

@mac_editor, It works great with FileVault on. Thank you!

Also worked well on the 2013 Mac Pro. I do prefer Purge-Wrangler on the trashcan because it's a headless Mac and no interaction at boot is easier.

 

LinkedIn | Youtube | Instagram
 
external graphics card builds
best laptops for external GPU
eGPU enclosure buyer's guide

 
2017 21" iMac 4K (RP555) [7th,4C] + RX 6800 @ 32Gbps-TB3 (Netstor HL23T-Plus) + macOS 13 & Win11 22H2 [build link]  


artik liked
ReplyQuote
mac_editor
(@mac_editor)
Famed Member Moderator
Joined: 7 years ago
 

@itsage, thank you for testing. No worries about headless Macs, you can configure OpenCore to directly boot the OS you want and skip the boot picker entirely.

 

"Desultory reading is delightful, but to be beneficial, our reading must be carefully directed." — Seneca

Author: kryptonitepurge-wranglertbt-flashpurge-nvdaset-eGPU
Insights Into macOS Video Editing Performance
Launching Apps on Specific (e)GPUs on macOS
Definitive macOS Thunderbolt eGFX Compatibility Registry

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]  


itsage liked
ReplyQuote
PsyPryss
(@psypryss)
Trusted Member
Joined: 6 years ago
 

I could help with the testing. I have a macbookpro9,1.

Mid 2012 15" (Non-Retina) MBP GT650M (macbookpro9,1) + RX580 (AKiTio Node via TB3 -> TB2/TB1 Adaptor) via OCLP -> Kryptonite
macOS 11.4(20F71)/Win10(20H71)


ReplyQuote
itsage
(@itsage)
Founder Admin
Joined: 7 years ago
 

@mac_editor, That is excellent! You mentioned adding apple_set_os.efi for Boot Camp is a possibility so it could evolve into a Swiss army knife eGPU boot loader. 

 

LinkedIn | Youtube | Instagram
 
external graphics card builds
best laptops for external GPU
eGPU enclosure buyer's guide

 
2017 21" iMac 4K (RP555) [7th,4C] + RX 6800 @ 32Gbps-TB3 (Netstor HL23T-Plus) + macOS 13 & Win11 22H2 [build link]  


ReplyQuote
mac_editor
(@mac_editor)
Famed Member Moderator
Joined: 7 years ago
 

@itsage, that capability is already built-in to OpenCore, but if someone wishes to add custom apple_set_os.efi, it’s also quite an easy add-on.

 

"Desultory reading is delightful, but to be beneficial, our reading must be carefully directed." — Seneca

Author: kryptonitepurge-wranglertbt-flashpurge-nvdaset-eGPU
Insights Into macOS Video Editing Performance
Launching Apps on Specific (e)GPUs on macOS
Definitive macOS Thunderbolt eGFX Compatibility Registry

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]  


itsage liked
ReplyQuote
 of  40