[GUIDE] keeping iGPU activated when booting into Windows using apple_set_os.efi  

Page 7 / 7 Prev
  RSS

Castranova
(@castranova)
Active Member
Joined: 2 months ago
Posts: 5
October 22, 2018 8:24 am  

Hello! Okay I will look for them, directly Intel didn’t work when I tried but maybe I did smthng wrong...
So you tried to remove AMD with DDU and  Gpu - switch + disable from device manager oror?

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


ReplyQuote
jya
 jya
(@jya)
Trusted Member
Joined: 11 months ago
Posts: 83
October 22, 2018 4:09 pm  
Posted by: Castranova

Hello! Okay I will look for them, directly Intel didn’t work when I tried but maybe I did smthng wrong...
So you tried to remove AMD with DDU and  Gpu - switch + disable from device manager oror?

Removing the AMD drivers with DDU just remove it from the device manager, and it then shows as Microsoft Basic Graphic adaptor, it still won't use the Intel (which always shows as working and started properly)"

GPU - Switch had no visible effect.
If you either uninstall or disable the AMD using the device manager, then once you reboot all you'll get is a black screen. You can see it has booted properly, plugging a USB device cause the plugin sound to be played. Pressing capslock shows that the keyboard is active.
Just that nothing can be seen.

Re-activating the AMD in this case is complicated as there's no F8 and other function keys available on those macbook pro until you boot.
The trick I've found was to start macos and vmware and start the bootcamp partition, from then ask to reboot in safe mode. You then immediately reboot the machine, select windows and then re-enable the amd card.

If you manage to get the Intel to work, I'll be more than interested... It is essential for me to get the Intel going under Windows.

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


ReplyQuote
Castranova
(@castranova)
Active Member
Joined: 2 months ago
Posts: 5
October 22, 2018 4:34 pm  

Uiii I resolved it ! After 4 days of head banging, without the usb stick and no hot plugging,
Mainly using this great guide:

https://egpu.io/bootcamp-setup-guide-tb3-macbook-pro/

I am on a 2017 15inch macbookpro, tested only with intel 630 and it works,
With the eGpu - blissfull

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


ReplyQuote
jya
 jya
(@jya)
Trusted Member
Joined: 11 months ago
Posts: 83
October 22, 2018 8:35 pm  

I followed that guide which much success.
Up to step 4 and running integrated.bat

Once I reboot I get greeted with a screen that looks like this:

And that patter is moving (it feels like it rotating)
I read a few success stories related to the 2016 and 2017 MBP, but nothing about the 2018.

Worse bit is that I can't start windows any longer, not even in safe mode to restore from the last backup point.

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


ReplyQuote
Rycco
(@rycco)
Reputable Member
Joined: 2 years ago
Posts: 277

ReplyQuote
theitsage
(@itsage)
Famed Member Admin
Joined: 2 years ago
Posts: 3215
October 22, 2018 11:23 pm  

@jya This is the same behavior many have noticed when attaching the iGPU to the internal display on 2018 15" MacBook Pro. There's no workaround yet unfortunately. In order to accelerate the internal display through the eGPU, you have to use Windows 10 1803 Graphics options. Nvidia eGPU is much easier to get going vs AMD eGPU.

Best ultrabooks for eGPU use

eGPU enclosure buying guide

86 external GPU build guides


ReplyQuote
jya
 jya
(@jya)
Trusted Member
Joined: 11 months ago
Posts: 83
October 23, 2018 2:26 am  

Sorry, the editor ate my post above, and I can't seem to be able to edit it without the text appearing in the quote, this website is unusable on a mobile (ios or Android), phone or tablet.

Posted by: theitsage

@jya This is the same behavior many have noticed when attaching the iGPU to the internal display on 2018 15" MacBook Pro. There's no workaround yet unfortunately. In order to accelerate the internal display through the eGPU, you have to use Windows 10 1803 Graphics options. Nvidia eGPU is much easier to get going vs AMD eGPU.

Anyhow, I don't have a eGPU. My only aim is to make the Intel 630 iGPU as primary display adapter under Windows. The Intel supports hardware decoding 10 bits formats that the AMD don't.
What special option is Windows 1803 offering? I haven't seen options in there that would allow me to select the Intel. 
It's so weird, everything appears to work with the Intel, I just can't make it the primary adapter.

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


ReplyQuote
theitsage
(@itsage)
Famed Member Admin
Joined: 2 years ago
Posts: 3215
October 23, 2018 2:41 am  

The firmware forces dGPU to power the internal display. If you uninstall the all graphics drivers you can disable the Radeon dGPU. The problem is Windows will use basic drivers for the internal display and it's laggy.

Best ultrabooks for eGPU use

eGPU enclosure buying guide

86 external GPU build guides


jya liked
ReplyQuote
jya
 jya
(@jya)
Trusted Member
Joined: 11 months ago
Posts: 83
October 23, 2018 2:49 am  
Posted by: theitsage

The firmware forces dGPU to power the internal display. If you uninstall the all graphics drivers you can disable the Radeon dGPU. The problem is Windows will use basic drivers for the internal display and it's laggy.

 no way to force the Intel being used?
Under macos, the screen shows up as if connected via the Intel. I can disable the AMD just fine there, but that doesn't help me much, Apple doesn't let you access the underlying hardware decoder  there. Gotta use Windows,

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


ReplyQuote
Vumad
(@vumad)
New Member
Joined: 1 month ago
Posts: 4
November 5, 2018 10:10 pm  
Posted by: goalque

nando4>>  Refind 0.11.x bootmanager has been updated.  When the spoof_osx_version token is set in the refind.conf, it will work like @goalque's apple_set_os.efi documented below, effectively providing a user-friendly replacement for it.

 


By default, Apple’s firmware switches off the iGPU when there is eGPU or dGPU present and you’re booting into another OS than macOS. This happens especially with multi-slot enclosures such as Sonnet Echo Express III-D and Netstor NA211TB. Depending on the eGPU, iGPU may stay enabled with a single-slot enclosure but it’s not absolutely certain.

 


It is desirable to activate the Mac's iGPU in Windows for two reasons:

  1. to overcome error 12 on your eGPU. Then a dGPU's PCIe x16 host bridge can be disabled to free up resources.
  2. to provide an eGPU accelerated internal LCD by AMD X-Connect or NVidia Optimus -> an active iGPU is required.

 

To enable the iGPU during a Windows bootup we use apple_set_os.efi to spoof a macOS boot as explained below.

 

Update Oct-2017>> apple_set_os.efi causes a H2D bandwidth performance degradation on TB3 Macbooks.  Details & workarounds are here.


 System requirements

 

  • Windows 10* or 8.x UEFI installation
  • A Macbook with UEFI 2.0 firmware. Known working systems being:
    • 2013+ 15" Macbook Pro with RPxxx,  M370X or GT750M graphics
    • 2013+ 15" Macbook Pro with Iris Pro only graphics
    • 2013+ 13” Macbook Pro with Intel graphics

 

The following are likely not UEFI 2.0 compatible for apple_set_os.efi to work.  See linked discussion with inconclusive results.

  • 2012 15" Macbook Pro GT650M as explained
  • 2011 15" Macbook Pro HD6750M as found 

 

* Windows 10 version is important – I recommend 10.0.10586 (I am not sure about later builds). Older builds required also VGA enable bit of the parent PCIe bridge, but seems that newer versions ignore this setting.

 


USB stick creation procedure

 

1. Format an USB stick in Disk Utility (Choose Erase, Format: MS-DOS (FAT), Scheme: Master Boot Record)

2. Create a USB stick folder structure in Finder as follows: /EFI/Boot/bootx64.efi where bootx64.efi is the renamed apple_set_os.efi file downloaded below.

https://github.com/0xbb/apple_set_os.efi/releases

 


Windows Boot via USB stick instructions

 

Pre-boot process

If necessary, hot-plug the Thunderbolt cable at the stage of Windows flag or spinning circle for systems that refuse to POST with a Nvidia eGPU. "Refuses to POST" means that Apple's startup manager does not appear when holding down the Option key. This is often required on late-2013 15" GT750M and early-2015 13" MacBook Pros. "automate-eGPU.sh -a" mode helps but it's not persistent on the Windows side. Depending on the eGPU enclosure used it's also worth trying other TB ports too. 

[Late 2016 13" non-touch MBP] Connect the enclosure to the second TB3 port of the MBP and the USB-C-to-USB adapter to the first (port closest to the ESC key)

 

Performing the Windows boot

1. Open Startup Disk on macOS, choose BOOTCAMP partition. Shut down.

2. [GT750M/M370X/RPxxx 15" MBP only] Prior to booting into Windows with the eGPU plugged in, run 0xbb's integrated.bat as administrator. This sets the Apple gmux to wire the internal LCD to the iGPU when you reboot your system [into Windows].

3. Restart the Mac with the USB stick and eGPU plugged in to the correct TB port (will vary depending on the eGPU enclosure/Mac model).

4. Hold down Option key and you should see a new disk "EFI Boot".

5. Select "EFI Boot". This will boot into Windows, transparently via bootx64.efi (apple_set_os.efi) with your iGPU active.

[2014+ MBP models] If you see error code 12 with Nvidia, disable the parent PCI Express Downstream Switch Port of the eGPU in Device Manager, and then enable it. No restart required. Older MBP's firmware don't support surprise removal/hot-plugging.

 


Confirmed success

 

ryokun6: late-2016 15" Macbook Pro RP460 + GTX1080Ti eGPU

ddqp: late-2016 13" Macbook Pro touchbar + GTX1050Ti eGPU

goalque: late-2016 13" Macbook Pro non-touch + R9 Nano, RX 480,  GTX 980,  GTX 1060 eGPUs

goalque & : mid-2015 15" Macbook Pro M370X + GTX980, RX480 eGPUs

Anima: mid-2015 15" Macbook Pro M370X + GTX980Ti eGPU

matthieuv : late-2013 15" Macbook Pro GT750M + GTX1060 eGPU

 


Programmer's Note

 

I found that as of macOS 10.12.4, Apple changed the APPLE_SET_OS_GUID protocol resulting in 0xbb’s original apple_set_os.efi no longer functioning. My fixed apple_set_os.efi skips the probematic set_os->version == 2 check. That's because set_os->version returns 3 with newer MBP firmwares. 0xbb's updated apple_set_os.efi V1 also implements the same code update.

 


FAQ: Can I avoid booting via a USB stick?

 

Yes. 0xbb's github homepage explains if you have rEFInd installed then it's just a matter of copying apple_set_os.efi to the EFI (ESP) partition to use it from there. @T2pierre incorporates this with a EFI shell script to provide an automated bootup here.

Usage:

Copy the apple_set_os.efi binary (download it from releases) to EFI System Partition (ESP) :

mkdir /boot/efi/EFI/custom
cp apple_set_os.efi /boot/efi/EFI/custom

rEFInd should automatically show a new icon for apple_set_os.efi.

I got my Mac side working with your scripts. Thank you.

However I have not yet gotten the windows side working. The thing is, I am running my windows and Everquest from a Win2USB. My question is, can I just modify my current EFI boot to spoof the system as you have designed for a partitioned bootcamp? Do I have to run 2 USB to make it work? Or will I no longer be able to run Windows from the USB with the egpu.

Windows runs fine from USB 3.0. UserBenchmark gave my iGPU a score of 10%. The rest was in the green.

Just incase I was unclear. My problem in Windows is Code 12.

My hope is to have MacOS and Windows to both accelerate the internal display. So far I have only gotten MacOS to do external. Next step was to get windows External, then windows internal, then mac internal.

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


ReplyQuote
Vumad
(@vumad)
New Member
Joined: 1 month ago
Posts: 4
November 6, 2018 1:27 am  

https://egpu.io/forums/mac-setup/re-help-akitio-node-how-to-update-rx-480-in-bootcamp/#post-6554

I found this post by you. I am also running the Macbook Pro late 2015 retina (2.2 ghz). You said you didnt need the efi. I am using a devil box with a sapphire rx 480. I am trying not to partition my drive if I don't have to. I have noticed with the EGPU attached my usb mouse is laggy. It says all of my drivers are up to date. Just code 12.

My heaven scores went from 234 to 1241 on external display with eGPU (MacOS) so I know eGPU is working.

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


ReplyQuote
Fred_erick
(@fred_erick)
Active Member
Joined: 3 weeks ago
Posts: 5
November 23, 2018 8:44 am  

Hi Guys, I have the problem that the internal screen stays black after the Windows 10 boot logo and the eGPU is not connected. What can I do now?

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


ReplyQuote
Castranova
(@castranova)
Active Member
Joined: 2 months ago
Posts: 5
November 23, 2018 9:04 am  
  • When you Efiboot you have pressed the three colored circles before the windows button, and also run internal.bat program in windows- right ? 

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


ReplyQuote
Fred_erick
(@fred_erick)
Active Member
Joined: 3 weeks ago
Posts: 5
November 23, 2018 9:20 am  
Posted by: Castranova
  • When you Efiboot you have pressed the three colored circles before the windows button, and also run internal.bat program in windows- right ? 

I havn't tried anything, becouse I don't know if this is an EFI problem and right now, I didn't found an 100% working howto.

Soon I will add my system & eGPU details or a build link to this my signature to give context to my posts


ReplyQuote
Page 7 / 7 Prev