GT650M/GT750M MBP + Nvidia eGPU + 378.10.10.10.25.106 (not 387.xx) = eGPU accele...
 
Notifications
Clear all

GT650M/GT750M MBP + Nvidia eGPU + 378.10.10.10.25.106 (not 387.xx) = eGPU accelerated macOS apps (OpenGL, Metal)  

 of  4
  RSS

LeoLeal
(@leoleal)
Eminent Member
Joined: 3 years ago
 

@fr34k, @goalque.

I got some progress here!
My System is now at 10.13.4 with security update working almost flawlessly except for one tiny detail.

I got It running by running the script in phases.

It seems that the default NVidia driver version that the script installs for my setup, paired with the EGPU Enabler is not compatible even with the discreet GPU. So I gave a try and reproduced the script's default behaviour and used the options flags to do a semi-custom installation. Here's what I did:

  1. ran the script selecting the same driver version present in my 10.13.3 working environment by passing "--install --nvidiaDriver 378.10.10.10.25.104". Script rebooted by the end;
  2. without anything plugged in, as recommended in the original post, ran the script passing "--unlockNvidia --nvidiaEGPUsupport --unlockThunderboltV12"
  3. after script rebooted, I shutdown the MBP, plugged in the EGPU and eM, and started It again. BAM! Works flawlessly. OpenGL, Metal acceleration OK, tested in Heroes of the Storm, World of Warcraft and Rise of the Tomb Raider. The "Disconnect Nvidia GEForce GTX 970" Icon works like a charm. Hot Pluggin in, gives me Black screen on External monitor, but a Reboot solves the issue.

Conclusion:
Maybe there's some detail in the default behaviour of the script for this setup that is missing or in the wrong order? I dont know... I hope this information helps you to enhance It.

The only thing that is not working is that the Audio port in my Lenovo Y27F Monitor is not beign detected in MACOS, only Windows.

My System Info:

macOS-eGPU.sh (v0.1α)

Listing installation status of packages...
   NVIDIA driver                                           [378.10.10.10.25.104]
   NVIDIA eGPU enabler                                               [installed]
   AMD legacy drivers                                            [not installed]
   T82 unblocker                                                 [not installed]
   NVIDIA dGPU                                                       [activated]
   NVIDIA macOS 10.13.4 patch                                        [installed]
   unlocked thunderbolt version                                              [2]
   CUDA
      CUDA drivers                                                     [387.128]
      CUDA developer drivers                                     [not installed]
      CUDA toolkit                                               [not installed]
      CUDA samples                                               [not installed]

Listing system information...
   macOS version                                                       [10.13.4]
   macOS build                                                          [17E202]
   SIP status                                                                [0]
   thunderbolt interface version                                             [2]
   eGPU information
      connected eGPU                                                      [true]
      eGPU vendor                                                       [NVIDIA]
   NVIDIA dGPU                                                            [true]
   AGW version                                                  [10.13.4:17E202]

Graphics/Displays:
    Intel Iris Pro:
      Chipset Model: Intel Iris Pro
      Type: GPU
      Bus: Built-In
      VRAM (Dynamic, Max): 1536 MB
      Vendor: Intel
      Device ID: 0x0d26
      Revision ID: 0x0008
      Automatic Graphics Switching: Supported
      gMux Version: 4.0.8 [3.2.8]
      Metal: Supported, feature set macOS GPUFamily1 v3

    NVIDIA GeForce GT 750M:
      Chipset Model: NVIDIA GeForce GT 750M
      Type: GPU
      Bus: PCIe
      PCIe Lane Width: x8
      VRAM (Dynamic, Max): 2048 MB
      Vendor: NVIDIA (0x10de)
      Device ID: 0x0fe9
      Revision ID: 0x00a2
      ROM Revision: 3776
      Automatic Graphics Switching: Supported
      gMux Version: 4.0.8 [3.2.8]
      Metal: Supported, feature set macOS GPUFamily1 v3
      Displays:
        Color LCD:
          Display Type: Built-In Retina LCD
          Resolution: 2880 x 1800 Retina
          Framebuffer Depth: 24-Bit Color (ARGB8888)
          Mirror: Off
          Online: Yes
          Rotation: Supported
          Automatically Adjust Brightness: No

    NVIDIA GeForce GTX 970:
      Chipset Model: NVIDIA GeForce GTX 970
      Type: External GPU
      Bus: PCIe
      PCIe Lane Width: x4
      VRAM (Dynamic, Max): 4095 MB
      Vendor: NVIDIA (0x10de)
      Device ID: 0x13c2
      Revision ID: 0x00a1
      ROM Revision: VBIOS 84.04.36.00.6e
      Automatic Graphics Switching: Supported
      gMux Version: 4.0.8 [3.2.8]
      Metal: Supported, feature set macOS GPUFamily1 v3
      Displays:
        LEN Y27fA:
          Resolution: 1920 x 1080 (1080p FHD - Full High Definition)
          UI Looks like: 1920 x 1080 @ 144 Hz
          Framebuffer Depth: 24-Bit Color (ARGB8888)
          Main Display: Yes
          Mirror: Off
          Online: Yes
          Rotation: Supported
          Automatically Adjust Brightness: No
          Connection Type: DisplayPort

Hardware:
    Hardware Overview:
      Model Name: MacBook Pro
      Model Identifier: MacBookPro11,3
      Processor Name: Intel Core i7
      Processor Speed: 2,3 GHz
      Number of Processors: 1
      Total Number of Cores: 4
      L2 Cache (per Core): 256 KB
      L3 Cache: 6 MB
      Memory: 16 GB
      Boot ROM Version: MBP112.0145.B00
      SMC Version (system): 2.19f12

Thunderbolt:
    Thunderbolt Bus:
      Vendor Name: Apple Inc.
      Device Name: MacBook Pro
      UID: 0x0001000F004686F0
      Route String: 0
      Firmware Version: 17,1
      Domain UUID: 34A1FD4D-F6F1-FE50-8A21-D6A5AE3C3B20
      Port:
          Status: Device connected
          Link Status: 0x2
          Speed: Up to 20 Gb/s x1
          Current Link Width: 0x2
          Receptacle: 1
          Cable Firmware Version: 1.1.0
          Link Controller Firmware Version: 0.12.0
      Port:
          Status: No device connected
          Link Status: 0x7
          Speed: Up to 20 Gb/s x1
          Current Link Width: 0x1
          Receptacle: 2
          Link Controller Firmware Version: 0.12.0

        AKiTiO Thunder 2 Box:

          Vendor Name: inXtron
          Device Name: AKiTiO Thunder 2 Box
          Vendor ID: 0x41
          Device ID: 0x236
          Device Revision: 0x1
          UID: 0x0041023616503AD0
          Route String: 1
          Firmware Version: 24,1
          Port (Upstream):
              Status: Device connected
              Link Status: 0x2
              Speed: Up to 20 Gb/s x1
              Current Link Width: 0x2
              Cable Firmware Version: 1.1.0
              Link Controller Firmware Version: 0.14.0
          Port:
              Status: No device connected
              Link Status: 0x7
              Speed: Up to 20 Gb/s x1
              Current Link Width: 0x1
              Link Controller Firmware Version: 0.14.0

PCI:

    NVIDIA GeForce GTX 970:

      Name: NVDA,Display-F
      Type: Display Controller
      Driver Installed: Yes
      Tunnel Compatible: No
      Pause Compatible: No
      MSI: Yes
      Bus: PCI
      Slot: Thunderbolt@194,0,0
      Vendor ID: 0x10de
      Device ID: 0x13c2
      Subsystem Vendor ID: 0x19da
      Subsystem ID: 0x0010
      ROM Revision: VBIOS 84.04.36.00.6e
      Revision ID: 0x00a1
      Link Width: x4
      Link Speed: 5.0 G/s

    pci10de,fbb
      Type: Audio Device
      Driver Installed: No
      Tunnel Compatible: No
      Pause Compatible: No
      MSI: No
      Bus: PCI
      Slot: Thunderbolt@194,0,1
      Vendor ID: 0x10de
      Device ID: 0x0fbb
      Subsystem Vendor ID: 0x19da
      Subsystem ID: 0x1366
      Revision ID: 0x00a1
      Link Width: x4
      Link Speed: 5.0 GT/s

 

Macbook Pro Late 2013 (dGPU GT 750m) + Akitio Thunder 2 + GTX 970


Fuze911, nando4, lexine and 2 people liked
ReplyQuote
goalque
(@goalque)
Noble Member Admin
Joined: 4 years ago
 
Posted by: LeoLeal

after script rebooted, I shutdown the MBP, plugged in the EGPU and eM, and started It again. BAM! Works flawlessly. OpenGL, Metal acceleration OK, tested in Heroes of the Storm, World of Warcraft and Rise of the Tomb Raider. The "Disconnect Nvidia GEForce GTX 970" Icon works like a charm. Hot Pluggin in, gives me Black screen on External monitor, but a Reboot solves the issue.

This is quite big news. Interesting that an older driver works so much better.

"The Disconnect Nvidia GEForce GTX 970" Icon works like a charm?

No kernel panic?

automate-eGPU EFIapple_set_os.efi

Mid 2015 15-inch MacBook Pro eGPU Master Thread

 
2018 13" MacBook Pro [8th,4C,U] + Radeon VII @ 32Gbps-TB3 (ASUS XG Station Pro) + Win10 1809 [build link]  


fr34k and itsage liked
ReplyQuote
LeoLeal
(@leoleal)
Eminent Member
Joined: 3 years ago
 
Posted by: goalque
Posted by: LeoLeal

 

after script rebooted, I shutdown the MBP, plugged in the EGPU and eM, and started It again. BAM! Works flawlessly. OpenGL, Metal acceleration OK, tested in Heroes of the Storm, World of Warcraft and Rise of the Tomb Raider. The "Disconnect Nvidia GEForce GTX 970" Icon works like a charm. Hot Pluggin in, gives me Black screen on External monitor, but a Reboot solves the issue.

This is quite big news. Interesting that an older driver works so much better.

"The Disconnect Nvidia GEForce GTX 970" Icon works like a charm?

No kernel panic?

No Kernel Panics. The Programs using the eGPU close and the Internal screen becomes the main screen (wallpaper that was on eM went to the Internal)

Macbook Pro Late 2013 (dGPU GT 750m) + Akitio Thunder 2 + GTX 970


fr34k and goalque liked
ReplyQuote
goalque
(@goalque)
Noble Member Admin
Joined: 4 years ago
 
Posted by: LeoLeal

No Kernel Panics. The Programs using the eGPU close and the Internal screen becomes the main screen (wallpaper that was on eM went to the Internal)

So you are the second. My Mid 2015 behaves the same way and I am also using an older driver (387.10.10.30.103), not that old as you. How about hot-unplug?

automate-eGPU EFIapple_set_os.efi

Mid 2015 15-inch MacBook Pro eGPU Master Thread

 
2018 13" MacBook Pro [8th,4C,U] + Radeon VII @ 32Gbps-TB3 (ASUS XG Station Pro) + Win10 1809 [build link]  


ReplyQuote
LeoLeal
(@leoleal)
Eminent Member
Joined: 3 years ago
 
Posted by: goalque
Posted by: LeoLeal

No Kernel Panics. The Programs using the eGPU close and the Internal screen becomes the main screen (wallpaper that was on eM went to the Internal)

So you are the second. My Mid 2015 behaves the same way and I am also using an older driver (387.10.10.30.103), not that old as you. How about hot-unplug?

Hot unplug gives Kernel Panic. No luck there. But I think It's way too much to expect from using such an old driver (It's a 378 driver!). I'm not sure which of .104 or .106 have a better performance on 10.13.3. I will try 106 now. Cause my first try I went right back to .104.

Macbook Pro Late 2013 (dGPU GT 750m) + Akitio Thunder 2 + GTX 970


ReplyQuote
lexine
(@lexine)
Trusted Member
Joined: 3 years ago
 

@leoleal You are the champ ... I followed your steps, and I can confirm now that my external monitor is working as well now!
When I do hot-plug it as usual the black screen, but log-out login and it work ... Also I can confirm that the disconnect icon work well ... It will close the application and deactivate eM ... no kernel-panic ... however when I unplug the cable after disconnect I will get kernel panic.

2017 13" MacBook Pro [7th,2C,U] + GTX 1070 @ 32Gbps-TB3 (AORUS Gaming Box) + macOS 10.13 & Win10 [build link]  

fr34k, goalque and LeoLeal liked
ReplyQuote
goalque
(@goalque)
Noble Member Admin
Joined: 4 years ago
 
Posted by: LeoLeal

Hot unplug gives Kernel Panic. No luck there. But I think It's way too much to expect from using such an old driver (It's a 378 driver!). The .104 or .106 have a better performance on 10.13.3. I will try them now. Cause my first try I went right back to .103.

This is very expected. Apple's documentation says that drivers need to be updated in order to handle surprise removal. We will try to find a workaround.

automate-eGPU EFIapple_set_os.efi

Mid 2015 15-inch MacBook Pro eGPU Master Thread

 
2018 13" MacBook Pro [8th,4C,U] + Radeon VII @ 32Gbps-TB3 (ASUS XG Station Pro) + Win10 1809 [build link]  


devild, itsage and LeoLeal liked
ReplyQuote
LeoLeal
(@leoleal)
Eminent Member
Joined: 3 years ago
 
Posted by: goalque
Posted by: LeoLeal

Hot unplug gives Kernel Panic. No luck there. But I think It's way too much to expect from using such an old driver (It's a 378 driver!). The .104 or .106 have a better performance on 10.13.3. I will try them now. Cause my first try I went right back to .103.

This is very expected. Apple's documentation says that drivers need to be updated in order to handle surprise removal. We will try to find a workaround.

Good luck, man! I wish I had more Driver Programming knowledge to help more...
And thank you for the solution. If you need testing, hook me up! I have a couple of states of the OS backed up in Time machine.

Macbook Pro Late 2013 (dGPU GT 750m) + Akitio Thunder 2 + GTX 970


fr34k, itsage and goalque liked
ReplyQuote
ozzy
 ozzy
(@ozzy)
Estimable Member
Joined: 3 years ago
 

I'd just like to second that @LeoLeal steps at least got OpenGL back working for me. Not sure whether it was doing it in a 2-step sequence, or just using the old nVidia driver. But I followed his steps, uninstalling the script, then installing the 10.25.104 driver, then rebooting and installing the rest of the eGPU enabler stuff, and I am back running in 10.3.4 again. The Heaven benchmark works again on the eGPU.

However, disconnecting still causes a kernel panic (it looks like it's going to work, but then it panics. I wonder if it's because of dropbox, as I get a screen saying that is preventing the disconnect, but then it panics before I can force close it).

Hot plugging and logging out/in doesn't work. Deus Ex Mankind Divided still doesn't work - but it never has under any iteration of drivers or enablers in 10.3.x unfortunately. I don't still have Hitman installed to test, and don't have Tomb Raider yet, but will check that at some point.

The other problems that still exist are those that have existed since 10.3.x - no brightness controls, the dGPU is always active instead of the iGPU (which impacts battery life), etc. I haven't tested the internal screen waking from sleep yet, but I imagine that will still be a problem.

2012 15" MacBook Pro Retina (GT650M) [3rd,4C,Q] + GTX 1070 @ 10Gbps-TB1>TB3 (AKiTiO Node) + macOS 10.13 & Win10 [build link]  

LeoLeal liked
ReplyQuote
LeoLeal
(@leoleal)
Eminent Member
Joined: 3 years ago
 
Posted by: ozzy

I'd just like to second that @LeoLeal steps at least got OpenGL back working for me. Not sure whether it was doing it in a 2-step sequence, or just using the old nVidia driver. But I followed his steps, uninstalling the script, then installing the 10.25.104 driver, then rebooting and installing the rest of the eGPU enabler stuff, and I am back running in 10.3.4 again. The Heaven benchmark works again on the eGPU.

However, disconnecting still causes a kernel panic (it looks like it's going to work, but then it panics. I wonder if it's because of dropbox, as I get a screen saying that is preventing the disconnect, but then it panics before I can force close it).

Hot plugging and logging out/in doesn't work. Deus Ex Mankind Divided still doesn't work - but it never has under any iteration of drivers or enablers in 10.3.x unfortunately. I don't still have Hitman installed to test, and don't have Tomb Raider yet, but will check that at some point.

The other problems that still exist are those that have existed since 10.3.x - no brightness controls, the dGPU is always active instead of the iGPU (which impacts battery life), etc. I haven't tested the internal screen waking from sleep yet, but I imagine that will still be a problem.

Rise of the Tomb Raider has subpar performance. I believe that is because It's made FOR 10.13.4, so I tend to believe also that the game uses Metal 2 API, and Nvidia driver 378 does not have Metal 2 Implementation.

Maybe we have to wait NVidia to release a version that works with EGPU properly.

Macbook Pro Late 2013 (dGPU GT 750m) + Akitio Thunder 2 + GTX 970


ReplyQuote
 of  4