[GUIDE] keeping iGPU activated when booting into Windows using apple_set_os.efi
I tried both refind and the efi app and both worked on a 2014 15 inch with 750m. The only issue is integrated.bat doesn’t survive a sleep cycle and I need to hibernate instead.
How did you make it work? That is the same macbook pro I have.
Where are you supposed to add the EFI folder provided by goalque? If using refind, where did you install it, and did you modify anything in the refind.conf?
Where do you add integrated.bat to be launched before/at boot?
Are you talking about Windows? Or osx? I am not so interested in having the egpu on osx, but I do run all games on Windows. So for me I just want a solution which I can boot directly without the need of rebooting, etc.
I did nothing special. Downloaded refind, ran the installer, mounted manually the fat32 partition and edited config file from terminal. Booted windows, ran integrated.bat, disabled sleep, rebooted again and that’s it. Sometimes booting is tricky if I have USB hard drives connected (it takes a longer time to boot).
For the second option, I used the script to format an usb stick, then overwrote the efi script on it with the attachment from GitHub (I think, the smaller one in size). Then used option key to boot from stick. Everything else stays the same. I eventually gave up on this approach as refind requires less interaction during boot from my significant other.
After I run integrated.bat I can't start Windows. It goes from the logo screen to either black or black with a pattern of wandering white snow.
Oddly I cannot use refind to boot to Mac after this or I get a white screen and nothing else.
If I then boot by using the Mac's boot selector it starts macOS, apparently crashes and restarts. The second time all is well, and I can use refine to boot into macOS.
Perhaps integrated.bat is not compatible with 2019 15" MacBook Pro with Vega 20 Pro dGPU? Seems whatever activated the Intel iGPU makes my MacBook not boot to Windows or even macOS. I do not know what to try next!
Hello, I finally have time for this now:)
The problem is that every time I plug the thunderbolt2 cable(with convertor to tunderbolt3) it will first recognize it as a vga device and nothing will be shown on the external display until my internal monitor goes black screen forever. And ever since then, it will always be in black screen when I boot into Windows, so I have to reinstall the Bootcamp windows. I tried a few time but this cycle never changed.
I saw the apple_efi in usb stick solution for switching to the integrated gpu before installing the driver for the egpu. But I got stuck at using the script from 0xbb by which it activated the cmd prompt with admin mode but said it can not ve executed because I am missing msvcr120.dll. I tried to solve it by installing visual studio of both x86 and 64bit version also manually downloading the msvcr120.dll in the systemwow and system32 file.
It triggered a new error 0xcoooo7b that just said the application cannot be started correctly.
Is there a way to get around it like just deleting some version patches? Hoping I could solve it around Christmas XD
Update: The msvcr120.dll error can be soved by installing the x86 version of visual studio 2013 package, I installed some other versions like 2019 and 2010 yet they didn't work some how. And now by using the this guide, (after boot)device manager now can recogize the intel igpu under the section with my dgpu and egpu and the driver for egpu can be installed correctly.
The main post has been updated to provide the latest information regarding apple_set_os.efi.
echo -off fs0: stall 1000000 \EFI\Boot\apple_set_os.efi if not %lasterror% == 0 then reset -w endif \EFI\Microsoft\Boot\bootmgfw.efi