[Request] ASRock z97 Anniversary BIOS mod enable Resizable BAR

i really appreciate your time - i will give you feedback after flashed


thank you - its worked like a charm

2 Likes

Which file did you use to flash? did you flash using instant flash?

if you dont mind, if there is some abnormality like not waking up properly or sleeping properly, please let me know. i worried if the DSDT patch (yes the “erasing some code” part) might break something, cause afaik it was laptop stuff mostly related to docking charger, laptop lid, and battery stuff.

Oh also, did the boot logo changed XD?

i flashed this bios— 2.21 via instant flash as usual
i think Above 4G . enables by default
and booted very well without any issues
the gaming running smoothly with extra fps
thank you

1 Like

Hi!

I flashed the 2.21. I have new boot screen logo but no above 4G decoding nor resizable bar.
I disabled CSM, but i cant find where should i enable above 4G decodeing and resizable bar?
I try to use it for an rx6600.

Now i tryed to flash the 2.20, but security check fails at it.

Thnx for the help.

Hi @Ityam , I have updated the module using the v3 of rebar mod which could reset the nvram value for rebardxe so you dont have to use igpu if you forgot to disable rebar size whenever you do clr cmos, this one would clr the rebarsize to disabled IF you clr cmos which is better (otherwise if you clr cmos, you would have blackscreen due to nvram value not resetting), here the file:
Z97AVRNEW_2.rar (5.4 MB)

Use modgrub if Above 4G Decoding is not in bios settings
Here is your above 4G offset:

to enable it using modgrub, read this from step 5 (you need to make bootable drive to use modgrub), then type setup_var 0x1 0x0, enter, type reboot, enter, then go to modgrub again and type setup_var 0x1 0x1, type reboot, enter, and you will have above 4g decoding enabled.

then, to enable rebar, open this app as admin, type 32, enter, and reboot (Make sure ABOVE 4G Decoding is enabled!)

@mhi sorry for the ping but here is an updated rebardxe mod for safe clr cmos.

Thank you for your help. Unfortunatelly the new bios file doesnt shown up as flashable bios :frowning: (i tryed to rename it, put to another directory but nowhere have found the instantflash)
Should i try this modgrub with the current bios i flashed before?

Currently my motherboard battery depleated, so if i switch down the power supply my bios resets…

you could try downgrading to older bios or the previous original bios (even if its outdated), then after downgrading try to flash the new bios one. or maybe just delete the “NEW” word making it Z97AVR2.21 or just make it 2.22 to differeniate the bios i posted earlier and the new modded bios i just gave, it might get the file readable too in instant flash.

Sorry i am too noob. I copyed the modGRUBShell.efi to an flash drive what is a win10 install drive.
If i boot fron that flash drive and i ask command prompt it doesnt recognize the setup_var 0x1 0x0
Probably i am doing something wrong. can u help me what?

to use modgrub, make a bootable drive like make a windows 10 ones, then rename modGRUBShell.efi to bootx64.efi, replace the bootx64.efi inside your windows installer (or rename the bootx64.efi from windows into something else) so that modgrub would load (since modgrub renamed to bootx64.efi).

Thank you for your help. The rename was missing :slight_smile:
It work perfectly. Performance increase in 3dmark not much but works:

1 Like

Hi.
can edit the bios to make above 4G enabled by default?
i mean always on because some times its disabled accidently while rebar still on
so i faced black screen with long BeeB and can not boot until reset bios default

Heya! I’m a little confused :dizzy_face: watching what’s being posted here. I’m wondering what are the next steps to take ReSizeBar feature? In GPU-Z it is disabled but 4g decoding I noticed that it is enabled which is good I say. I have no idea if I need to do anything something additional for 4G decode

Help me please. I do this work for xfx rx580 8gb.

To check if Above 4G Decoding is enabled, you could see it on Device Manager > View > Resource by Type > See if there is Large Memory tab like this:
image

If it is there, then you could run Rebarstate.exe as Admin, then type 13 and enter it to make the dxe assign 8GiB on rebar.

You have to make sure that CSM is disabled + Above 4G Decoding is enabled (Large Memory present in Device Manager) before doing so or else you’ll get a black screen.

This is what I recive.


CSM is disabled. I dont see anything about ReSizeBAR, C.A.M/S.A.M enable/disable in bios…
In gpu-z 4g decode is enable but re-size bar is disable.

When i type unlimited or 13 and reboot… mb still beep per seconds… When i type 11 on rebarstate after reboot. very slowly booting it entered my bios without pressing anything after booting and I couldn’t use the mouse and keyboard. Everytime need to clear cmos…

Try to clear rebar state to 0 again, flash stock bios, re flash my modded bios, disable csm and for additional measure, install secure boot keys, enable secure boot, and make sure the secure boot is at User/Custom state rather than Setup. Then use the efigrub method i mentioned in this post, then after everything succeed, boot to windows, use the Rebar Legacy on.reg if you enable rebar using that registry, or just manually do it from the source you download it, reboot, then make sure bar size is 256. After everything is done, run rebarstate as admin and type 13 (since 2^13 is 8192 = 8GiB) and enter, reboot normally, and see if it works.

I think i could make another identical bios since i forgot what did i do before, and probably testing if i could make PCI Subsystem Settings menu appear and Above 4G Decoding appear just for easy access instead using grub method, but i wont do it today since i am pretty busy with my studies (it took me abt 2 hrs to make a bios since im not that keen on remembering what i did if it have alot of words and stuff)

If everything succeed, make sure Resizable Bar toggle is enabled in Adrenaline Menu > Performance > Tuning, and on GPUZ > Advanced > Vulkan there is no 256Mb memory (If rebar is working properly, Memory 2 and 4 (Host Visible, Host Coherent) usually assigned near 8GiB, no 256MB is shown).

I do.
“KMD_EnableReBarForLegacyASIC”=dword:00000001
“KMD_RebarControlMode”=dword:00000001
“KMD_RebarControlSupport”=dword:00000001 .

After I did this and restarted i see RebarControlMode switch to 0. :pensive:

try to flash normal bios (but disable rebarstate first), then flash the new bios, after flash go to bios, disable csm, then go to Advanced > PCI Subsystem Settings and enable 4g decoding, then save and exit.

Bios: Z97AVRbar.rar (5.5 MB)

I do. It s works with 1GB… 2GB or more… cant booting.

1st step after reboot… to verify status. all settings bydefault 256mb — Postimages

2nd time i was so confused when i see it works…
3rd time add more hoursepower… and it s maxim what i can do it.
Screenshots here Album — Postimages

In bios i cant find anywhere where is 4G to enable
What is new is PCI Latency… can up to 512 bus clock

Ty so much for your time. I think most likely it worked with the other bios uploaded from u as well but my system/graphic card cant do it.

Are you sure you did flash this exact bios, not any previous bios i posted here? Because i thought PCI Subsystem Settings would appear in Advanced options, not in any Advanced sub menu, directly on Advanced menu and PCI Subsystem Settings Sub menu.

As for the gpu, what is your gpu? Maybe send a gpuz screenshot for it?