Hi everyone,
I successfully enabled Resizable BAR on my ASUS Z97-P (BIOS 2907) with an Intel Arc B580 12 GB.
I did the whole BIOS modification and troubleshooting process together with ChatGPT (OpenAI), step by step. We had a few wrong turns, including recovering the board with a CH341A, but eventually found the actual problem and got ReBAR fully working.
System
-
Motherboard: ASUS Z97-P
-
BIOS: 2907
-
CPU: Intel Core i7-4790 (Haswell)
-
GPU: Intel Arc B580 12 GB
-
OS: Windows 10 22H2 x64
-
Boot: UEFI / GPT
1. Make a BIOS backup
Do this first. A bad modified BIOS can make the motherboard unbootable.
I had a CH341A programmer available and had already successfully recovered this board with it.
I also used Intel FPT 9.1. On my board:
FPTw64.exe -i
detected:
Platform: Intel(R) Z97 Express Chipset
Flash Descriptor: Valid
W25Q64BV
Size: 8192KB
Before flashing anything, make a backup, for example:
FPTw64.exe -bios -d bios_backup.bin
Keep a verified full SPI backup as well if using an external programmer.
2. Start from a clean Z97-P 2907 BIOS
Do not start from an already modified BIOS.
I started again from a clean working Z97-P BIOS image.
This turned out to be important because my first attempt used the wrong patches.txt with UEFIPatch.
3. Use the correct ReBarUEFI patches
I used the proper ReBarUEFI 0.3 UEFIPatch/patches.txt.
It contains the relevant Haswell/ReBAR patches, including:
-
PciHostBridgeHaswell MMIO patches -
PciBusBAR size patch -
PciBus64-bit BAR patch -
NvramSmi NVRAM whitelist unlock
Put the clean BIOS, UEFIPatch.exe and the correct patches.txt in the same directory and run:
UEFIPatch.exe "stock_bios.bin"
On my Z97-P 2907 image, four patches were applied:
patch: replaced 16 bytes at offset BA8h
patch: replaced 11 bytes at offset 88BBh
patch: replaced 22 bytes at offset 71CEh
patch: replaced 5 bytes at offset 6A5h
Image patched
Important: These offsets are what I observed on my image. Don’t assume that another BIOS revision must produce identical offsets.
4. Insert ReBarDxe
Open the newly patched BIOS with UEFITool 0.28.x Classic.
Search for:
CSMCORE
Right-click the CSMCORE file and select:
Insert after...
Select:
ReBarDxe.ffs
After insertion, ReBarDxe should appear directly after CSMCORE.
Save the modified image under a new filename, for example:
Z97P_ReBAR_Final.bin
I then closed UEFITool, reopened the saved BIOS and searched for ReBarDxe again to verify that it was still present.
5. Flash the modified BIOS
Since FPT reported BIOS write access on my board, I flashed the modified BIOS region with Intel FPT.
I made another backup first and then flashed the modified image.
If FPT gives a protection/lock/error message, do not force it with random switches. Use an appropriate flashing/recovery method instead. Having a CH341A available is strongly recommended.
6. Configure the BIOS
After flashing, enter BIOS Setup and configure:
CSM = Disabled
Above 4G Decoding = Enabled
Windows should also be booting in UEFI mode from a GPT disk.
Save the settings and boot Windows.
7. Configure ReBarState
Run:
ReBarState.exe
as Administrator.
On my original failed modification, entering 32 resulted in:
GetLastError = 5
This was the problem that led ChatGPT and me to investigate the UEFIPatch files. We discovered that I had been using the wrong patches.txt.
With the correctly patched BIOS, I entered:
32
and this time ReBarState reported:
Successfully wrote ReBarState UEFI variable
Reboot for changes to take effect
Reboot the PC.
8. Verify with GPU-Z
After rebooting, GPU-Z finally reported:
Resizable BAR: Enabled
Under Advanced → PCIe Resizable BAR:
GPU Hardware Support Yes
Above 4G Decode enabled Yes
Resizable BAR enabled in BIOS Yes
CSM disabled Yes
Boot from GPT Yes
64-Bit Operating System Yes
Windows running in UEFI Mode Yes
Graphics Driver Support Yes
BAR0 16384 MB
Result
ASUS Z97-P + BIOS 2907 + i7-4790 + Intel Arc B580 12 GB = Resizable BAR working.
The key problem in my case was not ReBarDxe itself. I had accidentally used the wrong UEFIPatch patches.txt. Once we rebuilt the BIOS from a clean image using the correct ReBarUEFI 0.3 patches — including the NVRAM whitelist unlock — the GetLastError = 5 disappeared, ReBarState successfully wrote its UEFI variable, and ReBAR became enabled.
I completed the entire process together with ChatGPT (OpenAI), from BIOS recovery and troubleshooting through building the final working ReBAR BIOS.
Thanks to xCuri0 and the ReBarUEFI contributors, the Win-Raid community, and ChatGPT/OpenAI for helping me get this old Z97 platform working properly with an Intel Arc B580.
Warning: BIOS modification always carries a risk. Make verified backups before flashing, and preferably have an SPI programmer available for recovery.
Edit by Fernando: Thread moved into the „BIOS Offers“ Category and title shortened

