[Sticky] [SCRIPT] Enable AMD & NVIDIA eGPUs on TB1/2/3 Macs on macOS 10.13.4+  

Page 22 / 31 Prev Next
  RSS

mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
Posts: 1596
August 7, 2018 8:56 am  

@the-master-dodo the former is a menu-based interface and doesn’t support Ti82 controller enclosures (Razer Core V1). Latter is not menu-based, requires plugging in egpu (or arguments) and supports Ti82.

purge-wrangler.shpurge-nvda.shset-eGPU.sh
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife
----
Multiple Build Guides


ReplyQuote
donluca
(@donluca)
Active Member
Joined: 4 months ago
Posts: 15
August 7, 2018 12:06 pm  

Hi @mac_editor, first of all thank you so much for all your work on eGPUs on Macs, I really appreciate it!

I'm completely new to this, I have a mid 2011 27" iMac with Thunderbolt 1 ports, what I'd love to do is this:

Buy a new Razer Core X (which is TB3, or any other modern TB3 enclosure)
Get a Radeon RX580
Use the eGPU on my iMac internal monitor

The reason for the Razer Core X and not an old TB1 or 2 enclosure is that one day I'll probably upgrade my iMac and don't want to buy a new enclosure again (those things are expensive!).

Also, I'm doing this to enable Metal on my iMac so that I'll be able to upgrade to Mojave (which has been hacked to work on unsupported Macs, but without graphic acceleration due to the lack of Metal support of integrated GPUs).

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
Posts: 1596
August 7, 2018 2:26 pm  

@donluca You're most welcome! Cannot say about the hack to enable Mojave + eGPUs (AMD patch works on Mojave as of now) but nonetheless you could use apps with the internal display with High Sierra with set-eGPU if needed. Accelerating the internal display with the eGPU entirely may not work unless you use a headless adapter and mirror I think. Keep us posted on how it goes!

purge-wrangler.shpurge-nvda.shset-eGPU.sh
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife
----
Multiple Build Guides


ReplyQuote
donluca
(@donluca)
Active Member
Joined: 4 months ago
Posts: 15
August 7, 2018 2:34 pm  

Thanks for the reply!

I'll definitely keep you updated on this one, but I'm leaving for a short vacation and I'll be back in ~2 weeks. Meanwhile, I was thinking I'd rather wait for the release of Mojave rather than tinkering with the beta.
If I'm not mistaken Mojave should be released in a month or two so I won't have to fidget with beta releases and all the possible bugs they come with which would make it really hard to understand, when something doesn't work, if it's the beta's fault or something within the scripts.

One thing I wanted to ask: does set-eGPU.sh work on Finder/window server?
There have been reports that some things don't look right in Mojave on unsupported systems due to the lack of Metal support. If there's a way to tell Mac OS to use the eGPU for the rendering of the window server this could potentially solve all performance issues!

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
Posts: 1596
August 7, 2018 2:36 pm  
Posted by: donluca

One thing I wanted to ask: does set-eGPU.sh work on Finder/window server?
There have been reports that some things don't look right in Mojave on unsupported systems due to the lack of Metal support. If there's a way to tell Mac OS to use the eGPU for the rendering of the window server this could potentially solve all performance issues!

That's a really good question! The answer to that would be that if the windowserver process has a configuration .plist, it may work. So to put it bluntly, I don't know myself. It could be that mirroring may solve your problem, but that's a guess as well.

purge-wrangler.shpurge-nvda.shset-eGPU.sh
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife
----
Multiple Build Guides


ReplyQuote
donluca
(@donluca)
Active Member
Joined: 4 months ago
Posts: 15
August 7, 2018 2:45 pm  
That's a really good question! The answer to that would be that if the windowserver process has a configuration .plist, it may work. So to put it bluntly, I don't know myself. It could be that mirroring may solve your problem, but that's a guess as well.

Ohhhhhh I see, using mirroring might actually be a *very* clever solution, depending on how it's handled in MacOS.

There is, of course, the plist of the windowserver, I'll take a look at it later and see if anything curious comes up. I'm on the latest High Sierra.

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


ReplyQuote
donluca
(@donluca)
Active Member
Joined: 4 months ago
Posts: 15
August 7, 2018 3:29 pm  

Alright, I've found the file which is in /Library/Preferences/com.apple.windowserver.plist but unfortunately without any kind of documentation is a bit hard understanding what's going on.

Here's the content, by expanding one of the item we get:

To me it looks like a saved set of how the windows are arranged across my 3 screens.

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
Posts: 1596
August 7, 2018 3:31 pm  

Hmm.. @donluca Maybe it will be affected using the set-eGPU technique(s).

purge-wrangler.shpurge-nvda.shset-eGPU.sh
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife
----
Multiple Build Guides


ReplyQuote
donluca
(@donluca)
Active Member
Joined: 4 months ago
Posts: 15
August 7, 2018 3:34 pm  

Maybe.

Meanwhile, here's an interesting outcome of what happens when you use an eGPU on Mojave on a unsupported system:  https://forums.macrumors.com/threads/macos-10-14-mojave-on-unsupported-macs-thread.2121473/page-189#post-26327280

Further tests should be done, I'm afraid that user just gave it a go and then gave up without doing anything else.

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
Posts: 1596
August 7, 2018 3:41 pm  

@donluca Yeah, he didn't delve much deeper. I am guessing what Apple did with Mojave was eliminate a Metal family or two? One possible way to accelerate older models (pure speculation and guesswork) could be to use modified kexts from High Sierra. If I had an outdated system, I could test this theory out with ease, and modify the system kexts as needed to make them loadable. I believe with a little work it may be possible to get older (necessary) kexts running and restore the Metal family(ies) that were dropped.

An alternative technique could be to completely disable the non-compatible GPU and make the system think only the eGPU is available. Again, there could be numerous complications.

Edit: Scratch the Metal family part. That's not the case. 

purge-wrangler.shpurge-nvda.shset-eGPU.sh
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife
----
Multiple Build Guides


ReplyQuote
donluca
(@donluca)
Active Member
Joined: 4 months ago
Posts: 15
August 7, 2018 4:39 pm  
Posted by: mac_editor

One possible way to accelerate older models (pure speculation and guesswork) could be to use modified kexts from High Sierra.

Been there, done that, (and along with me, many others) doesn't work. 🙁

I've pointed that user to this topic, let's see if he wants to give it a second try.

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
Posts: 1596
August 7, 2018 5:17 pm  

@donluca Ah ok! Damn I thought that would have a chance, but I suppose Mojave components are strictly Metal-API only.

purge-wrangler.shpurge-nvda.shset-eGPU.sh
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife
----
Multiple Build Guides


ReplyQuote
donluca
(@donluca)
Active Member
Joined: 4 months ago
Posts: 15
August 7, 2018 6:03 pm  

Yeah, that's the whole problem in Mojave: they moved (almost) completely to Metal and there are several things which actually need the Metal extensions to work properly.

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


ReplyQuote
Amadeo
(@amadeo)
New Member
Joined: 8 months ago
Posts: 4
August 8, 2018 5:37 pm  

Thanks for the script. It works on my MB 2016, but I have the problem, that the mouse cursor moves very slow with a long mouse lag. i haven't found anybody with the same problem. If somebody have the same problem and found a solution it would be great. I think ist noch while startup, but starts after a while so it could be an extension.

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
Posts: 1596
August 9, 2018 5:40 am  

@amadeo - What Mac exactly? Logging out/logging in works? If not, does disabling automatic graphics switching (if you have discrete GPU) and then logging/out in work?

purge-wrangler.shpurge-nvda.shset-eGPU.sh
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife
----
Multiple Build Guides


ReplyQuote
Amadeo
(@amadeo)
New Member
Joined: 8 months ago
Posts: 4
August 9, 2018 8:16 am  

Thanks for the quick answer.
It's a MacBookPro13,3, the first serie with the Touch Bar.
Logging out works, but also slow with a delay of 20-30 sec.
I disabled automatic graphics switching, restartet but no change.

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
Posts: 1596
August 9, 2018 8:59 am  

@amadeo A combination of logout/login can resolve the problem - logout/login instead of restarting, if it doesn't work, try automate-eGPU EFI's hybrid modes after uninstalling purge-wrangler.sh.

purge-wrangler.shpurge-nvda.shset-eGPU.sh
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife
----
Multiple Build Guides


ReplyQuote
goalque
(@goalque)
Noble Member Admin
Joined: 2 years ago
Posts: 1315
August 9, 2018 9:05 am  
Posted by: Amadeo

Thanks for the quick answer.
It's a MacBookPro13,3, the first serie with the Touch Bar.
Logging out works, but also slow with a delay of 20-30 sec.
I disabled automatic graphics switching, restartet but no change.

I've investigated AMD dGPU/Nvidia eGPU UI sluggishness comprehensively. Logging out/in manually doesn't help. The only working option is to use automate-eGPU EFI's Hybrid mode (iGPU, dGPU or closed-clamshell mode).

https://egpu.io/forums/mac-setup/script-enable-egpu-on-tb1-2-macs-on-macos-10-13-4/paged/21/#post-41752

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
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
Posts: 1596
August 9, 2018 10:55 am  

@amadeo It's just a matter of setting Mac power preferences really, which I discussed on this page. @goalque is likely doing this in his login/logout scripts. I'm working on something that will include those modifications, but the project will take some time to perfect. As I also suggested above, give automate-eGPU EFI a shot - it should work.

purge-wrangler.shpurge-nvda.shset-eGPU.sh
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife
----
Multiple Build Guides


ReplyQuote
danmeyerphoto
(@danmeyerphoto)
Eminent Member
Joined: 4 months ago
Posts: 27
August 11, 2018 7:01 am  
Posted by: lovejimbo

Just wanted to give a heads up.

This is working perfectly in a 2018 MacBook Pro 15 i9/32GB/2TB with a 1080ti in Sonnet 550 🙂

OSX 10.13.6

Just be sure to disable the t2 chip boot security measures in recovery mode and make sure Filevault is turned off and you're good to go.

Can hot plug in whilst logged in, but hot unplug still causes kernel panic...

Octane Render bench has the card running at the expected compute performance for an internal card, which is great!

Thanks for everyones hard work!

Hey thanks for the heads up.

Can you give the commands for disabling the T2 Chip boot security or provide a link to the steps?

It would help me a lot  thanks!

eGPU: Akitio Node Pro : EVGA RTX 2080 Ti FTW3 ultra) 2018 MacBook Pro 13" i7 Quad-core, 16 GB Ram, 2 TB ssd


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
Posts: 1596

ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
Posts: 1596
August 12, 2018 2:53 pm  

Happy to report 10k+ downloads for purge-wrangler.sh. Combined with @fr34k's macOS-eGPU.sh and @goalque's automate-eGPU-EFI, we have together likely enabled a ton of Macs for eGPUs on 10.13.4+. Congratulations to all, and the administrators of this forum (@itsage, @nando4 & @goalque) that created such a friendly community to make this possible 👏.

purge-wrangler.shpurge-nvda.shset-eGPU.sh
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife
----
Multiple Build Guides


ReplyQuote
Jeroenvankeulen
(@jeroen-van-keulen)
Trusted Member
Joined: 12 months ago
Posts: 78
August 12, 2018 3:02 pm  

ALLn1 is over 500 downloads! I know it’s not 10.000 but I hope it helps!

ALLn1
MBP11,4, i7-4980HQ, 256gb SSD, 16gbRAM Mojave (Sonnet Breakaway box 350 + Gigabyte Radeon RX 580 Gaming 8GB)
MacBook7,1 A1342, P8600 120gb SSD 4gbRAM. Mojave (Hiking/Camping)
iMac7,1 A1224, T9500 CPU upgrade 120gb SSD 4gbRAM. HS
Mac mini3,1 P7350, 250gb SSD 8gbRAM. HS (server) iPhone10,3 64gb. iOS12 iPad5,3, 16gb. iOS12 iPod shuffle 2nd gen. 2gb
GeekBench


nando4 and mac_editor liked
ReplyQuote
Ole666
(@ole666)
Active Member
Joined: 5 months ago
Posts: 6
August 13, 2018 2:58 pm  

Hi,
I installed the script. I have an iMac 2014 27" 5K with external monitor and an Akito Node TB3 eGPU with a Geforce 1060 in it. The eGPU is properly connected and I can also start the iMac with the eGPU on, but the iMac screen remains black, the external monitor shows osX. Everything is very slow and the programs crash when the eGPU is loaded. What can I do to get the iMac to display?

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
Posts: 1596

ReplyQuote
Ole666
(@ole666)
Active Member
Joined: 5 months ago
Posts: 6
August 13, 2018 3:35 pm  
Posted by: mac_editor

@ole666 Logout/login. See Step #1.

hi mac_editor, I logged out and in, no changes.

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


ReplyQuote
Amadeo
(@amadeo)
New Member
Joined: 8 months ago
Posts: 4
August 13, 2018 3:46 pm  

Thanks. I had time to check it today. Now it works! Probably for another one: I had to startup without the external GPU, after login I attached it and checked it in the Hardware profile. Than logout and login in and the card was enabled. For most programs I hat to disabling automatic graphics switching.

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


mac_editor liked
ReplyQuote
danmeyerphoto
(@danmeyerphoto)
Eminent Member
Joined: 4 months ago
Posts: 27
August 14, 2018 4:06 am  

Thanks for the link that helped.
I am having an issue. I cant seem to enable the OS to use the graphics card.  Can you take a take a look at my screen shots. I think i am missing something.  I am missing the "patch icon on the menu bar.  I followed your instructions, but I must have missed something.

[img] [/img] [img] [/img] [img] [/img] [img] [/img]

eGPU: Akitio Node Pro : EVGA RTX 2080 Ti FTW3 ultra) 2018 MacBook Pro 13" i7 Quad-core, 16 GB Ram, 2 TB ssd


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
Posts: 1596
August 14, 2018 5:13 am  

@danmeyerphoto See Step #1 - read about this Mac mysteries section. eGPU icon is disabled for NVIDIA eGPU. Seems like you aren't using an external display? If so, then you need set-eGPU.sh to use eGPU for apps.

@ole666 Does hot-plugging eGPU, logging out/in help, as suggested above by @amadeo? Sorry don't have iMac to test.

purge-wrangler.shpurge-nvda.shset-eGPU.sh
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife
----
Multiple Build Guides


ReplyQuote
danmeyerphoto
(@danmeyerphoto)
Eminent Member
Joined: 4 months ago
Posts: 27
August 14, 2018 5:43 am  

I am using an external display, you can see in the second image down, it shows it being control by the internal graphics even though my systems is recognizing the eGPU with the nvidia card.      so You saying I need to set up the set-eGPU.sh to use eGPU for apps.   ?   d
Thanks for your help.

eGPU: Akitio Node Pro : EVGA RTX 2080 Ti FTW3 ultra) 2018 MacBook Pro 13" i7 Quad-core, 16 GB Ram, 2 TB ssd


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
Posts: 1596
August 14, 2018 5:53 am  

@danmeyerphoto If you read step #1, it mentions that external display needs to be connected to eGPU for optimal performance. Since the UltraFine can't be (except to the Blackmagic eGPU), you need set-eGPU.

purge-wrangler.shpurge-nvda.shset-eGPU.sh
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife
----
Multiple Build Guides


ReplyQuote
danmeyerphoto
(@danmeyerphoto)
Eminent Member
Joined: 4 months ago
Posts: 27
August 14, 2018 7:06 am  
Posted by: mac_editor

@danmeyerphoto If you read step #1, it mentions that external display needs to be connected to eGPU for optimal performance. Since the UltraFine can't be (except to the Blackmagic eGPU), you need set-eGPU.

Ok I'll take your word on it.    But I did have the LG 4K display connected directly to the eGPU and not the computer. My MacBook Pro is connected to the eGPU and then the via T3 and then the second port on my eGPU is connected to the display.   But it sounds like your are talking about compatibility issues with the LG display only working with the Blackmagic?

Either way I will set the eGPU as your suggested.    I was trying to avoid this route but it looks like I have no choice.   thank for your help.

eGPU: Akitio Node Pro : EVGA RTX 2080 Ti FTW3 ultra) 2018 MacBook Pro 13" i7 Quad-core, 16 GB Ram, 2 TB ssd


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
Posts: 1596
August 14, 2018 7:44 am  

@danmeyerphoto Your screenshots show that the display is not connected to the eGPU, and gives the impression that it's connected directly to Mac. I suppose things got confusing here - apologies for not looking clearly. So let's clarify:

Can you connect the LG to your eGPU directly?
Does it work? If so, do this and set it as the main display and report back.

If you cannot connect the display to the eGPU directly, you can use it connected to your Mac, and using set-eGPU on apps to prefer eGPU. YMMV.

purge-wrangler.shpurge-nvda.shset-eGPU.sh
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife
----
Multiple Build Guides


ReplyQuote
danmeyerphoto
(@danmeyerphoto)
Eminent Member
Joined: 4 months ago
Posts: 27
August 14, 2018 8:26 am  
Posted by: mac_editor

@danmeyerphoto Your screenshots show that the display is not connected to the eGPU, and gives the impression that it's connected directly to Mac. I suppose things got confusing here - apologies for not looking clearly. So let's clarify:

Can you connect the LG to your eGPU directly?
Does it work? If so, do this and set it as the main display and report back.

If you cannot connect the display to the eGPU directly, you can use it connected to your Mac, and using set-eGPU on apps to prefer eGPU. YMMV.

yup thats why is was confusing to me too.    
The display is connected to the eGPU only, it is not connect to the MacBook Pro. I have two ports on my eGPU box  (akitio node pro), but the system screen shows the internal graphics and the system report reconizes the eGPU with the 1080ti but it shows both displays operated under the internal iris graphics.
I ran the set e-GPU and set the preference for all applications to eGPU.    still shows the same 
[img] [/img] I am pretty sure I have the external display set as the main screen but maybe not.  silly question but how do you set the external as the main screen?
here is a screen shot of how i have it configured. I looks like drag and drop.    or are there commands I need to set?
[img] [/img]

eGPU: Akitio Node Pro : EVGA RTX 2080 Ti FTW3 ultra) 2018 MacBook Pro 13" i7 Quad-core, 16 GB Ram, 2 TB ssd


ReplyQuote
mac_editor
(@mac_editor)
Noble Member Moderator
Joined: 2 years ago
Posts: 1596
August 14, 2018 8:30 am  

@danmeyerphoto Makes sense. Your display is not connected to the GPU (the card's video-out port). This is required. Connecting to the enclosure = connecting to the Mac. That's why it shows Iris Graphics. The troubleshooting guide mentions About This Mac is only updated if the main display is driven by eGPU. Set-eGPU is for apps only.

purge-wrangler.shpurge-nvda.shset-eGPU.sh
----
Troubleshooting eGPUs on macOS
Command Line Swiss Knife
----
Multiple Build Guides


ReplyQuote
Ole666
(@ole666)
Active Member
Joined: 5 months ago
Posts: 6
August 14, 2018 8:43 am  
Posted by: mac_editor

@ole666 Does hot-plugging eGPU, logging out/in help, as suggested above by @amadeo? Sorry don't have iMac to test.

Hi, Tank for your Answer!
I have set the external monitor in the control panel as the primary monitor. Then I switched to the Nvidia driver and restarted the computer. After rebooting, I started the eGPU and connected it to iMac. (hot plug) After logging off and on, the OS ran smoother and I could use the eGPU for rendering. I think it's going well. But, after logging in with my iMac monitor showed a range of wonderful colors, I think that's not so good... do you have another clue?

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


ReplyQuote
Page 22 / 31 Prev Next