[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
I have a question. I already created the EFI boot on a USB stick. But can I still install any software in the USB stick? For example, download games in the USB stick while using it as an EFI boot. Will if influence the booting of the system?
Looking forward to your reply
Using the latest windows iso and refind, I was able to get win 10 working with igpu correctly recognised by first setting up refind in the /Dev/disk0s1 partition, EFI directory, and then just installing windows from the usb drive prepared by boot camp.
Initially two Microsoft basic adapters show up, which both correctly revert to intel 4000, and Nvidia 650m after installation of boot camp windows drivers, on my Retina MacBook Pro mid 2012.
After that, even refind is not necessary for windows to continue booting and activating both igpu and dgpu.
dsdt override fixes the sound and enables large memory area, so I’m assuming an egpu would now work ? ( I don’t yet have one to test with :S. )
Device manager screenshot:
MacBook Pro Mid 2012 retina: reviewing potential for eGPU.
Hey, so I'm running windows via EFI-Boot on an external HDD via USB 3.0.
Instead of using ANOTHER usb-drive, can I make it run at the same time as when I'm starting windows via EFI-Boot? So should I manually copy the apple_set_os.efi to the EFI partition on my eHDD, so it's all in one place and starts at the same time?
EDIT: I clearly didn't explain myself right, in afterthought. You are explaining this for someone who installed Windows via Bootcamp. My question simply is: How does it work with Windows being installed EFI-Bootable on an external HDD. I wonder if I can combine your boot-script with the one which is starting windows. And if not, how can I make this work otherwise? Can I in someway customize the bootx64.efi to run your script while starting up?
Did you ever make it work? This is where i am stuck.
Can someone please help me, i managed to install windows on an external SSD and i can boot into it fine however, it does recognise the EGPU or if i boot with the EGPU plugged in i get a black screen, so i tried making the bootable usb with
\EFI\Boot\ apple_set_os.efi and it shows up when i restart and hold option, problem is that it show 2 EFI boot, the SSD and the USB and the normal Macintosh Drive, i am guessing this i where i am going wrong, how can i get it to work? do i need to install the apple.set.os.efi within the SSD partition? if someone one could please clarify this for me. Thank you
Is it somehow possible to boot with this ‘EFI boot’ disk automatically (without selecting boot options on startup with keyboard), to select it as startup drive in macOS?