Mac mini 2018 EGPU under bootcamp - Error 12
2017 13" MacBook Pro Touch Bar
GTX1060 + AKiTiO Thunder3 + Win10
GTX1070 + Sonnet Breakaway Box + Win10
GTX1070 + Razer Core V1 + Win10
Vega 56 + Razer Core V1 + macOS + Win10
Vega 56 + Mantiz Venus + macOS + W10
@Eightarmedpet Well I was determined to stay up last evening until I could at least come up with a solution as I never found really anything solid. I learned AMD cards tend to take more resources in Windows and I would have to do a ton of Device Manager hacking in Windows to get it going. I just wanted to test all of this last and use the knowledge I gathered ( mainly from @itsage ) starting at what I felt would be the easiest stage first. Being somewhat new to the Mac, it took me some research understanding how Bootcamp worked with Windows and learning some of its new Security features T2 offer and the ways around them. Once I realized I could disable some security that comes default for boot (specifically no security and allow boot from USB) I then wanted to test the apple_set_os.efi as this to me seemed like the easiest solution. I added the EFI to a USB, made sure my Mac was set to boot Windows next, and then after I selected the new option for EFI at boot (by holding down the option key at boot) I directly unplugged my HDMI from the Mac Mini and plugged it into my EGPU. It actually booted and the Device Manager was 100% clean in Windows (well no yellow ! or other errors) and it seemed to be running as smooth as ever.
I did BTW use the TB3 port closest to the HDMI and have not used the one next to that as I do not want to run into conflicts as I read this is possible. I also plugged in a USB3 hub into a USB port to handle my USB key and mouse. Last but not least, I am using the TB3 port closest to the Ethernet for my external ssd.
I followed this booting clean by repetitive reboots (I tried ten times) by just rebooting and never connecting my EGPU and it always worked in Windows, I then booted into Mac and tried the same thing listed before with the EFI and it booted back into Windows clean again. This seems to be the best solution I have tried yet and if it continues running fine over the next few weeks, I am going to partition my Mac internal ssd with the added EFI partition so I do not have to keep the USB key in every time I want to run Windows.
The easiest approach with the 2018 Mac mini is to not hot plug the eGPU but rather have it connected prior to booting. When you hot plug an AMD eGPU in Windows Desktop, the eGPU has to compete with other PCI components that already got allocation. The likely outcome is error 12 for the eGPU.
If you already installed Radeon drivers for your RX Vega 64 eGPU, simply shut the Mac mini down and make sure the eGPU is connected. Proceed to connect the monitor to one of the outputs from the RX Vega 64 eGPU. Finally boot the system up and wait for it to load Windows. You won't see anything on the monitor until the Login screen/Desktop.
@itsage @Crofs I have the exact same setup as the OP (except its a 32GB ram and i7 mac mini 2018). I was able to setup bootcamp and windows 10, install the drivers required so device manager recognises the Vega 64 just like above. However it has a yellow indicator, investigating the properties displays the code 12 issue. (I am also using the tb closest to the hdmi port so it lists on top of the pci slots).
When I boot with the eGPU (razer core x) on I see my keyboard and mice lit. However the screen stays black and my eGPU's fans come to halt. If I then connect the HDMI port of the mini to my screen directly I hear a sound but nothing happens.
Any clues why my setup behaves differently would be greatly appreciated. I would love to refrain from boot hacks because the OP got it working so I suppose so should I...
screenshot: device manager (I only get this far if I hot plug the eGPU after the windows logo has appeared and this leads to code 12)
I'm having similar issues. I have a Vega 64 and all the installations seem to go ok. But I get an error when it's trying to look at my 'Video Controller'. Apple/AMD doesn't seem to have Mac Mini compatibility yet? https://www.amd.com/en/support/kb/release-notes/apple-boot-camp
Same setup here. Everything works fine except sometimes booting from windows to mac os gives me a black screen and I have to restart the mini. Getting it to work was a bit tricky but thanks @itsage pointed in the right direction.
Good thing: it does work more or less out of the box without any tools and unplugging/replugging cables (with a monitor that has 2x display port and a core x on/off switch).
Things that helped: After error 12 in windows boot to mac os. Then don't boot to windows with holding options key but in mac os go to settings/startup disk bootcamp and restart with egpu on.
In case you get a black screen with windows noises and maybe mouse cursor - it's a black win. login screen. Press enter and put in your password. For me the display was extended over 2 screens with only one working. Had to drag the display settings to the working screen and adjust settings. But I only had to do that once and booting to windows works every time now.
But booting from win. to mac os gives me troubles sometimes, maybe turning off the egpu is needed as I don't want to disable file vault.
I’m in the pit of despair right now. Same set up as the OP although with the i7 and 32GB of RAM. First time I installed Windows in Bootcamp I was able to get the eGPU working perfectly. I had to do the cold boot with the eGPU connected in order for it to work, but it worked fine. I’ve since reinstalled windows for other reasons and now it’s nothing but sadness. I can’t successfully boot whatsoever with the eGPU. If I boot via USB-C off the iGPU, I confirm I have a code 12 error. When I try to boot with the eGPU, it just loops attempting to boot. Is the EFI boot loader via USB still necessary these days? Or should I expect to be able to get this to work vanilla?
@tkw722 You are having the exact same problem/system I am having. When I installed a genuine copy of Windows 10 via bootcamp, I had ZERO issues booting into Windows through my Razer Core X- Vega 64 card. As weeks went by, little by little it has booted less into Windows with the eGPU attached and looped into the error 12, attempting to boot phase over and over. Now, after about 30 + attempts to get my eGPU to work in Windows, it fails every time. I've spent countless hours trying to narrow down the problem. I've unplugged EVERY device from my 2018 Mac Mini, save the single eGPU thunderbolt 3 port, and still get nothing. I have tried disabling the iGPU from windows, nothing. Fresh install didn't help either. Using the EFI boot loader as suggested by @Eightarmedpet hasn't worked either. Very frustrated and out of ideas. The only thing I can think of is (I have both MacOS and Windows completely up-to-date) is a windows update has halted eGPU usage. If anyone has insight or workaround suggestions, they would be greatly appreciated.
I feel your pain! I do think there might be some dim light at the end of the tunnel though. I’ve finally had some luck after crawling a bunch of the phenomenal guides on the site here, I came across the step to turn off the OS and boot security enforced by the T2 chip. Once I did that, I’ve had... more success in booting into Windows with the eGPU. It’s not every time, but it’s much more than it was before. So, boot your Mac with COMMAND+R to enter recovery mode. Then go to Tools (I think, I don’t have it in front of me right now) and you want the Startup Security tool. Then in there, you want to turn off the T2 security by setting it to none and you want to turn on the ability to boot from external media. Once done, close the tool and reboot. Right after that boot I started to have some success!
To everyone having E12 issue on mini 2018 - The key seems to be 'blind booting': you can't have a monitor plugged into the mini's HDMI port when booting Windows, as this will cause E12. At least my setup have not had a single problem after itsage told me this.
Setup 1: Custom Build Mid-Tower Hackintosh (SMBIOS: Apple Mac Pro 2019)+ eGPU
iGPU: Intel UHD Graphics 630
dGPU: ASUS Strix AMD Radeon 5700 XT 8GB GDDR6
eGPU: Zotac NVIDIA GeForce GTX 1650 4GB GDDR6 via Thunderbolt 3 (AKiTiO Node Lite)
OS: macOS Catalina 10.15.6, Windows 10 2004, Kali Linux 2020.3
Setup 2: Apple Mac mini 2018 + eGPU
iGPU: Intel UHD Graphics 630
eGPU: AMD Radeon RX 570 MXM 4GB GDDR5 via Thunderbolt 3 (Sonnet Breakaway Puck)
OS: macOS Big Sur 11.0 Beta, Windows 10 2004
Got a question... Is E12 still an issue with Windows 10 1903 and if so does it impact both AMD and NVIDIA GPUs, or just AMD when using a Mac mini 2018 as described here?
Mac mini 2018, i7 3.2GHz 6c, 32GB RAM, 1TB SSD, 10GbE, Sonnet eGFX 350W (Noctua NF-A12x25 ULN) + PowerColor RX 5700 XT 8GB, TEKQ Rapide TB3 1TB SSD, macOS Catalina, Win10 Pro
Mac Pro 2010, X5690 3.46GHz 6c, 64GB RAM, Samsung SM951 512GB, Sapphire Pulse RX 580 8GB, Intel X540-T1 10GbE, Allegro Pro USB 3.0, AC/BT 4.2, macOS Mojave