Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ReBar on my ga-z97x Gaming5 #15

Closed
LordAdo96 opened this issue Nov 11, 2022 · 12 comments
Closed

ReBar on my ga-z97x Gaming5 #15

LordAdo96 opened this issue Nov 11, 2022 · 12 comments
Labels
duplicate This issue or pull request already exists

Comments

@LordAdo96
Copy link

System

  • Motherboard: ga-z97x Gaming5
  • BIOS Version: F7
  • GPU: RX 580
    rbar

So i managed to mod bios and flash but i can only have 1024mb.. if i go 2gb or 4 or 8 my pc wont boot.. is there any fix or im stuck with 1gb?

@xCuri0
Copy link
Owner

xCuri0 commented Nov 11, 2022

@LordAdo96

4G Decoding on and CSM off ? GPU-Z reports these incorrectly only way to check is going to BIOS

UEFIPatch applied ?

@LordAdo96
Copy link
Author

CSM is disabled but 4g Decoding i cant find.

@xCuri0
Copy link
Owner

xCuri0 commented Nov 11, 2022

Gigabyte Z97 boards don't have the 4G decoding option even in hidden settings. I'm sure it can be patched to enable it tho.

@LordAdo96
Copy link
Author

LordAdo96 commented Nov 11, 2022

Hmmm is there any way i can do it or is it risky.. or myb to stay at 1024?

@xCuri0
Copy link
Owner

xCuri0 commented Nov 11, 2022

@LordAdo96 patch to fix it doesn't exist yet. I had a 12% FPS gain in Cyberpunk 2077 with 2GB BAR size on RX 580 8GB I'm sure 1GB gives an increase too.

@xCuri0 xCuri0 added the duplicate This issue or pull request already exists label Nov 11, 2022
@LordAdo96
Copy link
Author

Yeah you right.. i think i got as far as i can go.. i mean im new in this whole thing. Thank you very much!

@cursemex
Copy link

cursemex commented Nov 24, 2022

  1. Download UEFIPatch and UEFITools and put them in a folder together.

  2. Download your bios from Gigabyte's website.

  3. Open up the bios zip and extract the Z97XG7.F8(In this example), and put in the same folder as UEFITool and UEFIPatch

Use these 2 patches from the patches.txt (Create a patches.txt text file in the same directory and add the patches. Make sure they don't have space in the end of the code part before you save it.)

PciHostBridge | Replace 8-16GB MMIO region with complete use of 64GB address space (Haswell). MAY REQUIRE DSDT MODIFICATION

8D6756B9-E55E-4D6A-A3A5-5E4D72DDF772 10 P:080000004823C1483BC3770C48BE0000000004000000EB7A48BB000000000C000000483BC3770C48BE0000000002000000EB5F48BB000000000E000000483BC3770C48BE0000000001000000EB4448BB000000000F000000483BC37707BE00000080EB2E48BB000000800F000000483BC37707BE00000040EB1848BB000000C00F000000483BC30F87A4FEFFFFBE00000020:010000004821C84839D8480F47D848BE00000000100000004829DE9090909090909066909066906690909090909090909066906690909090909090909066909066906690909090909090909066906690909090909090909066909066909090909090669066909090909090909090669090669090909090906690669090909090909090906690909090909090909090909090

PciBus | Remove <16GB BAR size limit (Ivy Bridge/Haswell)

3C1DE39F-D207-408A-AACC-731CFB7F1DD7 10 P:B8FFFFFFFF030000004C3B:B8FFFFFFFFFFFFFF004C3B

  1. open up Command Prompt with Admin privilege(right click, run as administrator), you can use the taskbar search bar to find it.

  2. write "cd [UEFIpatch directory]"

  3. run UEFI patch by running this command uefipatch.exe Z97XG7.F8 Gigabyte.txt -o Z97XG7Patched.F8
    This will generate a patched bios named "Z97XG7Patched.F8"

  4. insert rebardxe.ffs using UEFITool

done


Edit: Forgot to add that "Don't downgrade 64-bit BARs to 32-bit" didn't work on your bios when I tried it on my end, so I excluded it from the patches.

@LordAdo96
Copy link
Author

Hmm.. i try it but i only managed get 1024mb if i go 2gb or more just black screen

@cursemex
Copy link

You may need to patch your DSDT. Unfortunately, I have no knowledge in the matter as of yet.

@LordAdo96
Copy link
Author

aa ok. thank you for help mate..

@xCuri0
Copy link
Owner

xCuri0 commented Nov 24, 2022

Hmm.. i try it but i only managed get 1024mb if i go 2gb or more just black screen

you need 4g decode for sizes larger than 1gb to work. but you still do get an fps increase even with 1gb

@xCuri0
Copy link
Owner

xCuri0 commented Mar 4, 2023

Duplicate of #14

@xCuri0 xCuri0 marked this as a duplicate of #14 Mar 4, 2023
@xCuri0 xCuri0 closed this as not planned Won't fix, can't repro, duplicate, stale Mar 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants