[Release] Resizable BAR BIOS EFI Module

Hello @Kuri0 o/ Many thanks for doing this. I have it working on my mainboard.

The board is an Asus Maximus VIII Gene (Z170)

GPU is Intel ARC A770 16GB

I had to apply one of the patches to enable over 512MB BAR

PciBus | Don’t downgrade 64-bit BARs to 32-bit (by @Mak3rde)

I will do some testing to see what effect the larger BAR has on my games.

Thanks again

  • 68k
1 Like

I will test it half month later when I get home through a 4000km trip.

2 Likes

Would it be possible to get this and enable 4g decoding on a laptop bios as well? I have a Haswell Laptop with Insyde BIOS. I recently got my hands on a very special GPU and was wondering if this may help my code 43 problem.


bios.zip (2.4 MB)

@Kuri0 Hi, first of all thank you for give us the posibility for get more juice of our hardware. I have a QQLT and a Aorus Elite B365M motherboard (Bios is modified, it has an extra cpu code, has a bypassing 64GB ram limit to 128GB and it has the intel ME parts disabled at all cause this CPU needs to be that way.
I inserted the rebar file, flash both bios chips with moded bin, the rebar state says all is fine, csm disable, above 4g enable (natively support by mb) and when i set any bar size larger than 256 it sets 128 bar size instead. I have read that i will need to use a patch for by pass this limit so could you a provide me a guide to do that in case it could be the fix. Thank you ! (bios file without modification and with it)


@Adiel235 hi what is the gpu ?

also send a screenshot of hwinfo64 showing the supported sizes like this

2 Likes



Wow hi that was fast, is an rtx 3060ti

@Adiel235 it’s an RTX 3060 Ti you probably need to do the VBIOS update.

1 Like

nvidia firmaware update says: RTX 3060Ti status: already updated.
Same problem, if i set any number nore than 0 sets 128 instead, if a set 0 set default bar sizes. If a set 4GB bar size, no display output. :persevere:

@Adiel235 send a screenshot of device manager resources tab (with default BAR)
image
can then see if it needs a new patch needs to be developed which i’ll try to make later if that’s the case.

2 Likes

thank you!, heres is :grinning:
Captura de pantalla 2022-11-21 183739


Captura de pantalla 2022-11-21 183915

needs to be patched yeah because it’s getting allocated in 32-bit space

2 Likes

@Adiel235 can you send a screenshot showing device manager memory in view → resources by type. scroll to the end of it

1 Like


Of course!, here is :grin:

@Adiel235 how much ram do you have installed ? 128GB ?

2 Likes

No right now, i used this system for work, then i need a lot more CPU so this system is only for gaming(has a lot more performance consistency and is faster than my dual xeon configuration for this task). I bought the cheaper ram modules i could found 1x Adata (nanya ic’s) 8GB ddr4 and 1x micron oem (micron ic’s) 8GB. Both single rank, dual channel mode set at 2533mhz CL 15 1.25V. :slight_smile:

1 Like

Hi there.

I have been a user back in the old winraid days and thought it was gone for good - only to stumble across the new home at levle1tech to see it is still alive :slight_smile:

I have a Gigabyte Aourus Extreme X399 Threaripper Board (Above 4G is possible) which is missing ReBar support from Bios. From searching the net, I have read that Asrock and others have enabled Rebar on the TR X399 Boards…

Anybody already tampered with this board?

@Adiel235 Try applying these 2 patches using UEFIPatch

# PciBus | Don't downgrade 64-bit BARs to 32-bit (Coffee Lake)
3C1DE39F-D207-408A-AACC-731CFB7F1DD7 10 P:A80274334038AF95:A802EB334038AF95

# PciBus | Remove <64GB BAR size limit (Skylake/Kaby Lake/Coffee Lake)
3C1DE39F-D207-408A-AACC-731CFB7F1DD7 10 P:B800000000100000004C3B:B8FFFFFFFFFFFFFF004C3B

if you don’t know how to use uefipatch theres a guide on rebaruefi wiki. recommended that you have a flasher or know how to use dual bios recovery if you’re going to flash modified bios

2 Likes

Thank you so much, i’ll try it, one question, i’ve readed that you have a dual bios gigabyte mb, if i flash the patched bios with Qflash it will only flash the main bios?. In that case and a get fail boot how can i use the backup bios?.
If Qflash flashes both chips, can a use EFI flash
and to use: /X Force Flash for flash only main chip? :face_with_peeking_eye:

@Adiel235 Q-Flash only flashes the main BIOS. I saw you mentioned you have a CH341A flasher so I recommend you take a BIOS backup (Q-Flash has an option for it) and copying it somewhere else in case dual BIOS doesn’t work.

You can press ALT+F10 while booting to update the dual BIOS backup btw which I recommend doing before flashing.

2 Likes

I did the flash and it boots, unfortunately the memory resources look the same as before, and the PC doesn’t post when a i set 32. I made a patched bios, and update with the new rebar driver. But now if a set 256 stays in 256, before it sets at 128. Now maximum is 1024mb. :face_holding_back_tears: