late-2016 15" MacBook Pro RP450 + GTX980Ti@32Gbps-TB3 (Mantiz Venus) + Win10 [theitsage]  

 

theitsage
(@itsage)
Noble Member Admin
Joined:1 year  ago
Posts: 2389
July 20, 2017 4:13 pm  

Now that external graphics support is official in macOS 10.13, I want to dedicate more time testing a reliable procedure to setup and use eGPU in Windows 10 via Bootcamp. Error 12 is a big deterrent for many Mac users when they consider running Windows. Nando's DSDT Override is a very good solution to take care of this issue. However, it requires Windows to run in Test Mode. This has an adverse effect on some games.

In the past week, I've tried different solutions by reading through the implementation guides here. What I've found most reliable for my late 2016 15" MacBook Pro is a combination of using apple_set_os.efi, rEFInd, integrated.bat, and right-side Thunderbolt 3 ports. My goals were to have iGPU active only for internal display mode and a reliable Windows boot-up without error 12.

The game plan started with spoofing Apple firmware into activating the iGPU when booting into Windows 10. Goalque's guide on apple_set_os.efi is the resource for accomplishing this task. rEFInd is a clean substitution for the need to use an external USB drive and Option boot. Once I had iGPU in Windows, I wanted to power the internal display with the iGPU so that I could disable dGPU for good. This is where 0xbb’s integrated.bat comes in.

Like many people I wanted to get to the end results and often time forgot to take a moment and learn what's going on as I worked through these implementation guides. After a few failures, I got a good grasp on the arrangement of PCIe controllers and lanes on this late-2016 15" MacBook Pro. x16 PCIe connects to the Radeon Pro 450 dGPU. x8 PCIe connects to the left-side USB-C/Thunderbolt 3 ports. x4 PCIe connects to the right-side USB-C/Thunderbolt 3 ports. It makes total sense to disable the entire line of communication to the dGPU so that you can free up resources for the USB-C/Thunderbolt 3 ports.

[Placeholder for step-by-step setup procedure]

I'm using a GTX 980 Ti with the Mantiz Venus enclosure so that I can connect the Oculus Rift headset and two sensors. There are 3x USB connectors to plug in: one for the headset, and one each for the sensors. Oculus setup guide recommends connecting no more than 2x USB 3.0 through one hub. Therefore, I had the two sensor USBs through the Mantiz Venus (right-side port) and the headset USB directly to the MacBook Pro (left-side port). Sorry for the badly arranged photo, I will have better photos in a Dirt Rally VR with eGPU article soon.

Here are some quick benchmarks in internal display mode.

Edited: 10 months  ago

Best ultrabooks for eGPU use

eGPU enclosure buying guide

51 external GPU build guides


MBAir10, nando4, goalque and 1 people liked
ReplyQuote
lukicharms
(@lukicharms)
Eminent Member
Joined:11 months  ago
Posts: 28
July 20, 2017 5:04 pm  

I'm running the same setup with a  RP455 Pro and 1080Ti, its always a struggle for me to Boot in with no error 12.

The process that seems to work for me to get my internal display working > is connect external display to eGU> restart >rEFIND usb boot> plug in TB3> if external diplay works >device manager > disable integrated AMD > unplug external display from eGPU>done.

if my external doesn't display anything I know it didn't boot correctly and I'lll get error 12, then I star over until it works.

I'm looking forward to any developments on this. Keep up the great work!


theitsage liked
ReplyQuote
theitsage
(@itsage)
Noble Member Admin
Joined:1 year  ago
Posts: 2389
July 20, 2017 5:11 pm  

Your experience is similar to my previous attempts at eliminating error 12. With the combination of workarounds I did yesterday, I can now boot into Windows 10 reliably without error 12. It requires no external display, USB drive, or boot delay. I simply hit the Power button, rEFInd presents the boot options at which point I hit Enter on apple_set_os.efi then Left Arrow and Enter to boot Windows. It's not necessary to run integrated.bat everytime at Shutdown or Restart.

Best ultrabooks for eGPU use

eGPU enclosure buying guide

51 external GPU build guides


lukicharms liked
ReplyQuote
goalque
(@goalque)
Prominent Member Admin
Joined:1 year  ago
Posts: 882
July 20, 2017 5:36 pm  

apple_set_os.efi requires that gmux is in integrated mode. Not necessary to run integrated.bat everytime, not even after being on the macOS side?

automate-eGPU.shapple_set_os.efi
--
late-2016 13" Macbook Pro nTB + Vega64@32Gbps-TB3 (Netstor HL23T) + macOS & Win10
late-2016 13" Macbook Pro nTB + GTX980/RX580@32Gbps-TB3 (Netstor HL23T) + macOS10.13 & Win10


theitsage liked
ReplyQuote
theitsage
(@itsage)
Noble Member Admin
Joined:1 year  ago
Posts: 2389
July 20, 2017 6:55 pm  

Hi @goalque, I have not booted back into macOS on this MBP. I read that the macOS boot would hang if I don't change it back to the discrete card.

Best ultrabooks for eGPU use

eGPU enclosure buying guide

51 external GPU build guides


goalque liked
ReplyQuote
theitsage
(@itsage)
Noble Member Admin
Joined:1 year  ago
Posts: 2389
July 21, 2017 2:59 am  

I ran SteamVR Performance Test this evening. We know eGPU performance loss is more significant at higher FPS. Smooth VR experience requires 90 FPS or higher. Here's the result from my late 2016 15" MacBook Pro + GTX 980 Ti eGPU. 😀

I also swapped the GTX 980 Ti for a GTX 1070 to test how the computer would handle that and whether error 12 re-surface. One restart is all it took to get things back to fully functional. I will update the original post with step-by-step setup procedure in the next couple of days.

Edited: 10 months  ago

Best ultrabooks for eGPU use

eGPU enclosure buying guide

51 external GPU build guides


MBAir10 liked
ReplyQuote
theitsage
(@itsage)
Noble Member Admin
Joined:1 year  ago
Posts: 2389
July 23, 2017 7:39 pm  

I did more tests with different enclosures and GPUs. I've tried AKiTiO Node as well as Sonnet Breakaway Box. I also used AMD GPUs to make sure the setup and boot up procedure work with both AMD and Nvidia cards. The AMD cards require the left port PCIe controller to be disabled in order to eliminate error 12. It seems the left port PCIe controller can be enabled once eGPU is functional without error 12.

Best ultrabooks for eGPU use

eGPU enclosure buying guide

51 external GPU build guides


MBAir10 liked
ReplyQuote
nando4
(@nando4)
Noble Member Admin
Joined:1 year  ago
Posts: 1679
July 24, 2017 5:48 am  

@theitsage, your CUDA-Z host-to-device (H2D) significantly exceeds customer delivered systems (yours=2093 vs public=1550).

Are you sure your Mantiz Venus has a public Intel certified firmware on there? 

While a great guide for 2016+ 15" MBP owners in getting Windows 10 working, I'm hesitant to add this implementation to the implementation table until bandwidth is reflective of what the public would see if they duplicate it.

Would you like to remove the CUDA-Z result for now?

eGPU Port Bandwidth Reference TableeGPU Setup 1.35


ReplyQuote
theitsage
(@itsage)
Noble Member Admin
Joined:1 year  ago
Posts: 2389
July 24, 2017 1:29 pm  

Hi @nando4, my Mantiz Venus has the same firmware as the production units. 25.1 is the version number the last time I checked. I have seen H2D issue using this Mantiz enclosure (same firmware version) with other TB3 hosts. I don't have full comprehension of why this is happening.

Best ultrabooks for eGPU use

eGPU enclosure buying guide

51 external GPU build guides


nando4 liked
ReplyQuote
nando4
(@nando4)
Noble Member Admin
Joined:1 year  ago
Posts: 1679
July 24, 2017 1:41 pm  

@theitsage, your hwinfo64 screen shows a DSL5110 bridge with no USB controller hosting the GTX980Ti. So no additional ports are showing. This is quite odd. Is it from the Mantiz Venus? The public customer's Mantiz Venus has a DSL6540 including a USB controller.

 

Yours (pre-release unit?), DSL5110 no USB controller or portsPublic unit from here, DSL6540, USB controller & ports

 

 

Edited: 10 months  ago

eGPU Port Bandwidth Reference TableeGPU Setup 1.35


ReplyQuote
theitsage
(@itsage)
Noble Member Admin
Joined:1 year  ago
Posts: 2389
July 24, 2017 2:06 pm  

That HWiNFO64 was one I found from previous test to with all PCIe trees expanded. This was to show the late-2016 15" MacBook Pro infrastructure more than information on the eGPU enclosure. The enclosure was most likely not the Mantiz Venus in this particular HWiNFO64 screen capture. I will redo with the Mantiz Venus soon to avoid confusion.

Best ultrabooks for eGPU use

eGPU enclosure buying guide

51 external GPU build guides


nando4 liked
ReplyQuote
nikkuzu
(@nikkuzu)
Active Member
Joined:10 months  ago
Posts: 5
August 7, 2017 9:21 am  

Hi @theitsage.

nando4 recommended me to check out your post on how to get eGPU setup with 2016 15" MBPR w/ Touchbar on Windows since I've been having some problems on my end. Any ideas when you would have your step-by-step procedure posted up? My goals is similar to yours: to use a combination of apple_set_os.efi, refind, and integrated.bat. Been running into problems where Windows would always not boot and the integrated intel GPU would not show up in device manager. Any pointers?


ReplyQuote
theitsage
(@itsage)
Noble Member Admin
Joined:1 year  ago
Posts: 2389
August 8, 2017 3:32 pm  

@nikkuzu I'm working on a Bootcamp setup guide for Thunderbolt 3 MacBook Pro. I will hopefully have it posted soon.

Best ultrabooks for eGPU use

eGPU enclosure buying guide

51 external GPU build guides


nikkuzu and MBAir10 liked
ReplyQuote
eduardqwertyu
(@eduardqwertyu)
Active Member
Joined:1 month  ago
Posts: 6
April 24, 2018 12:50 pm  

Hi ITSage,
I am really struggling to get the eGPU and drivers to function on my MBP 13" 2017 model.  I am running an ASUS GTX 1080ti through an Akitio Node Pro.  I can see a vga compatible card apart from the Intel Iris 650 in my device manager.  No problems with the eGPU in macOS.....   I was going to follow your step by step instruction in the thread, but cant find it.  please post it as it sounds like the answer?


ReplyQuote
theitsage
(@itsage)
Noble Member Admin
Joined:1 year  ago
Posts: 2389
April 24, 2018 12:59 pm  

@eduardqwertyu Here is the step-by-step Bootcamp setup guide. The 13" MacBook Pro is much easier than the 15". A good place to start is to make sure you plug the Thunderbolt 3 cable from the eGPU to the left Thunderbolt 3 port closest to the TAB key.

Best ultrabooks for eGPU use

eGPU enclosure buying guide

51 external GPU build guides


ReplyQuote