[GUIDE] How to activate Iris/Iris Pro with rEFInd and GPU-switch when you have dGPU
I found great video that shows you how to activate your Iris/Iris Pro (OPTIMUS / Internal Display) when you have a dGPU like GT 750M etc...
1) Installation of Windows 10 in UEFI mode
On the 2013 retina Macbook Pro, the SSD is a PCIe model. This seems related to the UEFI mode used by default when using the Boot camp assistant. If you don’t want to use it or are using another model of Macbook, you can follow this excellent tutorial to force the UEFI mode:
You just need to create a conventional partition and convert your table partition from “hybrid” to “protective”. By doing this, Windows will see a GPT disk instead of MBR. You just need to boot your USB drive on EFI mode.
Once Windows is properly installed with the correct Macbook drivers (another reason to prefer the boot camp assistant), you need to go back to Mac OS.
2) Installing rEFInd
rEFInd is a boot manager tool, like rEFIt or GRUB. Its first advantage is the ability to choose the OS without the need to press a key at startup. And the real reason why we are using it is to spoof the computer to allow Windows seeing the entire installed hardware.
Then you need to activate this spoof ability by opening a terminal and typing these two commands:
sudo mkdir /Volumes/efi
sudo mount -t msdos /dev/disk0s1 /Volumes/efi
Now, you can see your EFI partition in your Finder.
Go to EFI/EFI/refind and open the file with textedit.
Search for the “spoof OS version” and remove the comment symbol #
Reboot your computer and choose Windows on the rEFInd screen.
Open your device manager, you’ll see your iGPU (intel iris pro graphics 5200) and dGPU (Geforce GT 750M)
Download the windows version, available in the description
Install Microsoft C++ redistributable (not sure which version do the trick, I’ve installed each version in x64 and x86 just to be sure)
open the file with administrator rights, you should see the word “success”
4) GPU driver installation
When your computer is off, plug the power supply to your eGPU, press the computer power button, wait for the chime and the rEFInd screen to appear, then plug your eGPU to the Macbook and launch Windows. If rEFInd is stucked, hold the power button until the computer is off.
You should now see three graphics cards in the device manager, two of them not recognized at this point.
Re-launch GPU-switch and reboot. You don’t need to unplug the eGPU when rebooting.
Now, your eGPU should have an error code 12, with unsufficient resources available.
Just right clic on the dGPU (GT 750M) and disable it. Re-launch gpu-switch just to be sure () and reboot.
Right click on the nVidia icon in your systray and open the configuration panel. Go to PhysX and set it to automatic instead of processor, like on this picture:
To switch between both, just plug the display on the eGPU and use the shortcut Win + P (Cmd + P on a Mac keyboard) to toggle between both screens.
Now, the most important part, to avoid screwing your configuration: every time you go back to Mac OS, Windows will switch to the dedicated GPU (maybe also when turning off the computer, I’m not sure).
For this reason, always re-enable the GT 750M before turning off the computer! Otherwise, you’ll get a black screen at Windows startup.
Just follow this procedure when you want to use your eGPU:
- Use gpu-switch to set the integrated GPU as primary
- Disable the dGPU from the device manager
- Turn off your computer or reboot
- When you see the reEFInd screen, plug your eGPU and launch Windows
- Play you favorite video game or launch your intensive GPU application (there are two schools)
- Re-enable your dGPU from the device manager
- Turn off your computer
- Unplug your eGPU
Now, some advices based on my little experience:
If your end up with a black screen, you can restore Windows to a previous restauration point or remove the display driver. If you really can’t boot windows, using Parallels Desktop, you can boot your Windows partition from a virtual machine, then remove the display driver.
UPDATE: Note that rEFInd's spoof_osx_version doesn't work after macOS 10.12.4 upgrade or macOS 10.12.3 internet recovery:
MacBook Pro (Retina, 15-inch, Later 2013) 3.2GHz Quad Core Intel i7-4750HQ / 8 GB 1600 MHz DDR3 / 256GB SSD + 1TB
✪ mini eGPU ● PCI Express vs. Thunderbolt ● Mac CAN game ● Gaming Laptops vs. MacBook Pro with eGPU
Note that rEFInd's spoof_osx_version doesn't work after macOS 10.12.4 upgrade or macOS 10.12.3 internet recovery: