D3D12.X: serialize allocator and list resets #1721
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!1721
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1721"
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?
@hajduzsolt on GitHub · 2026-11-24 19:53 UTC · original
hajduzsolt:fix/allocator-reset-serialization→main· +80 −7 · 1 files · 1 commits · openRuntime fix verified with unit tests and RX 9070 XT smoke run.
What is in it
Tested
cargo test -p xcl --lib alloc_pool::tests -- --test-threads=2passed (5 passed).cargo test --workspace -- --test-threads=2passed; library tests: 816 passed, 22 ignored. Other test binaries also passed. Runtime GPU skips were not individually assessed in this run.Regression run
main:
PR:
Not tested
AI use
@frenziedcoder on GitHub · 2026-11-24 20:38 UTC · original
NVIDIA test report for
0c5de12: full suite green, thealloc_pooltests 10 of 10, and a clean smoke pair on the retail title.Tested
stable-x86_64-pc-windows-msvc, DXC 1.8.2502.11 (SDK 10.0.26100.0). Exact head0c5de128ff067ca1fab3000fb9bf9ceb24ab303e, no local changes.cargo build --workspace && cargo test --workspace -- --test-threads=4(debug): 865 passed, 0 failed, 42 ignored. SKIPPED:gpu_geometry_wave32_prefix_count_over_a_mask,gpu_wave32_program_in_wave64_hardware(no wave64),heap_window_out_of_memory_falls_back_to_the_switch_form(no heap windows).cargo test -p xcl --lib alloc_pool::tests -- --test-threads=2, 10 times in a row: 5 passed, 0 failed every time.Regression run (
scripts/smoke.ps1 -Seconds 60, release, the retail title of #505 at its start screen;XCL_PSO_PRELOAD=0for both builds, because this machine's preload list holds the program of #1307 and preloading it withb8b1f49takes the commit past 40 GB)base (
maincommit this PR is on):this PR:
Not tested: a run long enough to reach the world load (where list resets are frequent); AMD; a stress test of concurrent resets beyond the PR's own tests.
AI use: Claude Code (Claude Opus 5.5) built and ran the tests and smoke runs on my machine and wrote this report; I checked it.
@DavidM1911 on GitHub · 2026-11-24 22:28 UTC · original
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, ~23 ignored.Thanks!
@JJAutoCompare on GitHub · 2026-11-25 03:56 UTC · original
PR #1721 — D3D12.X allocator and command-list reset verification
Tested clean detached head
0c5de128ffon STOR-WINLAB. Windows 11 Enterprise Evaluation build 26200.9974, AMD Ryzen 7 3800X, Intel Arc A770 16 GiB (driver 32.0.101.9175, wave lanes 8–32, DoublePrecisionFloatShaderOps=0). DXC/DXIL 1.9.2609.5, rustc 1.100.0 (0ef1bc386 2026-11-09), unoptimized profiles with debug info disabled.Tested
cargo build --workspaceandcargo test --workspace --no-runsucceeded. All Cargo test commands, including the compile-only invocation, used the shared Arc lock throughInvoke-ArcTest.ps1.cargo test -p xcl alloc_pool::tests -- --nocapturepassed all 5 tests. The two new unit tests checked the per-allocator lock during native allocator fallback and list reset, independent locking for another allocator, and recording tracking after success. The existing GPU case submitted a recording again after allocator reset, completed queue fences without device removal, and checked backing reuse.cargo test -p xcl reset_commits_state_only_after_native_success_and_always_restores_vtable -- --nocapturepassed 1 test. Both focused runs had 0 failures, 0 ignored, and 0SKIPPEDlines.Full workspace
cargo test --workspace --no-fail-fast -- --test-threads=4exited 101. Across 20 libtest summaries, 847 passed, 18 failed, 42 ignored. The log contains 3SKIPPEDlines (2 no wave64, 1 no heap windows). Those tests are included in Cargo's pass total and provide no coverage for the skipped paths. All six focused tests passed again.Not tested
Main baseline or retail-title smoke comparison, external game samples, other adapters, and D3D12 debug-layer validation (d3d12SDKLayers.dll absent). This run does not establish whether the suite failures also occur on main.
AI use
T3 Code / Codex (gpt-6.2-sol, reasoningEffort: high) ran the build and verification. Coordinator #2 (T3 Code / Antigravity, gemini-4-neon) verified counts against
pr1721-suite.logand published.github-bot referenced this pull request2026-11-26 13:02:36 +00:00
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.