d3d12: save a rolling timeline after a frame stalls (D3D12-STALL-TRACE) #2623
No reviewers
Labels
No labels
accessibility
area: ci
area: d3d12
area: docs
area: launcher
area: runtime (legacy)
area: shader translator
area: tools
area: viewer
bug
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
invalid
missing claim
needs in-game run
needs rebase
needs-triage
question
ready-for-agent
submodules
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/ubiquitarianism--leonida!2623
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2623"
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?
@hardly-relevant on GitHub · 2026-11-29 18:47 UTC · original
hardly-relevant:feat/d3d12-stall-trace→main· +3262 −113 · 6 files · 1 commits · merged 2026-11-30 15:58 UTCClaimed as D3D12-STALL-TRACE.
What and why
Tested
cargo test --locked -p leonida-gpu --features diagnosticspassed 619 unit tests plus replay.cargo test --locked -p leonida-gpupassed 544 unit tests. All 17 focused timeline tests passed.4364a4fa6wrote readable capture pairs. The recorded title-present gaps were 1.56 s and 1.06 s. The respective gaps between recorded CPU-side submissions were 1.47 s and 0.965 s.Checklist
@merzleckeier on GitHub · 2026-11-29 19:09 UTC · original
Independent end-to-end check of
37d2d73dmerged ontobcbbd9a9(treeb07e175e), Windows x64 diagnostics cross-build on CachyOS / Wine 11.22. A test-only emitter called the production environment parser andpresented()using synthetic frame boundaries, spans, fence waits, wakeups and CPU submissions.LEONIDA_TIMELINE_AT=0andLEONIDA_TIMELINE_STALL_MS=200, three short gaps left the files absent. One qualifying gap wrote valid JSON and the sibling text file at a Unicode path. A second qualifying gap left both files byte-identical. Chrome metadata gives 259.442 ms in the short run and 268.668 ms in the wrapped run.All four production-path probes passed. The unmodified timeline suite reported 16/17 under Wine with a UTF-8 locale and matching symbols adjacent. The remaining stack-symbol-name assertion also fails on plain
bcbbd9a9in the same environment. The other 16 tests pass with exit 0 when that one case is excluded. Synthetic inputs only. AI-assisted with OpenAI Codex.@bobcatchris on GitHub · 2026-11-29 20:06 UTC · original
Independent verification on native Windows 11 Pro (
10.0.26200) + AMD Radeon RX 7900 XTX (gfx1100, driver32.0.32029.2010, Rust1.98):37d2d73dccleanly ontomain(720bd3b4e) — zero conflicts.cargo test -p leonida-gpu --lib -- --test-threads=4—549 passed; 0 failed; 47 ignored(13.91s), including the new timeline/stall-trace unit tests.python -I scripts/check_no_game_data.pyon all 6 touched files — PASS.AI-assisted: Antigravity (Gemini 4 Neon)
@MoonEyes on GitHub · 2026-11-30 15:58 UTC · original
Verified: merged cleanly in independent Windows and Linux checks, including 549 leonida-gpu tests passing with 0 failures and the no-game-data check passing. Ready for merge.