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
- 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 acceptsIRP_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. - When are PEG1’s own requirements reevaluated?
A bus driver can callIoInvalidateDeviceState, then reportPNP_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 returnSTATUS_RESOURCE_REQUIREMENTS_CHANGEDif they changed.^6^ These are driver-controlled mechanisms, not callable user operations for forcingpci.sys, PEG1, or the NVIDIA stack to request 32 GiB. - 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!devnodeflags show allocated, translated, and required resources. Importantly, flag0x4shows the retainedIO_RESOURCE_REQUIREMENTS_LISTassociated with filter-resource-requirements processing—not necessarily the parent bus driver’s original, unmodified query response.^7^!arbiter 0x2shows current memory-arbiter allocations and owners.^8^
Proving the last two cases requires observing the transientObservation 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 IRP_MN_QUERY_RESOURCE_REQUIREMENTSand 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^ - 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. - 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
- Implement PnP Rebalance for PortCls Audio Drivers
- DF - PNP Stop (Rebalance) Device Test (Development and Integration)
- System and driver support for Resizable BAR
- IRP_MN_START_DEVICE
- IoInvalidateDeviceState function (wdm.h)
- Handling an IRP_MN_QUERY_STOP_DEVICE Request (Windows 2000 and later)
- !devnode
- !arbiter
- IRP_MN_QUERY_RESOURCE_REQUIREMENTS
- Event Tracing Tools
- PnP Tests (Device Fundamentals)