[Release] Resizable BAR BIOS EFI Module

I understand. I also thank you very much for the intention and the help :slight_smile:

there was 2, 1 PciDynamic and 1 the ol regular Setup, so i was confused which is the real setup, since on Setup 0x387 have the toggle for it.

Does anyone have any ideas so that I can enable the 4g decode?
On the other hand, I tried to make the dsdt patch, but I’m having problems

AmiBoardInfo.zip (2.2 KB)
If I use “AMIBCP”, can I enable 4g decode?


I modified the bios, but when I want to update, it says “secure failed” How can I remove the restriction or sign my bios?

UPDATE: In the end I managed to make the modification with AMIBCP, use the following guide to achieve it. [Guide] How to flash a modded AMI UEFI BIOS

When I flash the bios, I see that the options were saved as expected, but when I load windows everything freezes. :confused:

@kingdzv What you say sound like a DSDT issue but AmiBoardInfoTool doesn’t support your mobo so idk how to fix it. Maybe try to boot Linux with 4G on and dump DSDT from there to see if there’s an issue ?

1 Like

In the end I was able to make the bios modification, I saved the changes correctly. I could verify that when entering the bios, but then I could not enter windows.

I’m trying another method, but I’m also stuck. Honestly, I don’t know what else to try :frowning:

Yes, I understand. There are two setting for configuring Above 4G. The checkbox and the one with toggle.
But why offset is 0x387 after all? I asked a friend of mine to extract Setup IFR tables from the BIOS uploaded.

And the variable offset there is 0x38A. It might be BIOS version dependant, I guess.

I suggest trying “setup_var_cv Setup 0x38A 0x1 0x1”. Let me know if it worked, @kingdzv.
Provided that it didn’t work, and the genuine BIOS is installed in order to exclude any doubts. You may search for DSDT in some other module, even in freeform section.

2 Likes

Thank you very much for continuing to help me.

I tried, but it doesn’t work, I have some conflicts.
Now GPU-Z does not show anything, windows starts normally… but I notice the pc a little slow :confused:



1 Like

could you try this (enable above 4g decoding manually like what you did, or if you did flash my bios, try the grub method again like what i suggest before):
ModZ17MOCF7.rar (7.7 MB)

1 Like

Unfortunately, when flashing the sent bios, the system does not turn on. The board is dual bios, so I already restored everything.

Is it possible that it is because the bios sent does not have the coffelake microcodes?

@kingdzv This is DSDT issue, it can be fixed. See DSDT Patching · xCuri0/ReBarUEFI Wiki · GitHub “DSDT broken 4G Decoding fix (Haswell and up)”

It’s a common issue on ASRock boards

2 Likes

I tried but it gives me an error
I did the steps, but I think something is wrong

@kingdzv Yeah AmiBoardInfoTool doesn’t seem to work on these newer boards.

It seems to be that the DsdtAsl module contains the DSDT on these boards

Using iasl to decompile it shows it does contain a valid DSDT. The QWordMemory does seem a bit weird, usually QWordMemory is under _SB/PCI0/BUF0 but on this board it’s under _SB/EPC/RBUF. It seems to be related to Intel SGX rather than PCI device allocation

I’ve updated to wiki to add a DsdtAsl method which seems to have worked for other uses, you can try it.

You can verify if the issue is related to QWordMemory by checking if you have Large Memory in Device Manager

2 Likes

it does have, check it on coffeetime

1 Like


I’m trying to keep up, but I don’t understand how to run this step

Could you help me a little? Should I execute this for CMD?

I got the bar working on old dell 7810


16gb bar was really easy to do tried to turn csm off but system won’t boot after that but rebar works like a charm

Save the raw section body to DSDT.aml using UEFITool and run that command in cmd yes

2 Likes

I managed to use the shared bios. It wasn’t a microcode problem.
The problem was the ME version
The modified bios with only that detail is the following.

Then do what is indicated, use the grub method, but nothing worked.
“setup_var 0x3 0x1” = no change, 4g decode off
“setup_var 0x387 0x1” = does not start windows
“setup_var_cv pci_common 0x3 0x1 0x1” = no change, 4g decode off
Z17MOCF7.60MOD2.zip (8.0 MB)



Just one detail, without applying any of this, I can activate the resizable bar at 1gb (with the bios shared by you). Likewise, when I try to go up to any higher value, it doesn’t start the pc. :confused:

which ME ver should i use? i tought based on this any me below 11.7 should be fine? (it seems you use my modded bios but replaced the ME ver on your own, so it worked?)

I wonder, if, it’s something to do with the bios since the above 4g decode wont made it past boot… or maybe, just maybe, try to disconnect from internet, completely uninstall the driver with ddu (clean and do not restart) and all nvidia options ticked, set rebarstate to 0, then reboot to bios, and try to enable above 4g using the grub method (0x0, reboot, then 0x1, and reboot), see if it booted right up to windows…

1 Like

@kingdzv Did you try the DSDT edit ? It’s almost certainly the cause of no Windows boot or Device Manager showing error on device because that’s what others report with DSDT issue too.

2 Likes

hi all im trying to make a dell poweredge r730 to enable rebar support, but im not getting it to work and cant understand if it’s a 64bit problem or just something else.

ive attached some picture.

without the mmio lower m,emory in bios pc was crashing when i was installing drivers.

i post also large memory screenshot “grande quantità di memoria” difference with mmio enabled and disabled.





i cant find the dsdt extraction as my pc is not with amibios , but it’s a dell server rack.
hope to get it working. if i need to try other things let me know.