D3D12.X: report partially executed command lists first on device removal #1330
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!1330
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1330/head"
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?
@CallMeBrado on GitHub · 2026-11-24 14:50 UTC · original
CallMeBrado:pr/dred-active-lists→main· +52 −12 · 2 files · 1 commits · merged 2026-11-24 15:56 UTCXCL stops walking the DRED breadcrumb chain after 64 command lists. Completed lists and lists that never started both consume that limit. While investigating #675 on an RTX 5090, I saw a report with 606 lists. Only one had made partial progress, and 193 had no completed operation. Its position in the original driver chain was not recorded.
What is in it
The crash reporter scans up to 4,096 lists and prints up to 64. It reports partially executed lists first, then fills any remaining lines with lists showing zero completed operations. Driver order is preserved within each group. Part of #675.
Tested
cargo build --workspace --locked --jobs 4andcargo test --workspace --locked --jobs 4 --no-fail-fast -- --test-threads=4 --show-output: 752 reported passed, 0 failed, 41 ignored. Three of the reported passes printed SKIPPED. Two require native wave64, and the debug-layer title test requires xgameruntime.dll.Regression run
Both runs used the same saved Series X profile, separate initially empty shader caches, networking off and no controller input.
Main (60 seconds)
PR (60 seconds)
Not tested
The smoke runs ended normally. They cover startup and frame presentation. The synthetic regression exercises breadcrumb selection. The long retail crash trace came from a separate instrumented build. AMD, Intel and optional XCL_SAMPLE_* fixtures were not tested.
AI use
Codex (GPT-6) wrote the patch and regression test, ran the checks on this machine and drafted this description.
@futurepro62 on GitHub · 2026-11-24 14:55 UTC · original · edited 2026-11-24 14:58 UTC
Full-suite run, since this PR has no test report yet. Tested exact head
40c81c1(on its base930e8b4).Tested
cargo build --workspace, thenXCL_REQUIRE_GPU=mesh cargo test --workspace -- --test-threads=4: 752 passed, 0 failed, 41 ignored. SKIPPED (no wave64):gpu_geometry_wave32_prefix_count_over_a_mask,gpu_wave32_program_in_wave64_hardware.a_late_partially_executed_list_is_reported_before_unstarted_lists.XCL_ADAPTER=radeon),cargo test --workspace -- --test-threads=4: 752 passed, 0 failed, 41 ignored, no skips.Not tested
AI use
@DavidM1911 on GitHub · 2026-11-24 15:14 UTC · original
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: 708 passed, 0 failed, 21 ignored.Thanks!