Upstream PCI bridge resource requirements after successful small Resizable BAR allocation On an Alienware m15 R4 with BIOS 1.36.0, an internal RTX 3080 and an external RTX 3090 connected through the Alienware Graphics Amplifier, a Windows 11 PCI boot t

2026-12-03T19:27:24.7866667+00:00

On an Alienware m15 R4 with BIOS 1.36.0, an internal RTX 3080 and an external RTX 3090 connected through the Alienware Graphics Amplifier, a Windows 11 PCI boot trace shows that:

PEG1 receives a 320 MiB prefetchable memory window.

The downstream GPU offers 32 GiB and 256 MiB BAR1 alternatives.

Windows successfully commits the 256 MiB alternative.

No subsequent sufficiently large PEG1 request was identified in the captured trace.

Linux has successfully configured BAR1 to 32 GiB on the same hardware and PCIe topology.

I have two specific questions:

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

What supported diagnostic method can distinguish the original resource requirements response for the bridge from its filtered requirements list and establish whether the bridge itself participated in a new negotiation?

I am seeking clarification of supported PCI/PnP behavior, not undocumented kernel interfaces or firmware modifications.

Windows development | Windows Driver Kit (WDK)
0 comments No comments

1 answer

Sort by: Newest
  1. AI answer

    2026-12-03T19:29:47.8233333+00:00

    Windows can reconsider PEG1 through the documented PnP changed-resource-requirements/rebalance path, but no documented rule requires a second bridge negotiation merely because a smaller Resizable BAR alternative was successfully assigned, and no supported turnkey tool preserves both the original and filtered requirement-list payloads for retrospective comparison.

    When Windows reevaluates bridge requirements

    For a GPU, Windows supports BAR renegotiation after firmware initialization under WDDM 2 and later; when successful, the kernel-mode display driver observes the BAR resized to its maximum size.^1^ PnP rebalance documentation identifies Resizable BAR as a scenario in which a loaded device requests additional resources.^2^

    The documented trigger relevant to the upstream bridge is a reported resource-requirements change:

    1. A driver calls IoInvalidateDeviceState for its PDO.
    2. PnP sends IRP_MN_QUERY_PNP_DEVICE_STATE.
    3. The stack reports PNP_DEVICE_RESOURCE_REQUIREMENTS_CHANGED.
    4. PnP can issue a new IRP_MN_QUERY_RESOURCE_REQUIREMENTS; that IRP is documented as being sent during enumeration and when a driver reports changed requirements.^3^^4^

    For a bridge specifically, Microsoft describes PNP_DEVICE_RESOURCE_REQUIREMENTS_CHANGED as typically set by a bus driver when it must expand its own requirements to enumerate a new child.^5^

    Therefore:

    • The successful 256 MiB assignment does not, by itself, document a condition requiring Windows to retry with 32 GiB.
    • A later larger PEG1 window requires a new bridge requirements/rebalance path to be initiated.
    • If the trace contains neither a later changed-requirements indication nor a new PEG1 query/filter sequence requesting a suitable window, it does not show that PEG1 participated in another negotiation.
    • Linux successfully choosing 32 GiB establishes hardware/topology feasibility, but not that Windows must rerun its PnP allocation after accepting the smaller alternative.

    What supported diagnostics can establish

    There is no documented supported command that retrospectively displays both:

    1. the bridge’s original IRP_MN_QUERY_RESOURCE_REQUIREMENTS result, and
    2. the later IRP_MN_FILTER_RESOURCE_REQUIREMENTS result.

    These are separate stages. The query is handled by the bus driver and may already have been modified by a bus filter on its completion path.^4^ The subsequent filter IRP gives the bridge’s function-driver stack an opportunity to modify the supplied list; the resulting filtered configuration becomes the allocation basis.^6^^7^

    On a kernel-debugging test target, use WinDbg to inspect the current state:

    !devnode 0 1
    !devnode <PEG1-devnode-address> 0xE
    !arbiter 0x2
    
    • !devnode 0 1 locates PEG1 in the device tree.
    • !devnode <address> 0xE shows resources used, required, and translated. Its “required” list is the list reported through IRP_MN_FILTER_RESOURCE_REQUIREMENTS, not a preserved raw query result.^8^
    • !arbiter 0x2 shows current memory-arbiter allocations and their owning PDOs.^9^

    These commands can confirm the present 320 MiB PEG1 requirement/allocation, but cannot recover the earlier unfiltered payload.

    Establishing whether another negotiation occurred

    Extend the existing boot trace, if its provider exposes these events, or use Driver Verifier IRP Logging on a disposable development target to look for a later PEG1 sequence. Driver Verifier can record IRP usage, but its WMI record is limited and does not preserve complete IO_RESOURCE_REQUIREMENTS_LIST payloads.^10^

    verifier /flags 0x410 /driver <target-driver>.sys
    dc2wmiparser /f C:\Temp\peg1-irps.txt /t 10
    

    Driver Verifier can destabilize a machine; use it only on a recoverable test installation, and do not broadly enable it against system drivers on the production laptop.

    Correlate records by PEG1’s device node/PDO—not the downstream GPU—and look for:

    • a later IRP_MN_QUERY_PNP_DEVICE_STATE reporting changed requirements;
    • a new PEG1 IRP_MN_QUERY_RESOURCE_REQUIREMENTS;
    • a corresponding IRP_MN_FILTER_RESOURCE_REQUIREMENTS;
    • if rebalance completes, QUERY_STOP → STOP → START.

    A new query/filter pair establishes reconsideration of PEG1. The stop/start sequence establishes that the rebalance proceeded through reassignment. Absence of stop/start alone does not exclude an attempted or abandoned rebalance.

    Precisely comparing the raw PCI bus-driver list, any bus-filter-modified query result, and the final filtered list would require capturing transient buffers at their respective completion boundaries. Microsoft does not document a stable, supported breakpoint, ETW payload, or turnkey WDK procedure for that comparison; !devnode, !arbiter, and IRP Logging cannot provide it retrospectively.


    References

    1. System and driver support for Resizable BAR
    2. Implement PnP Rebalance for PortCls Audio Drivers
    3. IoInvalidateDeviceState function (wdm.h)
    4. IRP_MN_QUERY_RESOURCE_REQUIREMENTS
    5. Handling an IRP_MN_SURPRISE_REMOVAL Request
    6. IRP_MN_FILTER_RESOURCE_REQUIREMENTS
    7. Hardware resources
    8. !devnode
    9. !arbiter
    10. IRP Logging
    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.