Coder Social home page Coder Social logo

terminatorul / nvstrapsrebar Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xcuri0/rebaruefi

506.0 10.0 12.0 1.21 MB

Resizable BAR for Turring GTX 1600 / RTX 2000 GPUs

License: MIT License

C++ 68.00% Python 1.02% C 28.54% CMake 2.45%
dxe gpu rebar uefi-modding

nvstrapsrebar's Introduction

NvStrapsReBar

UEFI driver to enable and test Resizable BAR on Turing graphics cards (GTX 1600, RTX 2000).

This is a copy of the rather popular ReBarUEFI DXE driver. ReBarUEFI enables Resizable BAR for older motherboards and chipsets without ReBAR support from the manufacturer. NvStrapsReBar was created to test Resizable BAR support for GPUs from the RTX 2000 (and GTX 1600, Turing architecture) line. For the GTX 1000 cards (Pascal architecture) and older the tool can also enable a large BAR on the PCI bus, but it is fixed size and not resizable, so it is not the same as ReBAR. But then the NVIDIA driver for Windows shows a blue screen or resets the computer during boot if the BAR size has been changed. So GTX 1000 cards still can not enable ReBAR. The proprietary Linux driver does not crash, but does not pick up the new BAR size either (NVIDIA, could you please help fixing the Pascal driver ?)

Do I need to flash a new UEFI image on the motherboard, to enable ReBAR on the GPU ?

Yes, this is how it works for Turing GPUs (GTX 1600 / RTX 2000).

(some ideas to get it working without UEFI modding have circulated, but may not be technically possible and nothing is implemented.)

It's ususally the video BIOS (vBIOS) that should enable ReBAR, but the vBIOS is digitally signed (NVIDIA vBIOS is also encrypted) and can not be modified by modders and end-users (is locked-down). The motherboard UEFI image can also be signed or have integrity checks, but in general it is thankfully not as locked down, and users and UEFI modders often still have a way to modify it.

For older boards without ReBAR, adding ReBAR functionality depends on the Above 4G Decoding option in your UEFI setup, which must be turned on in advance, and CSM must be disabled.

Usage

Download latest release from the Releases page, or build the project using the build instructions. This should produce two files:

  • NvStrapsReBar.ffs UEFI DXE driver
  • NvStrapsReBar.exe Windows executable

After download or build you need to go through the following steps:

  • update the motherbord UEFI image to add the new NvStrapsReBar.ffs driver (see below)
  • enable ReBAR in UEFI Setup if the motherboard supports it. Otherwise enable "Above 4G Decoding" and disable CSM
  • run NvStrapsReBar.exe as Administrator to enable the new BAR size, by following the text-mode menus. If you have a recent motherboard, you only need to input E to Enable ReBAR for Turing GPUs, then input S to save the new driver configuration to EFI variable. For older motherboards without ReBAR, you also need to input P and set BAR size on the PCI side (motherboard side).
  • reboot after saving the menu options.
  • if you make changes in UEFI Setup, NvStrapsReBar will be disabled automatically and you need to re-enable it. Same if you manually set back the current year in UEFI Setup (can be used to disable NvStrapsReBar without booting to Windows).
  • if you make hardware changes like adding or changing a GPU: you have to disable ReBAR first. The reason is NvStrapsReBar depends on the GPU BAR0 address to enable ReBAR, and system firmware changes the allocated address for BAR0 when hardware is changed or settings in UEFI Setup are changed.

Warning

  • Disable NvStrapsReBar before making hardware changes like adding a second GPU.
  • NvStrapsReBar will be disabled automatically if you make changes in UEFI Setup. Re-enable it afterwards.

image

Credits go to the bellow github users, as I integrated and coded their findings and results:

  • envytools project for the original effort on reverse-engineering the register interface for the GPUs, a very long time ago, for use by the nouveau open-source driver in Linux. Amazing how this documentation could still help us today !
  • @mupuf from envytools project for bringing up the idea and the exact (low level) registers from the documentation, that enable resizable BAR
  • @Xelafic for the first code samples (written in assembly!) and the first test for using the GPU STRAPS bits, documented by envytools, to select the BAR size during PCIe bring-up in UEFI code.
  • @xCuri0 for great support and for the ReBarUEFI DXE driver that enables ReBAR on the motherboard, and allows intercepting and hooking into the PCIe enumeration phases in UEFI code on the motherboard.

Working GPUs

Check issue #1 for a list of known working GPUs (and motherboards).

If you get Resizable BAR working on your Turing (or earlier) GPU, please post your system information on issue #1 here on github, 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):
  • driver version:

Use command nvidia-smi -q -d memory to check the new BAR size reported by the Windows/Linux driver.

It maybe easier and more informative to post GPU-Z screenshots with the main GPU page + ReBAR page, and CPU-X with the CPU page and motherboard page screenshots, plus the output from nvidia-smi command. If you needed to apply more changes to make ReBAR work, please post about them as well.

Updating UEFI image

You can download the latest release of NvStrapsReBar from the Releases page, or build the UEFI DXE driver and the Windows executable using the instructions on the building page.

The resulting NvStrapsReBar.ffs file needs to be included in the motherboard UEFI image (downloaded from the montherboard manufacturer), and the resulting image should be flashed onto the motherboard as if it were a new UEFI version for that board. See the original project ReBarUEFI for the instructions to update motherboard UEFI. Replace "ReBarUEFI.ffs" with "NvStrapsReBar.ffs" where appropriate.

So you will still have to check the README page from the original project:

for all the details and instructions on working with the UEFI image, and patching it if necessary (for older motherboards and chipsets).

Enable ReBAR and choose BAR size

After flashing the motherboard with the new UEFI image, you need to enable ReBAR in UEFI Setup. For older motherboards without ReBAR, enable "Above 4G Decoding" and disable CSM. Then you need to run NvStrapsReBar.exe as Administrator.

NvStrapsReBar.exe prompts you with a small text-based menu. You can configure 2 values for the BAR size with this tool:

  • GPU-side BAR size
  • PCI BAR size (for older motherboards without ReBAR)

Newer boards with ReBAR support from the manufacturer can auto-configure PCI BAR size, so you only need to set the GPU-side value for the BAR size. If not, you should try and experiment with both of them, as needed.

Warning

  • Disable NvStrapsReBar before making hardware changes like adding a second GPU.
  • NvStrapsReBar will be disabled automatically if you make changes in UEFI Setup. Re-enable it afterwards.

image

Most people should choose the first menu option and press E to Enable auto-settings BAR size for Turing GPUs. Depending on your board, you may need to also input P at the menu prompt, to choose Target PCI BAR size, and select value 64 (for the option to configure PCI BAR for selected GPUs only). Before quitting the menu, input S to save the changes you made to the EFI variable store, for the UEFI DXE driver to read them.

If you choose a GPU BAR size of 8 GiB for example, and a Target PCI BAR size of 4 GiB, you will get a 4 GiB BAR.

For older boards without ReBAR support from the manufacturer, you can select other values for Target PCI BAR size, to also configure other GPUs for example. Or to limit the BAR size to smaller values even if the GPU supports higher values. Depending on the motherboard UEFI, for some boards you may need to use lower values, to limit BAR size to 4 GB or 2GB for example. Even a 2 GB BAR size still gives you the benefits of Resizable BAR in most titles, and NVIDIA tends to use 1.5 GB as the default size in the Profile Inspector. There are exceptions to this 'though (for some titles that can still see improvements with the higher BAR sizes).

If later you want to make further changes in UEFI Setup, or hardware changes like adding a new GPU, you have to disable NvStrapsReBar first. Because NvStrapsReBar depends on the GPU BAR0 address allocated by system firmware, and that changes with UEFI Setup changes or with hardware changes.

Using large BAR sizes

Remember you need to use the Profile Inspector because it enables ReBAR per-application, and that overrides the global value reported by the PCI bus. There appears to be a fake site for the Profile Inspector, so always downloaded it from github, or use the link above.

nvstrapsrebar's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nvstrapsrebar's Issues

Working cards

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

EFI Error (0x0100000000000082)

System

  • Motherboard: B460M-A-PRO
  • BIOS Version: 7C88v19
  • GPU: GTX 1650 SUPER
  • CSM is turned off. Make sure to confirm this in the BIOS and not with GPU-Z or similar since it can be inaccurate
  • 4G decoding is enabled. Make sure to confirm this in the BIOS and not with GPU-Z or similar since it can be inaccurate
  • UEFIPatch is applied (see Using UEFIPatch for more information). On some motherboards DSDT Patching is also needed
  • I have read Common issues (and fixes)

I successfully enabled rebar via checking on GPU-Z, setting a specific amount of BAR Size in NvStrapsReBar also works. Also checked my GPU under device manager and it shows under Large Memory just to verify if ReBar is actually enabled.

ISSUE: I'm having the EFI DXE driver status: EFI Error (0x0100000000000082) on NvStrapsReBar.exe

image

UEFI DXE driver status: Ambiguous Setup variable (0x00000000000000A5)

System

  • Motherboard: Clevo PB50RF
  • BIOS Version:1.07.18
  • CPU: i7-9750H
  • GPU: RTX2070 Mobile
  • CSM is turned off.
  • 4G decoding is enabled.
  • UEFIPatch is applied
  • I have read [Common issues (and fixes)]
    屏幕截图 2024-05-26 164555
    What does Ambiguous Setup variable mean? Did I set some options worng? I Inserted the NvStrapsReBar module into the BIOS, and I put it at the end of the volume that has the DXE driver. Then, I successfully flashed the BIOS. I used NvStrapsReBar.exe to set the bar size and then restarted the computer and I got this status.

video memory management internal error

Laptop
Ryzen 7 4800h
RTX 2060 90W

Modded BIOS
BIOS flashed successfully via programmer 341ch
Above 4G On
CSM off
In GPU-Z ResizbleBar ON

The system constantly produces blue screen errors "video memory management internal"

Tried different versions of drivers, no luck.

If i disable Rebar via NvStrapsRebar.exe the errors disappear

Sleep No Longer Functions

System

  • Motherboard: MSI X470 GAMING PLUS MAX

  • BIOS Version: vH.J0

  • GPU: MSI ARMOR NVIDIA GeForce RTX 2070 8G

  • CSM is turned off.

  • 4G decoding is enabled.

  • UEFIPatch is applied - Does not really do anything when I try to use it

  • I have read Common issues (and fixes)

Description

Sleep doesn't work after enabling Resizable BAR via NvStrapsReBar.

Not working on Asus B450F, flashed directly to IC.

Windows 11

  • Motherboard: Asus B450F (first revision without flashback)
  • BIOS Version: 5404 (AGESA version to ComboV2PI 1.2.0.Ca) Update added on 2024/03
  • GPU: EVGA RTX 2070 Super Hybrid (flashed with FTW3 Ultra bios to raise power limits)
  • Rebar set to auto in BIOS
  • CSM Disabled
  • 4G decoding enabled
  • Modded bios flashed directly to IC with CH341A, as the board does not support bios rollback, or even same version flashing.

Originally tried flashing with AFUDOS, which resulted in bricked board. Hence SH341A.

NvStrapsReBar reports no driver found. Even cleared CMOS and tried again.

I'm attaching bios file in case placement was off, but it was at the end of other DXE drivers.

bios.zip

I would try adding driver to older version of BIOS, ie 4007 which was 5000 series support + ReBar. I am using 5800X. But if I can I would like to avoid flashing IC any longer. As I've done it RAW on 3.3v without having a 1.8v adapter. Don't want to fry IC, maybe I'll get one later.

This is the last thing I'd like to get working on my PC, as I can't squeeze any more performance out of the GPU without modding voltage which is a nono for it's lifespan. Already pushing 2080mhz core, from original 1770mhz. Rebar would further bring it up in terms of performance.

Cant flash on to Asrock B450M Pro4

System

  • Motherboard: Asrock B450M Pro4
  • BIOS Version: 4.20
  • GPU: GIGABYTE WINDFORCE OC GTX 1650 Super
  • CSM is turned off. Make sure to confirm this in the BIOS and not with GPU-Z or similar since it can be inaccurate
  • 4G decoding is enabled. Make sure to confirm this in the BIOS and not with GPU-Z or similar since it can be inaccurate
  • UEFIPatch is applied (see Using UEFIPatch for more information). On some motherboards DSDT Patching is also needed
  • I have read Common issues (and fixes)

Whenever I try to flash a modded image to my bios, i get the error: "Secure Flash Check Fail!" and I'm prompted to restart. Ive tried:

  • Downgrading to a bios version with AGESA 1.0.0.6 beforehand
  • using UBU tool to try to remove the security check (the filesize doesn't change)
  • different file extensions

any help would be appreciated!

Unable to flash: "Selected file is not a proper BIOS!"

System

  • Motherboard: Asus ROG STRIX B550-F GAMING (WI-FI)
  • BIOS Version: 3404 (2023/10/31)
  • GPU: EVGA XC HYBRID GAMING GeForce RTX 2080 Ti 11 GB Video Card
  • CSM is turned off. Make sure to confirm this in the BIOS and not with GPU-Z or similar since it can be inaccurate
  • 4G decoding is enabled. Make sure to confirm this in the BIOS and not with GPU-Z or similar since it can be inaccurate
  • UEFIPatch is applied (see Using UEFIPatch for more information). On some motherboards DSDT Patching is also needed not needed on AM4
  • I have read Common issues (and fixes)

Description
header search for PciBus returns 2 results:
UEFITool_fGBV7BERpw
i added NvStrapsReBar.ffs to the end of both volumes and saved the image file. when i tried flashing the saved image file, i got an error from EZ Flash 3 which said "Selected file is not a proper BIOS!". i also tried BIOS FlashBack but that resulted in a solid green light and nothing changing.

Hang on reboot

@TheUntouchable

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

Flashing Asus TUF Gaming FX505GT (FX505GT-BI5N7)

@pexcfequinnet

  • 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

Originally posted by @merlinch in #1 (comment)

Video Scheduler Errort

Asus laptop successfully flashed using a programmer. After enabling ReBar, laptop starts to crash with bsod VIDEO SCHEDULER INTERNAL ERROR . Any ideas how to fix ?

No more video output after enabling rebar via NvStrapsReBar

System

  • Motherboard:MSI B450M-A PRO MAX
  • BIOS Version:7C52v3L
  • GPU:ASUS ROG STRIX GeForce GTX 1650 SUPER, ADVANCED Edition
  • [ ✔️] CSM is turned off. Make sure to confirm this in the BIOS and not with GPU-Z or similar since it can be inaccurate
  • [ ✔️] 4G decoding is enabled. Make sure to confirm this in the BIOS and not with GPU-Z or similar since it can be inaccurate
  • [✔️ ] UEFIPatch is applied (see Using UEFIPatch for more information). On some motherboards DSDT Patching is also needed
  • [✔️ ] I have read Common issues (and fixes)

Description

Describe the issue here.

I no longer get a video output. Can’t acces bios either.

Can't update new bios with this driver

System

  • Motherboard: ASUS Prime 365B PLUS
  • BIOS Version: 2208
  • GPU: MSI 2060 Super
  • [ V ] CSM is turned off.
  • [ V ] 4G decoding is enabled. *
  • [ V ] UEFIPatch is applied
  • [ V ] I have read Common issues (and fixes)

Flash the driver to the bios with UEFITool, cant update through that file.
When i trying it via EzFlash it says This file is not a proper BIOS!

Cant update Modded Bios because there is nothing found on USB drive

System

  • Motherboard: MSI Z490 pro a
  • BIOS Version: All i tryd
  • GPU: RTX 2070

Description

Describe the issue here.

Everytime i read about re-bar i think about the issue i had. My bios file has a specific ending and dont have a ending like: rom, bin, cap, bio, ft, wph, dec or something and if i open the file with UEFITool everything works fine. But if i load the ready file to a usb stick and try to flash my bios, there is nothing found on the drive. It just dont see the file in flash explorer. Is there a way to "convert" the file or what i am doing the wrong way?

There are some MSI Boards on the success list and i wonder how the people solve this ...

BSOD 0x00000119 in dxgmms2.sys when resuming from sleep

System

  • Motherboard: Gigabyte B660 DS3H AX DDR4
  • BIOS Version: F28
  • GPU: KFA 2070 Super
  • CSM is turned off. Make sure to confirm this in the BIOS and not with GPU-Z or similar since it can be inaccurate
  • 4G decoding is enabled. Make sure to confirm this in the BIOS and not with GPU-Z or similar since it can be inaccurate
  • UEFIPatch is applied (see Using UEFIPatch for more information). On some motherboards DSDT Patching is also needed
  • I have read Common issues (and fixes)

Description
When resuming from sleep I always receive BSODs like this one caused in dxgmms2.sys:

012924-17203-01.dmp	29/01/2024 17:14:12		0x00000119	00000000`00000005	ffffe60c`e90ee000	ffffe60c`e91a6820	00000000`0000b2db	watchdog.sys	watchdog.sys+5685	Watchdog Driver	Microsoft® Windows® Operating System	Microsoft Corporation	10.0.22621.2506 (WinBuild.160101.0800)	x64	ntoskrnl.exe+416bc0					C:\WINDOWS\Minidump\012924-17203-01.dmp	20	15	22621	4,997,260	29/01/2024 17:14:52	

Anything to try out?

Error listing display adapters: wrong PCI instance ID property value No NVIDIA GPUs present!

System

  • Motherboard: Asus ROG X570-E
  • BIOS Version: 5003 (Patched as required)
  • GPU: MSI Duke 2080
  • CSM is turned off. Make sure to confirm this in the BIOS and not with GPU-Z or similar since it can be inaccurate
  • 4G decoding is enabled. Make sure to confirm this in the BIOS and not with GPU-Z or similar since it can be inaccurate
  • UEFIPatch is applied (see Using UEFIPatch for more information). On some motherboards DSDT Patching is also needed
  • I have read Common issues (and fixes)

Description

Hello I've followed the guides and read through other issues.
I believe I might be having a similar issue to #11

I use English(UK) but I figured it was long enough ago where the fix is probably pushed to the latest v0.4 release.

Output:
NvStrapsReBar, based on:
ReBarState (c) 2023 xCuri0

Device instace ID: PCI\VEN_5853&DEV_1003\1&36444BD7&0&03
Application error while listing display adapters: Error listing display adapters: wrong PCI instance ID property value
No NVIDIA GPUs present!
UEFI DXE driver status: Missing GPU BAR0 Configuration (0x0b000000000000a2)
...

Does anyone have any ideas?
Thank you.

UEFI DXE driver status: Bridge Found (0x000000000000003C)

System

  • Motherboard: Asus X571GT
  • BIOS Version: 312
  • GPU: GTX 1650 Mobile 10DE:1F91 1043:1A81
  • CSM is turned off. Make sure to confirm this in the BIOS and not with GPU-Z or similar since it can be inaccurate
  • 4G decoding is enabled. Make sure to confirm this in the BIOS and not with GPU-Z or similar since it can be inaccurate
  • UEFIPatch is applied (see Using UEFIPatch for more information). On some motherboards DSDT Patching is also needed
  • I have read Common issues (and fixes)

Description

Hello,
I added the module to the BIOS, I tried to patch but apparently no need.
I activated "4GB MMIO BIOS assignment" using modGRUBShell.efi, the CMS is deactivated.
When testing different combinations in NvStrapsReBar, "Current BAR Size" remains at 256 and UEFI DXE driver status: Bridge Found (0x000000000000003C).

DXE Driver configuration:

        isDirty:           0
        OptionFlags:       0x0012
                               - nGlobalEnable:      2
                               - skipS3Resume:       0
                               - overrideBarSize:    0
                               - hasSetupVarCRC:     1
                               - disableSetupVarCRC: 0
        SetupVarCRC:       0xA152'B57D'B0DD'41ED
        nPciBarSize:       12
        nGPUSelectorCount: 0
        nGPUConfigCount:   1
                GPUConfig1:    deviceID:        1F91
                GPUConfig1:    subsysVendorID:  1043
                GPUConfig1:    subsysDeviceID:  1A81
                GPUConfig1:    bus:             01
                GPUConfig1:    device:          00
                GPUConfig1:    function:        0
                GPUConfig1:    BAR0 base:       0x7000'0000
                GPUConfig1:    BAR0 top:        0x70FF'FFFF

        nBridgeCount:      1
                BridgeConfig1: vendorID:        8086
                BridgeConfig1: deviceID:        1901
                BridgeConfig1: bus:             00
                BridgeConfig1: device:          01
                BridgeConfig1: function:        0
                BridgeConfig1: secondary bus:   01

Sans titre

rebar size

          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

Originally posted by @VartuloFN in #1 (comment)

        Is it fine to increase the rebar size manually to 8GB?

UEFI DXE driver status: Not loaded (0x000000000000000A)

I get this when I open the tool
UEFI DXE driver status: Not loaded (0x000000000000000A)
I even tried manually building the 2 files
NvStrapsReBar.exe and NvStrapsReBar.ffs
still the same thing

CSM Disabled
Above 4G Decoding Enabled
C.A.M. (Clever Access Memory) Enabled

system
intel i5 9400f
asrock b 365m Phantom Gaming 4
gtx 1660 zotac dual fan

Secure flash won't let me

System

  • Laptop: Eluktronics MECH 15 G3 with Intel i7 10875H
  • BIOS Version: 1.16
  • GPU: Nvidia RTX 2070 SUPER (Max-P)
  • [v] CSM is turned off. Make sure to confirm this in the BIOS and not with GPU-Z or similar since it can be inaccurate
  • [can't confirm in BIOS] 4G decoding is enabled. Make sure to confirm this in the BIOS and not with GPU-Z or similar since it can be inaccurate
  • [v] UEFIPatch is applied (see Using UEFIPatch for more information). On some motherboards DSDT Patching is also needed
  • [v] I have read Common issues (and fixes)

Description
Here is my journey :

  • Contact your support for the BIOS
  • Format my USB drive to a FAT32 file system
  • Copy of the file given by your support
  • Boot on the USB drive to end up on the shell
  • Enter the following DOS command :
    fs4:
    ls
    F.nsh
  • Enter in AMI Firmware Update Utility v5.12
  • I notice my current BIOS version is 1.12 and it's gonna update to 1.16
  • Press enter to launch the update
  • Few reboot later the BIOS is successfully updated and i boot on my windows
  • Joy, now i'm sure the .rom file work perfectly
  • Downloading latest release of NvStrapsReBar : https://github.com/terminatorul/NvStrapsReBar/releases/tag/v0.4
  • Install of UEFITool
  • Adding FFS module as explain in tutorial : https://github.com/xCuri0/ReBarUEFI/wiki/Adding-FFS-module
  • Using UEFIPatch as explain in tutorial : https://github.com/xCuri0/ReBarUEFI/wiki/Using-UEFIPatch
  • Output shell say "No patches can be applied" and i don't have Intel 7/8/9 Series Chispet so i continue to next step
  • Checking for pad file issue : no problem found
  • Skipping DSDT Patching because I do not have a motherboard which requires it : https://github.com/xCuri0/ReBarUEFI/wiki/DSDT-Patching
  • Now i have a patched .rom file, I copy it to the USB Drive use in the previous BIOS update and rename it GMxMQPxxN116.ROM for override the one provided by Eluktronics Support
  • Boot on the USB drive to end up on the shell
  • Enter the following DOS command :
    fs4:
    ls
    F.nsh
  • Enter in AMI Firmware Update Utility v5.12
  • Current BIOS version is 1.16 and the update is 1.16
  • Press enter to launch the update
  • After " Loading capsule to secure memory buffer ... Done" i get "18- Error: Secure Flash Rom Verify fail.

fail

Here is what inside the content of F.nsh :

 @cls
 @echo WARNING: This utility will reprogram the whole SPI Flash chip which
 @echo WARNING: includes system BIOS, TXE or ME firmware!!!
 @echo WARNING: DO NOT continue unless you are 100% sure you want to do this.
 @echo WARNING: To stop, turn off your computer and remove the update media,
 @echo WARNING: or do not run THIS SCRIPT.
 @pause
 @cls
@AfuEfix64.efi GMxMQPxxN116.ROM /p /b /n /r /x /l /e /capsule /reboot

I add the /capsule myself after finding option here to try to bypass secure boot but the result is the same.

The support of Eluktronic told me that this product is end of life for BIOS/EC updates and are not interrested to help me with.

I would appreciate any help

right to rebar: pcie 2.0 & 3.0 gpus can do rebar

System

  • Motherboard: gigabyte x570 ud rev. 1.0
  • BIOS Version: f37 12/26/2022
  • GPU: zotac amp rtx 2080 ti tu102-300a rev. a1

Description

ive kept a close eye on rebar since it appeared and always waited for a mod like this.

now my questions are:

is rebar a pcie 3.0 specification?

can every pcie 3.0 gpu do full rebar?

why does capframex report full rebar in direct3d and does it mean i dont need an uefi / (v)bios mod to get the benefits of full rebar?

rebar

i have a zotac amp rtx 2080 ti here with a ryzen 5700x on a gigabyte x570 ud and 32gb 3600 dual rank ram. but since i dont have a vrr monitor yet (dont know if i will ever get one and rather get a 5800x3d for that price) and i run everything at 60hz/60fps @ 1080p ultra details im asking myself if i would benefit from this at all? would it improve latency, make things noticeable smoother or will it only help to achieve higher peak fps?

since ive optimized the bios and windows to the max everything runs butter smooth at max details so im very unsure if if should take the risk when there could be virtually no improvement also due to full rebar in d3d.

REBAR GTX1650

CPU:intel i5 9400f
Motherboard model: Msi
Motherboard chipset: B365M PRO-VDH(MS-7C39)
Graphics card model: Palit GTX 1650
GPU chipset:- (idk how to find this)
GPU PCI VendorID:DeviceID (check GPU-Z):-
GPU PCI subsystem IDs (check GPU-Z):-
VRAM size: 4 GB
New BAR size (GPU-Z):-
New BAR size (nvidia-smi):-
driver version: NVIDIA 551.52 DCH

image
image
image

i dont know if this rebar working or not , but in gpu z says enabled.
and is this rebar auto enable on every game or i need to do enable setting in nvidia profile inspector

manual error

you are using the term "ChDir " when you should be putting "CD" putting ChDir ends in the command failing

Why is my BAR1 Memory always occupied?

I successfully enabled Resizeable Bar a few days ago, but I found that my BAR1 usage is different from everyone else's, my BAR1 is always in a run-out state, even though i'm not running any programs.

My BAR1 usage:
屏幕截图 2024-06-01 135045

Other people's BAR1 usage:
屏幕截图 2024-06-01 134959

Current NvStrapsReBar Version Results in EFI Error for 2^x Settings (Target BAR Size Blank)

System

  • Motherboard: MSI X470 GAMING PLUS MAX
  • BIOS Version: vH.J0 w/ NvStrapsReBar DXE driver
  • GPU: MSI ARMOR NVIDIA GeForce RTX 2070
  • CSM is turned off. Make sure to confirm this in the BIOS and not with GPU-Z or similar since it can be inaccurate -- CSM is off.
  • 4G decoding is enabled. Make sure to confirm this in the BIOS and not with GPU-Z or similar since it can be inaccurate -- Above 4G is enabled.
  • UEFIPatch is applied (see Using UEFIPatch for more information). On some motherboards DSDT Patching is also needed -- Patcher didn't find anything to patch.
  • I have read Common issues (and fixes)

Description

Describe the issue here.

300288845-e3a234af-2f5c-46c2-b60f-bdaa3202ab3a

Target BAR size blank, EFI error. Trying to do 4GB to leave some VRAM left over for streaming and video editing.

Full BAR size works with value 65, target BAR size remains blank however. Haven't tested 64 or 32.

not working

  • Motherboard: Msi B450M PRO-VDH MAX

  • BIOS Version: 7A38vBL (2023-10-30)

  • GPU: ZOTAC TWIN RTX 2060 SUPER AMP

  • CPU: Ryzen 5 3600

  • CSM is turned off. Make sure to confirm this in the BIOS and not with GPU-Z or similar since it can be inaccurate

  • 4G decoding is enabled. Make sure to confirm this in the BIOS and not with GPU-Z or similar since it can be inaccurate

  • UEFIPatch is applied (see Using UEFIPatch for more information). On some motherboards DSDT Patching is also needed

  • I have read Common issues (and fixes)

rebar doesn't get enabled
and when put any number beside 65,64, I get efi error

image

image

UEFIPatch says this:

image

MMTool doesn't work for me. when I try to insert it says "file size exceeds the volume size"

Blue Screen: DPC_WATCHDOG_VIOLATION

System

  • Motherboard: MSI X570-A PRO
  • BIOS Version: 7C37vHM
  • GPU: KFA2 RTX 2070
  • CSM is turned off.
  • 4G decoding is enabled.
  • UEFIPatch is applied without DSDT
  • I have read Common issues (and fixes)

Description

My computer occasionally crashes giving me a blue screen saying DPC_WATCHDOG_VIOLATION, this started happening after the patch, I've even applied the patch on another system with almost identical specs and there it doesn't seem to be happening, is there anything I could try to fix this while keeping rebar enabled, lower bar size maybe?

Ship binaries of NvStrapsReBar

Hi @terminatorul !
While looking through guide for NvStrapsReBar I did not notice restriction that it should be built on exactly the same machine where it is going to be added. Does it mean that there is no dependency on what computer is used for building?

If so, could you please ship prebuilt .ffs and .exe files of NvStrapsReBar, same as ReBarUEFI project did?
Thanks

UEFIpatch vs ROG-MAXIMUS-XI-EXTREME-ASUS-2004 Add a description

System

  • Motherboard: ROG-MAXIMUS-XI-EXTREME-ASUS-2004
  • BIOS Version: 2004
  • GPU: Zotac 2080 Ti
  • [ yes] CSM is turned off. Make sure to confirm this in the BIOS and not with GPU-Z or similar since it can be inaccurate
  • [ yes] 4G decoding is enabled. Make sure to confirm this in the BIOS and not with GPU-Z or similar since it can be inaccurate
  • [ Issue ] UEFIPatch is applied (see Using UEFIPatch for more information). On some motherboards DSDT Patching is also needed
  • [ yes] I have read Common issues (and fixes)

Description

image

Bios Offical file for MotherBoard:>> https://dlcdnets.asus.com/pub/ASUS/mb/BIOS/ROG-MAXIMUS-XI-EXTREME-ASUS-2004.ZIP?model=ROG%20MAXIMUS%20XI%20EXTREME

I have tried UEFItool ver 28 and the new one also I tried using mmtool the main issue is the patcher always say this error:

C:\Rebar\UEFIPatch.exe ROG-MAXIMUS-XI-EXTREME-ASUS-2004.CAP

parseImageFile: Aptio capsule signature may become invalid after image modifications
parseIntelImage: unknown flash descriptor version 0.0
parseBios: unaligned revision 2 volume
parseFile: non-empty pad-file contents will be destroyed after volume modifications
No patches can be applied to input file

even the official motherboard file without any UEFITool or MMtool, when I tried to use UEFIpatch on it was giving me the same error

I don't know what Is the cause of this issue but if there is any hope for me to have Rebar on my 2080 ti please explain to me

thank you

NvStrapsReBar.ffs missing after successful BIOS Flash

System

  • Motherboard: TUF B450M-PRO GAMING
  • BIOS Version: TUF B450M-PRO GAMING BIOS 4401
  • GPU: Dell RTX 2080 Ti OEM
  • [✔] CSM is turned off. Make sure to confirm this in the BIOS and not with GPU-Z or similar since it can be inaccurate
  • [✔] 4G decoding is enabled. Make sure to confirm this in the BIOS and not with GPU-Z or similar since it can be inaccurate
  • [✔] UEFIPatch is applied (see Using UEFIPatch for more information). On some motherboards DSDT Patching is also needed
  • [✔] I have read Common issues (and fixes)

Description

I followed the necessary steps until a successful BIOS flash.
Then, I ran NvStrapsReBar.exe and executed the essential commands (E>S>Q>reboot).
However, despite these efforts, Rebar remains disabled.
Upon investigation, I noticed that the UEFI DXE driver status is showing as "Not loaded" (0x000000000000000A).
image

In an attempt to resolve this, I tried running AFUDOS to obtain the current BIOS backup.
Unfortunately, there was no NvStrapsReBar.ffs found on the backup/dumped BIOS ROM.
image

To address this, I attempted to rebuild the BIOS file by adding the NvStrapsReBar.ffs, but the outcome remained unchanged: UEFI DXE driver status still showed "Not loaded", and Rebar remained disabled.
I repeated the process of running AFUDOS to acquire the BIOS backup, but once again, there was no NvStrapsReBar.ffs present on the backup/dumped BIOS ROM.

At this point, I'm unsure of what to do next. Any assistance you could provide would be greatly appreciated. Thank you.

哈哈哈

System

  • Motherboard:
  • BIOS Version:
  • GPU:
  • CSM is turned off. Make sure to confirm this in the BIOS and not with GPU-Z or similar since it can be inaccurate
  • 4G decoding is enabled. Make sure to confirm this in the BIOS and not with GPU-Z or similar since it can be inaccurate
  • UEFIPatch is applied (see Using UEFIPatch for more information). On some motherboards DSDT Patching is also needed
  • I have read Common issues (and fixes)

Description

Describe the issue here.

PCI BAR SIZE

MSI B460M A PRO
I5-10400
RTX 2060
REBAR ENABLED SUCCESSFULLY

How can I determine the maximum PCI Bar Size of my system? I am currently using the System Default for Target PCI Bar Size. I wanted to test other settings but I'm kind of scared that there is a possibility that I will not boot after. Thank you terminatorul!

EFI Error (at start PCI find capability) (0x00000303000000B4)

System

  • Motherboard: Acer Nitro AN515-45-R6EV laptop motherboard
  • BIOS Version: v1.11
  • GPU: GeForce GTX 1650
  • CSM is turned off. Make sure to confirm this in the BIOS and not with GPU-Z or similar since it can be inaccurate
  • 4G decoding is enabled. Make sure to confirm this in the BIOS and not with GPU-Z or similar since it can be inaccurate
  • UEFIPatch is applied (see Using UEFIPatch for more information). On some motherboards DSDT Patching is also needed
  • I have read Common issues (and fixes)

Description

I tried installing the driver on an AMD laptop UEFI. It boots fine without issues, but the driver returns an error at "start PCI find capability" with a code of 0x00000303000000B4. I tried various BAR override settings without success. Is this a UEFI issue, and if so, what can I do to help out?

Original firmware file: https://drive.google.com/file/d/11j3KFGOkIJz1vsMzoTCFAAAv7On-yemA/view?usp=sharing

image

UEFI DXE driver status: Not loaded (0x000000000000000A)

System

  • Motherboard: AORUS X570 MASTER
  • BIOS Version: F37
  • GPU: RTX 2080
  • CSM Disabled
  • 4G decoding is enabled.
  • UEFIPatch is applied
  • I have read Common issues (and fixes)

Description

I have updated this file and flashed it through efiflash, with method provided in wiki. Flash was succesfull, however the program is still showing, that the driver is not present.
DSDT pathing is not required for my mobo.

UEFI DXE driver status: Not loaded (0x000000000000000A)
image
image
image
image

Errors for uefi tool help me please

System

  • Motherboard: Asus pb450ma 2
  • BIOS Version: PRIME B450M-A II BIOS 4410
  • GPU: 2060 S
    parseBios: one of volumes inside overlaps the end of data
    parseBios: one of volumes inside overlaps the end of data
    parseSection: GUID defined section with unknown processing method
    parseSection: GUID defined section can not be processed
    No patches can be applied to input file

For nvstrepsbar.ffs error

questen about the project

i dont have means to replace my computer if things go wrong

so by any chance can this project make my computer unbootable if things go south.

i rather not brick my pc in presuit of a upgrade

my exact pc is a alienware m15 laptop (2019)

image

image

image

Video Scheduler Internal Error, BAR Above > 256 MiB

System

  • Motherboard:Asus TUF FA506IH
  • BIOS Version:316
  • GPU: Asus GTX 1650 Mobile
  • CSM is turned off. Make sure to confirm this in the BIOS and not with GPU-Z or similar since it can be inaccurate
  • 4G decoding is enabled. Make sure to confirm this in the BIOS and not with GPU-Z or similar since it can be inaccurate
  • UEFIPatch is applied (see Using UEFIPatch for more information). On some motherboards DSDT Patching is also needed
  • I have read Common issues (and fixes)

Description
This use version NvStrapsReBar v.03, To enable Above 4G Decoding with MMIO Limit 40bit I used UMAF. After a few minutes booting up windows will blue screen or sometimes randomly restart.

I've tried adding Nvidia GOP "AMD and Nvidia GOP update (No requests, DIY)" but that just bricks the GPU.

Screenshot (481)
Screenshot (482)

Issue with the output of UEFIPatch.

System

  • Motherboard: ASUS PRIME B450M-GAMING/BR
  • BIOS Version: 4401
  • GPU: Ryzen 5 3600
  • [ OK] CSM is turned off. Make sure to confirm this in the BIOS and not with GPU-Z or similar since it can be inaccurate
  • [OK ] 4G decoding is enabled. Make sure to confirm this in the BIOS and not with GPU-Z or similar since it can be inaccurate
  • [ here is my doubt/problem] UEFIPatch is applied (see Using UEFIPatch for more information). On some motherboards DSDT Patching is also needed
  • [ OK] I have read Common issues (and fixes)

Description

Firstly, I want to say what a great job is being done here. Congratulations to everyone involved.

I followed all the steps to build the .ffs and .exe files successfully and also inserted the ffs into the new firmware mod, so far so good. But when I tried to apply the patch using UEFIPatch, I received the following result:

"PS D:\Bios Mod\BarMod - Copia\UEFIpatch> .\UEFIPatch.exe .\PRIME-B450M-GAMING-BR-SI-4401-MOD.CAP
parseImageFile: Aptio capsule signature may become invalid after image modifications
parseBios: one of volumes inside overlaps the end of data
parseBios: one of volumes inside overlaps the end of data
parseSection: GUID defined section with unknown processing method
parseSection: GUID defined section can not be processed
No patches can be applied to input file"

My question is: can these errors be ignored or are they issues to be resolved?

I read elsewhere that the "parseBios: one of volumes inside overlaps the end of data" error could be ignored, but I couldn't find any information regarding the others.
If anyone can help, I would appreciate it.

UEFI DXE driver status: Missing GPU BARO configuration (ØxØIØØØØØØØØØØØØA2)

System

  • Motherboard: b360m gaming plus msi
  • BIOS Version: 7B19v1B
  • GPU: 2060 super driverr version 552.12
  • CSM is turned off. Make sure to confirm this in the BIOS and not with GPU-Z or similar since it can be inaccurate
  • 4G decoding is enabled. Make sure to confirm this in the BIOS and not with GPU-Z or similar since it can be inaccurate
  • UEFIPatch is applied (see Using UEFIPatch for more information). On some motherboards DSDT Patching is also needed
  • I have read Common issues (and fixes)

Description

Describe the issue here.

UEFI DXE driver status: Missing GPU BARO configuration (ØxØIØØØØØØØØØØØØA2)

Screenshot_11

Asus Tuf x470

I haven't found any tutorial regarding my motherboard. I have the option to enable rebar support and 4G decoding in Motherboard, and I have enabled it but Nvidia app shows no resizable bar support. I'm a bit confused now.

Screenshot (9)

I just don't want to brick my motherboard. The tutorial is hard to follow can someone please help me with this. I have rtx 2060 6GB model with ASUS TUF x470 Gaming Plus Motherboard

Is everything all right?

image

Is it supposed to be that BAR0 is 16mb and BAR1 is 16gb? In NvStrapsReBar I have automatic ReBar size adjustment enabled.

P.S. I have RTX 2060 12Gb

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.