Share:

[SCRIPT] fr34k's macOS-eGPU.sh - one script, all solutions, fully automated  

Page 17 / 21
  RSS

(@dennis_kievits_elertan)
Active Member
Joined: 9 months ago
Posts: 8
July 28, 2018 3:39 pm  

@precision01

I'm facing the exact same issue, can you try logging in as guest user, to see if Chromium based apps are causing the issues? It seems to be the fact that Chromium apps try to use the dGPU acceleration which makes the GPU shit itself  😥

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


ReplyQuote
Technomad
(@technomad)
Eminent Member
Joined: 1 year ago
Posts: 42
July 28, 2018 11:29 pm  

Just tried the new version and it’s working perfectly - everything accelerated, and no lag. Works fine with the log in, hot plug, log out & in again protocol.  What I can’t work out though is how to sleep or shut down without a last-minute KP. Any suggestions?

Mid-2017 MBP 15”/3.1GHz, Razer Core v2, EVGA GTX1080Ti, LG 34UM95, HTC Vive, Samsung Odyssey, MS Hololens.


ReplyQuote
iaomw
(@iaomw)
Active Member
Joined: 2 years ago
Posts: 18
July 29, 2018 12:12 pm  

Hi, I didn't see the little menu to disconnect eGPU, What should I do to enable it?

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


ReplyQuote
(@kingabidal_x)
New Member
Joined: 9 months ago
Posts: 1
July 29, 2018 2:23 pm  

Hey dude, I've been trying to get this to work for the past week with no luck. When I boot up with my eGPU plugged in after running the default script I get a black screen. I tried connecting my eGPU to an external monitor but nothing shows. Please help me, I am willing to DONATE to anyone who can get it to work for me. I beg anybody for help!!!!!!!!!

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


ReplyQuote
Architek1
(@architek1)
New Member
Joined: 9 months ago
Posts: 3
July 29, 2018 4:31 pm  

Day 4 with no laptop working after upgrading from 10.13.4 to 10.13.6. Never loads the OS as the progress bar stops halfway through. No safe mode only recovery and single user. In recovery mode I have tried the bash <(curl...) script and nothing happens. I tried without bash, being that it’s a bash shell anyways. Error: /dev/fd/63 permission denied. Would someone with more experience be able to help?

MacBook Pro 10.13.6 > Akitio Node > 980Ti

MacBook Pro 2012> Akitio Node> 980Ti > Cinema HD


ReplyQuote
Mymantiz_John
(@mymantiz_john)
Vendor
Joined: 2 years ago
Posts: 493
July 29, 2018 6:06 pm  

Assist customer :
2017 MBP15“ with 10.13.6
Mantiz Venus + 1080TI
Successfully working
Great job, Thanks Fr34K

Mantiz: ShopFacebookTwitter


fr34k liked
ReplyQuote
precision01
(@precision01)
Eminent Member
Joined: 2 years ago
Posts: 30
July 29, 2018 6:41 pm  
Posted by: Dennis Kievits (Elertan)

@precision01

I'm facing the exact same issue, can you try logging in as guest user, to see if Chromium based apps are causing the issues? It seems to be the fact that Chromium apps try to use the dGPU acceleration which makes the GPU shit itself  😥

Hi, Dennis. I also have the same issues if I login as guest user. And I never used Chromium browser.

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


ReplyQuote
precision01
(@precision01)
Eminent Member
Joined: 2 years ago
Posts: 30
July 29, 2018 6:45 pm  
Posted by: elpmis

Does anyone know how to power LG Ultrafine 5K with eGPU?

It seems that you can't. You would need a eGPU chassis like the one from BackMagicDesign, that was recently released and endorsed by apple.

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


ReplyQuote
precision01
(@precision01)
Eminent Member
Joined: 2 years ago
Posts: 30
July 29, 2018 7:00 pm  
Posted by: DeNachtwacht

I installed this today on my New 2018 13,3" MacBook Pro with a Aorus Gaming Box 1080 and I am surprised to be able to tell you that it works flawless, I can even enable G-Sync without problems. I also installed Boot Camp because I expected problems with macOS but in Windows 10 I get all kinds of problems (USB doesn't work, can't set resolutions correctly et cetera). So keep up the good work, and maybe... also build a script for windows? 😉

Interesting. Could you please explain what do you do to make it work? Do you hotplug the eGPU after macOS finishes the boot process?

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


ReplyQuote
Technomad
(@technomad)
Eminent Member
Joined: 1 year ago
Posts: 42
July 29, 2018 7:41 pm  
Posted by: precision01
Posted by: DeNachtwacht

I installed this today on my New 2018 13,3" MacBook Pro with a Aorus Gaming Box 1080 and I am surprised to be able to tell you that it works flawless, I can even enable G-Sync without problems. I also installed Boot Camp because I expected problems with macOS but in Windows 10 I get all kinds of problems (USB doesn't work, can't set resolutions correctly et cetera). So keep up the good work, and maybe... also build a script for windows? 😉

Interesting. Could you please explain what do you do to make it work? Do you hotplug the eGPU after macOS finishes the boot process?

FWIW, I’m hotplugging after OS X completes it’s boot process - not immediately after logging in. I then log out and in again, and am now getting superb performance and no UI lag - CUDA, OpenGL, OpenCL and Metal are all performing well, with Lightroom dramatically faster than it’s ever been before. The only outstanding problem I’m having is getting a clean shutdown.

Mid-2017 MBP 15”/3.1GHz, Razer Core v2, EVGA GTX1080Ti, LG 34UM95, HTC Vive, Samsung Odyssey, MS Hololens.


ReplyQuote
(@keith_walls)
Eminent Member
Joined: 1 year ago
Posts: 34
July 29, 2018 7:49 pm  

For the record, still no dice with an iMac Pro running 10.13.6. with an nVidia eGPU. As soon as the system detects the eGPU, the external monitor has a standard Apple blue background, and the internal display has the Apple Boot Logo (in green) with a half-full progress bar underneath. The cursor works on both screens, but nothing else. Forced logouts in this state fail. I'm using the latest script as of today.

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


ReplyQuote
fr34k
(@fr34k)
Reputable Member Moderator
Joined: 1 year ago
Posts: 389
July 29, 2018 8:19 pm  
Posted by: Technomad

Just tried the new version and it’s working perfectly - everything accelerated, and no lag. Works fine with the log in, hot plug, log out & in again protocol.  What I can’t work out though is how to sleep or shut down without a last-minute KP. Any suggestions?

Try reboot, and once the system has shut down and your eGPU looses power unplug.

macOS-eGPU.sh on GitHub (fr34k's macOS-eGPU.sh on eGPU.io)
----
2016 15'' MacBook Pro + GTX1080T[email protected] (Sonnet Breakaway 550) + macOS 10.13.6 (17G65 driver: 378.10.10.10.30.107 + CUDA: 396.148)


ReplyQuote
fr34k
(@fr34k)
Reputable Member Moderator
Joined: 1 year ago
Posts: 389
July 29, 2018 8:20 pm  
Posted by: iaomw

Hi, I didn't see the little menu to disconnect eGPU, What should I do to enable it?

You can't and you needn't.

macOS-eGPU.sh on GitHub (fr34k's macOS-eGPU.sh on eGPU.io)
----
2016 15'' MacBook Pro + [email protected] (Sonnet Breakaway 550) + macOS 10.13.6 (17G65 driver: 378.10.10.10.30.107 + CUDA: 396.148)


ReplyQuote
fr34k
(@fr34k)
Reputable Member Moderator
Joined: 1 year ago
Posts: 389
July 29, 2018 8:23 pm  
Posted by: kingabidal X

Hey dude, I've been trying to get this to work for the past week with no luck. When I boot up with my eGPU plugged in after running the default script I get a black screen. I tried connecting my eGPU to an external monitor but nothing shows. Please help me, I am willing to DONATE to anyone who can get it to work for me. I beg anybody for help!!!!!!!!!

Donations as well as cries for help won't work.
YOU MUST PROVIDE AS MUCH INFORMATION AS POSSIBLE! The more information one provides the better one can reproduce and help. One start would be the output of my script using the --checkSystem flag...

macOS-eGPU.sh on GitHub (fr34k's macOS-eGPU.sh on eGPU.io)
----
2016 15'' MacBook Pro + [email protected] (Sonnet Breakaway 550) + macOS 10.13.6 (17G65 driver: 378.10.10.10.30.107 + CUDA: 396.148)


ReplyQuote
fr34k
(@fr34k)
Reputable Member Moderator
Joined: 1 year ago
Posts: 389
July 29, 2018 8:25 pm  
Posted by: Architek1

Day 4 with no laptop working after upgrading from 10.13.4 to 10.13.6. Never loads the OS as the progress bar stops halfway through. No safe mode only recovery and single user. In recovery mode I have tried the bash <(curl...) script and nothing happens. I tried without bash, being that it’s a bash shell anyways. Error: /dev/fd/63 permission denied. Would someone with more experience be able to help?

MacBook Pro 10.13.6 > Akitio Node > 980Ti

one moment: your os doesn't boot with or without eGPU connected? Can you get your system to boot at all? If not you will have to reinstall macOS. For that open recovery and reinstall macOS. Your data should be untouched...

macOS-eGPU.sh on GitHub (fr34k's macOS-eGPU.sh on eGPU.io)
----
2016 15'' MacBook Pro + [email protected] (Sonnet Breakaway 550) + macOS 10.13.6 (17G65 driver: 378.10.10.10.30.107 + CUDA: 396.148)


ReplyQuote
Architek1
(@architek1)
New Member
Joined: 9 months ago
Posts: 3
July 29, 2018 9:07 pm  

Nope. With or without eGPU connected, it doesn’t boot.

Edit: As I mentioned it boots into Recovery and single user. I have reinstalled 10.13.6 OS already and still doesn’t work.

MacBook Pro 2012> Akitio Node> 980Ti > Cinema HD


ReplyQuote
precision01
(@precision01)
Eminent Member
Joined: 2 years ago
Posts: 30
July 29, 2018 9:26 pm  
Posted by: Technomad
Posted by: precision01
Posted by: DeNachtwacht

I installed this today on my New 2018 13,3" MacBook Pro with a Aorus Gaming Box 1080 and I am surprised to be able to tell you that it works flawless, I can even enable G-Sync without problems. I also installed Boot Camp because I expected problems with macOS but in Windows 10 I get all kinds of problems (USB doesn't work, can't set resolutions correctly et cetera). So keep up the good work, and maybe... also build a script for windows? 😉

Interesting. Could you please explain what do you do to make it work? Do you hotplug the eGPU after macOS finishes the boot process?

FWIW, I’m hotplugging after OS X completes it’s boot process - not immediately after logging in. I then log out and in again, and am now getting superb performance and no UI lag - CUDA, OpenGL, OpenCL and Metal are all performing well, with Lightroom dramatically faster than it’s ever been before. The only outstanding problem I’m having is getting a clean shutdown.

Good, I will run the script again and do some tests to check if I can achieve the same results.

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


ReplyQuote
INFINITE FEAR
(@infinite-fear)
New Member
Joined: 9 months ago
Posts: 1
July 29, 2018 10:12 pm  

Hi, I have a problem with my eGPU. The problem is that when my computer boots up with eGPU connected to it at login menu when I type in my password it starts to load and at certain moment loading bar stops and I get an error message and it happens all over again, sometimes as I have noticed the loading bar doesn’t fill up at all it just stays empty and computer also restart and throws away an error message.

 

The equipment I use is :

  1. MacBook Pro (Retina, 13-inch, Early 2015)

Processor : 2,7 GHz Intel Core i5

Memory : 8 GB 1867 MHz DDR3

Graphics : Intel Iris Graphics 6100 1536 MB

Thunderbolt 2 port

SSD capacity : 120 GB

Version 10.13.6 High Sierra

 

 

2)  21:9 Curved UltraWide Monitor 34UC97

21:9 Curved QHD

Flicker-Safe IPS DISPLAY

SRGB OVER 99% / 10-bit-colour via Display Port

THUNDERBOLT™ 2 / MAC® COMPATIBLE

Wall Mountable (100x100)

ENERGY STAR® QUALIFIED

More info about this monitor can be find here if needed : https://www.lg.com/uk/monitors/lg-34UC97

 

3)  AKiTiO Thunder2 PCIe Box

More info about it can be sound here if needed : https://www.akitio.com/expansion/thunder2-pcie-box

 

4) GPU : Gigabyte GeForce GTX 970 Mini ITX Overclocked 4GB GDDR5 PCiE Video Card GV-N970IXOC-4GD

More info about it can be sound here if needed : https://www.gigabyte.com/us/Graphics-Card/GV-N970IXOC-4GD#ov

 

5) Power supply : Corsair RM 650

More info about it can be sound here if needed : https://www.corsair.com/us/en/Power/rm-series-config/p/CP-9020054-NA

 

As far as I have noticed when I had Mac OS El Capitan and used Automate-eGPU.sh script from this

link : https://www.techinferno.com/index.php?/forums/topic/7989-script-automating-the-installation-of-egpu-on-os-x-inc-display-output/     It used to work pretty good but that was years ago, even now if I install Mac OS El Capitan and run this script it wont detect my eGPU from first attempt, even if it detects it and install the script the computer might freeze on dark grey screen just after the restart. I used to turn off computer completely then and turn it back on and sometimes it helped to start eGPU.

Later on I updated my Mac OS El Capitan to Mac OS Sierra 10.12.6 and automate eGPU script both from egpu.io and technoinferno.com used to work. I could turn computer on and off and eGPU was working all the times. But after few hours when I decided to turn on my computer it all just refused to work, at login menu after typing in the password the loading bar was just freezing and rebooting and giving me an error message. I’ve had same errors both with Mac OS Sierra and Mac OS El Capitan. Right now I am using Mac OS High Sierra version 10.13.6 and I used many scripts such as Automate-eGPU version 1.3, purge wrangler.sh. With purge wrangler.sh script I used function “Enable NVIDIA eGPU” and after that rebooted the seestem through purge wrangler script, and again nothing seemed to work. Had same errors, the loading bar was loading up a little (about 25%, sometimes it used to load up to 50% approximately) and whole system was restarted again and again. I hope anyone could tell me what to do to make it all work well, please help me. Thanks!

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


ReplyQuote
Technomad
(@technomad)
Eminent Member
Joined: 1 year ago
Posts: 42
July 30, 2018 1:57 pm  
Posted by: fr34k
Posted by: Technomad

Just tried the new version and it’s working perfectly - everything accelerated, and no lag. Works fine with the log in, hot plug, log out & in again protocol.  What I can’t work out though is how to sleep or shut down without a last-minute KP. Any suggestions?

Try reboot, and once the system has shut down and your eGPU looses power unplug.

OK - thanks. And sleep appears to be working just fine 🙂

Mid-2017 MBP 15”/3.1GHz, Razer Core v2, EVGA GTX1080Ti, LG 34UM95, HTC Vive, Samsung Odyssey, MS Hololens.


ReplyQuote
Technomad
(@technomad)
Eminent Member
Joined: 1 year ago
Posts: 42
July 30, 2018 1:59 pm  

So, all good. Except… …I'm connected to the Razer Core v2 via TB3, then Displayport to my external monitor from my GTX1080Ti. Only, no audio to the monitor at all. I'm assuming that the Razer Core would need to be recognised as an audio output device by my MBP for this to work? Thoughts?

Mid-2017 MBP 15”/3.1GHz, Razer Core v2, EVGA GTX1080Ti, LG 34UM95, HTC Vive, Samsung Odyssey, MS Hololens.


ReplyQuote
timothyov
(@timothyov)
Eminent Member
Joined: 2 years ago
Posts: 41
July 30, 2018 3:45 pm  

Trying again here. At least one game known to crash when attempting to use eGPU. I don't have any others to test with, unfortunately. To my knowledge it's simply using OpenGL. 

  1. Installed the script.
  2. In order to use eGPU I must hotswap, log out and log back in.
  3. "About this mac" shows eGPU powering both my built in display and external display.
  4. Unigen Heaven (API: OpenGL is greyed out with no other options) shows between 30-50fps with all maxed settings (GTX 1070)
  5. Attempt to play a game: League of Legends (OpenGL). Game loads, shows low FPS, crashes within 10 seconds.

Is this a known issue?

2018 15" MBP w/ Radeon Pro 560
Mojave, Bootcamp Windows 10
Nvidia GTX 1070
Akitio Node


ReplyQuote
piranhaco
(@piranhaco)
Active Member
Joined: 9 months ago
Posts: 13
July 31, 2018 1:06 am  

Hi! After running the script I can see my Nvidia GeForce 1080 TI in the NVIDIA Driver Manager ( (-) G-SYNK Disabled, (-) ECC Not Supported), and I can see it in my System Information/GraphicsDisplays (External GPU PCIe). And if I run Premiere or After Effects I can see both graphic cards the Nvidia and the Internal AMD working in the Activity Monitor/GPU. So the NVIDIA is installed. But:

- There is no eGPU icon in my menu bar on the top, so I can't select the Nvidia or Eject it.
- Both Monitors are using the internal AMD. The external Monitor is connected to my Node Pro using the DisplayPort, but still it is using the AMD.
- I can't restart the iMac with the eGPU connected. I get both monitors in Black, I can hear the iMac running but I have no monitoring at all. 
- It only works if I connected the eGPU during the Apple Logo at the beginning.  
- Even with Premiere and After Effects taking advantages from the Nvidia and CUDA, I can't run benchmarks using the Nvidia or assign Nvidia to the main Monitor, it is just there, working in the background but I can't select nothing.
- If I try hot-unplugged I get the fatal shutdown. 

- If I run the --Checksystem in macOS-eGPU.sh I get this:

NVIDIA driver  [387.10.10.10.30.106] NVIDIA eGPU enabler  [installed] AMD legacy drivers   [not installed] T82 unblocker  [not installed] NVIDIA dGPU [not available] NVIDIA macOS 10.13.4/.5 patch  [not installed] IO PCIE Tunnelled patch   [not installed] unlocked thunderbolt version   [2] thunderbolt daemon  [not installed] CUDA
CUDA drivers  [396.64] 
CUDA developer drivers  [not installed]
CUDA toolkit  [not installed] CUDA samples  [not installed]

Listing system information...

macOS version                                                       [10.13.4] macOS build                                                          [17E199] SIP status                                                                [0] thunderbolt interface version                              [2]

eGPU information
connected eGPU                                                      [true] eGPU vendor                                                       [NVIDIA] NVIDIA dGPU                                                           [false] AGW version                                                  [10.13.4:17E199]

This is my System:

This is my set up:
- iMac Retina 5K, 27-inch, Late 2015
- High Sierra 10.13.4 (17E199) 
- Node Pro (T3)
- Nvidia Geforce Gtx 1080 Ti
- Thunderbolt 3 (USB-C) to Thunderbolt 2 Adapter
- Thunderbolt 2 cable 
- DELL UP2716D Display 27-inch (2560 x 1440).
- Mini-DisplayPort to HDMI Adapter

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


ReplyQuote
(@alex_gao)
Active Member
Joined: 1 year ago
Posts: 10
July 31, 2018 4:55 am  
I builded tensorflow 1.8.0 with latest Nvidia driver and run the test, but failed: 


2018-07-31 11:42:11.099536: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:859] OS X does not support NUMA - returning NUMA node zero
2018-07-31 11:42:11.100858: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1356] Found device 0 with properties: 
name: GeForce GTX 1080 major: 6 minor: 1 memoryClockRate(GHz): 1.7335
pciBusID: 0000:c2:00.0
totalMemory: 8.00GiB freeMemory: 7.79GiB
2018-07-31 11:42:11.100875: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1435] Adding visible gpu devices: 0
2018-07-31 11:42:12.798611: I tensorflow/core/common_runtime/gpu/gpu_device.cc:923] Device interconnect StreamExecutor with strength 1 edge matrix:
2018-07-31 11:42:12.798633: I tensorflow/core/common_runtime/gpu/gpu_device.cc:929]      0 
2018-07-31 11:42:12.798638: I tensorflow/core/common_runtime/gpu/gpu_device.cc:942] 0:   N 
2018-07-31 11:42:12.799160: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1053] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 7528 MB memory) -> physical GPU (device: 0, name: GeForce GTX 1080, pci bus id: 0000:c2:00.0, compute capability: 6.1)
2018-07-31 11:42:12.799482: E tensorflow/stream_executor/cuda/cuda_driver.cc:936] failed to allocate 7.35G (7893723136 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY
2018-07-31 11:42:12.799563: E tensorflow/stream_executor/cuda/cuda_driver.cc:936] failed to allocate 6.62G (7104350720 bytes) from device: CUDA_ERROR_OUT_OF_MEMORY
>>> print("hello, {}".format(m))  # => "hello, [[4.]]"
Segmentation fault: 11

macOS-eGPU.sh (v1.4)
Listing installation status of packages...

   NVIDIA driver                                                                                                            [387.10.10.10.40.105]

   NVIDIA eGPU enabler                                                                                                            [not installed]

   AMD legacy drivers                                                                                                             [not installed]

   T82 unblocker                                                                                                                  [not installed]

   NVIDIA dGPU                                                                                                                    [not available]

   NVIDIA macOS 10.13.4/.5 patch                                                                                                  [not installed]

   IO PCIE Tunnelled patch                                                                                                            [installed]

   unlocked thunderbolt version                                                                                                               [2]

   thunderbolt daemon                                                                                                             [not installed]

   CUDA

      CUDA drivers                                                                                                                      [396.148]

      CUDA developer drivers                                                                                                            [396.148]

      CUDA toolkit                                                                                                                      [9.2.148]

      CUDA samples                                                                                                                      [9.2.148]

Listing system information...

   macOS version                                                                                                                        [10.13.6]

   macOS build                                                                                                                            [17G65]

   SIP status                                                                                                                                 [0]

   thunderbolt interface version                                                                                                              [2]

   eGPU information

      connected eGPU                                                                                                                      [false]

   NVIDIA dGPU                                                                                                                            [false]

   AGW version                                                                                                                    [10.13.6:17G65]

Graphics/Displays:

    AMD Radeon R9 M290X:

      Chipset Model: AMD Radeon R9 M290X

      Type: GPU

      Bus: PCIe

      PCIe Lane Width: x16

      VRAM (Dynamic, Max): 2048 MB

      Vendor: AMD (0x1002)

      Device ID: 0x6810

      Revision ID: 0x0000

      ROM Revision: 113-C408A0-730

      VBIOS Version: 113-C408A0-017

      EFI Driver Version: 01.00.730

      Metal: Supported, feature set macOS GPUFamily1 v3

      Displays:

        iMac:

          Display Type: Built-In Retina LCD

          Resolution: 5120 x 2880 Retina

          Framebuffer Depth: 30-Bit Color (ARGB2101010)

          Main Display: Yes

          Mirror: Off

          Online: Yes

          Automatically Adjust Brightness: No

Hardware:

    Hardware Overview:

      Model Name: iMac

      Model Identifier: iMac15,1

      Processor Name: Intel Core i5

      Processor Speed: 3.5 GHz

      Number of Processors: 1

      Total Number of Cores: 4

      L2 Cache (per Core): 256 KB

      L3 Cache: 6 MB

      Memory: 32 GB

      Boot ROM Version: IM151.0217.B00

      SMC Version (system): 2.22f16

Thunderbolt:

    Thunderbolt Bus:

      Vendor Name: Apple Inc.

      Device Name: iMac

      UID: 0x00010011002EC170

      Route String: 0

      Firmware Version: 26.1

      Domain UUID: 99072980-4FA3-5456-8E7D-120F3B163A6D

      Port:

          Status: No device connected

          Link Status: 0x101

          Speed: Up to 20 Gb/s x1

          Current Link Width: 0x1

          Receptacle: 1

          Link Controller Firmware Version: 0.14.0

      Port:

          Status: No device connected

          Link Status: 0x101

          Speed: Up to 20 Gb/s x1

          Current Link Width: 0x1

          Receptacle: 2

          Link Controller Firmware Version: 0.14.0

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


ReplyQuote
precision01
(@precision01)
Eminent Member
Joined: 2 years ago
Posts: 30
July 31, 2018 3:50 pm  
Posted by: precision01
Posted by: Technomad
Posted by: precision01
Posted by: DeNachtwacht

I installed this today on my New 2018 13,3" MacBook Pro with a Aorus Gaming Box 1080 and I am surprised to be able to tell you that it works flawless, I can even enable G-Sync without problems. I also installed Boot Camp because I expected problems with macOS but in Windows 10 I get all kinds of problems (USB doesn't work, can't set resolutions correctly et cetera). So keep up the good work, and maybe... also build a script for windows? 😉

Interesting. Could you please explain what do you do to make it work? Do you hotplug the eGPU after macOS finishes the boot process?

FWIW, I’m hotplugging after OS X completes it’s boot process - not immediately after logging in. I then log out and in again, and am now getting superb performance and no UI lag - CUDA, OpenGL, OpenCL and Metal are all performing well, with Lightroom dramatically faster than it’s ever been before. The only outstanding problem I’m having is getting a clean shutdown.

Good, I will run the script again and do some tests to check if I can achieve the same results.

It worked!
Here goes my report:

1. First I uninstalled fr34k's macOS-eGPU.sh script using the command line:
bash <(curl -s https://raw.githubusercontent.com/learex/macOS-eGPU/master/macOS-eGPU.sh)   --uninstall

2. Then, I installed the script following actual fr34k's instruction on GitHub.

3. After installation is complete, I restarted the computer with Aorus eGPU disconnected.

4. After the boot process was complete, I hotplugged the eGPU. Both internal and external monitor flashed, and after that internal monitor had no issues and external monitor went black, only with mouse cursor.

5. With the eGPU still connected I then did a simple logout and login, and everything was working fine. I finally have my Aorus eGPU working on external display!

Now some relevant things I noticed:

First, my primary objective with eGPU is to do Cinema 4D GPU rendering (Octane / Redshift). The second is to be able to play AAA steam games on Windows 10 without having to maintain a separate computer just for that.

a) I did the external display tests in a LG B7P OLED TV. Surprisingly, Nvidia eGPU on macOS have a noticeable lower input lag on macOS eGPU than on Windows 10 bootcamp (Mouse cursor feels and looks smoother on macOS).
b) There's no eGPU disconnect icon
c) Trying to change external display resolution usually results in a noise, which in turn can be solved by disconnecting connecting external display cable.
d) If macOS goes into stand-by, it can awake without issues. On Windows 10 bootcamp, if the system goes into stand-by, I have to restart the system for the eGPU to work again.
e) It looks like eGPU can randomly accelerate internal display.

In general, it seems that Apple is putting more effort on eGPU technology than microsoft.

If Apple just decided to officially support nVivia in macOS 10.14, scenario would be promising.

Thanks again, @fr34k and @DeNachtwacht .

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


fr34k and Antani72 liked
ReplyQuote
dorza
(@dorza)
Eminent Member
Joined: 10 months ago
Posts: 27
July 31, 2018 4:00 pm  

Hey!

I've used your script on my Macbook pro 15'' mid 2014. all ran with no errors. 
My GIGABYTE RX580 is heating up & connected to my mac BUT my mac doesn't recognise anything (a monitor is connected to the eGPU)

MBP Retina 15’’ mid 2014 + GIGABYTE RX580


ReplyQuote
fr34k
(@fr34k)
Reputable Member Moderator
Joined: 1 year ago
Posts: 389
August 2, 2018 6:20 pm  
Posted by: Architek1

Nope. With or without eGPU connected, it doesn’t boot.

Edit: As I mentioned it boots into Recovery and single user. I have reinstalled 10.13.6 OS already and still doesn’t work.

@architek1
OK, then two things are still possible: Reset NVRAM or restore from backup.

macOS-eGPU.sh on GitHub (fr34k's macOS-eGPU.sh on eGPU.io)
----
2016 15'' MacBook Pro + [email protected] (Sonnet Breakaway 550) + macOS 10.13.6 (17G65 driver: 378.10.10.10.30.107 + CUDA: 396.148)


ReplyQuote
fr34k
(@fr34k)
Reputable Member Moderator
Joined: 1 year ago
Posts: 389
August 2, 2018 6:24 pm  

@infinite-fear
might you try cleansing the system from all other scripts and then using my script with the options:
macos-egpu -i -n -l
(I'm assuming you've used mine once)
Do not do anything else afterwards.
Also, hot plug the eGPU don't boot with it.

macOS-eGPU.sh on GitHub (fr34k's macOS-eGPU.sh on eGPU.io)
----
2016 15'' MacBook Pro + [email protected] (Sonnet Breakaway 550) + macOS 10.13.6 (17G65 driver: 378.10.10.10.30.107 + CUDA: 396.148)


ReplyQuote
fr34k
(@fr34k)
Reputable Member Moderator
Joined: 1 year ago
Posts: 389
August 2, 2018 6:30 pm  

@technomad
the problem here lies within the driver. There are unofficial drivers supporting sound output. Also, if you've read through the output of my script using --checkSystem, then you'll notice a PCIe device with an VendorID of 0x10de classified as Audio Device. That's the eGPU.

macOS-eGPU.sh on GitHub (fr34k's macOS-eGPU.sh on eGPU.io)
----
2016 15'' MacBook Pro + [email protected] (Sonnet Breakaway 550) + macOS 10.13.6 (17G65 driver: 378.10.10.10.30.107 + CUDA: 396.148)


ReplyQuote
fr34k
(@fr34k)
Reputable Member Moderator
Joined: 1 year ago
Posts: 389
August 2, 2018 6:35 pm  
Posted by: piranhaco

Hi! After running the script I can see my Nvidia GeForce 1080 TI in the NVIDIA Driver Manager ( (-) G-SYNK Disabled, (-) ECC Not Supported), and I can see it in my System Information/GraphicsDisplays (External GPU PCIe). And if I run Premiere or After Effects I can see both graphic cards the Nvidia and the Internal AMD working in the Activity Monitor/GPU. So the NVIDIA is installed. But:

- There is no eGPU icon in my menu bar on the top, so I can't select the Nvidia or Eject it.
- Both Monitors are using the internal AMD. The external Monitor is connected to my Node Pro using the DisplayPort, but still it is using the AMD.
- I can't restart the iMac with the eGPU connected. I get both monitors in Black, I can hear the iMac running but I have no monitoring at all. 
- It only works if I connected the eGPU during the Apple Logo at the beginning.  
- Even with Premiere and After Effects taking advantages from the Nvidia and CUDA, I can't run benchmarks using the Nvidia or assign Nvidia to the main Monitor, it is just there, working in the background but I can't select nothing.
- If I try hot-unplugged I get the fatal shutdown. 

- If I run the --Checksystem in macOS-eGPU.sh I get this:

NVIDIA driver  [387.10.10.10.30.106] NVIDIA eGPU enabler  [installed] AMD legacy drivers   [not installed] T82 unblocker  [not installed] NVIDIA dGPU [not available] NVIDIA macOS 10.13.4/.5 patch  [not installed] IO PCIE Tunnelled patch   [not installed] unlocked thunderbolt version   [2] thunderbolt daemon  [not installed] CUDA
CUDA drivers  [396.64] 
CUDA developer drivers  [not installed]
CUDA toolkit  [not installed] CUDA samples  [not installed]

Listing system information...

macOS version                                                       [10.13.4] macOS build                                                          [17E199] SIP status                                                                [0] thunderbolt interface version                              [2]

eGPU information
connected eGPU                                                      [true] eGPU vendor                                                       [NVIDIA] NVIDIA dGPU                                                           [false] AGW version                                                  [10.13.4:17E199]

This is my System:

This is my set up:
- iMac Retina 5K, 27-inch, Late 2015
- High Sierra 10.13.4 (17E199) 
- Node Pro (T3)
- Nvidia Geforce Gtx 1080 Ti
- Thunderbolt 3 (USB-C) to Thunderbolt 2 Adapter
- Thunderbolt 2 cable 
- DELL UP2716D Display 27-inch (2560 x 1440).
- Mini-DisplayPort to HDMI Adapter

@piranhaco

Thanks! That's how a support request should look like.

The problem here lies in that the .4/.5 patch seems to be not installed.

macos-egpu -i --unlockNvidia

I know that what packages are needed is somewhat confusing but the whole NVIDIA eGPU situation is a mess and I try to have backwards compatibility.

macOS-eGPU.sh on GitHub (fr34k's macOS-eGPU.sh on eGPU.io)
----
2016 15'' MacBook Pro + [email protected] (Sonnet Breakaway 550) + macOS 10.13.6 (17G65 driver: 378.10.10.10.30.107 + CUDA: 396.148)


ReplyQuote
fr34k
(@fr34k)
Reputable Member Moderator
Joined: 1 year ago
Posts: 389
August 2, 2018 6:37 pm  

@alex_gao
do other programs work as expected?

also: nice request!

macOS-eGPU.sh on GitHub (fr34k's macOS-eGPU.sh on eGPU.io)
----
2016 15'' MacBook Pro + [email protected] (Sonnet Breakaway 550) + macOS 10.13.6 (17G65 driver: 378.10.10.10.30.107 + CUDA: 396.148)


ReplyQuote
fr34k
(@fr34k)
Reputable Member Moderator
Joined: 1 year ago
Posts: 389
August 2, 2018 6:40 pm  

@dorza

I need more information!

Take a look on how it's done: sample post

macOS-eGPU.sh on GitHub (fr34k's macOS-eGPU.sh on eGPU.io)
----
2016 15'' MacBook Pro + [email protected] (Sonnet Breakaway 550) + macOS 10.13.6 (17G65 driver: 378.10.10.10.30.107 + CUDA: 396.148)


ReplyQuote
fr34k
(@fr34k)
Reputable Member Moderator
Joined: 1 year ago
Posts: 389
August 2, 2018 6:42 pm  

@timothyov
2 things: 1. Are you using the eM (external Monitor?) 2. try using @mac_editor's set-eGPU 
script.

also, a tad more information about the system would be nice 😉

macOS-eGPU.sh on GitHub (fr34k's macOS-eGPU.sh on eGPU.io)
----
2016 15'' MacBook Pro + [email protected] (Sonnet Breakaway 550) + macOS 10.13.6 (17G65 driver: 378.10.10.10.30.107 + CUDA: 396.148)


ReplyQuote
(@alex_gao)
Active Member
Joined: 1 year ago
Posts: 10
August 3, 2018 1:18 am  
Posted by: fr34k

@alex_gao
do other programs work as expected?

also: nice request!

@fr34k I think eGPU is working. After I downgrade to Tensorflow 1.7.x, python script is not crashing again. I don't know it's issues of Tensorflow or Nvidia. I will test Tensorflow 1.8 with different CUDA SDK version(9.0 / 9.1).

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


fr34k liked
ReplyQuote
piranhaco
(@piranhaco)
Active Member
Joined: 9 months ago
Posts: 13
August 3, 2018 3:46 am  
Posted by: fr34k
Posted by: piranhaco

Hi! After running the script I can see my Nvidia GeForce 1080 TI in the NVIDIA Driver Manager ( (-) G-SYNK Disabled, (-) ECC Not Supported), and I can see it in my System Information/GraphicsDisplays (External GPU PCIe). And if I run Premiere or After Effects I can see both graphic cards the Nvidia and the Internal AMD working in the Activity Monitor/GPU. So the NVIDIA is installed. But:

- There is no eGPU icon in my menu bar on the top, so I can't select the Nvidia or Eject it.
- Both Monitors are using the internal AMD. The external Monitor is connected to my Node Pro using the DisplayPort, but still it is using the AMD.
- I can't restart the iMac with the eGPU connected. I get both monitors in Black, I can hear the iMac running but I have no monitoring at all. 
- It only works if I connected the eGPU during the Apple Logo at the beginning.  
- Even with Premiere and After Effects taking advantages from the Nvidia and CUDA, I can't run benchmarks using the Nvidia or assign Nvidia to the main Monitor, it is just there, working in the background but I can't select nothing.
- If I try hot-unplugged I get the fatal shutdown. 

- If I run the --Checksystem in macOS-eGPU.sh I get this:

NVIDIA driver  [387.10.10.10.30.106] NVIDIA eGPU enabler  [installed] AMD legacy drivers   [not installed] T82 unblocker  [not installed] NVIDIA dGPU [not available] NVIDIA macOS 10.13.4/.5 patch  [not installed] IO PCIE Tunnelled patch   [not installed] unlocked thunderbolt version   [2] thunderbolt daemon  [not installed] CUDA
CUDA drivers  [396.64] 
CUDA developer drivers  [not installed]
CUDA toolkit  [not installed] CUDA samples  [not installed]

Listing system information...

macOS version                                                       [10.13.4] macOS build                                                          [17E199] SIP status                                                                [0] thunderbolt interface version                              [2]

eGPU information
connected eGPU                                                      [true] eGPU vendor                                                       [NVIDIA] NVIDIA dGPU                                                           [false] AGW version                                                  [10.13.4:17E199]

This is my System:

This is my set up:
- iMac Retina 5K, 27-inch, Late 2015
- High Sierra 10.13.4 (17E199) 
- Node Pro (T3)
- Nvidia Geforce Gtx 1080 Ti
- Thunderbolt 3 (USB-C) to Thunderbolt 2 Adapter
- Thunderbolt 2 cable 
- DELL UP2716D Display 27-inch (2560 x 1440).
- Mini-DisplayPort to HDMI Adapter

@piranhaco

Thanks! That's how a support request should look like.

The problem here lies in that the .4/.5 patch seems to be not installed.

macos-egpu -i --unlockNvidia

I know that what packages are needed is somewhat confusing but the whole NVIDIA eGPU situation is a mess and I try to have backwards compatibility.

Man! I'm almost there!!!!!!!

Ok, I just did what you said. I have now the NVIDIA macOS 10.13.4/.5 patch installed. And I HAVE THE ICON IN THE MENU! so, a big step. 

Now. Everything looks fine, I have the Icon, my System is showing the Nvidia for my External Monitor and it shows the Nvidia in the Overview as the main Graphics. BUT: My External monitor is completely black. I tried hot connected the eGPU in the logo, in the log in, in the Desktop, but nothing seems to work. Any ideas? What can be missing?

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


ReplyQuote
Architek1
(@architek1)
New Member
Joined: 9 months ago
Posts: 3
August 3, 2018 4:09 am  

My MacBook Pro 2012 requires it to be plugged on boot if you haven’t tried that.

MacBook Pro 2012> Akitio Node> 980Ti > Cinema HD


ReplyQuote
Burt
 Burt
(@burt)
New Member
Joined: 2 years ago
Posts: 4
August 3, 2018 10:07 am  

I have been use it for a while. But since I turned off my computer yesterday and turned it on today, the egpu don't work anymore!!
So I reinstall it and check system get this...

Listing installation status of packages...

   NVIDIA driver                                                                                                   [387.10.10.10.40.105]

   NVIDIA eGPU enabler                                                                                                   [not installed]

   AMD legacy drivers                                                                                                    [not installed]

   T82 unblocker                                                                                                         [not installed]

   NVIDIA dGPU                                                                                                           [not available]

   NVIDIA macOS 10.13.4/.5 patch                                                                                         [not installed]

   IO PCIE Tunnelled patch                                                                                                   [installed]

   unlocked thunderbolt version                                                                                                      [1]

   thunderbolt daemon                                                                                                    [not installed]

   CUDA

      CUDA drivers                                                                                                             [396.148]

      CUDA developer drivers                                                                                             [not installed]

      CUDA toolkit                                                                                                       [not installed]

      CUDA samples                                                                                                       [not installed]

Listing system information...

   macOS version                                                                                                               [10.13.6]

   macOS build                                                                                                                   [17G65]

   SIP status                                                                                                                        [0]

   thunderbolt interface version                                                                                                     [1]

   eGPU information

      connected eGPU                                                                                                              [true]

      eGPU vendor                                                                                                               [NVIDIA]

   NVIDIA dGPU                                                                                                                   [false]

   AGW version                                                                                                           [10.13.6:17G65]

Graphics/Displays:

 

    AMD Radeon HD 6770M:

 

      Chipset Model: AMD Radeon HD 6770M

      Type: GPU

      Bus: PCIe

      PCIe Lane Width: x16

      VRAM (Dynamic, Max): 512 MB

      Vendor: AMD (0x1002)

      Device ID: 0x6740

      Revision ID: 0x0000

      ROM Revision: 113-C0170C-181

      VBIOS Version: 113-C29503-104

      EFI Driver Version: 01.00.588

      Displays:

        iMac:

          Display Type: LCD

          Resolution: 1920 x 1080 (1080p FHD - Full High Definition)

          UI Looks like: 1920 x 1080

          Framebuffer Depth: 24-Bit Color (ARGB8888)

          Main Display: Yes

          Mirror: Off

          Online: Yes

          Rotation: Supported

          Automatically Adjust Brightness: No

          Connection Type: DisplayPort

 

    NVIDIA Chip Model:

 

      Chipset Model: NVIDIA Chip Model

      Type: External GPU

      Bus: PCIe

      PCIe Lane Width: x4

      VRAM (Dynamic, Max): 0 MB

      Vendor: NVIDIA (0x10de)

      Device ID: 0x17c8

      Revision ID: 0x00a1

      ROM Revision: preset 1.0.0

      Metal: Supported

 

Hardware:

 

    Hardware Overview:

 

      Model Name: iMac

      Model Identifier: iMac12,1

      Processor Name: Intel Core i7

      Processor Speed: 2.8 GHz

      Number of Processors: 1

      Total Number of Cores: 4

      L2 Cache (per Core): 256 KB

      L3 Cache: 8 MB

      Memory: 16 GB

      Boot ROM Version: IM121.004F.B00

      SMC Version (system): 1.71f22

 

Thunderbolt:

 

    Thunderbolt Bus:

 

      Vendor Name: Apple Inc.

      Device Name: iMac

      UID: 0x0001000A1FA65660

      Route String: 0

      Firmware Version: 25.1

      Domain UUID: A188066D-D7EB-A65C-8372-A9E3DED4805C

      Port:

          Status: Device connected

          Link Status: 0x2

          Speed: Up to 10 Gb/s x2

          Receptacle: 1

          Port Micro Firmware Version: 2.1.3

          Cable Firmware Version: 1.0.16

          Cable Serial Number: C4M619300C2F797AQ

 

        AKiTiO Node:

 

          Vendor Name: inXtron

          Device Name: AKiTiO Node

          Vendor ID: 0x41

          Device ID: 0x308

          Device Revision: 0x1

          UID: 0x0041771EA5A89400

          Route String: 1

          Firmware Version: 25.1

          Port (Upstream):

              Status: Device connected

              Link Status: 0x2

              Speed: Up to 10 Gb/s x2

              Current Link Width: 0x1

              Cable Firmware Version: 1.0.16

              Cable Serial Number: C4M619300C2F797AQ

              Link Controller Firmware Version: 0.36.0

 

PCI:

 

    pci10de,fb0:

 

      Type: Audio Device

      Driver Installed: No

      Tunnel Compatible: No

      Pause Compatible: No

      MSI: No

      Bus: PCI

      Slot: Thunderbolt@195,0,1

      Vendor ID: 0x10de

      Device ID: 0x0fb0

      Revision ID: 0x00a1

      Link Width: x4

      Link Speed: 8.0 GT/s

 

    NVIDIA Chip Model:

 

      Name: NVDA,Display-F

      Type: Display Controller

      Driver Installed: Yes

      Tunnel Compatible: No

      Pause Compatible: No

      MSI: No

      Bus: PCI

      Slot: Thunderbolt@195,0,0

      Vendor ID: 0x10de

      Device ID: 0x17c8

      Subsystem ID: 0x0010

      ROM Revision: preset 1.0.0

      Revision ID: 0x00a1

      Link Width: x4

      Link Speed: 8.0 GT/s

what can I do??

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


ReplyQuote
Page 17 / 21