tests: xmem_startup_below_40, linear_buffer_backing_copy_warp and startup_resource_retire_hardware_debug0 each failed once on main CI #3426
Open
opened 2026-11-29 01:24:26 +00:00 by Leyukaka
·
3 comments
No Branch/Tag specified
main
codex/indirect-large-backed-views
codex/word3-preflight-check
codex/vertex-table-two-records
codex/live-index-alias
codex/copied-vertex-buffer-srv
codex/windows-stage-test-output
codex/preserve-live-srv-retirement
codex/share-render-target-tracking
codex/sgd5-negative-offset-fixture
coverage-dashboard
codex/mesh-loose-root
codex/mesh86-cache-padding
codex/xmem-scatter-preflight
codex/mesh-depth-ps
codex/indirect-dispatch-refresh
codex/compute-container-index
codex/startup-compute-formatted-load
codex/compute-indirect-producer
codex/compute-atomic-soffset
codex/mesh-dual-handoff
codex/startup-run-sh-watcher-control
codex/queue31-page-alias
codex/indexed-indirect-compute-root
codex/typed-buffer-view-metadata
codex/translated-indexed-address-alias
codex/fixed-mesh-create-result
codex/xmem-section-lease
codex/startup-slot86-mesh-cache
codex/restore-mesh-barrier-iteration
codex/translated-indirect-upload-index
codex/xapu-completion-opt-in
codex/translated-indexed-rect
codex/translated-indexed-indirect
codex/startup-mesh-lds-integration
codex/startup-console-ms24
codex/startup-slot57-mesh-request
codex/indirect-copy-provenance
codex/present-color-producer-trace
codex/compute-dispatch-binding-trace
codex/translated-indirect-table-buffers
codex/indirect-copy-provenance-base
codex/mix-half-literal-source
codex/translated-indirect-draw
codex/xmem-scatter-diagnostics
codex/slot148-recording-upload
codex/slot70-loading-art-verified
codex/command-list-upload-arena
codex/recover-failed-command-list
codex/startup-heap-timing-notes
codex/align-audio-input-timeline
codex/synthetic-depth-export-control
codex/startup-texture1d-on-windows
codex/1629-packed-position-fixture
codex/cpu-srv-refresh
codex/stream-root-srv-draw
codex/audio-mixer-timer
codex/startup-reload-published-shader
codex/priority-integrate-1284
codex/guest-sixteen-page-record
codex/aot-placed-dxr-batch
codex/guest-directory-selection
codex/gamesave-enumerate-read
codex/readme-archive-to-pixels
codex/pe-placed-view-draw
codex/archive-directory-gpu
codex/slot133-dxr-build
codex/materialize-placed-vertex-view
codex/dstorage-directory-offsets
codex/xg-nine-bc-copy
codex/xg-slot10-bc64-arrays
codex/dxr-guest-address-readback
codex/gpu-va-high-bits
codex/clarify-diagnostic-startup-scope
codex/xg-six-levels
codex/typed-derived-blend
codex/english-legal-text-progress
codex/address-bc-4ks
codex/dstorage-bounded-file-read
codex/wide-srv-offsets-menu
codex/startup-memory-srv
codex/bound-view-tail
codex/language-selector-readback
codex/setup-menu-progress
codex/cpu-plane-refresh
codex/startup-ubyte-vertex
codex/presenter-window-selection
codex/startup-uniform-buffer-lane
codex/intro-loop-timing
codex/static-clzero-loops
codex/document-rtx-intro
codex/startup-insertq
codex/nv12-startup-texture
codex/stream-stage-draw
codex/startup-null-uav-format
codex/startup-draw-capture
codex/shorten-windows-checks
codex/dstorage-rfc1950
codex/startup-dump-fence
codex/pr1135-review-base
codex/startup-stream-requests
codex/startup-chroma-view
codex/readme-graphics-pipeline-streams
codex/static-crt-free-tls
codex/arc-140t-rtx-5080-laptop-gpu-reports
codex/main-startup-progress-entry
codex/signed-dxil-catalogue
codex/reloc-free-preferred-base
codex/quad-dpp-bit-mask
codex/raw-srv-bounds
codex/rx9070-31044-hardware-report
codex/gpu-page-source-provenance
codex/runtime-placeholder-interior
codex/gpu-copy-queue-tile-order
codex/pe-pin-external-providers
codex/xmem-placeholder-reservations
codex/xmem-shared-physical-pages
codex/pe-package-startup
codex/xmem-tools-memory-query
codex/cpu-stack-output-import
codex/pe-load-security-cookie
codex/record-three-bvh-retests
codex/cpu-rbp-frame-anchor
codex/xmem-default-startup
codex/record-rtx-3050-ti-9597
codex/docs-readme-start-here
codex/check-compute-mad24-truncation
codex/docs-discord-community
codex/bound-rcx-branch-mutants
codex/rtx5060ti-bvh-62114
codex/837-neutral-readme-disclaimer
codex/record-rtx-3070-ti
codex/title-neutral-public-wording
codex/exe-shadow-frame-submissions
codex/exe-shadow-runtime-chain
codex/readme-polish
codex/gpu-coverage-nov23
codex/spirv-minlod
codex/shadow-shim-device
codex/exe-two-shadow-frames
codex/shim-dispatch-cleanup
codex/fix-spirv-cache-probe
codex/sampler-use
codex/ballot-bit-extract
codex/packed-fma-release
codex/cpu-packed-fma-o2
codex/publish-coverage-dashboard
codex/mesh-cbv-binding-order
codex/spirv-window-fixture
codex/ps-e32-float-uint
codex/ps-cbuffer-reads
codex/fixed-profile-rescan
codex/shim-compute-integration
codex/readme-visible-coverage
codex/readme-research-navigation
codex/integrate-pr-256
codex/indexed-mesh
codex/sampled-coverage
codex/first-ms
codex/dual-ps
codex/ps-attribute
codex/compute-first
codex/ps-export
codex/readme-research-status
codex/ps-layout
codex/blast-window
codex/chart-caption
codex/reviewer-roles
codex/blast-aot
codex/archive-program
codex/crc-stream-program
codex/exe-image-data-chain
codex/local-cpu-fixture-coverage
codex/exe-bound-frame-chain
codex/exe-mapped-comparison
codex/contribution-dependencies
codex/exe-entry-aot
codex/bink-frame-heap-integration
docs/hardware-seven-reports
codex/bink-custom-heap
codex/bink-heap-callers
codex/discussions-entry-points
codex/gpu-community-batch-64
codex/ffx-scratch-writers
codex/generic-project-documentation
codex/ffx-dispatch-rcas
codex/four-windows-gpu-reports
codex/title-neutral-project-wording
codex/community-coverage-provenance
codex/rcas-packed-texels
codex/community-gpu-retests
codex/community-build-and-gpu-reports
codex/ffx-provider-loop
codex/ffx-recurrent-views
codex/ffx-recurrent-resource
codex/amd-wave64-reports
codex/ffx-backend-slots
codex/upscaler-device-init
codex/ffx-context-lifecycle
codex/ffx-version-query
codex/ffx-provider-contract
codex/typed-object-callback
codex/cpu-ordinal-import
codex/chained-cpu-ranges
codex/cpu-import-call
codex/cpu-direct-call
codex/cpu-leaf-aot
codex/community-project-status
codex/script-state-path-replay
codex/script-state-evidence
codex/bc7-resident-tail
codex/bcpack-mip-tail
codex/bc7-texture-draw
codex/asset-ranges
codex/pixel-constants
codex/pixel-aot
codex/pre-exe-workloads
codex/root-signature-device-coverage
engineering/packed-bvh-leaves
engineering/bvh-build-and-update
engineering/intake-root-roundtrip
community/gpu-check-release
community/english-contributor-entry
gpu-check-v0.1.0
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Reference
R0Y00/Xbox2Windows#3426
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from R0Y00/Xbox2Windows. Originally posted by Leyukaka on 2026-11-29T01:24:26Z.
Each of the three tests failed in one job of one main run and passed in every other completed job listed below. A search of issues and PRs for the three names finds only the merged PRs that added or touched the tests.
xmem_startup_below_40Run 46194701708,
0614f68c, job "Build and test on Windows" (141139673318).linear_buffer_backing_copy_warpSame run and job.
The other three
gate2qlines of that test run passed (copy xmem gate2q.heldwithconsumer waits +2,copy private gate2qwith+1,copy private gate2q.heldwith+2).startup_resource_retire_hardware_debug0Run 46194210510,
6747721c, job "Build and test on Windows at /O2" (141131633819).Results per job
xmem_startup_below_40linear_buffer_backing_copy_warpstartup_resource_retire_hardware_debug00614f68c0614f68c6747721cf2972840The other job of 46194210510 (Debug) and of 46174243424 (/O2) was cancelled. The main runs on
51472392(46204629558) and212d4b5f(46206952431) were cancelled, so no main run has completed since0614f68c.The other failures of these runs are not part of this issue:
shader_compile_lds_request_cli_checkis fixed by #3424,startup_compute_dispatch_output_warpis covered by #3394 andstartup_compute_half_buffer_uav_controlsby #3389.Imported from R0Y00/Xbox2Windows. Originally posted by Not-Saii on 2026-11-29T02:03:14Z.
I'll take this. It's three separate failures, so I'll treat each test on its own and open one PR per cause.
Plan.
main, in both the Debug and the /O2 build, run each test in a loop:ctest --preset dev --no-tests=error -R '^<test>$' --repeat until-fail:200. Under CPU load as well, since CI runners are slower than my machine. Runstartup_resource_retire_hardware_debug0on WARP, the adapter that failed in CI, and on the RTX 4090. I'll post the failure rate per test, configuration and adapter. If a test never fails in N runs, I'll say so and not claim a fix for it.xmem_startup_below_40: the boundary allocation that fails with error 8 after 4 blocker reservations;linear_buffer_backing_copy_warp:gate2q, where queue 2 completes while queue 1 is still gated;startup_resource_retire_hardware_debug0: 2 textures still retained at thein flight passedstage.Environment: Windows 11 build 26300, NVIDIA GeForce RTX 4090 (driver 32.0.16.1088), Windows SDK 10.0.26100, plus WARP.
AI-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by Not-Saii on 2026-11-29T14:01:03Z.
Results of the loops from my claim. Base
212d4b5f. Windows 11 build 26300; WARP; NVIDIA GeForce RTX 4090, driver 32.0.16.1088; Windows SDK 10.0.26100.dev(Debug) andrelease(/O2) presets.Each loop runs
ctest --preset <dev|release> --no-tests=error -R '^<test>$'a fixed number of times and counts failures. "load 24" adds 24 busy-loop processes on a 24-thread CPU. "2 cores" pins ctest, the test and 4 busy-loop processes to two logical CPUs. Each configuration also passed one--repeat until-fail:200run.xmem_startup_below_40linear_buffer_backing_copy_warpstartup_resource_retire_warp_debug0startup_resource_retire_hardware_debug0(RTX 4090)startup_resource_retire_hardware_debug0reproduces on WARP under CPU load, with the CI output. The cause is in the test: thein flight passedstage waits for only one of the four queues before draining. The fix and its evidence are in #3457.xmem_startup_below_40: unreproduced in 6000 runs. I don't claim a fix. What I measured:check_boundary()reserves the low range, the thread's stack lands at the base of the 4 MiB window (000000FFFFC00000). The test then fails with exactly the CI output, 200 of 200 times: overflow refused with error 8,boundary: size=0x400000 -> 0000000000000000 (error 8),check_failed: boundary_allocated. An unconstrainedVirtualAlloclands above 2^40 and doesn't interfere.linear_buffer_backing_copy_warp(copy xmem gate2q): unreproduced in 1200 runs. The CI line passes every predicate exceptconsumer waits +0.linear_buffer_backing.hcounts a consumer wait only when the internal refresh has not completed by the time each submission checks. Skipping the wait when the copy has already landed is correct. Measured with the unmodified test, 100 runs each: the non-heldgate2qlines report +1 when idle and mostly +2 under load (+1 ×3, +2 ×97).gate2q.heldalways reports +2. When the fixture lets queue 1's refresh copy land before the checks (throughx2w_d3d12_linear_buffer_test_pausepoint 2), the line becomes exactly the CI failure, with both queues reading B. So the non-heldafter.consumer_waits > before.consumer_waitsassumes timing that WARP doesn't guarantee, whilegate2q.heldand itsskip_consumer_waitcontrol already check the wait deterministically. I'm leaving that check as it is. If it fails again, this is the first place to look. I'm not opening a PR for it, so this issue stays open; no PR usesFixes #3426.AI-assisted.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-12-03T17:25:40Z.
One matching result on RTX 4060 Laptop, Windows 11 build 26300, MSVC Debug during independent #3950 validation (
72b10c2d): linear_buffer_backing_copy_hardware, copy xmem gate2q, both B reads 1,024/1,024, consumer waits +0. The exact-head retry passed three times, and the parent test source passed five times against the same runtime. #3950 adds a separate reference mode and leaves the gate2q path in place. Keeping this with the already-recorded WARP signature for tracking.