terminatorul / NvStrapsReBar

Resizable BAR for Turring GTX 1600 / RTX 2000 GPUs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Working cards

terminatorul opened this issue · comments

If you get ReBAR working please post your system information in the below format

  • CPU:
  • Motherboard model:
  • Motherboard chipset:
  • Graphics card model:
  • GPU chipset:
  • GPU PCI VendorID:DeviceID (check GPU-Z):
  • GPU PCI subsystem IDs (check GPU-Z):
  • VRAM size:
  • New BAR size (GPU-Z):
  • New BAR size (nvidia-smi):
  • NVIDIA driver ver:

It may be easier to post screenshots instead, with:

  • GPU-Z: GPU page + ReBAR page
  • CPU-Z: CPU page + MB page
  • console output from nvidia-smi -q -d memory

If you needed to apply more changes to make ReBAR work, post about them as well.

CPUMotherboard MB chipGraphics cardGPU chipPCI ID
subsystem
VRAM sizesmi/PCI BAR sizever
Core i7-6800K ASRock X99 Taichi
@Xelafic
X99 Asus GT 640 GK107 10DE:0FC1
1043:83F3
2GB 2GB/2GB 456.71
2970WX Gigabyte X399 AORUS Gaming 7 WiFi
@terminatorul
X399 MSI RTX 2080 TI Gaming X Trio TU102 10DE:1E07
1462:3715
11GB 16GB/16GB 546.01
Ryzen 5 3600 MSI B450 Gaming Pro Carbon Max WiFi
@Felty2562
B450 Asus DUAL RTX 2060 SUPER EVO V2 TU106 10DE:1F06
1043:8747
8GB 8GB/8GB 546.29
Core 2 Duo Gigabyte EP45-UD3R
(BIOS system with MBR)
@Xelafic
P45 Gigabyte GTX 1660 Super OC 6GB TU116 10DE:21C4
1458:4013
6GB 8GB/8GB 511.65
Core i7-6700K MSI Z170A GAMING M7 (MS-7976)
@UnidentifiedTag
Z170 GeForce® GTX 1660 SUPER™ OC 6G TU116 10DE:21C4
1458:4014
6GB 8GB/8GB 546.17
MSI MAG Z490 TOMAHAWK
@UnknownGuyzs
Z490 MSI RTX 2080 GAMING X TRIO TU104 10DE:1E87
1462:3726
8GB 4GB/4GB 546.33
Core i5-9300H TUF Gaming FX505GT-BI5N7
@pexcfequinnet
HM370 ASUS GTX 1650 Mobile TU116 10DE:1F91
1043:1AB1
4GB 4GB/4GB 546.33
Core i7-6800K ASRock X99 Taichi
@Xelafic
X99 Gigabyte GTX 1660 Super OC 6G TU116 10DE:21C4
1458:4013
6GB 32GB/32GB 546.17
Ryzen 5 3600X MSI X570 Gaming Edge WIFI
@vig
X570 Asus DualOC EVO 8GB Nvidia 2080 Super TU104 10DE:1E81
1043:870F
8GB 8GB/8GB 546.22
Core i5-9300H CFL Citigo_CFS
@Sid127
HM370 Acer GeForce GTX 1660 Ti 6GB Mobile TU116 10DE:2191
1025:1336
6GB 8GB/8GB 551.23
Ryzen 9 3900X Gigabyte AORUS X570 Elite
@CptSchwifty
X570 NVIDIA RTX 2080 Ti Cyberpunk Edition TU102 10DE:1E07
10DE:1435
11GB 16GB/16GB 551.23
Core i5-13500 Gigabyte B660 DS3H AX DDR4
@saveli
B660 NVIDIA RTX 2070 Super TU104 10DE:1E84
10DE:139F
8GB 8GB/8GB 546.33
Ryzen 7 3800XT MSI X470 GAMING PLUS MAX
@Maidvelia
X470 MSI ARMOR NVIDIA GeForce RTX 2070 8G TU106 10DE:1F02
1462:3734
8GB 8GB/8GB 551.23
Ryzen 9 3950X ASRock X570 AQUA
@dakisback2
X570 NVIDIA GeForce RTX 2080 Ti TU102 10DE:1E07
10DE:1435
11GB 16GB/16GB 551.23
Core i9-9900KF Gigabyte Z390 AORUS MASTER-CF
@Pudent
Z390 EVGA GeForce RTX 2080 Ti TU102 10DE:1E07
3842:2589
11GB 16GB/16GB 537.13
Core i9-9900KF ASUS ROG STRIX Z390-E GAMING
@Cancretto
Z390 Galaxy GeForce RTX 2080 Ti TU102 10DE:1E07
1B4C:A017
11GB 16GB/16GB 551.23
Ryzen 7 2700 MSI B450M BAZOOKA PLUS (MS-7B90)
@SuperCoolGuy855
B450 MSI GeForce RTX 2060 VENTUS 12GB TU106 10DE:1F03
1462:C757
12GB 16GB/16GB 546.65
Ryzen 7 5800X3D MSI B450 TOMAHAWK MAX (MS-7C02)
@ngrfgt
B450 NVIDIA GeForce RTX 2070 Super TU104 10DE:1E84
10DE:A027
8GB 8GB/8GB 551.46
Core i7-8700 MSI Z370 GAMING PLUS (MS-7B61)
@sociofall
Z370 ASUS GeForce RTX 2080 Ti TU102 10DE:1E07
1043:8667
11GB 16GB/16GB 551.23
Ryzen 5 3600 MSI B450M PRO-VDH MAX (MS-7A38)
@AliZf1d
B450 ZOTAC TWIN RTX 2060 SUPER AMP TU106 10DE:1F06
19DA:5511
8GB 8GB/8GB 551.23
Ryzen 7 5800X3D Gigabyte B550 AORUS ELITE V2
@T1m0th1
B550 MSI GeForce RTX 2080 Ti Gaming X Trio 11GB TU102 10DE:1E07
1462:3715
11GB 16GB/16GB 551.23
Core i5-10400 MSI B460M-A PRO
@ LLLLL MMMMM AAA OOO
B460 ASUS ROG STRIX GTX 1650 SUPER TU116 10DE:2187
1043:874F
4GB 4GB/4GB 551.52
Core i7-10700K MPG Z490 Gaming WiFi Edge
@Aetopia
Z490 Colorful GTX 1650 4GB TU116 10DE:1F0A
7377:2000
4GB 4GB/4GB 551.52
Ryzen 5 5600X MSI B550 Tomahawk Max Wifi
@traveeeeee
B550 Gigabyte GeForce RTX 2060 TU104 10DE:1E89
1458:37D9
6GB 8GB/8GB 551.52
Core i5-10400F Gigabyte H410M-H
@dahxka
H410M Colorful GTX 1660 Super TU116 10DE:21C4
7377:0000
6GB 2GB/2GB 551.52
Core i3-12100 Biostar H610M-H
@Pekls
H610M NVIDIA GeForce GTX 1660 TU116 10DE:2184
10DE:1366
6GB 8GB/8GB 546.65
Core i7-9700K Gigabyte Z390 Aorus Pro WiFi
@rainbowjose
Z390 Gigabyte RTX 2070 WindForce 8G (GV-N2070WF3-8GC) TU106 10DE:1F02
1458:37C2
8GB 8GB/8GB 546.33
Core i7-9700 MSI Z390-A PRO (MS-7B98)
@VartuloFN
Z390 PNY GTX 1660 Super TU116 10DE:21C4
196E:1345
6GB 8GB/8GB 551.52
Core i7-10700K Gigabyte Z490 Vision G
@Akadem1kxz
Z490 MSI GeForce GTX 1660 Super Ventus XS TU116 10DE:21C4
1462:C757
6GB 8GB/8GB 551.23
Core i7-3770 Dell Optiplex 7010 0GY6Y8
@pabloalber84
Q77 Asus Phoenix GTX 1660 OC 6GB TU116 10DE:2184
1043:86BB
8GB 8GB/8GB 551.52
Ryzen 7 5800X MSI MAG X570 TOMAHAWK WIFI
@alexpanetta
X570 ASUS Geforce RTX 2060 Turbo 6GB TU106 10DE:1F08
1043:868A
6GB 8GB/8GB 551.52
Core i7-9750H ZOTAC ZBOX-EN72080V
@dimka4996
HM370 ZOTAC RTX 2080 TU104 10DE:1E90
19DA:3529
8GB 8GB/8GB 551.61
Ryzen 5 3600 Asus PRIME B450M-A II
@lapist
B450 Gainward GeForce RTX 2060 Ghost OC TU106 10DE:1F08
10DE:1F08
6GB 8GB/8GB 551.61
Core i7-9700F MSI Z390-A PRO (MS-7B98)
@random-tek
Z390 ZOTAC GAMING GeForce GTX 1660 SUPER Twin Fan TU116 10DE:21C4
19DA:5527
6GB 8GB/8GB 551.76
Ryzen 5 3600 AsRock B450M Steel Legend
@whood
B450 MSI GTX 1660 Ti AERO ITX 6G TU116 10DE:2182
1462:8D90
6GB 8GB/8GB 551.76
Ryzen 5 5600 Gigabyte B550M Aorus Pro-P
@13pwn
B550 MSI RTX 2080 SUPER GAMING X TRIO TU104 10DE:1E81
1462:C724
8GB 8GB/8GB 546.33
Core i7-10875H MECHREVO GM5MP0Y
@sunbyy
HM470 Tongfang GeForce RTX 2060 TU106 10DE:1F15
1D05:1096
6GB 8GB/8GB 551.61
Ryzen 7 5800X3D MSI X470 GAMING PRO CARBON (MS-7B78)
@TheUntouchable
X470 RTX 2070 SUPER GAMING OC 8G TU104 10DE:1E84
1458:3FEB
8GB 8GB/8GB 551.76
Core i5-10400F MSI H410M PRO-VH (MS-7C89)
@TessellatedGuy
H410 ASUS RTX 2060 Phoenix 6G TU106 10DE:1F08
1043:8698
6GB 8GB/8GB 551.76
Ryzen 7 2700X Gigabyte X470 Aorus Gaming 5 WIFI
@readyact
X470 Gigabyte GeForce RTX 2070 Windforce 8G TU106 10DE:1F02
1458:37C2
8GB 8GB/8GB 551.76
Core i3-9100F Asus H310M-R r2.0
@AssKissStudio
H310 NVIDIA GeForce GTX 1650 Super TU116 10DE:2187
10DE:139D
4GB 4GB/4GB 546.17
Ryzen 7 5800X Gigabyte X570 AORUS PRO rev. 1.0
@Keigun-Spark
X570 GIGABYTE AORUS RTX 2080 Super TU104 10DE:1E81
1458:3FF4
8GB 8GB/8GB 551.76
Ryzen 7 3700X ASUS ROG Crosshair VII Hero
@TastyChimera
X470 EVGA RTX 2070 Super XC Ultra (A1) TU104 10DE:1E84
3842:3173
8GB 8GB/8GB 551.76
Ryzen 3 2300X Asrock B450M Pro4
@fitsfer
B450 Gigabyte WINDFORCE OC GeForce GTX 1650 SUPER 4 GB TU116 10DE:2187
1458:401A
4GB 4GB/4GB 551.76
Ryzen 9 3900X ASRock X570 Phantom Gaming 4
@FreeTheTech101
X570 Zotac RTX 2080 Ti AMP TU102 10DE:1E07
19DA:1503
11GB 16GB/16GB 551.76
Core i7-10700K MSI MPG Z490M GAMING EDGE WIFI
@woheede
Z490 Gigabyte RTX 2080 Ti WINDFORCE OC 11G TU102 10DE:1E07
1458:37A9
11GB 16GB/16GB 551.76
Core i5-9300H Lenovo Legion Y7000 2019 (LNVNB161216)
@Auglisters
HM370 Lenovo GTX 1660 Ti Mobile TU116 10DE:2191
17AA:3FFC
6GB 8GB/8GB 551.76
Core i7-3770K Gigabyte GA-Z77-D3H (rev. 1.2)
@Baruls
Z77 Gainward RTX 2060 Phoenix TU116 10DE:1F08
10DE:1F08
6GB 2GB/2GB 551.76
Core i7-8086K ASUS ROG STRIX Z370-E GAMING
@BJTorgs
Z370 EVGA GeForce RTX 2060 SUPER TU106 10DE:1F06
3842:3067
8GB 8GB/8GB 551.76
Ryzen 3 3100 MSI B450M PRO-M2 MAX (MS-7B84)
@Sachin-Garia
B450 Gigabyte GTX 1650 Super TU116 10DE:2187
1458:401A
4GB 4GB/4GB 551.61
Core i7-12700K ASUS ROG MAXIMUS Z690 APEX
@WannaBeOCer
Z690 NVIDIA TITAN RTX TU116 10DE:1E02
10DE:12A3
24GB 32GB/32GB 551.76
Ryzen 7 5800X MSI MPG X570 Gaming Plus (MS-7C37)
@Famebloody
X570 MSI RTX 2070 Super Gaming X TU104 10DE:1E84
1462:373E
8GB 8GB/8GB 551.61
Core i3-9100F Asus H310M-R r2.0
@dduy1107
H310 Asus GeForce GTX 1650 TU117 10DE:1F82
1043:86B7
4GB 4GB/4GB 551.76
Ryzen 7 7700X Asus TUF Gaming B650m-plus
@bebelllm
B650 Gainward GeForce RTX 2080 Ti TU102 10DE:1E07
10B0:1E07
11GB 16GB/16GB 551.76
Ryzen 5 3600 MSI B-450 Morter Max
@Revenc7
B450 NVIDIA GeForce RTX 2070 Super TU104 10DE:1E84
10DE:139F
8GB 8GB/8GB 551.76
Core i7-10750H Lenovo Legion 5i 15IMH05H (LNVNB161216 )
@ammarasyad
HM470 Lenovo GeForce GTX 1660 Ti TU116 10DE:2191
17AA:3FBC
6GB 8GB/8GB 551.23
Ryzen 7 3700X Gigabyte AORUS X570 Master
@mitix67
X570 NVIDIA GeForce RTX 2080 Founders Edition TU104 10DE:1E87
10DE:12A6
8GB 8GB/8GB 551.76
Ryzen 7 1700 ASUS ROG CROSSHAIR VI HERO
@sandr1x
X370 MSI GeForce GTX 1660 Ti TU116 10DE:2182
1462:375A
6GB 8GB/8GB 551.76
Ryzen 9 7950X Gigabyte X670 GAMING X AX
@Giperion
X670 Gigabyte Geforce RTX 2080 Ti TU102 10DE:1E04
1458:37C0
11GB 16GB/16GB 536.23
Ryzen 7 5800X Asus ROG STRIX B550-F GAMING WIFI II
@Addalyn
B550 Gigabyte Geforce RTX 2070 Super TU104 10DE:1E84
1458:4008
8GB 8GB/8GB 551.61

nvidia drivers 546,29,
pci sub 1043:8747

1143:83F3 from xelafic seems to be 1043:83F3 from his screenshots btw

I've posted in discussions

#3

commented
  • Motherboard model: TUF Gaming FX505GT (FX505GT-BI5N7)
  • Motherboard chipset: HM370
  • CPU Model: Intel Core i5-9300H
  • Graphic card: ASUS GTX 1650 Mobile
  • GPU PCI VendorID:DeviceID: 10DE:1F91
  • GPU PCI subsystem IDs: 1043:1AB1
  • VRAM size: 4096MB (4GB)
  • New BAR size (GPU-Z): 4096MB (4GB)
  • New BAR size (nvidia-smi): 4096MB
  • NVIDIA driver version: 546.33

explorer_i1VwWlfXFw

@pexcfequinnet

  • Motherboard model: TUF Gaming FX505GT (FX505GT-BI5N7)
  • Motherboard chipset: HM370
  • Graphic card: ASUS GTX 1650 Mobile
  • GPU PCI VendorID:DeviceID: 10DE:1F91
  • GPU PCI subsystem IDs: 1043:1AB1
  • VRAM size: 4096MB (4GB)
  • New BAR size (GPU-Z): 4096MB (4GB)
  • New BAR size (nvidia-smi): 4096MB
  • NVIDIA driver version: 546.33

Thank you for the info, can you also include CPU model ? Some AM4 motherboards only enable ReBAR with recent CPUs

commented

@pexcfequinnet

  • Motherboard model: TUF Gaming FX505GT (FX505GT-BI5N7)
  • Motherboard chipset: HM370
  • Graphic card: ASUS GTX 1650 Mobile
  • GPU PCI VendorID:DeviceID: 10DE:1F91
  • GPU PCI subsystem IDs: 1043:1AB1
  • VRAM size: 4096MB (4GB)
  • New BAR size (GPU-Z): 4096MB (4GB)
  • New BAR size (nvidia-smi): 4096MB
  • NVIDIA driver version: 546.33

Thank you for the info, can you also include CPU model ? Some AM4 motherboards only enable ReBAR with recent CPUs

Edited to include CPU model.

Please note GT640 is not supported by nvidia-smi but does appear to indicate full size by other means.

Managed a few tests with 1660S
32G
Why 32GiB? Just to see what might happen if cards maximum was selected, seemed to behave as usual. For other testing usually 8GiB is selected.

3DMark PCIE test results are clearly buggy so not included.

3DMark Timespy showed less than 1% gain with profiles of 1GiB, 1.5GiB so subjective.
Xaler Results

W10 and Linux GravityMark showed no gain, run with Vulkan MS

Gears of War 5 which has been said to be favorable of resizable BAR showed no gain.

Total War Three Kingdoms showed no gain on W10 but did show up to 15% on Linux. The W10 bench scored similar to the resizable BAR score on Linux.

Standard 256MiB
twtk_256

Resized to 8GiB
twtk_8

Unlike W10, Linux nvidia settings shows the resizable flag, note that on my HW it requires resizable BAR to be set at least to the size of the VRAM, so in this case 8GiB and upwards.
yes

With W10, if resizable BAR is set to 8GiB and the card disabled in the OS and resizable BAR adjusted to 256MiB then enabled that the BAR is set back by W10 / nvidia driver to 8GiB.

Under W10 the "nvidia-smi -q -d memory" always seems to show BAR1 memory of 2MiB in use. However under Linux we can see this value change with TWTK showing between 400MiB and 500MiB when running.

Thank you for the report, table updated !

Works great for me, i did wrestle with some of the steps but eventually got there. Might make a video of my own.

CPU: Ryzen 5 3600X
Motherboard model: MSI X570 Gaming Edge WIFI
Motherboard chipset: AMD X570 Chipset 
Graphics card model: Asus DualOC EVO 8GB Nvidia 2080 Super
GPU chipset:
GPU PCI VendorID:DeviceID (check GPU-Z): 10DE 1E81 
GPU PCI subsystem IDs (check GPU-Z): 1043 870F
VRAM size: 8192 MB
New BAR size (GPU-Z): 8192 MB
New BAR size (nvidia-smi): 8192 MB
NVIDIA driver ver: 546.22

image
image
image
image
image

Alan Wake 2 with ReBar set to Disabled in NVPI
image

Alan Wake 2 with ReBar set to Enabled in NVPI (size limit 0x0000000200000000, ~8gb)
image

Alan Wake 2 with ReBar set to Enabled in NVPI (size limit 0x0000000040000000, ~1gb)
image

Seem like this is one of those games with very clear rebar-size-to-fps-boost ratios :) for testing I repeated them all a few times - clicking continue chapter from where I last saved, letting it load, and doing absolutely nothing. no movement, no adjustments, keeping it controlled. Close game, change NVPI setting, reload. It was consistent, repeatable and I didn't get any FPS fluctuations either so these are authentic snippets.

I am having some issues however - my motherboard BIOS had two identical entries for the PCIE driver to add the .ffs file, and I added it to both. Now my PC will only start from cold, no reboots, no sleep resume, no hibernate resume. It'll not post, and the HDD light will remain on until i power off the PSU and restart. From full power down it works every time.

I have a feeling this might be a potential hurdle for some users as we iron out the kinks of patching compatible BIOSes - I'll do some testing at some point of adding the .ffs to one entry, then the other, and see if ReBAR continues to work and it resolves my issues. For now I can deal with cold boot :P

image

Motherboard model: Gigabyte AORUS X570 Elite
Motherboard chipset: X570
CPU Model: AMD Ryzen 3900X
Graphic card: nVidia RTX 2080 Ti Cyberpunk Edition
GPU PCI VendorID: 10DE
DeviceID: 1E07
VRAM size: 11GB
New BAR size (GPU-Z): 16GB
New BAR size (nvidia-smi): FB Memory Usage
Total : 11264 MiB
Reserved : 237 MiB
Used : 694 MiB
Free : 10332 MiB
BAR1 Memory Usage
Total : 16384 MiB
Used : 2 MiB
Free : 16382 MiB
NVIDIA driver version: 551.23

commented

is anyone else seeing errors in vulkan applications after enabling ReBAR?
I ran into this through the Vulkan Conformance Test Suite on linux
FATAL ERROR: vk.createDevice(physicalDevice, pCreateInfo, pAllocator, &object): VK_ERROR_INITIALIZATION_FAILED at vkRefUtilImpl.inl:249

EDIT: Sorted, was a faulty DSDT patch

Took me a day to get it to work - most troublesome was Gigabyte's "Invalid BIOS" protection.
None of the (modded) tools or how-tos you find will work.
Just use QFlash Plus.

Many thanks @terminatorul

Screenshot 2024-01-27 224105
Screenshot 2024-01-27 224121
Screenshot 2024-01-27 224149
Screenshot 2024-01-27 224156
Screenshot 2024-01-27 224224

Thanks for adding my configuration! 😁@terminatorul

For completion's sake my driver version is 551.23 and it's a GeForce Game Ready driver.

I don't know what options in NvStrapsReBar.exe populate the Target BAR Size so I just left it blank. 😅

X570 not very easy to flash on ASROCK. I needed to downgrade to old AGESA version and flash modified BIOS using FLASHROM

image

@Maidvelia

Thanks for adding my configuration! 😁@terminatorul

For completion's sake my driver version is 551.23 and it's a GeForce Game Ready driver.

I don't know what options in NvStrapsReBar.exe populate the Target BAR Size so I just left it blank. 😅

Can you run nvidia-smi -q -d memory and show the output ?

@Maidvelia

Thanks for adding my configuration! 😁@terminatorul
For completion's sake my driver version is 551.23 and it's a GeForce Game Ready driver.
I don't know what options in NvStrapsReBar.exe populate the Target BAR Size so I just left it blank. 😅

Can you run nvidia-smi -q -d memory and show the output ?

2024-01-28_22-53-55

  • CPU: AMD Ryzen 7 3800XT
  • Motherboard model: MSI X470 GAMING PLUS MAX
  • Motherboard chipset: AMD Ryzen SOC rev. 00, AMD X470 rev. 51
  • Graphics card model: MSI ARMOR NVIDIA GeForce RTX 2070 8G
  • GPU chipset: TU106-400 rev. A1
  • GPU PCI VendorID:DeviceID (check GPU-Z): 10DE:1F02
  • GPU PCI subsystem IDs (check GPU-Z): 1462:3734
  • VRAM size: 8GB
  • New BAR size (GPU-Z): 8GB
  • New BAR size (nvidia-smi): 8GB
  • NVIDIA driver ver: Game Ready Driver 551.23

Did I get all the information?

CPU: AMD Ryzen 7 2700
Motherboard model: B450M BAZOOKA PLUS (MS-7B90)
Motherboard chipset: AMD Ryzen SOC rev. 00, AMD B450 rev. 51
Graphics card model: NVIDIA GeForce RTX 2060
GPU chipset: TU106
GPU PCI VendorID:DeviceID (check GPU-Z): 10DE:1F03
GPU PCI subsystem IDs (check GPU-Z): 1462:C757
VRAM size: 12288 MB
New BAR size (GPU-Z): 16384 MB
New BAR size (nvidia-smi): 16384 MB
driver version: 31.0.15.4665 (NVIDIA 546.65) DCH

image
image
image
image
image
image

@SuperCoolGuy855 This is the first time I see option 65 working (which happens to be the safe choice (and least intrusive) if users accidentally disable 4G Decoding or load the default settings in UEFI setup, but the option does not always work).

Congrat'z and enjoy !

I had 65 working too initially but the new version of the program allows me to adjust the BAR size which I needed. 👍

The newer version allows both changing the BAR size on the GPU and using input value 65 for the PCI side.

Please try option 65 and use it if it works for your system (you need to enable ReBAR in UEFI setup) Because it is the safe choice in case you accidentaly disable 4G decoding in UEFI setup, or you load the default UEFI settings, or the CMOS battery dies. So in this case you will not need to manually clear CMOS.

I am thinking of a better failsafe for such cases, but it will be a while before I can implement anything about it.

The newer version allows both changing the BAR size on the GPU and using input value 65 for the PCI side.

Please try option 65 and use it if it works for your system (you need to enable ReBAR in UEFI setup) Because it is the safe choice in case you accidentaly disable 4G decoding in UEFI setup, or you load the default UEFI settings, or the CMOS battery dies. So in this case you will not need to manually clear CMOS.

I am thinking of a better failsafe for such cases, but it will be a while before I can implement anything about it.

Option 65 is unavailable for P. Am I looking in the wrong spot for it?
2024-02-08_12-28-01

Oh, I forgot I made it the System default.

It's really option 0 now :)

Oh, I forgot I made it the System default.

It's really option 0 now :)

Thank you! Failsafe is now in place and everything is working as intended.
2024-02-08_12-40-48

Thank you so much ♥. After fiddling around for a day i finally got it working. In Cyberpunk ~10% increase in performance: 3440x1440p; Ultra; RT Medium, No Upscale.
Since ReBar was introduced i wodered when NVIDIA or someone else would enable it on older Cards. You and xCuri0 finally did it. Thanks again :)
ReBarFTW!!111!!1

PS: Obviously i don't play at these settings :D

PS 2: In "Adding FFS module" it says to put the *.ffs file at the bottom of the volume. That didn't work for me. Scroll down a little until you see "NvramDXE", "PcdDXE" and the other thing which is too long for me to remember. I put it here on both entries and that did the trick.
ProblemSolved

CPU: Intel Core i5-10400 @4.00Ghz
Motherboard model: MSI B460M-A PRO
Motherboard chipset: Intel B460 Chipset
Graphics card model: ASUS ROG STRIX GTX 1650 SUPER
GPU PCI VendorID:DeviceID (check GPU-Z): 10DE 2187
GPU PCI subsystem IDs (check GPU-Z): 1043 874F
VRAM size: 4GB (4096MB)
New BAR size (GPU-Z): 4GB (4096MB)
New BAR size (nvidia-smi): 4GB (4096MB)
NVIDIA driver ver: 551.52

image
image

CPU: i7-10700K
Motherboard model: MPG Z490 Gaming WiFi Edge
Motherboard chipset: Z490
Graphics card model: TU106
GPU PCI VendorID:DeviceID (check GPU-Z): 10DE 1F0A
VRAM size: 4 GB
NVIDIA driver ver: 551.52

New BAR size (GPU-Z):
image
image

New BAR size (nvidia-smi):
image

CPU: Ryzen 5 5600x
Motherboard model: MSI B550 Tomahawk Max Wifi
Motherboard chipset: b550
Graphics card model: GPU TU104
GPU PCI VendorID:DeviceID (check GPU-Z): 10DE 1E89
VRAM size: 8 GB
NVIDIA driver ver: 551.52
immagine
immagine
immagine

CPU: i5-10400F
Motherboard model: Gigabyte H410M-H
Motherboard chipset: H410
Graphics card model: Colorful GTX 1660 Super
GPU chipset: TU116
GPU PCI subsystem IDs: 10DE:21C4 - 7377:0000
VRAM size: 6GB
NVIDIA driver ver: 551.52
gpuz
gpuz2
smi

Worked fine for me, nvidia driver : 546.65

rebarbar

CPU: i7 9700k
Motherboard model: Gigabyte Z390 Aorus Pro WiFi rev. 1
Motherboard chipset: Z390
Graphics card model: Gigabyte RTX 2070 WindForce 8G (GV-N2070WF3-8GC)
GPU chipset: TU106-400
GPU PCI VendorID:DeviceID (check GPU-Z): 10DE-1F02 / 1458-37C2  (Rev A1)
GPU PCI subsystem IDs (check GPU-Z): 
VRAM size: 8192 MiB
New BAR size (GPU-Z):  BAR0 16MB BAR1 8192MB BAR2 32MB
New BAR size (nvidia-smi): 8192 MiB
driver version: 546.33
BIOS version: 11F
Motherboard model: MSI Z390-A PRO (MS-7B98)
Motherboard chipset: Intel Z390 (Cannon Lake-H)
CPU Model: Intel Core i7-9700
Graphic card: PNY GTX 1660 Super
VRAM size: 6144MB (6GB)
New BAR size (GPU-Z): 2048MB (2GB)
New BAR size (nvidia-smi): 2048MB
NVIDIA driver version: 551.52

GPU-z
gpu-z1
image

Motherboard model: Z490 Vision G (f21a)
Motherboard chipset: Intel Z490 (Comet Lake)
CPU Model: Intel Core i7-10700k
Graphic card: MSI GeForce GTX 1660 Super Ventus XS
VRAM size: 6144MB (6GB)
New BAR size (GPU-Z): 8192MB (8GB)
New BAR size (nvidia-smi): 8192MB
NVIDIA driver version: 551.23
rebar2
rebar1
rebar

CPU: i7 3770
Motherboard model: Dell Optiplex 7010 0GY6Y8 - A02
Motherboard chipset: Intel Q77
Graphics card model:  Asus Phoenix GTX 1660 OC 6GB (Single Fan)
VRAM size: 8192 MB
NVIDIA driver ver:  551.52 (Latest at 21/02/2024).

In the past, I did the ReBarUEFI method with an RX 580. Removing the driver and putting the NvStrapsReBar driver, works for my GTX 1660.
Great work with the driver.
image
image
image

commented
CPU: Ryzen 7 5800X
Motherboard model: MSI MAG X570 TOMAHAWK WIFI
Motherboard chipset: X570
Graphics card model: ASUS Geforce RTX 2060 Turbo 6GB
GPU chipset: TU106
GPU PCI VendorID:DeviceID (check GPU-Z): 10DE 1F08
GPU PCI subsystem IDs (check GPU-Z): 1043 868A
VRAM size: 6144 MB
New BAR size (GPU-Z): 8192 MB
New BAR size (nvidia-smi): 8192 MB
NVIDIA driver ver: 551.52

1

Set rBAR - Size Limit in Nvidia Profile Inspector to 6GB: 0x0000000180000000

Zotac mini PC EN72080v with enabled rebar on rtx2080

зображення

CPU: Ryzen 5 3600
Motherboard model: Asus PRIME B450M-A II
Motherboard chipset: B450
Graphics card model: Gainward GeForce RTX 2060 Ghost OC
GPU chipset: TU106
GPU PCI VendorID:DeviceID (check GPU-Z): 10DE 1F08
GPU PCI subsystem IDs (check GPU-Z): 10DE 1F08
VRAM size: 6 GB
New BAR size (GPU-Z): 8192 MB
New BAR size (nvidia-smi): 8192 MiB
NVIDIA driver ver: 551.61
rebar

Performance gain from enabling Resizable Bar is quite minimal here.
Some benchmark results before and after enabling ReBar:

  • Cyberpunk 2077 built-in benchmark
    82 FPS -> 84 FPS

  • Hogwarts Legacy (ReBar enabled in NVPI)
    89 FPS -> 92 FPS

  • Control
    75 FPS -> 77 FPS

  • CPU: Intel Core i7-9700F
  • Motherboard model: MSI Z390-A PRO
  • Motherboard chipset: Intel Z390 Chipset
  • Graphics card model: ZOTAC GAMING GeForce GTX 1660 SUPER Twin Fan
  • GPU chipset: TU116
  • GPU PCI VendorID:DeviceID (check GPU-Z): 10DE:21C4
  • GPU PCI subsystem IDs (check GPU-Z): 19DA:5527
  • VRAM size: 6 GB
  • New BAR size (GPU-Z): 8 GB
  • New BAR size (nvidia-smi): 8 GB
  • NVIDIA driver ver: 551.76

screenshot

CPU: Ryzen 5 3600
Motherboard model: AsRock B450M Steel Legend
Motherboard chipset: B450
Graphics card model: MSI GTX 1660 Ti AERO ITX 6G
GPU chipset: TU116
GPU PCI VendorID:DeviceID (check GPU-Z): 10DE:2182
GPU PCI subsystem IDs (check GPU-Z): 1462:8D90
VRAM size: 6Gb
New BAR size (GPU-Z): 8Gb
New BAR size (nvidia-smi): 8Gb
NVIDIA driver ver: 551.76

CPU: Ryzen 5 5600
Motherboard model: Gigabyte B550M Aorus Pro-P
Motherboard chipset: B550
Graphics card model: MSI RTX 2080 SUPER GAMING X TRIO
GPU chipset: TU104
GPU PCI VendorID:DeviceID (check GPU-Z): 10DE:1E81
GPU PCI subsystem IDs (check GPU-Z): 1462:C724
VRAM size: 8Gb
New BAR size (GPU-Z): 8Gb
New BAR size (nvidia-smi): 8Gb
NVIDIA driver ver: 546.33
image

GPU: Gigabyte RTX 2070 SUPER GAMING OC 8G
CPU: AMD Ryzen 7 5800X3D
Motherboard: MSI X470 GAMING PRO CARBON

Since I activated the BAR thing I can't reboot anymore. The PC will hang after the operating system is powered off, have to press the power button for some seconds and start the pc again.

Also the new Nvidia App (Beta) is not detecting the BAR even after reinstalling the drive completely.

grafik
grafik
grafik
grafik
grafik
grafik
grafik

在我的电脑上工作正常。
Works fine on my laptop.

CPU:i7-10875H
Motherboard model:MECHREVO GM5MP0Y
Motherboard chipset:HM470
Graphics card model:RTX2060
GPU chipset:TU106
GPU PCI VendorID:DeviceID (check GPU-Z):10DE:1F15
GPU PCI subsystem IDs (check GPU-Z):1D05:1096
VRAM size:6GB
New BAR size (GPU-Z):8GB
New BAR size (nvidia-smi):8GB
NVIDIA driver ver:551.61

图片

CPU: Intel Core i5 10400F
Motherboard model: MSI H410M PRO-VH
Motherboard chipset: H410
Graphics card model: ASUS RTX 2060 Phoenix 6G
GPU chipset: TU106
GPU PCI VendorID:DeviceID: 10DE:1F08
GPU PCI subsystem IDs: 1043:8698
VRAM size: 6 GB
New BAR size (GPU-Z): 8 GB
New BAR size (nvidia-smi): 8 GB
NVIDIA driver ver: 551.76

img

Notes

The 3DMark PCI Express bandwidth test saw a 35% improvement in speed, from ~13 GB/s to ~17.8 GB/s. I enabled ReBAR from nvidiaprofileinspector and set the Size Limit to "0x0000000200000000" to get this result.

Without setting "Size Limit" at all, I only saw minor improvements in bandwidth.

ReBAR off:

ReBAR OFF

ReBAR on:

ReBAR ON

I do need to downgrade my BIOS first to a previous version with ASEGA version smaller than 1.2.0.0, then upgrade it again with the modified new BIOS. All done with the Q-flash utility in BIOS.

CPU: Ryzen 7 2700x
Motherboard model: Gigabyte X470 Aorus Gaming 5 WIFI
Motherboard chipset: X470
Graphics card model: Gigabyte GeForce RTX 2070 Windforce 8G
GPU chipset: TU106
GPU PCI VendorID:DeviceID: 10DE:1F02
GPU PCI subsystem IDs: 1458:37C2
VRAM size: 8192 MB
New BAR size (GPU-Z): 8192 MB
New BAR size (nvidia-smi): 8192 MB
NVIDIA driver ver: 31.0.15.5176 (NVIDIA 551.76) DCH / Win11 64

image
image
image
image
image

Is it possible to use this on a 1080ti?

System

  • CPU: i3-9100f
  • Motherboard model: Asus H310M-R r2.0
  • Motherboard chipset: H310
  • Graphics card model: GTX 1650 Super
  • GPU chipset: TU116
  • GPU PCI VendorID: 10DE:2187
  • GPU PCI subsystem IDs: 10DE:139D
  • VRAM size: 4GB
  • New BAR size: 4GB
  • NVIDIA driver ver: 546.17

Screenshot 2024-03-11 215139
Screenshot 2024-03-11 220141

GIGABYTE AORUS RTX 2080 Super with Ryzen 7 5800X and Gigabyte X570 AORUS PRO rev. 1.0

Extra step:
To flash a current modified BIOS, you need to downgrade to a previous version that was less restricted first, then you can upgrade.
Since version F32 (with AMD AGESA ComboV2 1.1.0.0 D) implemented ReBAR, I used it to downgrade and it worked fine.

Above 4G Decoding Enabled
Resize BAR Auto
CSM Support Disabled
NvStrapsReBar.exe Commands: E, S, Q

  • CPU: Ryzen 7 5800X
  • Motherboard model: Gigabyte X570 AORUS PRO rev. 1.0
  • Motherboard chipset: X570
  • Graphics card model: GIGABYTE AORUS RTX 2080 Super
  • GPU chipset: TU104
  • GPU PCI VendorID:DeviceID (check GPU-Z): 10DE:1E81
  • GPU PCI subsystem IDs (check GPU-Z): 1458:3FF4
  • VRAM size: 8GB
  • New BAR size (GPU-Z): 8GB
  • New BAR size (nvidia-smi): 8GB
  • Driver version: 546.29 and 551.76

nvidia-smi
nvstrapsrebar
hwinfo
hwinfomb
gpuz1
gpuz2
cpuz
devicemngr
profileinspector

My Asus Crosshair VII Hero motherboard (AM4 / X470 Chipset) required a USB Flashback downgrade to a pre Agesa-1.2.0.0 bios before flashing the modified (and current) BIOS.
In my case, Agesa-1.0.0.6 with BIOS v.4007.

CPU: AMD Ryzen™ 7 3700X
Motherboard model: ASUS ROG Crosshair VII Hero
Motherboard chipset: X470
Graphics card model: EVGA RTX 2070 Super XC Ultra (A1)
GPU chipset: TU104
GPU PCI VendorID:DeviceID (check GPU-Z): 10DE:1E84
GPU PCI subsystem IDs (check GPU-Z): 3842:3173
VRAM size: 8192mb
New BAR size (GPU-Z): 8192mb
New BAR size (nvidia-smi): 8192mb
NVIDIA driver ver: 551.76 Game Ready Driver

GPU 1

GPU 2

CPU 1

CPU 2

NVStrap

Terminal Prompt

Is it possible to use this on a 1080ti?

The very, first, line, of the project description states, "UEFI driver to enable and test Resizable BAR on Turing graphics cards (GTX 1600, RTX 2000)" ...

Required this solution

CPU: AMD Ryzen 2300x
Motherboard model: Asrock B450M Pro4
Motherboard chipset: AM4
Graphics card model: Gigabyte WINDFORCE OC GeForce GTX 1650 SUPER 4 GB
GPU chipset: TU116
GPU PCI VendorID:DeviceID (check GPU-Z): 10DE 2187
GPU PCI subsystem IDs (check GPU-Z): 1458 401A
VRAM size: 4096 MB
New BAR size (GPU-Z): 4096 MB
New BAR size (nvidia-smi): 4096 MB
NVIDIA driver ver: 31.0.15.5176 (NVIDIA 551.76) DCH / Win10 64
image_2024-03-11_152053400

Happy to report that it also works on the Asrock X570 Phantom Gaming 4 by following these steps (was on previous 5.60 prior, now running L5.61). I did notice an odd quirk where enabling "Fast Boot" does not mark CSM as disabled despite hiding the menu, meaning you may need to check there if you can't enable "Above 4G Decoding".

CPU: AMD Ryzen™ 9 3900X
Motherboard model: ASRock X570 Phantom Gaming 4
Motherboard chipset: X570
Graphics card model: Zotac RTX 2080 Ti AMP
GPU chipset: TU102
GPU PCI DeviceID: 10DE 1E07
GPU PCI subsystem IDs: 19DA 1503
VRAM size: 11264 MB
New BAR size: 16384MB
New BAR size: 16384MB
NVIDIA driver ver: 31.0.15.5176 (NVIDIA 551.76) DCH / Win11 64

image

Is it possible to use this on a 1080ti?

Afaik someone tried to enable it on Pascal cards, if I remember correctly, it technically enables the larger BAR but on windows the Nvidia driver crashes the system.

CPU: Core i7-10700K
Motherboard model: MSI MPG Z490M GAMING EDGE WIFI
Motherboard chipset: Z490
Graphics card model: Gigabyte RTX 2080 TI WINDFORCE OC 11G
GPU chipset: TU102
GPU PCI VendorID:DeviceID (check GPU-Z): 10DE:1E07
GPU PCI subsystem IDs (check GPU-Z): 1458:37A9
VRAM size: 11GB
New BAR size (GPU-Z): 16GB
New BAR size (nvidia-smi): 16GB
NVIDIA driver ver: 551.76
Screenshot 2024-03-12 000523

@pexcfequinnet
I have the same laptop , only with 9750h cpu , so i guess same bios file , i can't find the option to enable hidden 4G decoding , can you share the bios file modified or the version you used ?

  • Motherboard model: TUF Gaming FX505GT (FX505GT-BI5N7)
  • Motherboard chipset: HM370
  • CPU Model: Intel Core i5-9300H
  • Graphic card: ASUS GTX 1650 Mobile
  • GPU PCI VendorID:DeviceID: 10DE:1F91
  • GPU PCI subsystem IDs: 1043:1AB1
  • VRAM size: 4096MB (4GB)
  • New BAR size (GPU-Z): 4096MB (4GB)
  • New BAR size (nvidia-smi): 4096MB
  • NVIDIA driver version: 546.33

explorer_i1VwWlfXFw

Excuse me? how do you enable rebar? im on AMD variant and everytime i want to flash bios it says selected file is not a proper bios.
FX505DU
Ryzen 7 3750H
GTX 1660Ti Mobile
image

CPU: Intel Core i5-9300H
Motherboard model: LNVNB161216 (Lenovo Legion Y7000 2019)
Motherboard chipset: HM370
Graphics card model: Lenovo GTX 1660 Ti Mobile
GPU chipset: TU116
GPU PCI VendorID:DeviceID (check GPU-Z): 10DE:2191
GPU PCI subsystem IDs (check GPU-Z): 17AA:3FFC
VRAM size: 6GB
New BAR size (GPU-Z): 8192MB
New BAR size (nvidia-smi): 8192MB
NVIDIA driver ver: 551.76
屏幕截图(249)

Above 2GB, it will give no post

CPU: Intel Core i7-3770k
Motherboard model: Gigabyte GA-Z77-D3H (rev. 1.2)
Motherboard chipset: Z77
Graphics card model: Gainward RTX 2060 Phoenix
GPU chipset: TU106
GPU PCI VendorID:DeviceID (check GPU-Z): 10DE 1F08
GPU PCI subsystem IDs (check GPU-Z): 10DE 1F08
VRAM size: 6144MB (6GB)
New BAR size (GPU-Z): 2048MB (2GB)
New BAR size (nvidia-smi): 2048MB (2GB)
NVIDIA driver ver: 551.76

1
2
3
4
5

CPU: Intel Core i7 8086K
Motherboard model: ASUS ROG STRIX Z370-E GAMING
Motherboard chipset: Intel Z370
Graphics card model: nVidia RTX 2060 SUPER
GPU chipset: TU106
GPU PCI VendorID:DeviceID (check GPU-Z): 10DE 1F06 
GPU PCI subsystem IDs (check GPU-Z):  3842 3067
VRAM size: 8GB
New BAR size (GPU-Z): 8192MiB
New BAR size (nvidia-smi):  8192MiB
driver version: 551.76

This motherboard didn't support flashback so I had to use FreeDOS\AFUDOS 3.05.04 following the ASUS guide here, except replacing AFUWINx64.exe with AFUDOS.exe after booting into FreeDOS.

rebar success

CPU: AMD Ryzen 3 3100
Motherboard model: MSI B450M PRO-M2 MAX
Motherboard chipset: B450 Chipset
Graphics card model: GTX 1650 Super
GPU chipset: TU116
GPU PCI VendorID: 10DE 2187
GPU PCI subsystem IDs: 1458 401A
VRAM size: 4GB
New BAR size: 4GB
NVIDIA driver ver: 551.61

RebarGit

Working without any changes on the Titan RTX. Thank you!
Screenshot 2024-03-12 033702

commented

Is it possible to use this on a 1080ti?

Afaik someone tried to enable it on Pascal cards, if I remember correctly, it technically enables the larger BAR but on windows the Nvidia driver crashes the system.

So in theory it could work on Pascal cards, maybe with specific drivers, although i doubt any specific driver would work, past one or future one. I have a titan pascal and wondered where the limitation lies.

@Baruls do rebaruefi patches on your BIOS

it will support upto 16gb bar then (unless u have 32gb ram which is then 8gb)

There were no problems during installation.

- CPU: AMD Ryzen 7 5800X
- Motherboard model: MSI MPG X570 Gaming Plus
- Motherboard chipset: x570
- Graphics card model: MSI RTX 2070 Super Gaming X
- GPU chipset: TU104
- GPU PCI VendorID:DeviceID: 10DE:1E84
- GPU PCI subsystem IDs: 1462:373E
- VRAM size: 8GB
- BAR size (GPU-Z): 8GB
- BAR size (nvidia-smi): 8GB
- NVIDIA driver ver: 551.61

image

  • CPU: Intel i3-9100f
  • Motherboard model: Asus H310M-R r2.0
  • Motherboard chipset: H310
  • Graphics card model: GTX 1650
  • GPU chipset: TU117
  • GPU PCI VendorID: 10DE:1F82
  • GPU PCI subsystem IDs: 1043:86B7
  • VRAM size: 4GB
  • New BAR size: 4GB
  • NVIDIA driver ver: 551.76

image

commented

@pexcfequinnet I have the same laptop , only with 9750h cpu , so i guess same bios file , i can't find the option to enable hidden 4G decoding , can you share the bios file modified or the version you used ?

@osamazakimohammed I'm currently using version 305. Maybe you could try using Intel FPT (you can get it from here) to extract the bios file and then follow the instructions from here to find the setting. Mine is called "Above 4GB MMIO BIOS assignment"

Works great I gained 15fps / 10% in call of duty warzone with my previous setting. The cpu usage doubled but no problem. Thank you, it's amazing.

CPU: 7700x
Motherboard model: Asus b650m-plus
Motherboard chipset: b650
Graphics card model: gainward rtx 2080ti
GPU chipset: 2080ti
GPU PCI VendorID:DeviceID (check GPU-Z): 10DE 1E07
GPU PCI subsystem IDs (check GPU-Z): 10B0 1E07
VRAM size: 11gb
New BAR size (GPU-Z): 16gb
New BAR size (nvidia-smi): 16gb
driver version: 551.76
screenshot
screenshot2

CPU: AMD Ryzen 5 3600
Motherboard model: MSI B-450 Morter Max
Motherboard chipset: AMD B450
Graphics card model: RTX 2070 Super
GPU chipset: TU 104
GPU PCI Vendor ID: Device ID: 10DE 1E34
GPU PCI subsystem IDs: 10DE 139F
VRAM size: 8192
New BAR size: 8192
New BAR size (nvidia-smi): 8192
NVIDIA driver ver:551.76
Screenshot 2024-03-12 221143
Screenshot 2024-03-12 221224

@vigilant-hylian Did you do the patching, too? If yes, is it possible you suffered from the pad file problem?

CPU: Intel Core i7-10750H
Motherboard model: LNVNB161216 (Lenovo Legion 5i 15IMH05H)
Motherboard chipset: HM470
Graphics card model: NVIDIA GeForce GTX 1660 Ti
GPU chipset: TU116
GPU PCI VendorID:DeviceID (check GPU-Z): 10DE:2191
GPU PCI subsystem IDs (check GPU-Z): 17AA:3FBC
VRAM size: 6144MB (6GB)
New BAR size (GPU-Z): 8192MB
New BAR size (nvidia-smi): 8192MB
NVIDIA driver ver: 551.23
1660ti gpuz
1660ti smi
image

CPU: AMD Ryzen 7 3700X
Motherboard model: AORUS X570 Master
Motherboard chipset: X570
Graphics card model: RTX 2080 Founders Edition
GPU chipset: TU104
GPU PCI VendorID:DeviceID (check GPU-Z): 10DE 1E87
GPU PCI subsystem IDs (check GPU-Z): 10DE 12A6
VRAM size: 8192MB (8GB)
New BAR size (GPU-Z): 8192MB (8GB)
New BAR size (nvidia-smi): 8192MB (8GB)
NVIDIA driver ver: 551.76

image
image
image
image
image
image

My motherboard supports 4G decoding, so the BIOS could only be updated using USB BIOS FlashBack.

  1. I modified the BIOS file using UEFITool (https://github.com/xCuri0/ReBarUEFI/wiki/Adding-FFS-module)
  2. Specified NvStrapsReBar.ffs
  3. Saved the file and renamed it to the correct name for the BIOS. No need to use UEFIPatch!
  4. Turned off the PC. Installed Bios via USB BIOS FlashBack
  5. Launched NvStrapsReBar.exe. Pressed E, S, restarted the PC. According to the instructions.

4G decoding must be activated in the BIOS!

Thanks for the work! Hope this helps someone.

CPU: Ryzen 1700
Motherboard model: ASUS ROG CROSSHAIR VI HERO
Motherboard chipset: X370
Graphics card model: GTX 1660 Ti
GPU chipset: TU 116
GPU PCI VendorID:DeviceID (check GPU-Z): 10DE 2182
GPU PCI subsystem IDs (check GPU-Z): 1462 375A
VRAM size: 6144 MB
New BAR size (GPU-Z): 8192 MB
New BAR size (nvidia-smi): 8192 MB
NVIDIA driver ver: 551.76
GPU-Z
BAR size
2024-03-12_215648

CPU: AMD Ryzen 9 7950X
Motherboard model: Gigabyte X670 GAMING X AX
Motherboard chipset: AMD X670
Graphics card model: NVIDIA Geforce RTX 2080 TI
GPU chipset: TU102
GPU PCI VendorID:DeviceID (check GPU-Z): 10DE:1E04
GPU PCI subsystem IDs (check GPU-Z): 1458 37C0
VRAM size: 11 Gb
New BAR size (GPU-Z): 16 Gb
New BAR size (nvidia-smi): 16 Gb
NVIDIA driver ver: 536.23
изображение

@pexcfequinnet , Thanks for helping , i downgraded my bios and found it , but when i try patching the bios file to add the module , i fail to read it as a bios while updating , can you help me with that ? , probably send the modified one you used , maybe i did something wrong

Downloaded bios from rog website
followed instructions https://github.com/xCuri0/ReBarUEFI/wiki/Adding-FFS-module
had to add it twice (had 2results)
unable to flash bios from within bios
however bios flashback worked perfectly
(also did not need to do anything special for AMD aka downgrade AGESA)
enabled 4g and bar support in bios

used NvStrapsReBar.exe E and S
and rebooted and gpu-z shows it enabled :)

CPU: AND Ryzen 7 5800X
Motherboard model: ROG STRIX B550-F GAMING WIFI II
Motherboard chipset: AMD B550
Graphics card model: Nvidia RTX 2070 Super
GPU chipset: TU104
GPU PCI VendorID:DeviceID (check GPU-Z): 10DE 1E84
GPU PCI subsystem IDs (check GPU-Z): 1458 4008
VRAM size: 8192
New BAR size (GPU-Z): 8192
New BAR size (nvidia-smi): 8192
driver version: 31.0.15.5161

image
image
image

CPU: Ryzen 9 3900X
Motherboard model: Gigabyte X570 Aorus Elite
Motherboard chipset: X570
Graphics card model: EVGA RTX 2080 Black
GPU chipset: TU104-400-A1 
GPU PCI VendorID:DeviceID (check GPU-Z): 10DE 1E81
GPU PCI subsystem IDs (check GPU-Z): 3852 2081
VRAM size: 8192
New BAR size (GPU-Z): 8192
New BAR size (nvidia-smi): 8192
driver version: 551.23

image

My motherboard supports 4G decoding, so the BIOS could only be updated using USB BIOS FlashBack.

  1. I modified the BIOS file using UEFITool (https://github.com/xCuri0/ReBarUEFI/wiki/Adding-FFS-module)
  2. Specified NvStrapsReBar.ffs
  3. Saved the file and renamed it to the correct name for the BIOS. No need to use UEFIPatch!
  4. Turned off the PC. Installed Bios via USB BIOS FlashBack
  5. Launched NvStrapsReBar.exe. Pressed E, S, restarted the PC. According to the instructions.

4G decoding must be activated in the BIOS!

Thanks for the work! Hope this helps someone.

i copied this it worked for me thank you
image
image
image

commented

@pexcfequinnet , Thanks for helping , i downgraded my bios and found it , but when i try patching the bios file to add the module , i fail to read it as a bios while updating , can you help me with that ? , probably send the modified one you used , maybe i did something wrong

@osamazakimohammed I'm assuming you are using the EZ flash tool included in the bios to do the flashing, which will not regconize the file as a bios file. There are two ways you can flash the modded bios: either through Intel FPT or using an external programmer like the CH341A. As for my modified file, I have lost it while doing a OS reinstall so I will have to recompile another one.

Edit: you may have to dump the bios into a file using Intel FPT or an external programmer and then patch the file from there instead of using the bios file listed on the manufacturer's website

image
image

i keep getting update failed wrong image format 11, is there any way to flash modded bios for msi?

Screenshot 2024-03-13 131625

Went by the book. Used the Asus Bios Flashback or whatever it's called. Not a hitch. The CPU is Intel i9 13900k.

CPU: Intel Core i5-9300H Motherboard model: LNVNB161216 (Lenovo Legion Y7000 2019) Motherboard chipset: HM370 Graphics card model: Lenovo GTX 1660 Ti Mobile GPU chipset: TU116 GPU PCI VendorID:DeviceID (check GPU-Z): 10DE:2191 GPU PCI subsystem IDs (check GPU-Z): 17AA:3FFC VRAM size: 6GB New BAR size (GPU-Z): 8192MB New BAR size (nvidia-smi): 8192MB NVIDIA driver ver: 551.76 屏幕截图(249)

How did you manage to flash the BIOS? The official BIOS files provided by Lenovo seem difficult to modify. If you were able to modify it successfully can you share your method please?

CPU: Intel Core i7-10750H Motherboard model: LNVNB161216 (Lenovo Legion 5i 15IMH05H) Motherboard chipset: HM470 Graphics card model: NVIDIA GeForce GTX 1660 Ti GPU chipset: TU116 GPU PCI VendorID:DeviceID (check GPU-Z): 10DE:2191 GPU PCI subsystem IDs (check GPU-Z): 17AA:3FBC VRAM size: 6144MB (6GB) New BAR size (GPU-Z): 8192MB New BAR size (nvidia-smi): 8192MB NVIDIA driver ver: 551.23 1660ti gpuz 1660ti smi image

You are the second Lenovo laptop user that I've noticed have managed to successfully flash BIOS. It seems very difficult to impossible to modify the BIOS file, so how did you get around this?

You are the second Lenovo laptop user that I've noticed have managed to successfully flash BIOS. It seems very difficult to impossible to modify the BIOS file, so how did you get around this?

For the Legion 5i 15IMH05H, there are several BIOS revisions with an EFI variable that, when deleted/disabled, unhides the Advanced section of the BIOS. Mine is on EFCN52WW, if I remember correctly, the latest version with the variable. I unlocked the BIOS to get into the Advanced section and disabled both FPRR and BIOS Lock. I dumped the BIOS using Intel FPT. I followed the guide here (and ReBarUEFI), then flashed the patched dump using FPT again.

1
2

For anyone looking for how-tos that might be relevant to them, here is my experience:

  • The BIOS/UEFI version you see here already includes Above 4G Decoding and its own ReBAR support (Clever Access Memory in ASRock's terminology), both of which I had already activated.
  • After a bit of research, I decided to work around ASRock's Secure Flash protection via Intel FPTW instead of Flashrom. Out of convenience, really.
  • I found out which CSME Tools version to use for this chipset (11.8 Consumer H D,A) on the Win-Raid forums. I then dumped only the BIOS region as per advice I read there: fptw -bios -d original.bin
  • I modded the dump according to the guide while leaving out UEFIPatch. I believe it's not necessary, because the board is new enough, but I'm not fully sure about this. It seems to work regardless.
  • Then, I flashed the modded file like this: fptw -bios -f modded.bin
  • I rebooted and followed the guide again. NvStrapsReBar.exe now shows GPU-side ReBAR Configured with PCI confirm (0x0100000000000064).

A big thanks to @terminatorul, @xCuri0 and everyone on Win-Raid!

You are the second Lenovo laptop user that I've noticed have managed to successfully flash BIOS. It seems very difficult to impossible to modify the BIOS file, so how did you get around this?

For the Legion 5i 15IMH05H, there are several BIOS revisions with an EFI variable that, when deleted/disabled, unhides the Advanced section of the BIOS. Mine is on EFCN52WW, if I remember correctly, the latest version with the variable. I unlocked the BIOS to get into the Advanced section and disabled both FPRR and BIOS Lock. I dumped the BIOS using Intel FPT. I followed the guide here (and ReBarUEFI), then flashed the patched dump using FPT again.

I just installed FPT, but I'm not very familiar with this tool. What command did you use to dump the BIOS? I used "FPTw.exe -bios -d biosreg.bin", but when trying to search through the file in UEFITool there is no modifiable address to add the .ffs file to the dumped. So I'm not sure if I actually dumped the BIOS, and then once I finish that step what is the FPT command to flash the modified dump back onto MOBO?

CPU: Ryzen 5 3600
Motherboard model: Asrock b450 pro4
Motherboard chipset: AMD B450
Graphics card model: Nvidia RTX 2070
GPU chipset: 
GPU PCI VendorID:DeviceID: 10DE 1F02
GPU PCI subsystem IDs: 3842 1171
VRAM size: 8192 MB
New BAR size (GPU-Z): 8192 MB
New BAR size (nvidia-smi): 8192 MB
NVIDIA driver ver: 31.0.15.5176

ResizableBar2070

I just installed FPT, but I'm not very familiar with this tool. What command did you use to dump the BIOS? I used "FPTw.exe -bios -d biosreg.bin", but when trying to search through the file in UEFITool there is no modifiable address to add the .ffs file to the dumped. So I'm not sure if I actually dumped the BIOS, and then once I finish that step what is the FPT command to flash the modified dump back onto MOBO?

Yes, that is the right command to dump the BIOS. I used Unicode text search and searched for PciBus instead of the GUID and hex pattern. There should at least be one result. Insert after the result(s) that is/are not in the padding.

To flash, FPTW -bios -f <patched dump here>.bin. If done right with FPRR and BIOS Lock disabled, it should proceed to flash.

I just installed FPT, but I'm not very familiar with this tool. What command did you use to dump the BIOS? I used "FPTw.exe -bios -d biosreg.bin", but when trying to search through the file in UEFITool there is no modifiable address to add the .ffs file to the dumped. So I'm not sure if I actually dumped the BIOS, and then once I finish that step what is the FPT command to flash the modified dump back onto MOBO?

Yes, that is the right command to dump the BIOS. I used Unicode text search and searched for PciBus instead of the GUID and hex pattern. There should at least be one result. Insert after the result(s) that is/are not in the padding.

To flash, FPTW -bios -f <patched dump here>.bin. If done right with FPRR and BIOS Lock disabled, it should proceed to flash.

One other thing, in the instructions it says that we need to place ReBarDxe.ffs in the BIOS image, but NvStraps requires the NvStrapsRebar.ffs file instead. It doesn't seem clear if we need to add both, or just NvStrapsRebar.ffs because both come included in the NvStraps folder.

One other thing, in the instructions it says that we need to place ReBarDxe.ffs in the BIOS image, but NvStraps requires the NvStrapsRebar.ffs file instead. It doesn't seem clear if we need to add both, or just NvStrapsRebar.ffs because both come included in the NvStraps folder.

Just NvStrapsRebar.

CPU: Intel i7 8700k
Motherboard model: Asus ROG MAXIMUS XI HERO (WI-FI)
Motherboard chipset: Z390
Graphics card model: NVIDIA RTX 2080Ti
GPU chipset: TU102
GPU PCI VendorID:DeviceID (check GPU-Z): 10DE 1E07
GPU PCI subsystem IDs (check GPU-Z): 1458 37BF
VRAM size: 11264
New BAR size (GPU-Z): 16384
New BAR size (nvidia-smi): 16384
NVIDIA driver ver: 551.76

image

CPU: i7 9700k
Motherboard model: Gigabyte Z390 Aorus Pro WiFi rev. 1
Motherboard chipset: Z390
Graphics card model: Gigabyte RTX 2070 WindForce 8G (GV-N2070WF3-8GC)
GPU chipset: TU106-400
GPU PCI VendorID:DeviceID (check GPU-Z): 10DE-1F02 / 1458-37C2  (Rev A1)
GPU PCI subsystem IDs (check GPU-Z): 
VRAM size: 8192 MiB
New BAR size (GPU-Z):  BAR0 16MB BAR1 8192MB BAR2 32MB
New BAR size (nvidia-smi): 8192 MiB
driver version: 546.33
BIOS version: 11F

Hello @rainbowjose ,
I have pretty much the same config (I5 9600KF/Aorus Z390 pro/2070super).
I have inserted the nvbar ffs file in F13 bios, but I got the error “Invalid BIOS image” with Qflash...
Did you got same thing and how did you get rid of that ?
I tried to grab some info on https://winraid.level1techs.com/t/flashing-gigabyte-while-avoiding-invalid-bios-image/31185/373, which method worked ?
Did you tweak something else on bios file ?
Thanks !

CPU: i9-12900K
Motherboard model: Gigabyte Z790 UD
Motherboard chipset: Intel® Z790 Express
Graphics card model: MSI RTX 2080 Ti Lightning Z 11Gb
GPU chipset: TU102-300A-K1-A1
GPU PCI VendorID:DeviceID (check GPU-Z): 10DE-1E07
GPU PCI subsystem IDs (check GPU-Z): 1462-3770
VRAM size: 11264Mb
New BAR size (GPU-Z): BAR0 16MB / BAR1 16384MB / BAR2 32 MB
New BAR size (nvidia-smi): 16384MiB
NVIDIA driver ver: 31.0.15.4665

Thank you for the mod, works great! In order to update the modified BIOS I had to use the Q-Flash Plus method with this board. Now lets just hope that Nvidia doesn't somehow prevent this mod with a future driver update.

nvidia-smi

I just installed FPT, but I'm not very familiar with this tool. What command did you use to dump the BIOS? I used "FPTw.exe -bios -d biosreg.bin", but when trying to search through the file in UEFITool there is no modifiable address to add the .ffs file to the dumped. So I'm not sure if I actually dumped the BIOS, and then once I finish that step what is the FPT command to flash the modified dump back onto MOBO?

Yes, that is the right command to dump the BIOS. I used Unicode text search and searched for PciBus instead of the GUID and hex pattern. There should at least be one result. Insert after the result(s) that is/are not in the padding.

To flash, FPTW -bios -f <patched dump here>.bin. If done right with FPRR and BIOS Lock disabled, it should proceed to flash.

So I attempted to flash the patched ROM file for the BIOS, and it appears that I must have incorrectly done something in the process as my laptop is stuck on boot after restarting. I have to reflash the BIOS, I'm not sure what I missed as I made sure I followed as closely as possible. Were you able to get it on the first try, and do you happen to know how to reflash the BIOS for our MOBO?

Solution is pretty simple: i was just downloaded patched flash utility, where integrity check was removed, and flashed with it. And also i reccomend use F11, because there is new type of bios come in F12 so it is consedered as experiment that not worth 3% speed increase. You also can easily downgrade your bios to F11 with another utility that you can find easily. With all due respect to you and your obviously positive desire to make your computer and hardware more efficient, I'm not sure you should do this without reading more deeply and immersing yourself in the issue, because completely silent, bricked computer is such painful thing.

Thanks for your quick return and your advice @rainbowjose
I have upgraded earlier to F12 because of patching vulnerabilities and the availability of the ReBAR option...
The modded EFIFlash tool can be used from MS-DOS or UEFI shell, what did you use ?
It could be safer to only flash the main bios, but it may be not easy to recover it from the backup on our board... even with the dualbiosrescue utility, but never had to use it.
I will wait for someone else achieve it with F12 or F13 bios.

CPU: i3 10105F
Motherboard model: MSI B560M PRO-E
Motherboard chipset: B560
Graphics card model: MSI RTX 2060 OC
GPU chipset: TU106
GPU PCI VendorID:DeviceID (check GPU-Z): 10DE:1F08
GPU PCI subsystem IDs (check GPU-Z): 1462:3755
VRAM size: 6GB
New BAR size (GPU-Z): 8GB
New BAR size (nvidia-smi): 8GB
driver version: 551.76

image

image

image

Witam, czy byłby ktoś tak miły i pomógł mi załatać plik bios dla Aorus Elite Axe Z590.
Mam 2080 Super Gaming OC Gigabyte

link do biosu
Witam, czy byłby ktoś tak miły i pomógł mi załatać plik bios dla Aorus Elite Axe Z590.
Mam gigabyte 2080 Super Gaming OC

link do biosu https://www.aorus.com/pl-pl/motherboards/Z590-AORUS-ELITE-AX-rev-10/Support

So I attempted to flash the patched ROM file for the BIOS, and it appears that I must have incorrectly done something in the process as my laptop is stuck on boot after restarting. I have to reflash the BIOS, I'm not sure what I missed as I made sure I followed as closely as possible. Were you able to get it on the first try, and do you happen to know how to reflash the BIOS for our MOBO?

https://github.com/nonkerdoob/SmokelessCPU-Guides/blob/main/Guides/BIOS/BIOS_CRISIS.md