goalque / automate-eGPU

Other
604 stars 103 forks source link

Has anyone tried with a GTX 1080 and an iMac 5K? #27

Open sammcj opened 8 years ago

sammcj commented 8 years ago

I'm interested to know if anyone has tried this with an iMac 5k (late 2015) and a new GTX 1080? # #

goalque commented 8 years ago

No Pascal support yet.

sammcj commented 8 years ago

I have my new MSI 1080GTX gamer edition, I'll try it out when I got home and report back, but I'm doubtful that it'll work on OS X as per the above comment regarding pascal support.

sammcj commented 8 years ago

I can confirm the gtx 1080 gamer edition does not work in OS X or in Windows under bootcamp. Left plugged in the iMac never boots, plugged in after booting into OS X the automate eGPU script detects it but the nvisia drivers don't. Installing under windows detects it but the drivers fail to start due to 'not enough resources.

sammcj commented 8 years ago

screen shot 2016-06-21 at 6 34 06 pm screen shot 2016-06-21 at 6 35 32 pm screen shot 2016-06-21 at 6 35 46 pm

fail

sammcj commented 8 years ago
~/git/automate-eGPU (master|✔) % sudo ./automate-eGPU.sh
Password:
*** automate-eGPU.sh v0.9.8 - (c) 2015 by Goalque ***
-------------------------------------------------------
Detected eGPU
 GP104 [GeForce GTX 1080]
Current OS X
 10.11.5 15F34
Previous OS X
 10.11.4 15E65
Latest installed Nvidia web driver
 Version: 346.03.10f02
 Source: 3rd Party
 Install Date: 18/06/2016, 1:44 AM

You are running official Nvidia driver.
Checking IOPCITunnelCompatible keys...

Missing IOPCITunnelCompatible keys.
Mac board-id not found.
Searching for matching driver...

Driver [346.03.10f02] found from:
http://us.download.nvidia.com/Mac/Quadro_Certified/346.03.10f02/WebDriver-346.03.10f02.pkg
Do you want to download this driver (y/n)?
y
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 70.8M  100 70.8M    0     0  2485k      0  0:00:29  0:00:29 --:--:-- 2124k
Driver downloaded.
Removing validation checks...
Modified package ready. Do you want to install (y/n)?
y
installer: Package name is NVIDIA Web Driver 346.03.10f02
installer: Upgrading at base path /
installer: The upgrade was successful.
installer: The install requires restarting now.
Checking IOPCITunnelCompatible keys...

Missing IOPCITunnelCompatible keys.
IOPCITunnelCompatible mods done.
Add: ":IOKitPersonalities:AppleGraphicsDevicePolicy:ConfigMap:Mac-B809C3757DA9BB8D" Entry Already Exists
Board-id added.
All ready. Please restart the Mac.
sgarbesi commented 8 years ago

I don't receive any errors, but OS X isn't allowing me to use the card either.

tanc commented 8 years ago

Hi @sammcj I've also got the Sonnet Express III-D but with a GTX 1060 card. I can only get my Macbook Pro to boot with the Sonnet connected if I use automate-eGPU with the -a mode. Then I can warm reboot and get into Windows. Unfortunately in Windows my card isn't detected. In the Device Manager I can only see my discreet GPU but no sign of the 1060. Any ideas how to get it recognised?

sammcj commented 7 years ago

Just checking in to see if anyone has had any success with Pascal based cards under macOS yet?

boxofdeath commented 7 years ago

Still no support for 10-series cards. It works in Windows but not macOS. :(

aaditya-chandrasekhar commented 7 years ago

@sammcj No Pascal kexts exist for OSX so there is no acceleration there. I wish there were better news.

I use an iMac 5k (RX395) + SE III-D + RX480 (Gigabyte 8GB) + triple boot with the following results:

  1. OSX - Chip recognized with PCIe ID additions to AMD kexts + PCI tunnel key. Acceleration is unstable and not really usable. I am optimistic though since others have stated success with Sierra betas.
  2. Windows 10 - Works fully, but requires DSDT modification and test signing to be enabled to extend PCIe bridge into 64 bit to fix code 12. Also one of the PCIe upstream devices on the same bus as the GPU causes a resource conflict. Disabling it will enable the AMD GPU. Also the presence of a 395X means that one must use bootcamp compatible drivers. AFAICT it is not possible to enable the intel GPU, but 2 AMD GPUs is quite compelling already.
  3. Linux - On Ubuntu 16.10 + kernel 4.10-rc1 + kernel args "pci=realloc pci=nocrs", I get full accel for both GPUs. Multidisplay requires tinkering with xorg conf (wayland not working?). It may take a while to boot the kernel, this appears to be a regression from kernel 4.8 but I have not investigated.

I originally bought a GTX 1080, but it doesn't work on OSX, requires much more tweaking for Windows 10 to work (I think the PCIe ranges need to be assigned in pre-boot like some bootloaders allow, I was not successful) and on Ubuntu oopses in the nv kernel module (no source, atleast we can patch amdgpu if needed). In crucial ways AMD is much better supported on all 3 OS platforms on this iMac version. The most important to me is that the thunderbolt requires no hotplug trick and can remain plugged in all the time; I would love to figure out why the GTX 1080 doesn't allow the iMac to boot when plugged in.

On my macbook 13 (2015), the same set up works exactly as above. The only other thing needed here is that both thunderbolt ports must be used (plug a disk or so into the other port) as there is a weird Windows address range enumeration quirk that oddly produces a code 12. I suppose this has something to do with critical mass of PCIe devices on iMac 5k, which force 64bit BAR assignments for the eGPU by default vs the MBP which needs to be coerced with extra devices in order to properly init PCIe devices.

JohnCido commented 7 years ago

I got a GTX 1080 and Macbook Pro Early 2013. With the WebDriver-367.15.10.35f01 installed. I ran into the situation same as sammcj mentioned. My Mac detected my GPU as a Display in Thunderbolt Bus and no sign of my 1080 in ECC section of Driver Manager. So it seems that there's still no Pascal support on macOS. : (

t0mtaylor commented 7 years ago

It seems the wait will be over: Nvidia is bringing Pascal drivers to Mac

Also announced is the April release of a new version of the beta drivers for Nvidia cards, commonly used in the PCI-e Mac Pro and external GPU solutions. For the first time, Pascal-based cards will be able to be used, opening up the Titan Xp and Nvidia series 10 cards including the previously released Nvidia 1080ti for Macs with PCI-e slots.

http://appleinsider.com/articles/17/04/06/nvidia-reveals-mac-pro-compatible-titan-xp-pci-e-gpu-macos-drivers-for-pascal-based-video-cards

When do the Mac Beta Drivers for April come out with Pascal support?? Lets hope it is soon!

More snippets...

https://blogs.nvidia.com/blog/2017/04/06/titan-xp/

http://www.kitguru.net/lifestyle/mobile/apple/matthew-wilson/hackintosh-builders-rejoice-nvidia-is-bringing-pascal-drivers-to-mac/