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

Page 3 / 3 Prev
 

nkdonut
(@nkdonut)
New Member
Joined:3 months  ago
Posts: 2
April 8, 2018 1:09 am  

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 :/


ReplyQuote
mac_editor
(@mac_editor)
Prominent Member Moderator
Joined:1 year  ago
Posts: 815
April 8, 2018 1:18 am  
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.sh

Guides:
Mid-2014 15" MacBook Pro GT750M + RX480@16Gbps-TB2 (AKiTiO Node via TB3->TB2 adapter) + macOS & Win10
Mid-2014 15" MacBook Pro GT750M + GTX980Ti@16Gbps-TB2 (AKiTiO Node via TB3->TB2 adapter) + macOS


ReplyQuote
mac_editor
(@mac_editor)
Prominent Member Moderator
Joined:1 year  ago
Posts: 815

theitsage liked
ReplyQuote
theitsage
(@itsage)
Noble Member Admin
Joined:1 year  ago
Posts: 2373
April 8, 2018 3:49 am  

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

51 external GPU build guides


mac_editor liked
ReplyQuote
nu_ninja
(@nu_ninja)
New Member
Joined:2 months  ago
Posts: 1
April 8, 2018 8:02 am  

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.

Edited: 2 months  ago

ReplyQuote
goalque
(@goalque)
Prominent Member Admin
Joined:1 year  ago
Posts: 882
April 8, 2018 1:51 pm  

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.shapple_set_os.efi
--
late-2016 13" Macbook Pro nTB + Vega64@32Gbps-TB3 (Netstor HL23T) + macOS & Win10
late-2016 13" Macbook Pro nTB + GTX980/RX580@32Gbps-TB3 (Netstor HL23T) + macOS10.13 & Win10


iSilver, theitsage, mac_editor and 1 people liked
ReplyQuote
Luisetepe
(@luisetepe)
Active Member
Joined:2 months  ago
Posts: 5
April 8, 2018 2:03 pm  

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!!


ReplyQuote
mac_editor
(@mac_editor)
Prominent Member Moderator
Joined:1 year  ago
Posts: 815
April 8, 2018 2:19 pm  

@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.sh

Guides:
Mid-2014 15" MacBook Pro GT750M + RX480@16Gbps-TB2 (AKiTiO Node via TB3->TB2 adapter) + macOS & Win10
Mid-2014 15" MacBook Pro GT750M + GTX980Ti@16Gbps-TB2 (AKiTiO Node via TB3->TB2 adapter) + macOS


ReplyQuote
goalque
(@goalque)
Prominent Member Admin
Joined:1 year  ago
Posts: 882

ReplyQuote
mac_editor
(@mac_editor)
Prominent Member Moderator
Joined:1 year  ago
Posts: 815
April 8, 2018 5:34 pm  
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.sh

Guides:
Mid-2014 15" MacBook Pro GT750M + RX480@16Gbps-TB2 (AKiTiO Node via TB3->TB2 adapter) + macOS & Win10
Mid-2014 15" MacBook Pro GT750M + GTX980Ti@16Gbps-TB2 (AKiTiO Node via TB3->TB2 adapter) + macOS


theitsage, fr34k and goalque liked
ReplyQuote
fr34k
(@fr34k)
Reputable Member Moderator
Joined:5 months  ago
Posts: 330
April 8, 2018 7:01 pm  

@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...

Edited: 2 months  ago

macOS-eGPU.sh (fr34k's macOS-eGPU.sh)
temporary 10.13.4 script
----
2016 15'' MacBook Pro + GTX1080Ti@32Gbps-TB3 (Sonnet Breakaway 550) + macOS 10.13.4 (17E202 driver: 378.10.10.10.30.107 + CUDA: 387.178)
CUDA NN bench: 382s [397s base]


ReplyQuote
(@steve_park)
Active Member
Joined:2 months  ago
Posts: 5
April 9, 2018 6:43 am  

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!


ReplyQuote
theitsage
(@itsage)
Noble Member Admin
Joined:1 year  ago
Posts: 2373
April 9, 2018 1:23 pm  

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

51 external GPU build guides


nando4, goalque, tiagoamaro and 1 people liked
ReplyQuote
goalque
(@goalque)
Prominent Member Admin
Joined:1 year  ago
Posts: 882
April 9, 2018 7:34 pm  

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.shapple_set_os.efi
--
late-2016 13" Macbook Pro nTB + Vega64@32Gbps-TB3 (Netstor HL23T) + macOS & Win10
late-2016 13" Macbook Pro nTB + GTX980/RX580@32Gbps-TB3 (Netstor HL23T) + macOS10.13 & Win10


ikir, theitsage, fr34k and 1 people liked
ReplyQuote
theitsage
(@itsage)
Noble Member Admin
Joined:1 year  ago
Posts: 2373
April 9, 2018 8:33 pm  

@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].

Edited: 1 month  ago

Best ultrabooks for eGPU use

eGPU enclosure buying guide

51 external GPU build guides


goalque and fr34k liked
ReplyQuote
goalque
(@goalque)
Prominent Member Admin
Joined:1 year  ago
Posts: 882
April 9, 2018 8:44 pm  

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

automate-eGPU.shapple_set_os.efi
--
late-2016 13" Macbook Pro nTB + Vega64@32Gbps-TB3 (Netstor HL23T) + macOS & Win10
late-2016 13" Macbook Pro nTB + GTX980/RX580@32Gbps-TB3 (Netstor HL23T) + macOS10.13 & Win10


ReplyQuote
theitsage
(@itsage)
Noble Member Admin
Joined:1 year  ago
Posts: 2373
April 9, 2018 8:52 pm  

I used Kext Utility app then reboot.

Best ultrabooks for eGPU use

eGPU enclosure buying guide

51 external GPU build guides


goalque liked
ReplyQuote
mac_editor
(@mac_editor)
Prominent Member Moderator
Joined:1 year  ago
Posts: 815
April 9, 2018 8:55 pm  
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.sh

Guides:
Mid-2014 15" MacBook Pro GT750M + RX480@16Gbps-TB2 (AKiTiO Node via TB3->TB2 adapter) + macOS & Win10
Mid-2014 15" MacBook Pro GT750M + GTX980Ti@16Gbps-TB2 (AKiTiO Node via TB3->TB2 adapter) + macOS


ReplyQuote
r3don
(@r3don)
New Member
Joined:1 month  ago
Posts: 2
April 10, 2018 9:23 am  

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!


ReplyQuote
John13
(@john13)
New Member
Joined:1 month  ago
Posts: 2
April 10, 2018 10:25 am  

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:    

  •             On April 8,  Goalque has provided an update found to this  https://egpu.io/forums/mac-setup/app-automate-egpu-by-goalque/

    Updated package for macOS 10.13.4 has been posted here. This newest automate-eGPU.kext provides additional support to Fiji cards such as R9 Nano and R9 Fury X. Download and move this kext file into /Library/Extensions, rebuild kext caches, then reboot.

    »»» automate-eGPU.kext.zip «««

  • Replacing the file is straightforward. However, rebuilding key cashes is where I am stuck. 

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.


ReplyQuote
r3don
(@r3don)
New Member
Joined:1 month  ago
Posts: 2
April 10, 2018 12:15 pm  

@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.


ReplyQuote
John13
(@john13)
New Member
Joined:1 month  ago
Posts: 2
April 10, 2018 3:06 pm  

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.

ReplyQuote
(@andrehlucas)
New Member
Joined:6 months  ago
Posts: 2
April 11, 2018 5:00 am  

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

 


ReplyQuote
goalque
(@goalque)
Prominent Member Admin
Joined:1 year  ago
Posts: 882
April 11, 2018 5:07 pm  
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.shapple_set_os.efi
--
late-2016 13" Macbook Pro nTB + Vega64@32Gbps-TB3 (Netstor HL23T) + macOS & Win10
late-2016 13" Macbook Pro nTB + GTX980/RX580@32Gbps-TB3 (Netstor HL23T) + macOS10.13 & Win10


theitsage liked
ReplyQuote
betova
(@betova)
Active Member
Joined:1 month  ago
Posts: 5
April 19, 2018 2:35 am  

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


theitsage liked
ReplyQuote
(@steve_park)
Active Member
Joined:2 months  ago
Posts: 5
April 26, 2018 6:52 am  

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


ReplyQuote
ikir
 ikir
(@ikir)
Honorable Member
Joined:1 year  ago
Posts: 666
April 26, 2018 11:15 am  
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

eGPU.it | LG 34" 4K 34UC88 curved ultrawide display
MacBook Pro 2017 touchbar i7 3.5Ghz - 16GB RAM - 512GB PCIe SSD --> my complete setup video


ReplyQuote
Morv
 Morv
(@morv)
Eminent Member
Joined:1 year  ago
Posts: 31
April 26, 2018 6:39 pm  

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

Macbook Pro 15" 2016 + HP Omen Accelerator + RX 560 4G


ReplyQuote
goalque
(@goalque)
Prominent Member Admin
Joined:1 year  ago
Posts: 882
April 26, 2018 6:49 pm  

@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.shapple_set_os.efi
--
late-2016 13" Macbook Pro nTB + Vega64@32Gbps-TB3 (Netstor HL23T) + macOS & Win10
late-2016 13" Macbook Pro nTB + GTX980/RX580@32Gbps-TB3 (Netstor HL23T) + macOS10.13 & Win10


ReplyQuote
Morv
 Morv
(@morv)
Eminent Member
Joined:1 year  ago
Posts: 31
April 26, 2018 8:27 pm  

@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.

Macbook Pro 15" 2016 + HP Omen Accelerator + RX 560 4G


ReplyQuote
Morv
 Morv
(@morv)
Eminent Member
Joined:1 year  ago
Posts: 31
April 29, 2018 1:14 pm  

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):

drwxr-xr-x@ 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?

Edited: 4 weeks  ago

Macbook Pro 15" 2016 + HP Omen Accelerator + RX 560 4G


ReplyQuote
fr34k
(@fr34k)
Reputable Member Moderator
Joined:5 months  ago
Posts: 330
April 29, 2018 2:47 pm  

@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
Edited: 3 weeks  ago

macOS-eGPU.sh (fr34k's macOS-eGPU.sh)
temporary 10.13.4 script
----
2016 15'' MacBook Pro + GTX1080Ti@32Gbps-TB3 (Sonnet Breakaway 550) + macOS 10.13.4 (17E202 driver: 378.10.10.10.30.107 + CUDA: 387.178)
CUDA NN bench: 382s [397s base]


ReplyQuote
Morv
 Morv
(@morv)
Eminent Member
Joined:1 year  ago
Posts: 31
April 29, 2018 8:57 pm  

@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.

Macbook Pro 15" 2016 + HP Omen Accelerator + RX 560 4G


ReplyQuote
happymaned
(@happymaned)
New Member
Joined:3 weeks  ago
Posts: 1
May 2, 2018 8:00 pm  

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


ReplyQuote
eAlchemist
(@ealchemist)
Active Member
Joined:3 weeks  ago
Posts: 5
May 5, 2018 9:32 pm  

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.

Edited: 3 weeks  ago

ReplyQuote
(@luca_terzani)
New Member
Joined:1 month  ago
Posts: 2
May 16, 2018 3:36 pm  

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


theitsage liked
ReplyQuote
Page 3 / 3 Prev