Open terminatorul opened 8 months ago
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
@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
@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
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
Resized to 8GiB
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.
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
Alan Wake 2 with ReBar set to Disabled in NVPI
Alan Wake 2 with ReBar set to Enabled in NVPI (size limit 0x0000000200000000, ~8gb)
Alan Wake 2 with ReBar set to Enabled in NVPI (size limit 0x0000000040000000, ~1gb)
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
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
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
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
@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 ?
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
@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?
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.
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 :)
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.
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
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):
New BAR size (nvidia-smi):
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
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
Worked fine for me, nvidia driver : 546.65
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
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
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.
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
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
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: 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
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.
在我的电脑上工作正常。 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
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.
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
Is it possible to use this on a 1080ti?
System
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
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
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)" ...
If you get ReBAR working please post your system information in the below format
It may be easier to post screenshots instead, with:
nvidia-smi -q -d memory
If you needed to apply more changes to make ReBAR work, post about them as well.
subsystem
@Xelafic
1043:83F3
@terminatorul
1462:3715
@Felty2562
1043:8747
(BIOS system with MBR)
@Xelafic
1458:4013
@UnidentifiedTag
1458:4014
@UnknownGuyzs
1462:3726
@pexcfequinnet
1043:1AB1
@Xelafic
1458:4013
@vig
1043:870F
@Sid127
1025:1336
@CptSchwifty
10DE:1435
@saveli
10DE:139F
@Maidvelia
1462:3734
@dakisback2
10DE:1435
@Pudent
3842:2589
@Cancretto
1B4C:A017
@SuperCoolGuy855
1462:C757
@ngrfgt
10DE:A027
@sociofall
1043:8667
@AliZf1d
19DA:5511
@T1m0th1
1462:3715
@ LLLLL MMMMM AAA OOO
1043:874F
@Aetopia
7377:2000
@traveeeeee
1458:37D9
@dahxka
7377:0000
@Pekls
10DE:1366
@rainbowjose
1458:37C2
@VartuloFN
196E:1345
@Akadem1kxz
1462:C757
@pabloalber84
1043:86BB
@alexpanetta
1043:868A
@dimka4996
19DA:3529
@lapist
10DE:1F08
@random-tek
19DA:5527
@whood
1462:8D90
@13pwn
1462:C724
@sunbyy
1D05:1096
@TheUntouchable
1458:3FEB
@TessellatedGuy
1043:8698
@readyact
1458:37C2
@AssKissStudio
10DE:139D
@Keigun-Spark
1458:3FF4
@TastyChimera
3842:3173
@fitsfer
1458:401A
@FreeTheTech101
19DA:1503
@woheede
1458:37A9
@Auglisters
17AA:3FFC
@Baruls
10DE:1F08
@BJTorgs
3842:3067
@Sachin-Garia
1458:401A
@WannaBeOCer
10DE:12A3
@Famebloody
1462:373E
@dduy1107
1043:86B7
@bebelllm
10B0:1E07
@Revenc7
10DE:139F
@ammarasyad
17AA:3FBC
@mitix67
10DE:12A6
@sandr1x
1462:375A
@Giperion
1458:37C0
@Addalyn
1458:4008