Setup & Software Discussions
[APP] automate-eGPU.kext by Goalque (AMD only)
 

[Closed] [APP] automate-eGPU.kext by Goalque (AMD only)  

 of  4
  RSS

nkdonut
(@nkdonut)
New Member
Joined: 2 years ago
 

I would love to! But I asked the question because I was thinking of buying a used R9 280X. Unfortunately I only have NVIDIA cards on hand :/

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


mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 3 years ago
 
Posted by: nkdonut

I would love to! But I asked the question because I was thinking of buying a used R9 280X. Unfortunately I only have NVIDIA cards on hand :/

Roger that..

purge-wrangler.shpurge-nvda.shset-eGPU.shautomate-eGPU EFI Installer
2018 MacBook Pro 15" RP560X + Vega 64 (Mantiz Venus MZ-02)


mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 3 years ago
 

Could someone try putting these kexts into /Library/Extensions/ and testing older AMD cards? Would appreciate it.

purge-wrangler.shpurge-nvda.shset-eGPU.shautomate-eGPU EFI Installer
2018 MacBook Pro 15" RP560X + Vega 64 (Mantiz Venus MZ-02)


itsage liked
itsage
(@itsage)
Famed Member Admin
Joined: 3 years ago
 

We’re slowly but surely making progress. Sleep & wake-up with eGPUs attached has been behaving normally. I will let them rest overnight and report back.

Best ultrabooks for eGPU use

eGPU enclosure buying guide


nu_ninja
(@nu_ninja)
Estimable Member
Joined: 2 years ago
 

For my R7 250 I added the AMD kexts and now I'm getting this:

It has the correct device id, but is not working with it. I think it's because this is an Oland gpu, which isn't listed in the IOKitPersonalities of info.plist of AMDLegacyAccelerator.kext

I'm running a R7 250 in an Akitio Node on a mid-2012 MacBook Pro. The Akitio Node box is being recognized over TB1->TB3 thanks to purge-wrangler.sh.

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


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

Here the updated package for 10.13.4. Confirmed to work with RX 460, HD 7970 and R9 Nano. Only for TB3 Macs! You have to use @mac_editor's script for TB1/TB2 Macs.

Place it under /Library/Extensions/, repair kext permissions and the following is important before hot-plugging:

sudo kextload /Library/Extensions/automate-eGPU.kext

It does not seem to work yet when you power on and boot normally. Some probe scores are probably still wrong. The highest score gets the priority.


https://egpu.io/wp-content/uploads/2018/04/automate-eGPU.kext_-1.zip

automate-eGPU EFIapple_set_os.efi
--
2018 13" MacBook Pro + Radeon [email protected] + Win10 1809


rhyker2u, iSilver, itsage and 2 people liked
Luisetepe
(@luisetepe)
Active Member
Joined: 2 years ago
 

Okay, huge succes here with a 7970 and Sonnet 350 in mac macbook pro retina 2015, only Iris graphics.
I installed mac_editors script and your kext, reboot and loaded the kext as you said, hotplugged and it works!!

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


mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 3 years ago
 

@goalque In your kext, how do the IOKitPersonalities like Controller1, Controller2 work? The original drivers have "Controller" only, right? Just wanted to learn...

purge-wrangler.shpurge-nvda.shset-eGPU.shautomate-eGPU EFI Installer
2018 MacBook Pro 15" RP560X + Vega 64 (Mantiz Venus MZ-02)


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

@mac_editor See the section titled "Codeless Kernel Extensions Match New Devices to Existing Drivers"

https://developer.apple.com/library/content/documentation/Darwin/Conceptual/KEXTConcept/KEXTConceptAnatomy/kext_anatomy.html#//apple_ref/doc/uid/20002364-SW8

IOKitPersonalities key name is not meaningful.

There is a rumour that in macOS 10.14 kexts will be deprecated:
https://twitter.com/felix_schwarz/status/879417697142018050

Apple is moving towards a more closed system.

automate-eGPU EFIapple_set_os.efi
--
2018 13" MacBook Pro + Radeon [email protected] + Win10 1809


mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 3 years ago
 
Posted by: goalque

@mac_editor See the section titled "Codeless Kernel Extensions Match New Devices to Existing Drivers"

https://developer.apple.com/library/content/documentation/Darwin/Conceptual/KEXTConcept/KEXTConceptAnatomy/kext_anatomy.html#//apple_ref/doc/uid/20002364-SW8

IOKitPersonalities key name is not meaningful.

There is a rumour that in macOS 10.14 kexts will be deprecated:
https://twitter.com/felix_schwarz/status/879417697142018050

Apple is moving towards a more closed system.

Became clear from a few lines - thanks a bunch!

Yes, @fr34k did point that out about kexts in our private discussions. "Patching" will be crazy harder.

purge-wrangler.shpurge-nvda.shset-eGPU.shautomate-eGPU EFI Installer
2018 MacBook Pro 15" RP560X + Vega 64 (Mantiz Venus MZ-02)


itsage, fr34k and goalque liked
fr34k
(@fr34k)
Reputable Member Moderator
Joined: 2 years ago
 

@mac_editor
@goalque
I guess we could apply for a Signing Certificate with the reason:
"We'd like to circumvent your restrictions on eGPU." I bet they'd accept that 
reason.

However, in our community I think we'd get even that sorted. There are so many great geniuses roaming the threads...

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


(@steve_park)
Active Member
Joined: 2 years ago
 

Thank you @goalque & @mac_editor & @itsage
Finally my rx 560 breakaway puck works well.

But, Some Adobe Application like dimesion that is using Open GL doesn't work because Open GL minimum requirement does not matched.

Anyway, Thank you so much!

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


itsage
(@itsage)
Famed Member Admin
Joined: 3 years ago
 

Thank you @goalque and @mac_editor for this kext and TB1/2 workaround. These tools extend external GPU capability in 10.13.4 to many more Mac users. As can be seen in the screen captures below, I’m running an eGPU setup full of hardware Apple deemed unworthy.

Best ultrabooks for eGPU use

eGPU enclosure buying guide


nando4, goalque, tiagoamaro and 1 people liked
goalque
(@goalque)
Noble Member Admin
Joined: 3 years ago
 

Moved the kext into S/L/E and now everything works perfectly, I can boot with eGPU (R9 Nano) connected or hot plug.

R9 Nano shows full 64 CUs. No need for the enable-baffin-CUs script anymore, thanks Apple! 🙂

automate-eGPU EFIapple_set_os.efi
--
2018 13" MacBook Pro + Radeon [email protected] + Win10 1809


ikir, itsage, fr34k and 1 people liked
itsage
(@itsage)
Famed Member Admin
Joined: 3 years ago
 

@goalque I moved automate-eGPU.kext to /Library/Extensions/ only and it was working fine with both RX 560 and R9 Fury X. I did not have to run the “kextload” command in Terminal. This was tested on a 2013 Mac Pro [10.13.5 B1] and 2016 15″ MacBook Pro [10.13.4].

Best ultrabooks for eGPU use

eGPU enclosure buying guide


goalque and fr34k liked
goalque
(@goalque)
Noble Member Admin
Joined: 3 years ago
 

Okay, it may be also possible that kext caches were not properly rebuilt when I quickly tested in /Library/Extensions/

automate-eGPU EFIapple_set_os.efi
--
2018 13" MacBook Pro + Radeon [email protected] + Win10 1809


itsage
(@itsage)
Famed Member Admin
Joined: 3 years ago
 

I used Kext Utility app then reboot.

Best ultrabooks for eGPU use

eGPU enclosure buying guide


goalque liked
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 3 years ago
 
Posted by: goalque

Okay, it may be also possible that kext caches were not properly rebuilt when I quickly tested in /Library/Extensions/

Most likely scenario. macOS High Sierra has been iffy with rebuilding kext caches for a while now. 10.13.4 is better, somewhat.

purge-wrangler.shpurge-nvda.shset-eGPU.shautomate-eGPU EFI Installer
2018 MacBook Pro 15" RP560X + Vega 64 (Mantiz Venus MZ-02)


r3don
(@r3don)
New Member
Joined: 2 years ago
 

Hi! I've tried to make R7 260X to work for a while and had no luck, but finally using your kext it works perfectly with tb3 Macbook Pro 2016 running 10.13.4 and Sonnet egfx box. 
I've added <key>AMDBonaireGraphicsAccelerator</key> part from AMDRadeonX4000.kext and added my  0x66581002 device id to the following parts of automate-eGPU.kext plist: AMD Radeon X4000 CI Services, AMDBonaireGraphicsAccelerator, AtiGpuWrangler2 and Controller2.
I'am not loading the kext after restarts, it just works no matter was it booted or plugged in. 
Thank you!

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


John13
(@john13)
New Member
Joined: 2 years ago
 

I have late 2016 Macbook Pro with touch bar. Egfx Breakaway Puck RX560
1. I used this workaround and it worked perfectly until I upgrade 10.14. ( https://egpu.io/wp-content/uploads/2017/10/automate-eGPU-BETA-v010.pkg_.zip   )
2. Sonnet provided me with this url post. This is what I figure so far:    

I found a solution:  https://www.reddit.com/r/hackintosh/comments/64r47j/how_and_when_to_rebuild_kext_and_kernel_cache/. This suggests the use of this command:
sudo kextcache -i /

I am getting this message: 

Kext rejected due to improper filesystem permissions: <OSKext 0x7faa8cfa08e0 [0x7fffad105af0]> { URL = "automate-eGPU.kext/ -- file:///Library/Extensions/", ID = "io.egpu.automate-eGPU" }

My understanding is that Macbook will not take into consideration the new eGpu Kext file until the Kext is rebuilt.  Is there a workaround for this?

3.  I also run 

sudo kextload /Library/Extensions/automate-eGPU.kext

And I got this error message

/Library/Extensions/automate-eGPU.kext failed to load - (libkern/kext) authentication failure (file ownership/permissions); check the system/kernel logs for errors or try kextutil(8).


4. What is the file for? Where do I open it?
https://egpu.io/wp-content/uploads/2018/04/automate-eGPU.kext_-1.zip  

Thanks again for your help.

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


r3don
(@r3don)
New Member
Joined: 2 years ago
 

@John13 You have to fix permissions prior rebuilding the cache. You can try "Kext Utility" app. After you add kext to /Library/Extensions folder, just run the app ant it will fix the permissions and rebuild the cache.

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


John13
(@john13)
New Member
Joined: 2 years ago
 

Thank you R3don and thank you goalque to put the hard work to come up with the solution. 

For information for the users who are not really technical.

Kext Utility can be found at  http://cvad-mac.narod.ru/index/0-4. I downloaded the software and run it. The software will do the rest. Then I run 

sudo kextload /Library/Extensions/automate-eGPU.kext


And voila, it works after a reboot.

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


(@andrehlucas)
New Member
Joined: 2 years ago
 

Here is my huge problem. 

I have a Macbook pro retina 15'early 2013 (thunderbolt 1) and my box is the HighPoint RocketStor 6361A. I bought a XFX Radeon RX560. I tried to do all the process that I found here, but no successful. Can I use this new update with my configuration? I bought a Geforce 1050ti too but I didnt have success too.

 

Ty

 

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


goalque
(@goalque)
Noble Member Admin
Joined: 3 years ago
 
Posted by: andrehlucas

Here is my huge problem. 

I have a Macbook pro retina 15'early 2013 (thunderbolt 1) and my box is the HighPoint RocketStor 6361A. I bought a XFX Radeon RX560. I tried to do all the process that I found here, but no successful. Can I use this new update with my configuration? I bought a Geforce 1050ti too but I didnt have success too. 

Did you run @mac_editor's TB1/2 enabler script?

I am quite surprised that Apple recommends XFX Vega 56/64. The reference cards all have the same vBIOS regardless of the manufacturer but some custom XFX boards are known to be incompatible with macOS.

automate-eGPU EFIapple_set_os.efi
--
2018 13" MacBook Pro + Radeon [email protected] + Win10 1809


itsage liked
betova
(@betova)
Active Member
Joined: 1 year ago
 

Thanks folks for your work!
This works fine on a 11" MBA Mid 2013 with a Zotac AMP Box Mini, Gigabyte RX560 and Apple TB2 to TB3 adapter.  No need to manually load the kext.  Hot plug and sleep works fine.  I'm finally able to drive my 4k LG with my old MBA.  Loaded PurgeWrangler, then automate-eGPU.kext

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


itsage liked
(@steve_park)
Active Member
Joined: 2 years ago
 

Thank you for your great works and efforts.

Please look at this captures.
Internal display connected with Intel Iris embeded graphic cards.
and I can't set my RX560(Sonnet breakaway puck) on Adobe Photoshop preference - performance tab.
Is it normal? or can I expect some upgrade? or It's kind of my misunderstand about eGPU function?

20180426 154151
20180426 154125

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


ikir
 ikir
(@ikir)
Prominent Member
Joined: 3 years ago
 
Posted by: Steve Park

Thank you for your great works and efforts.

Please look at this captures.
Internal display connected with Intel Iris embeded graphic cards.
and I can't set my RX560(Sonnet breakaway puck) on Adobe Photoshop preference - performance tab.
Is it normal? or can I expect some upgrade? or It's kind of my misunderstand about eGPU function?

20180426 154151
20180426 154125

your 560 is driving the external monitor like it Is supposed to do. Everything on the external display will be faster. OpenCL and Metal can be accelerated also in internal display even if it is driven by integrated GPU


MacBook Pro 2018 Touch Bar i7 quad-core 2.7Ghz - 16GB RAM - 512GB PCIe SSD
my Mantiz Venus extreme mod with Sapphire Nitro+ RX Vega 64


Morv
 Morv
(@morv)
Eminent Member
Joined: 3 years ago
 

Is it still necessary to disable SIP for this to work?

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


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

@Morv may work a couple of restarts due to kernel cache but eventually you have to disable the SIP. Or at least run csrutil enable --without kext.

automate-eGPU EFIapple_set_os.efi
--
2018 13" MacBook Pro + Radeon [email protected] + Win10 1809


Morv
 Morv
(@morv)
Eminent Member
Joined: 3 years ago
 

@goalque Thanks. The Macbook almost never gets restarted unless it's necessary but if --without kext is sufficient I may go with that if it doesn't work without it anymore.

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


Morv
 Morv
(@morv)
Eminent Member
Joined: 3 years ago
 

I'm getting:

Kext rejected due to improper filesystem permissions: <OSKext 0x7fb10883a470 [0x7fffa5e98af0]> { URL = "automate-eGPU.kext/ -- file:///Library/Extensions/", ID = "io.egpu.automate-eGPU" }

on rebuilding the kext cache, with file permissions(/Library/Extensions):

[email protected] 3 root wheel 96 8 Apr 14:57 automate-eGPU.kext

and csrutil status telling:

System Integrity Protection status: enabled (Custom Configuration).




Configuration:

 Apple Internal: disabled

 Kext Signing: disabled

 Filesystem Protections: enabled

 Debugging Restrictions: enabled

 DTrace Restrictions: enabled

 NVRAM Protections: enabled

 BaseSystem Verification: enabled




This is an unsupported configuration, likely to break in the future and leave your machine in an unknown state.

is there something I forgot?

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


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

@morv
you need to make root the owner of the .kext (maybe you forgot the -R) and make the correct permissions...
do:

sudo chown -R root:wheel /Library/Extensions/automate-eGPU.kext
sudo chmod -R 755 /Library/Extensions/automate-eGPU.kext

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


Morv
 Morv
(@morv)
Eminent Member
Joined: 3 years ago
 

@fr34k Thanks. Although -R didn't help, I always forget that kexts are folders with more stuff inside, I removed the kext and copied it as root to the right place in a terminal. After that the permissions were automatically correct and it worked right away.

Finally having a plug&play eGPU for the Macbook without having to logout/in is great 🙂 Thanks for the help and the work on this kext.

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


happymaned
(@happymaned)
New Member
Joined: 1 year ago
 

So I have a mid 2017 13" MB Pro. Fresh install of 10.13.4. I have a XFX RX 560 in a Akitio Node. SIP is completely disabled. copy the newest version of automate-eGPU.kext.
Copy it to /Library/Extension or /System/Library/Extension. chown -R 755 and chown -R root:wheel to the path. Run the kext Utility app both to import the kext and to refresh the caches. Run the kextload and kextcache -i / and get the error of invalid signature but allowed anyways. Different combinations of all these steps and any time I plug the Akito Node in I get a kernel panic and a reboot. If I the rm -rf the automate-eGPU.kext and rebuild cache and reboot I can plug it in but the GPU is not working of course. Any one have thoughts?

https://egpu.io/wp-content/uploads/2018/04/automate-eGPU.kext_-1.zip

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


Gilles Goetsch
(@ealchemist)
Active Member
Joined: 1 year ago
 

Hey there

This forum is awesome. Great to have this, will contribute where I can.

Big Thanks to goalque for the kext.
Can confirm a Radeon HD 7970 running on a MacBook Pro 2017 15" 560 over a Sonnet Breakaway 550!

Don't forget to disable SIP (disable it for kext at least) for the non-beta kext as well (this was where I was stuck)!

Running smooth! - FCP compatibility for eGPUs can improve tho.. (other thread: https://egpu.io/forums/pro-applications/new-fcpx-10-4-and-egpu/)

Any way of getting an LG 5k (running over MBP->TB3) accelerated? There seems to be no working solution yet other then another PCI "GC Alpine card" which is being used a lot in the hackintosh area.. and you'll loose controls and usb-c ports.. Maybe future GPU's will support TB3.

Results for Geekbench and Heaven attached. (no upload possible yet?..)

GEEKBENCH:  91267
LUXMARK:  1932

Very glad with this setup.

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


(@luca_terzani)
New Member
Joined: 2 years ago
 

i have 10.13.2 and the auto install script  automate-eGPU-BETA-v010.pkg.zip  all  work very well with my rx560 with TB1.

what's happen if i upgrade to 10.13.4?  automatically have tb1 work or i must use other script?

thx

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


itsage liked
 of  4