Windows 11 PCI bridge resource rebalancing when a GPU's smaller Resizable BAR alternative is already satisfiable

2026-12-03T19:14:07.08+00:00

Hello,

I am investigating PCI resource allocation and Resizable BAR behavior on the following hardware configuration:

Alienware m15 R4, BIOS 1.36.0.

Internal NVIDIA RTX 3080 Laptop GPU behind PEG0.

External NVIDIA RTX 3090 behind PEG1, connected through the Alienware Graphics Amplifier.

Windows 11, build family 26100.

UEFI boot.

Observed behavior

A Windows PCI boot trace shows the following resource allocation sequence:

The root PCI memory aperture includes 256 GiB of address space above 4 GiB.

PEG1 requests and receives a 320 MiB prefetchable memory window.

The subordinate PCI memory arbiter considers two alternatives for the RTX 3090 framebuffer BAR (BAR1): 32 GiB and 256 MiB.

The 32 GiB alternative cannot be contained within the currently assigned bridge window.

The arbiter successfully assigns and commits the 256 MiB alternative, together with a separate 32 MiB BAR3.

No subsequent request for a sufficiently large PEG1 prefetchable window was identified in the captured trace.

Linux has successfully resized BAR1 to 32 GiB on the same physical hardware and external PCIe topology.

The recorded Windows root resource maps also contain sufficiently large aligned address ranges that could accommodate the expanded bridge window while preserving the internal GPU's resources.

Technical questions

Microsoft's WDDM documentation describes GPU BAR renegotiation after firmware initialization.

The PnP documentation also describes resource requirement changes and the possibility of opening a new PCI-to-PCI bridge window for an already started device.

I would appreciate clarification regarding the interaction between these mechanisms:

When a GPU supports both a large Resizable BAR alternative and a smaller alternative that fits within its current upstream bridge window, can Windows initiate a hierarchical resource rebalance specifically to accommodate the larger BAR?

Is there a documented, supported condition under which Windows reevaluates the upstream bridge's own resource requirements after the smaller GPU BAR alternative has already been successfully assigned?

What supported diagnostic mechanism can distinguish between:

A new resource requirements query reaching the upstream bridge and returning its original 320 MiB requirement;

  A new query returning an expanded prefetchable memory requirement;

  
     A resource reconsideration affecting only the downstream GPU?

     
     Is sufficient preallocation of the upstream bridge's prefetchable memory window by platform firmware a prerequisite for successful GPU BAR renegotiation in this situation?

     
     Does the availability of a valid smaller BAR alternative influence whether Windows attempts an upstream bridge resource rebalance?
## Scope

I am seeking clarification of Windows PCI/PnP resource allocation behavior and supported diagnostic interfaces.

I am not requesting undocumented kernel interfaces, registry modifications, firmware patches, or methods of bypassing driver security mechanisms.

The goal is to determine whether this resource allocation behavior is expected by design and whether a supported mechanism exists to accommodate the larger BAR while preserving the resources and functionality of the internal GPU.

## Microsoft documentation consulted

System and Driver Support for Resizable BAR.

IRP_MN_QUERY_STOP_DEVICE.

IRP_MN_QUERY_RESOURCE_REQUIREMENTS.

IRP_MN_START_DEVICE.

IoInvalidateDeviceState.

- CPU Host Aperture.configuration:

  - Alienware m15 R4, BIOS 1.36.0.
  
  - Internal NVIDIA RTX 3080 Laptop GPU behind PEG0.
  
  - External NVIDIA RTX 3090 behind PEG1, connected through the Alienware Graphics Amplifier.
  
  - Windows 11, build family 26100.
  
  - UEFI boot.
  
  ## Observed behavior

  A Windows PCI boot trace shows the following resource allocation sequence:
  
  1. The root PCI memory aperture includes 256 GiB of address space above 4 GiB.
  
  1. PEG1 requests and receives a 320 MiB prefetchable memory window.
  
  1. The subordinate PCI memory arbiter considers two alternatives for the RTX 3090 framebuffer BAR (BAR1): 32 GiB and 256 MiB.
  
  1. The 32 GiB alternative cannot be contained within the currently assigned bridge window.
  
  1. The arbiter successfully assigns and commits the 256 MiB alternative, together with a separate 32 MiB BAR3.
  
  1. No subsequent request for a sufficiently large PEG1 prefetchable window was identified in the captured trace.
  
  Linux has successfully resized BAR1 to 32 GiB on the same physical hardware and external PCIe topology.
  
  The recorded Windows root resource maps also contain sufficiently large aligned address ranges that could accommodate the expanded bridge window while preserving the internal GPU's resources.
  
  ## Technical questions

  Microsoft's WDDM documentation describes GPU BAR renegotiation after firmware initialization.
  
  The PnP documentation also describes resource requirement changes and the possibility of opening a new PCI-to-PCI bridge window for an already started device.
  
  I would appreciate clarification regarding the interaction between these mechanisms:
  
  1. When a GPU supports both a large Resizable BAR alternative and a smaller alternative that fits within its current upstream bridge window, can Windows initiate a hierarchical resource rebalance specifically to accommodate the larger BAR?
  
  1. Is there a documented, supported condition under which Windows reevaluates the upstream bridge's own resource requirements after the smaller GPU BAR alternative has already been successfully assigned?
  
  1. What supported diagnostic mechanism can distinguish between:
  
      - A new resource requirements query reaching the upstream bridge and returning its original 320 MiB requirement;
      
      - A new query returning an expanded prefetchable memory requirement;
      
      - A resource reconsideration affecting only the downstream GPU?
      
  1. Is sufficient preallocation of the upstream bridge's prefetchable memory window by platform firmware a prerequisite for successful GPU BAR renegotiation in this situation?
  
  1. Does the availability of a valid smaller BAR alternative influence whether Windows attempts an upstream bridge resource rebalance?
  
  ## Scope

  I am seeking clarification of Windows PCI/PnP resource allocation behavior and supported diagnostic interfaces.
  
  I am not requesting undocumented kernel interfaces, registry modifications, firmware patches, or methods of bypassing driver security mechanisms.
  
  The goal is to determine whether this resource allocation behavior is expected by design and whether a supported mechanism exists to accommodate the larger BAR while preserving the resources and functionality of the internal GPU.
  
  ## Microsoft documentation consulted

  - System and Driver Support for Resizable BAR.
  
  - IRP_MN_QUERY_STOP_DEVICE.
  
  - IRP_MN_QUERY_RESOURCE_REQUIREMENTS.
  
  - IRP_MN_START_DEVICE.
  
  - IoInvalidateDeviceState.
  
  - CPU Host Aperture.
  
Windows development | Windows Driver Kit (WDK)
0 comments No comments

2 answers

Sort by: Most helpful
  1. Jesús Aarón Becerril Vilchis 0 Reputation points
    2026-12-03T19:24:18.5033333+00:00

    ......... .

    Was this answer helpful?

    0 comments No comments

  2. AI answer

    2026-12-03T19:16:10.6066667+00:00

    Windows can perform a multi-level PnP resource rebalance for Resizable BAR, but the public Windows contracts do not guarantee that PCI will enlarge PEG1 after the RTX 3090’s valid 256-MiB alternative has been assigned, nor expose a supported control that forces the 32-GiB alternative.

    Direct answers

    1. Can Windows initiate a hierarchical rebalance for the larger BAR?
      Yes, as a capability. Microsoft identifies PCI Resizable BAR as a scenario in which a started device requests additional resources and PnP rebalancing may occur. Multi-level rebalance can include a non-leaf node and its descendants, provided every affected stack accepts IRP_MN_QUERY_STOP_DEVICE.^1^^2^ WDDM v2 and later renegotiates a supported GPU BAR after firmware initialization; when successful, the kernel-mode display driver sees the BAR resized to expose the full VRAM.^3^ These documents establish capability, not a policy guarantee that the largest alternative must displace a smaller satisfiable one.
    2. When are PEG1’s own requirements reevaluated?
      A bus driver can call IoInvalidateDeviceState, then report PNP_DEVICE_RESOURCE_REQUIREMENTS_CHANGED. PnP can subsequently issue another requirements query and restart an already-started device with different resources; Microsoft explicitly gives opening a new PCI-to-PCI bridge aperture as an example.^4^^5^ During query-stop, a bus driver must reevaluate its bus and child requirements and return STATUS_RESOURCE_REQUIREMENTS_CHANGED if they changed.^6^ These are driver-controlled mechanisms, not callable user operations for forcing pci.sys, PEG1, or the NVIDIA stack to request 32 GiB.
    3. How can cases A, B, and C be distinguished?
      Since the existing PCI boot trace did not show a later enlarged PEG1 request, use kernel-debugger snapshots as incremental evidence: Prerequisites: WinDbg/WDK, local or remote kernel debugging, Microsoft symbols, and identification of the PEG1 and RTX 3090 devnodes. Find the tree, then capture both nodes before display-driver initialization, immediately afterward, and following any query-stop/stop/start sequence:
         kd> !devnode 0 1
         kd> !devnode <PEG1-devnode> 0x0F
         kd> !devnode <RTX3090-devnode> 0x0F
         kd> !arbiter 0x2
      
      !devnode flags show allocated, translated, and required resources. Importantly, flag 0x4 shows the retained IO_RESOURCE_REQUIREMENTS_LIST associated with filter-resource-requirements processing—not necessarily the parent bus driver’s original, unmodified query response.^7^ !arbiter 0x2 shows current memory-arbiter allocations and owners.^8^
      Observation Interpretation
      PEG1 remains 320 MiB; GPU requirements/assignment reconsidered Consistent with A or C; snapshots alone cannot separate them
      PEG1 retained requirement becomes large enough for BAR1 Evidence for B
      GPU requirements change but no PEG1 query is observed Evidence for C
      PEG1 query is observed and returns 320 MiB Confirms A
      Proving the last two cases requires observing the transient IRP_MN_QUERY_RESOURCE_REQUIREMENTS and its completed list. That IRP is handled by the parent bus driver and is sent when requirements are reported changed.^9^ The public ETW documentation does not identify an event guaranteed to expose every such list. Check providers available on build 26100, but exact proof may require an identifiable dispatch/completion path with suitable symbols, vendor instrumentation, or Microsoft support. WPR/WPA can capture supported ETW providers but cannot be assumed to expose this payload.^10^
    4. Is firmware preallocation a prerequisite?
      The cited Resizable BAR documentation says firmware typically configures a 256-MiB region and Windows renegotiates afterward; it does not state that firmware must preallocate the final full-size bridge window.^3^ A sufficiently large upstream window must ultimately be assigned, but the available documentation does not establish whether this platform’s PEG1 window can or must be expanded dynamically.
    5. Does the smaller valid alternative suppress rebalance?
      No published contract here specifies that selection rule. Your trace establishes that Windows committed the satisfiable 256-MiB alternative, but it does not establish whether that success suppresses a later bridge expansion by policy. Linux success establishes topology capability, not equivalent Windows allocation policy.

    The Device Fundamentals rebalance tests validate driver handling and require special test configuration; they manipulate requirements to provoke rebalance and are not a supported way to force production GPU BAR policy.^11^

    For escalation, preserve the existing boot ETL, timed PEG1/RTX 3090 !devnode snapshots, !arbiter 0x2 output, BIOS version, Windows build, NVIDIA driver version, and the Linux 32-GiB BAR/bridge-window comparison.


    References

    1. Implement PnP Rebalance for PortCls Audio Drivers
    2. DF - PNP Stop (Rebalance) Device Test (Development and Integration)
    3. System and driver support for Resizable BAR
    4. IRP_MN_START_DEVICE
    5. IoInvalidateDeviceState function (wdm.h)
    6. Handling an IRP_MN_QUERY_STOP_DEVICE Request (Windows 2000 and later)
    7. !devnode
    8. !arbiter
    9. IRP_MN_QUERY_RESOURCE_REQUIREMENTS
    10. Event Tracing Tools
    11. PnP Tests (Device Fundamentals)
    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.