d3d12: save a rolling timeline after a frame stalls (D3D12-STALL-TRACE) #2623
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from ubiquitarianism/leonida. Originally posted by hardly-relevant on 2026-11-29T18:47:23Z.
Claimed 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
Imported from ubiquitarianism/leonida. Originally posted by merzleckeier on 2026-11-29T19:09:03Z.
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.Imported from ubiquitarianism/leonida. Originally posted by bobcatchris on 2026-11-29T20:06:31Z.
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)
Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-11-30T15:58:06Z.
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.