[Release] Resizable BAR BIOS EFI Module

@DriVE654 Try these bios:
Z170EX6Mods.rar (7.1 MB)
Normal: without Instant Flash Protection removed
apr: Instant Flash Protection Removed

Based off version 7.50A, both FD is unlocked.

1 Like

Thanks mate! Do I need to inject my SN/MAC or I can try flashing it as is and if it works, flash it as my main BIOS?
There are 2 files, which one should I choose?
Oops sorry, overlooked your last comment!

you dont have to inject it, since it usually an Asus thing… but if you dont mind, with your unmodded/working stock bios (and you could boot), back it up first.

If you flashed either of those 2 bios i gave and it worked, test these: Disable CSM, Enable iGPU (and multi monitor so that your igpu would be active even if there is dGPU), and test lan if you use it, see if all worked well.

For some asrock Z170 sata not detected issues, read this issue: ASRock z-170 k4/d3 sata controller not being initialized correctly when enable "above 4g mmio bios assignment" · Issue #38 · xCuri0/ReBarUEFI · GitHub

1 Like

I do have my stock backed up, thanks for pointing it out!
Update: your magic worked and PC has booted up to Windows. I see CSM is off, 4G decode enabled but GPUZ is still showing that ReBar is not enabled in BIOS.
LAN and SATA are both fine.
I enabled an iGPU and set Multi-monitor to Enabled. Device Manager now shows both adapters as working.

Should I try running ReBarState and setting its parameter to something higher than 0?

1 Like

yes, use rebarstate (latest one from v0.3 release) and set it at 32 (IF your gpu supports Rebar, for full rebar usage, minimal Polaris 8GB or RTX 3000 Series, for Polaris 4GB use value 10 or 11 since it bugged on full 4GB rebar)

Also iGPU is working fine? what vbios ver does it display? also which bios you did finally use?

I used an APR BIOS version to flash it with BIOS own flasher (too lazy to pull the chip out of the mobo again haha)
As for iGPU, I didn’t hook it up to the monitor yet, just ensured that it’s okay in Device Manager without exclamation sign and that’s it. BTW how do I look up its VBIOS version?
I’m on Polaris 4Gb unfortunately so will try value of 11 and report here, I’ve read it up recently.
Thanks again for your support!

just go on GPUz and you could see the vbios version.

Wow, seems it finally worked! GPUZ now shows that ReBAR is enabled, BAR0 is 2048Mb as expected, it was a bit slow to boot with a blank screen but now it all seems well!
VBIOS is 015.050.002.001.000000 if that tells you something :slight_smile:
I’ll run a couple of tests now just to confirm it doesn’t crash and report back.
You’re my hero, man! Breathed a new life to this old but still capable rig!

1 Like

i meant the vbios version of the iGPU XD

prolly a RX 6600 upwards should be a good upgrade path for you while staying on that platform.

1 Like

Strange enough, for the iGPU it says VBIOS is Unknown. Do I need to keep it enabled at all as I don’t use it and have no plans to do so?
Thanks for the suggestion, I was already considering moving to something newer like RX 6XXX, now just to earn enough to have it done :slight_smile:
Also I reinstalled AMD driver (I use Nimez, for the sake of purity) and had to force reinstall PCIBus driver from Nimez folder as the stock one asked me to reboot due to system changes and didn’t want to disappear upon reboot but I faced it already so fixed as usual.
Upd: AMD Adrenalin shows that ReBAR is not functioning but I guess it doesn’t mean as anyway it’s unsupported on this card and I should trust GPUZ rather than AMD software, right?

1 Like

yes, it is fine to disable it, tho i usually leave it enable in case blackscreen happens. also benefited quicksync if you use it

oh you use nimez? i usually use the latest nimez release (on my i7 3770s + H77 ds3h + RX 590GME pc) and installing it offline

so i disconnect/disable internet - DDU (tick all amd options except C:\AMD folder deletion) clean and reboot - install nimez completely offline (make sure to download 22.40 ccc.exe and put it on C:\AMD Folder) - finish install, go to NZSetupCLI (or NZSetup), go to option tweaks (current one its on option 8, enable PCIE Resizable Bar with ASIC, and reboot.

after reboot connect to internet, check windows update and make sure if WU updates the amd driver, just let it be, reboot, then install nimez again this time without ddu and disconnect from internet, and redo the tweaks (pcie rebar and others if you did any).

2 Likes

Right, I did a dirty install without DDU. I’ll do that later today, ccc.exe is already downloaded so should be okay.

1 Like

Hello,

I’ve been tinkering with ReBarUEFI and have it mostly working, except that I have an nvidia card and nvidia officially enables ReBAR in the firmware only on 3000-series+ cards.

I am currently able to confirm resizable BAR works on my laptop, but is limited to a maximum size of 256mb (I was able to make it smaller with ReBarState).

I’ve dumped the vBIOS using the /sys/ interface on linux, and can provide a vBIOS for a 3050Ti with ReBAR enabled if required.

Thank you in advance!

1660Ti vBIOS: https://cloud.sloughland.dev/s/47LbbwzCHtzdgN6

Laptop Details
Acer Nitro 7 AN715-51 (Unlocked BIOS)
OS: Arch Linux
i5-9300H
GeForce 1660Ti 6GB
24GB DDR4 RAM @ 2666MHz

Hi,

I’ve been trying to modify the BIOS to enable above 4G decoding on my Dell Optiplex 9020 (Dell 0PC5F7 A02 Motherboard) and maybe reBar.
As I understand it, the chipset should be able to allow above 4G decoding, being equipped with a Haswell chip (i7-4770).

I’ve tried using xCuri0’s method to find the hidden setting offset and modify the hex value in grub, but to no avail. It seems the setting can be found by UEFITool, but the string can’t be found once I extract the indicated IFR file.

Is there a potential ‘fix’? Or has anyone had success using other methods?

Your only option is to use Linux with DSDT modification in wiki. It is technically possible to re allocate PCI devices before Windows boots (like Linux does) but it would require a lot of work.

@Pastafazou

2 Likes

Hello @Pastafazou ,

Do you have the ROM / Bin file for the board?

Right, that’s not ideal, although I guess I could always dual boot. Thanks for the help

Sure, new users can’t upload files but I put it up here, if you want to take a crack at it:

https://github.com/xCuri0/ReBarUEFI/files/11505018/Extracted_BIOS_IFR.zip

I’ve tried to get this all working on my Optiplex 9010 and 3010 motherboards but with no luck so far. I was able to get full 8GB ReBar working on my Gigabyte board (all my test boards are Sandy/Ivy Bridge). What I used with setup_var on both Optiplex boards was “0x2” as that is what was revealed to me by the IFR file. I’ve also been playing with coreboot as it’s supported on the Optiplex 9010 and one of the build options mentions ReBar support. :stuck_out_tongue:

I don’t know if 0x2 will work for you, but maybe give it a try?

i’d try it, but at which offset did you set 0x2? Coreboot might be the way to go about this, it seems they have a build for the 9020