eGPU error 12 fail after update to Windows 10 1903 (OS Build 18362.329 or newer)
 
Notifications
Clear all

[Solved] eGPU error 12 fail after update to Windows 10 1903 (OS Build 18362.329 or newer)  

 of  16
  RSS

Juan C. Yunis
(@juan_c_yunis)
Reputable Member
Joined: 3 years ago
 

@gregor_pigula

Hi, Could you share that file? Thanks. 

2018 Mac Mini Core i7 8700B 32GB RAM 512GB SSD + Razer Core X + AMD Radeon VII


ReplyQuote
(@gregor_pigula)
Active Member
Joined: 4 months ago
 

You have to extract the pci.sys of an Windows 10 1903 V1 Iso.

Pending: Add my system information and expected eGPU configuration to my signature to give context to my posts


ReplyQuote
sdgros01
(@sdgros01)
Active Member
Joined: 1 year ago
 

@gregor_pigula

where is it located in the iso file?

 

Im finally off work for the holiday and would love to get this back up and running to try and play some games

 

2016 MBP Touch: Razer Core X Vega 56-macOS 10.14.3 Windows 10 Eyefinity 2012 MBP: Akitio Node Pro SST-SX650 Noctura Fans GTX-760 Dual Boot 10.14.3 Windows 10


ReplyQuote
(@gregor_pigula)
Active Member
Joined: 4 months ago
 

Open install.wim with 7-Zip

Mount the Image and then extract the following file

X:\sources\install.wim\1\Windows\System32\drivers\pci.sys

After updating Windows to 1903/1909 boot from an "Emergency" USB-Drive and replace Windows\System32\drivers\pci.sys with the extract one.

Reboot and your AMD eGPU will working.

Pending: Add my system information and expected eGPU configuration to my signature to give context to my posts


ReplyQuote
danielm
(@danielm)
Active Member
Joined: 1 year ago
 

@itsage

So, I have re-installed Win 10 (18362.30 and then updated to 18362.295). Still, after going through all steps, I get error 12. Already disabled iSight on my 2018 MBA (Razer Core X + V56).  Urgh.

I should note that after installing Radeon drivers the installation did complete but sent a message #207 from the Radeon Adrenalin installation guide, saying that Windows detected a problem, and right after that I see error 12 in device manager.. not sure if that should be happening. 

(By the way just to confirm - I am always supposed to boot through automate-EFI if I want to use eGPU in Windows, right?)

Anyway, really frustrated so appreciate any help I can get, what else is there to try? I saw someone mentioned something about a .aml or pci.sys files, what is that about and could that potentially fix the problem?

Pending: Add my system information and expected eGPU configuration to my signature to give context to my posts


ReplyQuote
sdgros01
(@sdgros01)
Active Member
Joined: 1 year ago
 

@gregor_pigula

ive extracted the pci.sys

 

what is the best way to go about replacing the file on my install

2016 MBP Touch: Razer Core X Vega 56-macOS 10.14.3 Windows 10 Eyefinity 2012 MBP: Akitio Node Pro SST-SX650 Noctura Fans GTX-760 Dual Boot 10.14.3 Windows 10


ReplyQuote
itsage
(@itsage)
Illustrious Member Admin
Joined: 3 years ago
 

@danielm I have not tried the 2018 MacBook Air since last year sure don't know if there are changes. I would recommend taking a look at my 2018 MBA + RX 580 [build link] and use the latest Radeon drivers 19.12.3 which can be installed on an eGPU setup.

 

external graphics card builds
best laptops for external GPU
eGPU enclosure buyer's guide


ReplyQuote
ahendarman
(@ahendarman)
Active Member
Joined: 2 years ago
 
Posted by: @bas_timmer

A quick analysis shows that in `pci.sys`, a function called "PciOverrideBridgeRequirements" got changed between .1 and .329 to add 2 additional override cases from the initial build of pci.sys. There does not seem to be a registry change to bypass this, but perhaps this can be overridden from ACPI: that's a slightly later concern I might look into, it does seem to act on a resource requirement value.

For now, downgrading system32\drivers\pci.sys to the version shipped with the initial 18362.1/.10 ISO (take ownership, rename, replace) works fine, but it might be this'll need to be put back to allow future CUs editing this file to be installed. Perhaps as a workaround references to pci.sys in the registry could be renamed to, say, pci2.sys as well, but I'm not certain about this...

@bas_timmer

I can confirm that this "workaround" is working. I overwrote the pci.sys with the version from 1803 install and my setup works.

Razer Stealth 13 + Razer Core X Chroma + Sapphire Nitro+ RX 5700 XT, latest Windows 10 1909 (except for the pci.sys)

I would think it'll also work for any MBP in bootcamp

I can't thank you enough. You're a genius to figure this out. 

This post was modified 3 months ago

Razer Stealth 13" (early 2019), Razer Core X Chroma, Sapphire Nitro+ RX 5700XT
Macbook Pro 13" (2018), Mantiz Venus, XFX RX 580


ReplyQuote
Varyl
(@varyl)
New Member
Joined: 3 years ago
 

15 inch 2017 Macbook Pro here, Sonnet Breakaway 550 with a Vega 64 video card.

This work around got my system back up and running, thank you so much for finding this!

Pending: Add my system information and expected eGPU configuration to my signature to give context to my posts


ReplyQuote
danielm
(@danielm)
Active Member
Joined: 1 year ago
 

Thanks a lot.

Anyway, something strange happened. When I turned on the MBA with the Razer X connected, Win10 didn’t recognize the eGPU.

Alternatively, when connecting the Razer X after EFI-Win10 was up and running, I got error 12.

Only after I tried connecting the TB3 cable only during the EFI screen it was recognized by W10 with no error!

So far works for me.

-D

Pending: Add my system information and expected eGPU configuration to my signature to give context to my posts


ReplyQuote
sdgros01
(@sdgros01)
Active Member
Joined: 1 year ago
 

@ahendarman

How did you overwrite? I’ve tried a few different ways and can’t get write access to replace the file. On my boot camp on my old MacBook something is wrong with thunderbolt drivers so I can target disk it either.

 

whats the easiest way to be able to replace the fole

 

really looking forward to getting this back up and running

2016 MBP Touch: Razer Core X Vega 56-macOS 10.14.3 Windows 10 Eyefinity 2012 MBP: Akitio Node Pro SST-SX650 Noctura Fans GTX-760 Dual Boot 10.14.3 Windows 10


ReplyQuote
(@florin_samareanu)
Eminent Member
Joined: 4 months ago
 

@sdgros01 right click the file - Properties - security - advanced - click Change next to "Trusted Installer" - Advanced - Find Now - Select your user from the list - Ok - Apply - Ok -Ok (this closes the properties window).

Then again, right click - Properties - Security - Advanced - Add (from lower half of the screen) - Advanced - Find Now - Select your user - OK - Click all checkboxes - Apply - Ok

Now you can overwrite the file (make a backup before) and restart.

For good measure I revoked "Trusted Installer"'s access to the file otherwise it got overwritten somehow on a subsequent reboot. Now hot plug works just fine.

16'' Macbook Pro - Razer Core X Chroma - PowerColor Red Devil 5700XT - LG 27UK850


ReplyQuote
ahendarman
(@ahendarman)
Active Member
Joined: 2 years ago
 

@sdgros01 and @florin_samareanu

As Florin graciously explained, it's (take ownership, rename, replace) method as described by @bas_timmer

Also disable the Windows Update and Windows Update Medic Services for now

(type Service on the search bar and look for those two services in the Services windows that pop up, double click and change startup type to Disable)

 

Razer Stealth 13" (early 2019), Razer Core X Chroma, Sapphire Nitro+ RX 5700XT
Macbook Pro 13" (2018), Mantiz Venus, XFX RX 580


ReplyQuote
(@shiraz)
New Member
Joined: 3 months ago
 

This is driving me bonkers!

Im on Windows 10 1909, I’ve replaced the pci.sys with the one in Windows 10 1903 V1.iso. Rebooted my Macbook Pro and still get the same code 12 for my Vega 64.

What am I doing wrong?

Macbook Pro 15" Mid-2017, Razer Core X Chroma, Vega 64, Windows 10 1909


ReplyQuote
(@florin_samareanu)
Eminent Member
Joined: 4 months ago
 

@shiraz what size is the DLL that you replaced (in KB)? To my surprise on restart with my egpu connected something restored the bad version (and no update was installed). 

This post was modified 3 months ago

16'' Macbook Pro - Razer Core X Chroma - PowerColor Red Devil 5700XT - LG 27UK850


ReplyQuote
(@shiraz)
New Member
Joined: 3 months ago
 
Posted by: @florin_samareanu

@shiraz what size is the DLL that you replaced (in KB)? To my surprise on restart with my egpu connected something restored the bad version (and no update was installed). 

Yes you are right. The backup copy I made and the pci.sys I have now is the same size (427kb). How can we prevent it from being over-written? 

Macbook Pro 15" Mid-2017, Razer Core X Chroma, Vega 64, Windows 10 1909


ReplyQuote
Juan C. Yunis
(@juan_c_yunis)
Reputable Member
Joined: 3 years ago
 

@shiraz I think you have to take off the trusted installer access of the file or use the emergency method to replace it described in previous posts. 

2018 Mac Mini Core i7 8700B 32GB RAM 512GB SSD + Razer Core X + AMD Radeon VII


ReplyQuote
(@florin_samareanu)
Eminent Member
Joined: 4 months ago
 

@shiraz

You need to redo taking ownership and overwriting. As I said above, revoking trusted installer’s permissions on the file seems to have stopped it from restoring the bad version but your mileage may vary. 

16'' Macbook Pro - Razer Core X Chroma - PowerColor Red Devil 5700XT - LG 27UK850


ReplyQuote
(@shiraz)
New Member
Joined: 3 months ago
 

Finally got it to work.

Once you replace the pci.sys file, you must take off installer access permissions.

For whoever needs it, the pci.sys file can be downloaded here: https://drive.google.com/open?id=1ZleU49wtrfYsypRc0dXbn_yWKdaXtdDa

Macbook Pro 15" Mid-2017, Razer Core X Chroma, Vega 64, Windows 10 1909


ReplyQuote
confidantduck
(@confidantduck)
Eminent Member
Joined: 3 years ago
 

By the way, for those who are successful in installing an older version of windows and it's a home edition,  you might not be able to access the group policy editor that will prevent updates from auto downloading and installing.

https://www.itechtics.com/enable-gpedit-windows-10-home/

Apparently it is possible to install group policy editor without upgrading to windows pro or education versions! the link above teaches you how to make it so, hope this is helpful!

Current setup: Lenovo Yoga C740 + Razer Core V2 + 5700XT

Prev setup 3: Razer Blade Steath (early 2019) + Razer Core V2 + Vega 56

Prev setup 2: Late 2016 Razer Blade Stealth, Powercolour devil box + gtx 1060

Prev setup 1: 2016 13" MBP (no touchbar)
Powercolor Devil Box + GTX 1060/GTX 980(succeeded somewhat), RX480 Nitro+ 4GB(attempted but failed)


ReplyQuote
Faustino Aguilar
(@faustino_aguilar)
Active Member
Joined: 3 months ago
 

@confidantduck

Hi, I saw this threat highlighted in the main page. Is this only for MacBookPro users? I'm using a Dell Laptop with Windows 10 1909 and eGPU with AMD RX without issues at all.

Dell Inspiron 14 FHD 3442 mod with 3543 i5-5200U motherboard. 8GB RAM. eGPU PCE164P V008 MSI RX550 4GB OC. PSU 500W.


ReplyQuote
(@florin_samareanu)
Eminent Member
Joined: 4 months ago
 

@faustino_aguilar

There's no real harm in trying. As long as you take a backup it's quite safe. Have a bootable disk handy though.

16'' Macbook Pro - Razer Core X Chroma - PowerColor Red Devil 5700XT - LG 27UK850


ReplyQuote
angrybob
(@angrybob)
New Member
Joined: 1 year ago
 

Can confirm the pci.sys trick works on the latest windows build and latest AMD drivers from bootcampdrivers.com.

Fantastic work.

Pending: Add my system information and expected eGPU configuration to my signature to give context to my posts


ReplyQuote
(@florin_samareanu)
Eminent Member
Joined: 4 months ago
 

It also works on the latest insider Smile

 ss

16'' Macbook Pro - Razer Core X Chroma - PowerColor Red Devil 5700XT - LG 27UK850


ReplyQuote
(@zztop007)
New Member
Joined: 7 months ago
 

Sorry for beeing noobish but after following multiple guides, installs and try outs I still cant´t get my setup to work in Bootcamp.
Is there a failproof way of getting a Macbook Pro 13 2019 with two TB3 ports to get a running eGPU in Bootcamp? 

My setup:

  • Macbook Pro 13, 2019, I5, 8GB, Touchbar, Intel Iris GPU and two TB3 ports on the left side
  • Asus XG station pro with a Asus RX 580
  • MacOs Catalina 10.15.2 and Windows 10 19H1 (Build 18362.30)

Merry Christmas and thank you!

MacBook Pro 13 2019, Touchbar and two TB3 + Asus xg station pro with Asus RX 580
my signature to give context to my posts


ReplyQuote
Juan C. Yunis
(@juan_c_yunis)
Reputable Member
Joined: 3 years ago
 

I decided to update to the latest version of windows and try the pci.sys trick and I can confirm that it does work perfect, I have my VII working with my mac mini 2018. Thanks guys.

2018 Mac Mini Core i7 8700B 32GB RAM 512GB SSD + Razer Core X + AMD Radeon VII


ReplyQuote
(@mauro_diez)
New Member
Joined: 6 months ago
 

Replacing the pci.sys file works for my setup. Thank you so much!

2018 Mac Mini, Sapphire Pulse Vega 56, Razer Core X 

Will we need to grant TrustedInstaller access permissions to the pci.sys file again in order to update windows in the future?

This post was modified 3 months ago

2018 Mac Mini Core i7 32GB ram Razer Core X Sapphire Pulse Vega 56 Catalina with Windows 10 in bootcamp


ReplyQuote
(@florin_samareanu)
Eminent Member
Joined: 4 months ago
 

@mauro_diez

Probably yes. I’ll let you know when Microsoft pushes another insider update (probably after new year). 

16'' Macbook Pro - Razer Core X Chroma - PowerColor Red Devil 5700XT - LG 27UK850


ReplyQuote
(@melonking)
Active Member
Joined: 4 months ago
 

I'm sad to report the fix (Using the pci.sys provided by @Shiraz) was not successful in my case.

EDIT: After doing a clean reinstall of windows this comment no longer applies, I suspect it was a messy install from many failed attempts causing issues. This fix is working for me, alight I cant boot windows with the eGPU connected, it must be connected after startup.

Posted by: @melonking

Update regarding the pci.sys fix by mentioned here https://egpu.io/forums/pc-setup/egpu-fail-after-update-to-windows-19-03/

Initially after applying the fix error 12 was fixed and the AMD drivers detected an external GPU (Driver version 19.10.2). They also detected the display connected to the GPU, however the display remained a black screen. After restarting with the GPU connected, the screen remained black. Interestingly remote desktop connection was not possible, suggesting startup was failing as before.

I attempted uninstalling the AMD drivers, after this device manager reported error 35 (Bios does not know how to setup this device). After 2-3 re-hot plugs of the egpu, error 12 had returned. Attempting to reinstall AMD drivers at there the error 35 or error 12 point resulted in the AMD drivers saying no hardware was detected.

So Iv not lost the driver install, and cant get it back. This could be unique to the fact I'm using Windows Education Edition or not. However I have to conclude the pci.sys fix does partly work, but not fully in my case.

This post was modified 3 months ago

Pending: Add my system information and expected eGPU configuration to my signature to give context to my posts


ReplyQuote
(@yang_li_1)
Active Member
Joined: 5 months ago
 

I had a working setup on bootcamp. 295 with my MBP 15 (2019) +5700xt, and any further win10 patch will result error 12.

curious on pci.sys fix so just did an upgrade to 1909 which gave me error 12 by no surprise...

but....wow, pci.sys fix works. as soon as I reboot after replace the pci.sys, all back to normal.

Thanks a lot for the tips, all

 

MBP 15 2019
Asus XG Station Pro
PowerColor Red Devil 5700XT


ReplyQuote
Creegan
(@creegan)
Active Member
Joined: 3 months ago
 

Hi all,

 

I've spent the past few hours setting up my 2017 15" MacBook Pro [7th Gen, 4 Core] with an RTX 2060 installed in a Razer Core X.

I finally got Windows 10 Boot Camp to recognize the device/card, as it's now showing in my Device Manager, but I'm now hitting the Code 12 "device cannot find enough free resources" error. I've looked at a few guides and tried a couple things (disabling the Facetime camera, disabling the PCI Express Controller x8 - 1905 and switching ports, etc.), but nothing is working. The guides I looked at haven't been updated in a bit, so I was wondering if there were any newer and better workarounds.

 

Thanks so much!

Pending: Add my system information and expected eGPU configuration to my signature to give context to my posts


ReplyQuote
(@florin_samareanu)
Eminent Member
Joined: 4 months ago
 

@creegan

Start here: https://egpu.io/forums/pc-setup/egpu-fail-after-update-to-windows-19-03/

16'' Macbook Pro - Razer Core X Chroma - PowerColor Red Devil 5700XT - LG 27UK850


itsage liked
ReplyQuote
glowi
(@glowi)
New Member
Joined: 9 months ago
 

The workaround with replacing pci.sys (Using the pci.sys provided by @Shiraz) didn't work with my hp zbook G5.
The latest Win 10 that work for me are  1809,  I also tried to replace pci.sys with pci.sys from 1809, but  Win refused to boot.
After update tp Win 1903 or 1909 eGPU is not detected at all. TB dock work with no problems.
Does anybody any other tip?

thanks a lot in advance

HP Zbook Studio G5 x360 (Intel Core i7 8850 + Nvidia Quatro P1000) + eGPU Gigabyte Aorus Gaming Box GF 1070


ReplyQuote
TheJizel
(@thejizel)
Eminent Member
Joined: 2 years ago
 

Also wanted to post here to report that the pci.sys trick worked for me. Forgot to turn updates off and got stuck with 18362.535, but following @florin_samareanu's instructions worked like a charm.

Thanks for all the help.

2018 15" MacBook Pro Touchbar RP560X + [email protected] (Razer Core X) + macOS 10.13.6 & W10 1803


ReplyQuote
bullbloke
(@bullbloke)
New Member
Joined: 4 months ago
 

Hello, 

Sorry I am sure too many people comment the same. 

I followed the instruction on here but there is no way to have both screens working on Windows 2010. 

My setting is:

  • MacBook Pro 5,2 - 13 Inc - 2018, Four Thunderbold 3 ports), 2.7Ghz i7, 16GB Ram, macOS Catalina 10.5.2
  • Sapphire Readon RX580 Nitro+ Special Edition
  • Razer Core
  • One external monitor LG plugged to razer

Technically, I read most of the post on here and tested the following:

- https://egpu.io/boot-camp-egpu-setup-guide/

For this one, I had a problem at the step 3. I could see the eGPU on automate-eGPU, but once logged in Windows, it was not listed on device manager. So the installation of the AMD driver failed obviously as it could not see the hardware. I unplugged and plugged it back the windows display device was added, installed the driver, then I had the error 12. 

  • If I reboot the machine now with the eGPU plugged with automate, it will not see the Radeon card, only the Intel IRIS card. 
  • If I reboot the machine with the eGPU plugged without automate, it will not see the Intel IRIS card but only the Radeon Card. 

- I tried with different Windows, version 1809, 1903 and 1909. I tried with the recommended Windows Version same issue. 

I would really appreciate some help, really running out of ideas after multiple days reading on here. I bet I miss the simple instruction somewhere on how to fix it. 

Thanks for helping.

Update: If I plug eGPU after logging I will see both graphic card. But the Radeon has the error 12, for which I also followed the instruction on how to resolve it (excepted the create a new table, not feeling good enough for this).

Currently on Windows 1809. Tried disabling devices no success so far.

 

 

This post was modified 3 months ago

Pending: Add my system information and expected eGPU configuration to my signature to give context to my posts


ReplyQuote
(@mofackin)
New Member
Joined: 4 months ago
 

Hello! I got everything updated and I hit a block where the pci.sys file constantly gets rewritten on reboot therefore nullifying the replacement.

I'm on a 2019 razer blade early advanced, windows 10 home with a razer core x chroma and a radeon vii inside of it.

I have tried to boot using the windows media installation tool to a command prompt and replace the file, and it starts an auto repair and then error code 12 because the file gets replaced.

I tried to replace and remove TrustedInstaller on the file and still it gets replaced. I even tried to remove everything from editing the the file but then Windows would not restart until I copied my backup over the top of it.

 

any ideas? 

Razer Blade 2019 Early Advanced - 2060M - 16gb - 1TB HDD. Razer X Chroma with Radeon VII 16gb.


ReplyQuote
 of  16