learex-zz / macOS-eGPU

Make your Mac compatible with NVIDIA and AMD eGPUs. (macOS High Sierra)
Other
691 stars 53 forks source link

High sierra 10.13.6 (17G4015) issue #52

Open maywind23 opened 5 years ago

maywind23 commented 5 years ago

Hey brilliant guys! I execute "bash <(curl -s https://raw.githubusercontent.com/learex/macOS-eGPU/master/macOS-eGPU.sh) --beta --nvidiaDriver 387.10.10.10.40.113 --iopcieTunneledPatch" I could not see the eGPU on the Nvidia Web drive software, which means that system is not set up properly with @learex ' code or web drive is not compatible with the system.

screen shot 2019-01-08 at 11 37 02 pm

What't more, it could not work at all, even if shows up in the Graphic/Displays. It indicate that no kext loaded. And I tried the method as some guy tried, plugging in the eGPU after logging in. But it does not work as before.

screen shot 2019-01-08 at 11 37 51 pm

How to resolve the issue and make the eGPU work properly? Thank you! @learex

The eGPU is AROUS GTX 1070 gaming box Information below is got by --checkSystem macOS-eGPU.sh (v1.6)

Listing installation status of packages... NVIDIA driver [387.10.10.10.40.113] 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 [3] thunderbolt daemon [not installed] CUDA CUDA drivers [not installed] CUDA developer drivers [not installed] CUDA toolkit [not installed] CUDA samples [not installed] Listing system information... macOS version [10.13.6] macOS build [17G4015] SIP status [0] thunderbolt interface version [3] eGPU information connected eGPU [true] eGPU vendor [NVIDIA] NVIDIA dGPU [false] AGW version [Unrecognized]

--- developer Information --- 915126682e1d16766a84a3f717997c7b0b99c5318ec1488012268473f864ddf280d84118caf5b60cb1116a99ac99602fe74edc5116769ba1ac6c16a4840012e2 --- end developer Information ---

Graphics/Displays:

Intel HD Graphics 530:

  Chipset Model: Intel HD Graphics 530
  Type: GPU
  Bus: Built-In
  VRAM (Dynamic, Max): 1536 MB
  Vendor: Intel
  Device ID: 0x191b
  Revision ID: 0x0006
  Automatic Graphics Switching: Supported
  gMux Version: 4.0.29 [3.2.8]
  Metal: Supported, feature set macOS GPUFamily1 v3

Radeon Pro 450:

  Chipset Model: AMD Radeon Pro 450
  Type: GPU
  Bus: PCIe
  PCIe Lane Width: x8
  VRAM (Dynamic, Max): 2048 MB
  Vendor: AMD (0x1002)
  Device ID: 0x67ef
  Revision ID: 0x00ef
  ROM Revision: 113-C980AF-908
  VBIOS Version: 113-C9801AL-028
  EFI Driver Version: 01.A0.908
  Automatic Graphics Switching: Supported
  gMux Version: 4.0.29 [3.2.8]
  Metal: Supported, feature set macOS GPUFamily1 v3
  Displays:
    SwitchResX4 - Color LCD:
      Display Type: Built-In Retina LCD
      Resolution: 2880 x 1800 Retina
      Framebuffer Depth: 24-Bit Color (ARGB8888)
      Main Display: Yes
      Mirror: Off
      Online: Yes
      Rotation: Supported
      Automatically Adjust Brightness: No

Display:

  Type: External GPU
  Bus: PCIe
  PCIe Lane Width: x4
  VRAM (Dynamic, Max): 
  Vendor: NVIDIA (0x10de)
  Device ID: 0x1b81
  Revision ID: 0x00a1
  Automatic Graphics Switching: Supported
  gMux Version: 4.0.29 [3.2.8]
  Kernel Extension Info: No Kext Loaded

Hardware:

Hardware Overview:

  Model Name: MacBook Pro
  Model Identifier: MacBookPro13,3
  Processor Name: Intel Core i7
  Processor Speed: 2.6 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: 250.0.0.0.0
  SMC Version (system): 2.38f7

Thunderbolt:

Thunderbolt Bus 1:

  Vendor Name: Apple Inc.
  Device Name: MacBook Pro
  UID: 0x000120FF8002E801
  Route String: 0
  Firmware Version: 33.1
  Domain UUID: D1909C62-1CB7-945F-99C2-B9C239A27486
  Port:
      Status: No device connected
      Link Status: 0x101
      Speed: Up to 40 Gb/s x1
      Current Link Width: 0x1
      Receptacle: 4
      Link Controller Firmware Version: 0.35.0
  Port:
      Status: No device connected
      Link Status: 0x101
      Speed: Up to 40 Gb/s x1
      Current Link Width: 0x1
      Receptacle: 3
      Link Controller Firmware Version: 0.35.0

Thunderbolt Bus 0:

  Vendor Name: Apple Inc.
  Device Name: MacBook Pro
  UID: 0x000120FF8002E800
  Route String: 0
  Firmware Version: 33.1
  Domain UUID: 60D6CE3A-1015-3C53-B5EA-80231D74EB2E
  Port:
      Status: Device connected
      Link Status: 0x2
      Speed: Up to 40 Gb/s x1
      Current Link Width: 0x2
      Receptacle: 2
      Link Controller Firmware Version: 0.35.0
  Port:
      Status: No device connected
      Link Status: 0x7
      Speed: Up to 40 Gb/s x1
      Current Link Width: 0x1
      Receptacle: 1
      Link Controller Firmware Version: 0.35.0

    GV-N1070IXEB-8GD:

      Vendor Name: GIGABYTE
      Device Name: GV-N1070IXEB-8GD
      Vendor ID: 0xED
      Device ID: 0xB007
      Device Revision: 0x1
      UID: 0x00ED5F31D4214F00
      Route String: 1
      Firmware Version: 25.25
      Port (Upstream):
          Status: Device connected
          Link Status: 0x2
          Speed: Up to 40 Gb/s x1
          Current Link Width: 0x2
          Link Controller Firmware Version: 0.36.0

PCI:

display:

  Type: VGA-Compatible Controller
  Driver Installed: Yes
  Tunnel Compatible: Yes
  Pause Compatible: No
  MSI: No
  Bus: PCI
  Slot: Thunderbolt@196,0,0
  Vendor ID: 0x10de
  Device ID: 0x1b81
  Subsystem Vendor ID: 0x1458
  Subsystem ID: 0x36fc
  Revision ID: 0x00a1
  Link Width: x4
  Link Speed: 8.0 GT/s

pci10de,10f0:

  Type: Audio Device
  Driver Installed: No
  Tunnel Compatible: No
  Pause Compatible: No
  MSI: No
  Bus: PCI
  Slot: Thunderbolt@196,0,1
  Vendor ID: 0x10de
  Device ID: 0x10f0
  Subsystem Vendor ID: 0x1458
  Subsystem ID: 0x36fc
  Revision ID: 0x00a1
  Link Width: x4
  Link Speed: 8.0 GT/s

pci8086,15b6:

  Type: USB eXtensible Host Controller
  Driver Installed: Yes
  Tunnel Compatible: Yes
  Pause Compatible: No
  MSI: Yes
  Bus: PCI
  Slot: Thunderbolt@197,0,0
  Vendor ID: 0x8086
  Device ID: 0x15b6
  Subsystem Vendor ID: 0x1458
  Subsystem ID: 0x0001
  Revision ID: 0x0000
  Link Width: x4
  Link Speed: 2.5 GT/s
learex-zz commented 5 years ago

It seems that not all has been installed that’s needed. Try again and see if “IO PCIE Tunnelled patch [not installed]” changes to [installed]

maywind23 commented 5 years ago

This is the record of installing eGPU. It shows "IO PCIE Tunnelled patch" installed indeed during the process.

macOS-eGPU.sh (v1.6)

Your system hasn't yet been approved. The system may be unbootable or unstable. Continuation might result in failure and/or system crash. (seriously!) continuing due to beta flag... 4..3..2..1..0 Accept license terms... [done] Killing all other running programs... [OK] Internet connection established... [YES] Fetching system information... macOS info [done] system integrity protection [done] thunderbolt version [done] GPU information [done] installed eGPU software [done] installed patches [done] installed programs [done] Setting internal switches... Checking for incompatibilies and up to date software... NVIDIA drivers [install scheduled] NVIDIA eGPU enabler [skip] AMD legacy drivers [skip] T82 unblocker [skip] NVIDIA dGPU deactivator [skip] macOS 10.13.4/.5 NVIDIA patch [skip] macOS 10.13.4+ thunderbolt 1/2 unlock [skip] CUDA software [skip] thunderbolt daemon [skip] IO PCIE Tunnelled patch [install scheduled] Checking if SIP is sufficently disabled... [OK]

Download external content... --- NVIDIA drivers --- ######################################################################### 100.0%

Checking for elevated privileges...

Uninstalling... Installing... NVIDIA driver [done] IO PCIE Tunnelled patch [done] Patching... deactivating auto-updates...

Finish... cleaning system [done] Rebuilding caches kext cache [done] system cache [done] A reboot will soon be performed... 5..4..3..2..1..0 reboot: / is busy updating, waiting for lock (this might take approx 15-30s)... reboot: / is busy updating; waiting for lock

However it shows "IO PCIE Tunnelled patch" not installed. And I uninstall the whole eGPU and reinstall again. The issue remains the same. And Nvidia Web drive software illustrate the no device found in the ECC column.

macOS-eGPU.sh (v1.6)

Fetching system information... macOS info [done] system integrity protection [done] thunderbolt version [done] GPU information [done] installed eGPU software [done] installed patches [done] installed programs [done] fetching GPU related system information [done]

macOS-eGPU.sh (v1.6)

Listing installation status of packages... NVIDIA driver [387.10.10.10.40.113] 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 [not installed] unlocked thunderbolt version [3] thunderbolt daemon [not installed] CUDA CUDA drivers [not installed] CUDA developer drivers [not installed] CUDA toolkit [not installed] CUDA samples [not installed] Listing system information... macOS version [10.13.6] macOS build [17G4015] SIP status [0] thunderbolt interface version [3] eGPU information connected eGPU [true] eGPU vendor [NVIDIA] NVIDIA dGPU [false] AGW version [Unrecognized]

Fortunately, the system recognized the eGPU from the Graphics/Displays info in the system report. It shows as follow. I don't know the reason it shows nothing in the "About this mac" and no device found in the web drive software. It confused me. Could you @learex please get this issue resolved? Or my eGPU will work properly? What's more, the CUDA, my final target with eGPU for deep learning, is not installed with your script, and what should I do to install it? Install it with the source on the Nvidia official website?(https://developer.nvidia.com/cuda-downloads)

screen shot 2019-01-09 at 10 19 54 pm

Finally, I attempt to test the eGPU performance with Geekbench. This is the result.

screen shot 2019-01-09 at 10 37 30 pm

Genius guy @learex , Thank you!

learex-zz commented 5 years ago

@maywind23 ahhh, the 1070is not a Quattro and therefore does not have ECC GDDR/HBM Memory. At least thats what I think it is.

maywind23 commented 5 years ago

@learex Thanks for your explanation. Forgive me the ignorance about the details of GTX 1070. It works properly without the influence from the Nvidia web drive indication on the ECC column. What's more, I resolve the CUDA issues with the documentation and sources of official website, Nvidia. My final goal, CUDA computing, is arrived with surprise.

But there is problem that eGPU leads to an unexpected system error and reboot automatically when I shutdown the MBP.

Thank you, awesome guys!

abhiconhye commented 5 years ago

@maywind23 what was the fix please ?

maywind23 commented 5 years ago

@abhiconhye you mean that the CUDA software? The CUDA toolkit is not installed automatically when I complete the installation of script. You could infer to the documentation https://docs.nvidia.com/cuda/cuda-installation-guide-mac-os-x/index.html , which provide the details of CUDA, especially the prerequisites. I hope it helps for you.

EnderElement commented 5 years ago

@maywind23 have you managed to install IO PCIE Tunnelled patch so it went from [not installed] to [installed]? No matter how many times I do macos-egpu -l --beta it just doesn't change and during installation it just says [skip, dependencies]

@learex what exactly does IO PCIE Tunnelled patch do? Does it need any dependencies? Im using a late 2013 iMac on 10.13.6, despite it seeing my Akitio thunder2 enclosure my NVIDIA GeForce GTX 550 Ti isn't doing anything. I even tried the set-egpu.sh tool, still the same but with black screens.

FreddieOne commented 5 years ago

Hallo I am Freddie One,

with my ultimo 2014, 27" i-Mac I have similar problems, which I could not solve yet. The system report does not recognize the GTX 1080 Ti Bildschirmfoto 2019-07-12 um 17 42 31 Bildschirmfoto 2019-07-12 um 17 43 12 Bildschirmfoto 2019-07-12 um 17 43 33

I am greatful, to receive any suggestions to solve the problem Kind regards FREDDIEONE