terminatorul / NvStrapsReBar

Resizable BAR for Turring GTX 1600 / RTX 2000 GPUs
MIT License
547 stars 12 forks source link

NvStrapsReBar.exe displays "UEFI DXE driver status: Unconfigured (0x0000000000000028)" all the time #110

Closed fidoboy closed 16 hours ago

fidoboy commented 1 day ago

System

Description

I've managed to boot with 4G enabled in my ASUS P9X79 PRO mainboard with this patch and GPU-Z confirms that it's enabled. I'm not sure if I also need to use this. (DSDT Patching)

GPU-Z

Also I've this in my device manager:

devmanager

But when execute the NvStrapsReBar.exe it always says "UEFI DXE driver status: Unconfigured (0x0000000000000028)". I've tried my best selecting the P option to set the "Target BAR size" to 256MiB and then S to save the settings. But after reboot my system it says "UEFI DXE driver status: Unconfigured (0x0000000000000028)" again. So no changes and Resizable BAR still disabled. I've tried many times and there is no way to get it working.

What's wrong? Do I need any other UEFI patch than the one referenced before?

This is the BIOS that I'm using: P9X79PRO.zip

mvildosolae commented 1 day ago

Have you tried option O (Enable override for BAR size mask for PCIe ReBAR capability)?

fidoboy commented 1 day ago

Have you tried option O (Enable override for BAR size mask for PCIe ReBAR capability)?

No. Should I use it? I didn't know what it was for, so I decided not to touch it.

fidoboy commented 1 day ago

Have you tried option O (Enable override for BAR size mask for PCIe ReBAR capability)?

What I did was to uncomment the line "Extend MMIOH limit to fix Above 4G Decoding (X79)" in patches.txt and also enable the "Above 4G Decoding" in optimal settings using the AMIBCP tool (this way when I load optimal settings from BIOS the feature is automatically enabled, without the need to unhide any hidden menu). And with this now my system boots fine with no issues and GPU-Z (I don't know any other procedure to check it) shows that "Above 4G Decode" is enabled. But the issue is that it seems that the NvStrapsReBar.exe has no effect. With every reboot it displays again the same message "UEFI DXE driver status: Unconfigured (0x0000000000000028)"

fidoboy commented 1 day ago

I don't know what any other thing should I test or what other info to provide here to help. The NvStrapsReBar.exe itself doesn't provide too much info or any clues, so I don't know what's wrong in my setup. However you can take a look at my current BIOS that I've attached into the first message. The NvStrapsReBar.ffs is included as you can confirm by using UEFITool.

fidoboy commented 1 day ago

This is what I get when using the W option:

DXE Driver configuration:
        isDirty:           0
        OptionFlags:       0x08
        nPciBarSize:       8
        nGPUSelectorCount: 1
                GPUSelector1:  deviceID:            21C4
                GPUSelector1:  subsysVendorID:      FFFF
                GPUSelector1:  subsysDeviceID:      FFFF
                GPUSelector1:  bus:                 FF
                GPUSelector1:  device:              FF
                GPUSelector1:  function:            FF
                GPUSelector1:  barSizeSelector:     2
                GPUSelector1:  overridebarSizeMask: 0

        nGPUConfigCount:   1
                GPUConfig1:    deviceID:        21C4
                GPUConfig1:    subsysVendorID:  1458
                GPUConfig1:    subsysDeviceID:  407D
                GPUConfig1:    bus:             01
                GPUConfig1:    device:          00
                GPUConfig1:    function:        0
                GPUConfig1:    BAR0 base:       0xFA00'0000
                GPUConfig1:    BAR0 top:        0xFAFF'FFFF

        nBridgeCount:      1
                BridgeConfig1: vendorID:        8086
                BridgeConfig1: deviceID:        3C04
                BridgeConfig1: bus:             00
                BridgeConfig1: device:          02
                BridgeConfig1: function:        0
                BridgeConfig1: secondary bus:   01

I don't know if it helps. My system only has one graphic card, so no integrated graphics or any other device than the GTX 1660

fidoboy commented 1 day ago

I've also noticed that the NVIDIA Control Panel doesn't display any info (yes or no, enable or diable) about "Resizable BAR" into the System Info dialog. I suppose that this is normal because it's not officially supported on this model.

fidoboy commented 23 hours ago

Have you tried option O (Enable override for BAR size mask for PCIe ReBAR capability)?

Now I've tried it and there is no changes. Using this option doesn't seems to have any effect on the obtained results. May be that @terminatorul could create a debug version wich provides some additional info to know what's happening in my case (ASUS P9X79).

fidoboy commented 16 hours ago

Finally solved by installing the 0.3 version of NvStrapsReBar. It seems that the 0.4 release is not working fine.