Open xCuri0 opened 1 year ago
So, I tried entering values 8-10-12 in ReBarState with modded bios and mobo(asus z97 deluxe) booted, but usb keyboard don't work until I re-plug it in. So I can't get into the bios . Thing is GPU-Z says Resizable Bar enabled in bios - NO other requirements are YES. What do I do?((
@Divin1ty666 does GPU-Z show the BAR size has increased ?
This is how it is now. Btw valuse 14 isn't working, I guess its because 16Gb size is more than rx6700xt has vram, so I can only go with 8Gb value...
@Divin1ty666 update your GPU-Z. Old version probably has incorrect detection and doesn't show BAR size
And you need the 16GB limit patch for 16GB BAR to work. 6700 XT has 12GB of VRAM which uses a 16GB BAR. Note that 16GB BAR won't work if you have 32GB of RAM installed
@xCuri0 I've tried patch # PciHostBridge | Replace 16GB MMIO region with complete use of physical address space (Ivy Bridge). MAY REQUIRE DSDT MODIFICATION - cannot be applied, it says No patches can be applied to input file. Perhaps I'm trying wrong patch, could you please tell me what exact patch should I use?
@Divin1ty666 Remove <16GB BAR size limit (Ivy Bridge/Haswell)
That patch I've applied successfully already Here is list of patches I've applied:
@Divin1ty666 how much RAM do you have installed ? any additional PCIe cards or dual GPU ? I don't see why 16GB won't work if you have less than 32GB RAM. And send screenshot showing large memory in device manager view -> resources by type
I have 16Gb ram, I do have Creative SB X-Fi Titanium HD soundcard, but i've unplugged it for now to be able to get to bios socket). My cpu is not haswell though, its broadwell(5775c) but I think it doesn't matter...
@Divin1ty666 did you try the PciHostBridge | Replace 8-16GB MMIO region with complete use of 64GB address space (Haswell). MAY REQUIRE DSDT MODIFICATION
patch ?
Yes, I have. Same thing - it can't be applied.
@Divin1ty666 try this
# PciHostBridge | Replace 32/48GB - 63GB MMIO region with 32/48GB - 64GB (Haswell)
8D6756B9-E55E-4D6A-A3A5-5E4D72DDF772 10 P:3BC3771548BE000000C00F000000482B:3BC3771548BE0000000010000000482B
Hm, that one worked, gotta try that bios now with 14 value, thanks! ps that patch is not in the patches file, is it outdated btw?
And send screenshot showing large memory in device manager view -> resources by type
This?
So 16Gb working now. I do have strange readings that my VRAM load is now >13Gb in HZD. FPS boosted by 15 I think, although in benchmark it has dropped because CPU load there has now become 90%+))) In game CPU load has increased as well but it's not critical at least.
Also I no longer can access bios because USB initialize only after bios post screen... Can anything be done?
So I guess you can add my result to the list, again its Asus Z97-Deluxe Wi-Fi + RX 6700 XT
@Divin1ty666 will make a proper patch for it and then add it to the list. if you can test the proper patch when it's made it would be helpful
@xCuri0 You mean patch for USB issues?
@Divin1ty666 you have to do all your bios modifications BEFORE applying the ReBarState.exe value, that's where the USB issue starts. The same issue will happen when you try to get into windows safe mode, you won't be able to due to undetected USB. If you need to get into safe mode, use msconfig(From task bar search bar) to be able to boot into safe mode, and use it again to boot normally.
@Divin1ty666 try this improved pci allocation unlikely but could fix the usb issue
# PciHostBridge | Replace 32/48GB - 63GB MMIO region with full use of 64GB address space (Haswell).
8D6756B9-E55E-4D6A-A3A5-5E4D72DDF772 10 P:080000004823C1483BC3763C48BB000000000C000000483BC3762D48BB000000000E000000483BC3761E48BB000000000F000000483BC3760F48BB000000800F000000483BC3771548BE000000C00F000000482BF30F84D6FEFFFFEB1B48BE000000C00F000000483BC60F87C1FEFFFF488BDEBE00000020:010000004823C1483BC3480F47D86690669066906690669066906690669066906690669066906690669066906690669066906690669066906690669066906690669066906690669048BE0000000010000000482BF36690669066906690669066906690669066906690669066906690669066906690669090
If it doesn't find anything since you have applied the previous patch use the below
# PciHostBridge | Replace 32/48GB - 63GB MMIO region with full use of 64GB address space (Haswell).
8D6756B9-E55E-4D6A-A3A5-5E4D72DDF772 10 P:080000004823C1483BC3763C48BB000000000C000000483BC3762D48BB000000000E000000483BC3761E48BB000000000F000000483BC3760F48BB000000800F000000483BC3771548BE0000000010000000482BF30F84D6FEFFFFEB1B48BE000000C00F000000483BC60F87C1FEFFFF488BDEBE00000020:010000004823C1483BC3480F47D86690669066906690669066906690669066906690669066906690669066906690669066906690669066906690669066906690669066906690669048BE0000000010000000482BF36690669066906690669066906690669066906690669066906690669066906690669090
@Divin1ty666 you have to do all your bios modifications BEFORE applying the ReBarState.exe value, that's where the USB issue starts. The same issue will happen when you try to get into windows safe mode, you won't be able to due to undetected USB. If you need to get into safe mode, use msconfig(From task bar search bar) to be able to boot into safe mode, and use it again to boot normally.
After finishing the BIOS on my end, I can't get my keyboard detected most of the time though sometimes the keyboard works. I just plug in a PS2 keyboard or use a PS2 to USB adapter.
@Divin1ty666 I am waiting for my 5775C too, hoping to disable the onboard GPU so that the CPU gets access to the eDRAM memory (maybe a 5800x3D of its time?). Getting 2400MHz CL10 DDR3 does give significant performance in 2022 unlike back then.
With rebar on 5775c(4.3ghz cores, 3.9ghz ring, 2.2ghz L4) now bottleneck in games where rebar is actually working, so 5775c won't help you, nor will ddr3 2400 cl, cos that whats I have. It just lacks cores, nothing can compensate for that.
https://valid.x86.fr/ulelg7 - single thread perf is almost 550 with 3.7ghz cache
Yes, I know, thus, it is a test machine (for fun), it would be worse with the original 4690k inside and 1600MHz DDR3. Probably need an overclock for both the CPU and eDRAM.
L4 cache there is not a HBM module
L4 cache there is not a HBM module
My bad, it is eDRAM. Edited.
Works with ASUS Z170-DELUXE+Intel Arc A380
I modified the 3801 bios based on @dsanke‘s mod to support 9700KF, just insert ReBarUEFI and patched PciBus with MMTool, flash bios and set BAR size to unlimited.
Must enable 4G Decoding and disable CSM on first boot, or your'll get a vga debug and not boot.
Tested with 3DMARK Timespy, before:
after:
So it works!
@xCuri0 Would Github support the file upload of the BIOS? Not sure a collection of working patched BIOS would be useful for anyone stumbling on this thread (though I don't know if there's any licensing issues).
@Tokobotenkai GitHub lets you upload upto 25mb in comments so I don't think uploading is an issue. Not sure about licensing though.
I think it's not a good idea to upload your modified BIOS. What for? For people who can't do the modification themselves? They would brick their system even more likely this way. And yes, licensing is probably not an easy issue.
What is very useful and greatly appreciated is collection of patches. I'd say tutorial + explained patches are the best way to go.
Hey, I've been added to the list but my mobo is Z97-Deluxe, not Z97-PRO :))
@Divin1ty666 thanks I've fixed it
Works with ASUS X99 DELUXE+RTX 3080Ti
Must enable 4G Decoding and disable CSM on first boot, or your'll get a vga debug and not boot.
flash bios Koekieezz and set BAR size to unlimited.
ASUS Z170-DELUXE, RTX 3080, UEFIPatch applied. Entered value 32 for ReBarState and it works. I think all ASUS 100/200 series retail motherboard should work.
@dsanke does sleep work for you ? I saw another user with Z170 say it doesn't
@xCuri0 I can confirm the S3 sleep in Windows OS have no issue.
X99 DELUXE, it's working!!! I modded it for version 3802 https://winraid.level1techs.com/t/asus-x99-deluxe-biosmod-resizeable-bar/91436/18?u=knasiotis1
Working on Asrock X99 Extreme4 GPU: RTX 3070 Ti BAR size tested: 8GB UEFIPatch req: N
Hi, i have z270 m7 with 7700k. my motherboard has 4G decoding in bios. i also have gtx 1080. how to patch my bios? here my bios link: https://download.msi.com/bos_exe/mb/7A57v10.zip
I just did that with 7700k z270 m5 and 3080ti and it's working
@triple-octopus did you have to use uefipatch ?
@triple-octopus did you have to use uefipatch ?
I will share the full process and I'm thinking about making an article to make it simple for people. but first i need to know how to check my bar size? i set it first time to 8 gb and it worked then i set it to 16 and the pc worked and then i set it to unlimited and the pc works and games work. does that mean that it's set to unlimited because gpu z shows Bar0 16MB Bar1 16384MB Bar2 32MB
@triple-octopus unlimited just uses the maximum size supported by the GPU which in this case is 16GB
@xCuri0 Hi there Thanks for your hard work!
I have a question - is it possible to implement Don't downgrade 64-bit BARs to 32-bit patch for my Gigabyte board, H310M S2 2.0 specifically? Sadly, I can't go past 1Gb BAR limit - system boots, but displays no image, thought this patch could solve this issue.
Thanks!
@triple-octopus did you have to use uefipatch ? Yes
@somexhey does uefipatch with the provided patches.txt not find anything to patch ?
also I see some people with similar motherboards say 4GB and larger BARs work while 2GB doesn't
@somexhey does uefipatch with the provided patches.txt not find anything to patch ?
also I see some people with similar motherboards say 4GB and larger BARs work while 2GB doesn't
It sucessfully applies Remove <64GB BAR size limit patch, but not a Don't downgrade 64-bit BARs to 32-bit one
I tried to do 4Gb and more, but no success there too
@somexhey show a screenshot of device manager resources on gpu when using 1GB BAR
@somexhey show a screenshot of device manager resources on gpu when using 1GB BAR
Here you go:
@somexhey don't see the GPU. It has to show the address the GPU is allocated at. The resources tab of the GPU will show it
@somexhey don't see the GPU. It has to show the address the GPU is allocated at. The resources tab of the GPU will show it
Got it:
@somexhey it's a 32-bit address which is the reason it's not working for you
@somexhey it's a 32-bit address which is the reason it's not working for you
Yes, that's why I asked if it's possible to somehow make Don't downgrade 64-bit BARs to 32-bit patch work for my board, because I think it's the culprit here
Motherboards which don't support at least 2GB BAR size are considered not working.
If you're having any issues please see Common issues (and fixes) before replying.
Use this format in your comment:
lspci
(Linux) shows)