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

Page 1 / 7 Next
 

goalque
(@goalque)
Honorable Member Admin
Joined:1 year  ago
Posts: 745
January 13, 2017 5:52 pm  

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.  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 RP4xx,  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/RP4xx 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.

Edited: 2 months  ago

automate-eGPU.shapple_set_os.efi
--
late-2016 13" Macbook Pro nTB + Vega64@32Gbps-TB3 (Netstor HL23T) + macOS & Win10
late-2016 13" Macbook Pro nTB + GTX980/RX580@32Gbps-TB3 (Netstor HL23T) + macOS10.13 & Win10


Eydawn, jzfgs, rushvora and 7 people liked
ReplyQuote
T2pierre
(@t2pierre)
New Member
Joined:11 months  ago
Posts: 2
January 23, 2017 10:10 pm  

tested with iMac 5k late 2014, seems to work since I am able to detect and activate intel HD graphic cards in Win10

I have no eGPU to test if optimus would work for internal display use…but should be the case isn’t it?

I think there is a very interesting use case in keeping the gorgeous iMac 5k internal display with eGPU

question: is is it possible to chain the EFI boot and bootcamp without changing the default boot disk?


ReplyQuote
goalque
(@goalque)
Honorable Member Admin
Joined:1 year  ago
Posts: 745
January 26, 2017 3:09 pm  

Yes, it is possible. Either by loading \EFI\Microsoft\Boot\bootmgfw.efi

or \EFI\Boot\bootx64.efi as described here.

and combine commands into EFI script.

Here is a good starting point:

https://software.intel.com/en-us/articles/efi-shells-and-scripting

 

automate-eGPU.shapple_set_os.efi
--
late-2016 13" Macbook Pro nTB + Vega64@32Gbps-TB3 (Netstor HL23T) + macOS & Win10
late-2016 13" Macbook Pro nTB + GTX980/RX580@32Gbps-TB3 (Netstor HL23T) + macOS10.13 & Win10


ReplyQuote
T2pierre
(@t2pierre)
New Member
Joined:11 months  ago
Posts: 2
January 29, 2017 10:56 am  

@gloaque

I have tried the EFI shell commands you recommended:

1) Download apple_set_os.efi

2) Download EFI Dev Kit:   https://sourceforge.net/projects/efidevkit/files/latest/download

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

4) Copy apple_set_os.efi to the root directory

5) Create a folder structure in Finder as follows: EFI/Boot/bootx64.efi

where bootx64.efi is the renamed Shell_Full.efi file from /Edk/Other/Maintained/Application/UefiShell/bin/x64/folder

6) Plug the USB stick into the USB-C to USB adapter, and connect it to your Mac (TB3 port closest to the esc key)

7) Connect the AMD eGPU

8) Turn on your Mac and hold the Option key down

9) Select “EFI Boot” with the enter key

10) Change file system to USB “fs2:” => on my configuration it is fs4:, working fine up to here

11) Type “apple_set_os.efi”

12) Change file system to Windows partition “fs0:” => I am stuck here, I have no access to the Windows partition, fs0 (apple EFI), fs1 (macintosh HD), fs2 (recovery disk), fs3 (unreadable, windows?), fs4 (usb). 

13) cd EFI\Boot => BTW, there is no EFI folder on my BOOTCAMP partition

14) bootx64.efi

15) Wait for the “whoosh” sound!

If I make it work, I understand that I have then to create startup.nsh (in EFI/boot) with all the above refi shell commands that will be be automatically executed at boot time


ReplyQuote
JacobSyndeo
(@jacobsyndeo)
Active Member
Joined:10 months  ago
Posts: 10
March 1, 2017 3:39 pm  

Oddly enough, I haven’t personally encountered this issue. Running late 2016 13″ MBP with Touch Bar.
In fact, Windows seems to prefer using the Intel Iris 550 by default, and I need to use GeForce Experience or another Nvidia tool to whitelist apps for using my GTX 1060.

Is that normal? Is this issue supposed to affect everyone trying to run eGPUs on Macs, or does it only affect some of them?

2016 MacBook Pro 13" (booted to Windows 10 AND macOS thanks to NVIDIA's new Pascal drivers!)
AKiTiO Thunder3 + EVGA GeForce GTX 1060 SC 6 GB + Dell DA-3 180W PSU + Noctua NF-A6x25 FLX fan


ReplyQuote
goalque
(@goalque)
Honorable Member Admin
Joined:1 year  ago
Posts: 745

ReplyQuote
Menneisyys
(@menneisyys)
Eminent Member
Joined:10 months  ago
Posts: 35
March 1, 2017 10:06 pm  

– Is this any different from using rEFInd’s (pretty new) spoof_osx_version feature (with the default 10.9 value)?

– On my early 2013 15″ MBP, upon clicking “EFI Boot”, the MBP hangs. This with the pre-made binary downloaded from  https://github.com/0xbb/apple_set_os.efi/releases (not built myself). The case is exactly the same as using rEFInd, copying the original .efi file in its /custom subdir and clicking its own icon there upon loading. Should I build the source code instead?


ReplyQuote
goalque
(@goalque)
Honorable Member Admin
Joined:1 year  ago
Posts: 745
March 1, 2017 10:53 pm  

rEFInd’s implementation is exactly the same. The pre-made binary is ok.

Apple’s firmware favours dGPU in the pre-boot environment. In order to activate the iGPU, you must first configure the gmux device to use integrated mode with the gpu-switch. After that, you can run apple_set_os.efi. Did you try that in Windows 10 (Boot Camp)?

automate-eGPU.shapple_set_os.efi
--
late-2016 13" Macbook Pro nTB + Vega64@32Gbps-TB3 (Netstor HL23T) + macOS & Win10
late-2016 13" Macbook Pro nTB + GTX980/RX580@32Gbps-TB3 (Netstor HL23T) + macOS10.13 & Win10


ReplyQuote
Menneisyys
(@menneisyys)
Eminent Member
Joined:10 months  ago
Posts: 35
March 6, 2017 6:49 pm  

nando4>> Below is a concatenated discussion between goalque and Menneisyys on applying apple_set_os.efi to his GT650M 15″ Macbook Pro. No definitive answer here other than a necessary UEFI Windows installation was difficult because, as goalque wrote:

 

Your MBP10,1 has an older firmware which doesn’t support Windows Boot Camp UEFI installation.

 


„In order to activate the iGPU, you must first configure the gmux device to use integrated mode with the gpu-switch. After that, you can run apple_set_os.efi. Did you try that in Windows 10 (Boot Camp)?”

 

No matter what I do, I get the 

 

Switching: Error

Error code was: 1

Error message was: Incorrect function.

 

error messages for both batch files in all these cases:

 

  • no spoofing, normal mode, not installed HD 4000 drivers (that is, the default)
  • spoofing, normal mode, installed HD 4000 drivers
  • spoofing, Safe mode, installed HD 4000 drivers
  • no spoofing, Safe mode, installed HD 4000 drivers

 

Also note that the Resources tab of the HD4000 shows „the device isn’t using any resources because it has a problem” in both Safe  and normal mode (with spoofing and installed HD 4000 drivers).

 

Capture

 

Posted by: goalque

 

Is it Windows 10 Boot Camp (UEFI)?

Run as administrator, right click the integrated.bat.

 

Yup, Bootcamp Win10 (tested via both rEFInd and the standard loader) and I use “run as admin” when right-clicking the batches. VC2013 x64+x86 runtime (as the DLL wasn’t found in the VC2010 one.).

Has anyone encountered these very error codes/messages?

Posted by: goalque

 

Your screenshot shows that you are not running in the administrator mode. It should say: “Administrator: Command Prompt”. As you now did, the must be some missing Win10 package. What’s the Windows 10 build? Type “ver” in cmd.

  

 

Version: 10.0.14393 (fully updated). With no-admin execution, I get:

AdjustTokenPrivileges failed

Error code was: 1300

Error message was: Not all privileges or groups referenced are assigned to the caller.

May be the problem caused by Windows 10 not being activated? I installed it about a week ago  so it still hasn’t run out of 30 days. (I can reinstall & update it from Windows 7 so that it’s activated – I have legal licenses for Win7 but not directly for Win10.)


 

By the way, as some people reported success on booting into Windows with a, from the (connected) eGPU disconnected monitor, I re-tested the spoofed Bootcamp with my monitor  disconnected.

 

1, cold boot (after powering up) right into Windows: boots; eGPU is invisible in Device Manager (HD4000 is visible, obviously – as we’re spoofed)

2, warm reboot from Windows into Windows: freezes right at boot loader selector (rEFInd in this case)

3, warm reboot from MacOS into Windows, without running automate-eGPU-master: boots; eGPU is invisible in Device Manager (HD4000 is visible, obviously – as we’re spoofed)

4, warm reboot from MacOS into Windows, with running automate-eGPU-master: freezes right at boot loader selector (rEFInd in this case)

That is, it behaved in exactly the same way as with a connected monitor.


I’ve removed Win10 + Bootcamp and installed a brand new copy of Windows 7. I’m having exactly the same symptomps: 

 

  • with the eGPU connected to the MBP, when booting after executing the script (without -a) or NOT from MacOS, freezes right on the boot loader selector screen, be it either rEFInd or the standard, stock (Alt) one. That is, the only case it boots in when I restart from MacOS without previously executing automate-eGPU.sh; that is, when the eGPU is completely hidden by design.
  • this both with and without spoofing
  • the iGPU (when spoofed, obviously) is listed with the same  „the device isn’t using any resources because it has a problem” problem. Enabling it, of course, results in a black-screen boot. Also after auto-installing the driver it deemed the right.
  • gpu-switch doesn’t at all work under Win7 – even after installing VC2013 x86 + 64, it complains about a missing entry point in the system KERNEL32.DLL.
  • now that Win7 is activated, I could update (via the assistive tip) to Win10 Pro (this time, Activated). Exactly the same symptomps as before; that is, the lack of activation didn’t cause any additional problems.

 

Config: early 2013” i7 15” MBP, Node, Sapphire RX 480 4G. It works flawlessly under MacOS.

 

Posted by: goalque

 

gpu-switch requires UEFI, can you check your BIOS mode? Boot into Windows with eGPU disconnected when you try to run integrated.bat.

   

 

Thanks, I wouldn’t have thought my Windows 10 in Bootcamp still uses BIOS. Just examining the way of converting the entire stuff into UEFI.


Some updates on my struggles with my config: early 2013 15” MBP with HD4000 iGPU + 650M dGPU; Node via TB1->3 adapter; Sapphire Nitro 4Gbyte RX 480 card. Absolutely no problems  with this eGPU under MacOS 10.12.3 – both for gaming and „serious” work like two-fold speedup of Capture One Pro image exporting. Windows, however, has been an absolutely no-go.

 

1, The post at https://egpu.io/forums/mac-setup/which-rx480-variant/#post-3886   state Sapphire cards just don’t work in BIOS environments – only in UEFI ones. This may be the reason for my system not booting in at all after executing the .sh script under  MacOS and, then, restarting the device but freezing right on the boot loader selector screen, let it be the stock one or rEFInd.

 

2, My MBP being an early 2013 model, „Boot Camp Assistant” doesn’t use the UEFI not even when directly creating a Boot Camp partition with a Windows 10 (that is, unlike with Windows 7, fully UEFI-compatible) installer. I’ve tested this with two different x64 builds – the currently available-for-download one and an old (2015) 10.0.10586.

 

3, speaking of 10.0.10586, which is also recommended by goalque ( https://egpu.io/forums/mac-setup/macbook-pro-2014-15-gt750m-not-detecting-akitio-node-in-windows-10/#post-2671 ),  it can’t boot with the card earlier made visible in MacOS either. That is, it behaves in exactly the same way as the current build.

 

 

That is, currently, it seems the only way I should go is manually converting the Hybrid MBR booting to UEFI booting. Here’s some explanation on what it’s all about: https://www.lai.nl/en/boot-camp-with-uefi-in-depth-and-deploystudio-can-do-that/ . If anyone knows a decent tutorial on how this is done (the one at https://www.reddit.com/r/mac/comments/3dlu2g/convert_a_bootcamp_bios_windows_installation_to/ has proved to be useless in my case – the step „create partition msr size=128” couldn’t be executed.)


Update (the next morning):

 

It seems it’s not easy to install any kind of Windows in UEFI mode on Macs with pre-2.0 EFI support. (Don’t be misled by Apple’s EFI updates’ version numbers, if existing – they do not have anything to do with the supported EFI versions. You can easily get the supported EFI version using eEFInd’s Info icon; it’ll be 1.1 for older models, incl. the early 2013 MBP.)

 

For example, I’ve closely followed the tutorial at http://fgimian.github.io/blog/2016/03/12/installing-windows-10-on-a-mac-without-bootcamp/ (an otherwise EXCELLENT tutorial!) to reinstall 10.0.10586 directly (without upgrading from an older Windows version). The result? A BIOS install, just like before – and not a UEFI one.

 

This all means you should NOT purchase graphic cards that are proved to be EFI-only ones; for example, the Sapphire RX 480 models, if you only have an MBP with non-current (1.1-only) EFI support. (See my link above.) Without excessive hacking (involving the complete reinstall of even the MacOS partition), it’s just not possible to install Windows in UEFI mode, which also means you won’t ever be able to make your Sapphire work under any kind of Windows. Not even Windows 8+, which has fixed one of the major problems with Win7 x64 with the graphics. (See Brendon’s post, August 3, 2013 at 6:47 am, starting with „I’ve found some interesting reading for those wanting to know why it is so difficult/impossible to get Windows 7 working in (u)efi mode on macs as opposed to Windows 8 – Windows 7 is not fully uefi compliant.” in the comment section of another tutorial / post worth checking out, https://darobins.wordpress.com/2009/10/04/native-uefi-windows-7-boot-on-mac-mini/ )

 

Another thread worth checking out: https://discussions.apple.com/thread/2767378?start=0&tstart=0 ; the two most important comments summarizing the info in it:

 

rEFIt reports the following for a Macbook Pro 8,2. very disappointing. I could f’n care less about BIOS emulation or Windows. Could we please joint the modern era Apple? This EFI version is ancient and non-standard.

 

EFI Revision 1.10

Platform: x86_64 (64 bit)

Firmware: Apple 1.10

Screen Output: Graphics Output (UEFI), 1680 x 1050

 

So the bottom line answer to this question is, the new MBPs use EFI 1.1, not UEFI 2.x. And this is a problem for EFI booting Windows 7 as well as (U)EFI booting pretty much any other OS out there other than Mac OS X.

 

 

So EFI is for Apple, and BIOS is for everyone else. Which irks me because Apple would have better compatibility had they stuck with BIOS based hardware until they were ready/willing to go to UEFI. So all this talk about openness and extensibility and benefits of Apple’s use of EFI in reality falls flat on its face.

 

 

Posted by: goalque

Apple’s “EFI 1.10” implementation is actually UEFI 2.0 compatible on TB2 and TB3 Macs. Your MBP10,1 has an older firmware which doesn’t support Windows Boot Camp UEFI installation.

 

Thanks!

Nevertheless, do you know of cases successfully driving a fully BIOS-incompatible card like the Sapphire RX 480 in any kind of “hacked” EFI Windows on these pre-late 2013 models? (The TB1 tests here in some of the articles must have been done with BIOS-compatible cards, not a Sapphire.)

Posted by: goalque

Sapphire Nitro RX 480 has a dual BIOS but apparently its purpose is a different power profile: http://www.legitreviews.com/sapphire-nitro-radeon-rx-480-4gb-video-card-review_184553

It could be switching UEFI/legacy vBIOS as well. Nowadays every card contains an UEFI rom. If a Windows flag appears on your eGPU monitor during the boot, it signifies that your AMD card is UEFI compatible with the UEFI Mac (Late 2013->).

I’m not sure whether pre-UEFI MBP would work better with the legacy vBIOS card.

Edited: 1 month  ago

ReplyQuote
enjoy
(@enjoy)
Reputable Member Moderator
Joined:1 year  ago
Posts: 373
March 7, 2017 6:25 pm  

@goalque can we use that if we already have BOOTCAMP working part (i don’t have knowledge of UEFI/rEFInd, i used only BOOTCAMP, and i want to know can i use this steps if i already have a working BOOTCAMP part) or we must make new clean UEFI Windows 10 install?

The question is because i just ordered 15′ Retina Macbook Pro (late-2013) Iris Only and i want to be ready with all solutions to make it work with my current eGPU, i want to force Optimus!

 

Posted by: goalque

 

@enjoy: MBP11,2 (Late 2013/Mid 2014) is a great choice and supports UEFI. After the apple_set_os.efi has been applied, and Nvidia drivers installed, you should have out of the box Optimus on Win8.1/Win10 Boot Camp.

   

 

@goalque so i must install Windows without Bootcamp, like this user?

https://www.reddit.com/r/mac/comments/3jkp30/can_windows_10_be_installed_in_efi_on_macbook_pro/

 

Posted by: goalque

 

@enjoy: Just follow these steps:

https://support.apple.com/en-us/HT204990

You can also download the Boot Camp support software separately in the Boot Camp Assistant (Action -> Download Windows Support Software).

   

I can install Windows and i now have it, i want to know what i must make and when. So to make all clear please answer me:

  • Can i install your steps on my current Bootcamp partition or i must make clean install?

 

If i understand right – this steps will rebuild my Bootcamp part as EFI Boot right?

 

Posted by: goalque

 

I don’t know how or where your current “Bootcamp partition” is installed and how you are going to move it from the other Mac. Twocanoes’ Winclone is possible. However, you need new Boot Camp support software.

For your new Late 2013 Iris Pro only MBP, I recommend a fresh installation of Win10 from the Boot Camp assistant, then you can proceed with the steps listed on the first post of this thread.

I recall there was “Make EFI Bootable” option in Winclone. I suppose it means UEFI. Make sure it’s turned on if you go this route.

 

@goalque Big thanks again. I just, right click of my recovered BOOTCAMP partition in WinClone – and click “Make EFI Bootable” it’s work like a charm!

So you can add this to your first post – it’s easy and tested:

Edited: 8 months  ago

ϟ AKiTiO Thunder2 + EVGA GTX 1060 6GB SC Gaming (macOS Sierra 10.12.4 and Windows 10)
 MacBook Pro (Retina, 15-inch, Later 2013) 3.2GHz Quad Core Intel i7-4750HQ / 8 GB 1600 MHz DDR3 / 256GB SSD + 1TB
mini eGPUPCI Express vs. ThunderboltMac CAN gameGaming Laptops vs. MacBook Pro with eGPU


ReplyQuote
waverapture
(@waverapture)
Active Member
Joined:9 months  ago
Posts: 5
March 18, 2017 2:01 pm  

@goalque

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?

thanks,

wave

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?

Edited: 9 months  ago

ReplyQuote
s3aaan
(@s3aaan)
Active Member
Joined:9 months  ago
Posts: 7
March 20, 2017 2:43 pm  
Posted by: JacobSyndeo

 

Oddly enough, I haven’t personally encountered this issue. Running late 2016 13″ MBP with Touch Bar.
In fact, Windows seems to prefer using the Intel Iris 550 by default, and I need to use GeForce Experience or another Nvidia tool to whitelist apps for using my GTX 1060.

Is that normal? Is this issue supposed to affect everyone trying to run eGPUs on Macs, or does it only affect some of them?

   

Can you please share what steps/guide did you follow? how did you manage to make eGPU work? I have the same setup as yours. 

Macbook Pro 2016 w Touchbar, Akitio Node, ASUS GTX 1060

 

Thank you


ddqp liked
ReplyQuote
ddqp
 ddqp
(@ddqp)
Eminent Member
Joined:9 months  ago
Posts: 30
March 23, 2017 1:48 am  

I tried my macbook 2016 late + node + gtx 1050 ti

win10 is in UEFI mode

with the new apple_set_os.efi.zip, I can boot into win10 then with a driver crash(boot with node powered and connected to macbook), the gpu-swith wont help.

I tried more than 10 times, there are about 2 times without drive crash in win10.

If hot plug node during win10 booting (see spinning), it can work perfertly

Edited: 9 months  ago

Late Macbook Pro 2016 13' touch bar + AKITIO node + GTX 1050TI 4G Windows


ReplyQuote
goalque
(@goalque)
Honorable Member Admin
Joined:1 year  ago
Posts: 745
March 26, 2017 9:51 pm  

UPDATE: This method is confirmed to work with Akitio Node + Late 2016 13″ MBP (non-touch) + following cards on Windows 10 Boot Camp 10.0.10586:

– R9 Nano (AMD XConnect works)
– RX 480 (AMD XConnect works)
– GTX 980 (Optimus works)
– GTX 1060 (Optimus works)

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). If you see error code 12 with Nvidia, disable the parent PCI Express Downstream Switch Port in Device Manager, and then enable. No restart required.

automate-eGPU.shapple_set_os.efi
--
late-2016 13" Macbook Pro nTB + Vega64@32Gbps-TB3 (Netstor HL23T) + macOS & Win10
late-2016 13" Macbook Pro nTB + GTX980/RX580@32Gbps-TB3 (Netstor HL23T) + macOS10.13 & Win10


ReplyQuote
ddqp
 ddqp
(@ddqp)
Eminent Member
Joined:9 months  ago
Posts: 30
March 27, 2017 5:00 am  

@goalque

new compiled file is confirmed to work with Akitio Node + Late 2016 13″ MBP (with-touch) + Windows 10 Boot Camp 10.0.10586 + GTX 1050TI (Optimus works)

Edited: 9 months  ago

Late Macbook Pro 2016 13' touch bar + AKITIO node + GTX 1050TI 4G Windows


nando4 and goalque liked
ReplyQuote
Jaden
(@jadida)
New Member
Joined:9 months  ago
Posts: 1
March 30, 2017 7:47 am  

Ok so I am new to all of this computer magic you guys are doing. I got a 2016 MBP 15in with rad 450 dgpu and am trying to setup EVGA GTX 1080 FTW Hybrid using Akitio Node over thunderbolt 3. I have tried booting into windows and disabling the PCI bridge stuff and the “iSight” camera option and all that. However none of that stuff shows up for me “same situation as one of the guys posts on the DSDT override forum. However after reading his post (being I was in the same situation as him) I saw nando4’s comment on his post to try this method so here I am already confused by your directions.  So right at step one you have two links? which one am i supposed to download? Im running os Sierra 10.12.3 (i think that matters right?). Do I download “Download apple_set_os.efi:  https://github.com/0xbb/apple_set_os.efi ” or click the one below it “apple_set_os.efi.zip.”  Ok now lets say i click the right one. Now I’m on the next step. I plug in an 8gp flash drive using a usb to usb-c adapter on my mac (which was 4 ports btw, 2 right, 2 left). I reformat the drive the exact way as listed in the post. So all good for that step right? OK then next step. You say “create a folder structure” which im assuming means create folders within folders right? So I create a fold in “finder” does that mean i can create it anywhere? how about on my desktop? Anyways so i create the first folder named “EFI” then i open that one and create another one named “Boot” then I open that one and drag one of the two files i was supposed to download from step 1 and drag it into the folder and rename it “Bootx64.efi” k all set. Then u say open startup disk and basically start into windows using the USB stick. what does that mean?  If i click the windows partition and click restart then the mac will restart into windows on its own so what does the USB stick have to do with anything. Also there is nothing on the USB stick because we erased/formatted it so what does the USB stick have to do with anything? K but lets say we restart, the computer starts to turn on, i hold down option and then im supposed to see a new disk named “EFI Boot”…. So where did that come from. The USB stick is empty and all we did on the computer was make 3 folders. How is that going to make a new boot disk? OK but anyways lets say i get to that point. So i click that and then it is supposed to boot into windows?? and then after that when i restart my computer, say to go back to mac, do i have to boot that way every time i want to go back to windows? It would be great if someone could clear up this process from someone who has NEVER done any hacks or work arounds or code/terminal stuff, etc on computers before. I think a video (on YouTube) would benefit a lot more people than whats provided on these forums. There very hard to follow as an average guy trying to play some games at better FPS :] Sorry for the long post and all the questions. I would be sad if i had to return the gpu and Node because i couldn’t figure out how to get it to work.

BTW I am running windows 10 on boot camp

If want to ask me more about my situation you can email me at jaden.delgado@gmail.com too

Again, Thanks in advance! Hope this was helpful to show how these tutorials could be explained better? Or maybe I’m just dumb when it comes to this stuff…

 


ReplyQuote
matthieuv
(@matthieuv)
Active Member
Joined:9 months  ago
Posts: 10
April 2, 2017 3:00 pm  

Thank you very much for this custom file, my Mac updated automatically to 10.12.4 last night and it was the only working solution to make it work again 😮


nando4 liked
ReplyQuote
Eason85
(@eason85)
Eminent Member
Joined:8 months  ago
Posts: 21
April 5, 2017 2:21 pm  

Hi All, Eason here 🙂

 

I haven’t used Macs for about 20 years. Due to recent issues with PC hardware and support, I’m thinking of picking up the next Kaby Lake Macbook Pro 15 and using it mostly as a windows machine.

Anyway, I’m intrigued by this sticky, because it makes me think maybe there’s a way to keep the iGPU enabled running Windows on the 15″ MBP with the RX4xx series GPUs? That’s my only real concern about buying the 15″ mbp; that it will always run the radeon and suck my battery dry (plus overheat even more).

 

1. Would it be possible to use this method to use the iGPU in Windows on a 15″ macbook with dedicated GPU so it won’t draw power?

2. Would I still be able to connect the MBP 15 to an eGPU?

Thanks for any answers 🙂 I’m very out of my element with MacOS X and bootcamp.


ReplyQuote
goalque
(@goalque)
Honorable Member Admin
Joined:1 year  ago
Posts: 745
April 5, 2017 4:35 pm  

@Eason85:

We can’t predict the future. At present, the new efi keeps the iGPU enabled with the Mid 2015 15″ (M370X) MBP (you also need gpu-switch):

https://egpu.io/forums/thunderbolt-enclosures/alert-akitio-node-half-h2d-bandwidth-issue/paged/2/#post-6172

It’s always possible to disable dGPU in device manager.

Please note that there seems to be an AMD related performance issue that I am investigating:

https://egpu.io/forums/thunderbolt-enclosures/alert-akitio-node-half-h2d-bandwidth-issue/paged/4/#post-6561

Edited: 8 months  ago

automate-eGPU.shapple_set_os.efi
--
late-2016 13" Macbook Pro nTB + Vega64@32Gbps-TB3 (Netstor HL23T) + macOS & Win10
late-2016 13" Macbook Pro nTB + GTX980/RX580@32Gbps-TB3 (Netstor HL23T) + macOS10.13 & Win10


Eason85 and theitsage liked
ReplyQuote
Eason85
(@eason85)
Eminent Member
Joined:8 months  ago
Posts: 21
April 6, 2017 9:28 am  

Thank you for the reply. So the new 2016 MBP should not be different in that regard than the 2015?

My concern was that disabling the dGPU in the device manager wouldn’t stop it from drawing power and killing battery life.


ReplyQuote
Eason85
(@eason85)
Eminent Member
Joined:8 months  ago
Posts: 21
April 7, 2017 2:36 am  

I last saw in 2013 that using the integrated graphics was causing 10-20% idle CPU usage. Can anyone confirm if this is fixed yet?


ReplyQuote
goalque
(@goalque)
Honorable Member Admin
Joined:1 year  ago
Posts: 745
April 7, 2017 8:33 am  
Posted by: Eason85

 

I last saw in 2013 that using the integrated graphics was causing 10-20% idle CPU usage. Can anyone confirm if this is fixed yet?

   

Hibernate should fix:

https://communities.intel.com/thread/97975

automate-eGPU.shapple_set_os.efi
--
late-2016 13" Macbook Pro nTB + Vega64@32Gbps-TB3 (Netstor HL23T) + macOS & Win10
late-2016 13" Macbook Pro nTB + GTX980/RX580@32Gbps-TB3 (Netstor HL23T) + macOS10.13 & Win10


ReplyQuote
ameswarb
(@ameswarb)
Active Member
Joined:8 months  ago
Posts: 13
April 9, 2017 7:45 pm  

When I boot into refind, I’m able to boot the bootx64.efi (renamed apple_set_os.efi) menu entry and then boot the Windows EFI, which allows me to boot into the EGPU without having it disconnected or having to do any weird timing tricks. Is there a way I could set up a menu item in refind.conf so that it’d automatically do this for me?

I tried this, but it doesn’t seem to work:

menuentry "Windows + GPU" {

    icon \EFI\refind\icons\os_win8.png

    loader \EFI\Boot\bootx64.efi

    loader \EFI\Microsoft\Boot\bootmgfw.efi

}
Edited: 8 months  ago

ReplyQuote
Eason85
(@eason85)
Eminent Member
Joined:8 months  ago
Posts: 21
April 10, 2017 3:14 am  

This looks very promising. Would you have to boot into MacOS then run the script to boot into windows with the GPU you want every time? I.E. if you just had a Windows partition, you’d be screwed?


ReplyQuote
iaomw
(@iaomw)
Active Member
Joined:8 months  ago
Posts: 14
April 10, 2017 7:58 pm  

Thanks for that. But I am using Windows to go instead of bootcamp (The Windows 10 is installed on an external SSD). 

How could I boot my Windows using that EFI? 


ReplyQuote
Mgear1981
(@mgear1981)
Eminent Member
Joined:9 months  ago
Posts: 36
April 10, 2017 9:25 pm  

really simple, 

1. Boot into windows 

2. Run command prompt as administrator

3. type diskpart

4. list disk

5. select disk that matches your external ssd (for example select disk 1)

6. list partition, select the one that matches about 200Mb or the size of your efi partition (for8 example select partition 2)

7. assign letter = p:

8: exit

Now the Efi partition of your external ssd has been mounted as p:

9.go to start and look for taskman (task manager) expand it and go to file select browse and now you can access partition 

10. copy the files you want to place into the efi directory on p:

11. Reboot and select after option key your external ssd, now you will see it will use the alternated downloaded refi boot

 

If you have any problems more then happy to help. Good luck!

 

 


ReplyQuote
iaomw
(@iaomw)
Active Member
Joined:8 months  ago
Posts: 14
April 10, 2017 11:28 pm  

Thanks, my EFI partition is the same as my system partition. And there is already a bootx64.efi here as larger as 1.2MB.

I followed a post only use windows command to flash everything on it, also did boot and EFI here. But I forgot where is the post and what I did exactly. That should be a good one, it doesn’t involve anything not from Microsoft.

Should I just replace it or try to merge them in some way? You know the new one is only 290KB.

 


ReplyQuote
Mgear1981
(@mgear1981)
Eminent Member
Joined:9 months  ago
Posts: 36
April 11, 2017 6:45 am  

yes i do know but its not common that you got 1 system partition. Thats why i want to suggest you try out as i described with dispart and tell me what comes out of list partition ?


ReplyQuote
iaomw
(@iaomw)
Active Member
Joined:8 months  ago
Posts: 14
April 11, 2017 1:24 pm  
Posted by: Mgear1981

 

yes i do know but its not common that you got 1 system partition. Thats why i want to suggest you try out as i described with dispart and tell me what comes out of list partition ?

   

I had fully tested those two EFI files, they don’t work. I am using 10.12.4 but my recovery looks like 10.12.2.

Also I tried GPU-Switch and rEFInd , they don’t work on both Mac and Windows. rEFInd is bootable but no other effects.

I am testing with MacBook Pro 15 (2014 mid) Iris Pro with GTX 750 Ti in Akitio Thunder2.

I have another GTX 1060 6G, give up the idea to pull it out from my ITX PC.


ReplyQuote
Gotsche
(@gotsche)
Active Member
Joined:8 months  ago
Posts: 14
April 12, 2017 6:21 am  

How to eliminate the blackscreen with an iMac without iGPU? My iMac late 2013 has a i7-4771 with dGPU 780M. I tink this CPU doesn’t own an iGPU.


ReplyQuote
Page 1 / 7 Next
  
Working

Please Login or Register