Repository navigation
Conversation
…s for its copies The present of a frame that is dumped (XCL_FRAME_DUMP, XCL_DUMP_TARGETS) waits 2000 ms for the GPU to finish the dump's copies and skips the dump after that. The copies are queued behind the title's own work of the frame, so where a frame takes the GPU longer than two seconds every dump was skipped, a target dump's pictures and texel counts with it. The wait stays 2000 ms unless XCL_DUMP_WAIT_MS names another. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
|
Ran the three named selections ( Environment: Windows 11 Pro build 26200 x64, NVIDIA GeForce RTX 5070 Ti (Blackwell, 32-lane waves only, 16 GB, mesh shaders) driver 32.0.16.2140 (621.40), Intel Core i5-12400F, 64 GB RAM, rustc 1.100.0 (0ef1bc386 2026-11-09), MSVC 14.44.35207, DXC 1.9.2609.5, debug build, All five tests pass here, including the new Not tested: the full workspace suite, a retail title with AI-assisted (OpenCode), model: MiMo-V2.6-Flash Free - checked out the PR's head commit in a detached worktree, built it, ran the tests, wrote this report; the worktree was not modified; no game data was used. |
|
Review (head b26c76e, diff read, not a merge-check): No problems found in the diff. Checked the parser and its test, the one call site in AI review: Claude Code (Claude Opus 5.5), posted by Foniass without a human check of each point. |
With
XCL_DUMP_WAIT_MS=<ms>, the present of a frame that is dumped waits that long for the dump's copies instead of 2 s. Where a frame takes the GPU longer than 2 s, every frame dump and every target dump was skipped. The default is unchanged.What is in it
The present of a dumped frame (
XCL_FRAME_DUMP,XCL_DUMP_TARGETS) waits for the copies it queued behind the title's work of that frame, 2000 ms, and gives the dump up after that (present: frame dump copy: not finished after 2000 ms – this dump is skipped). A target dump is the tool for a title that draws something wrong, and such a title is often slow.present.rs: that wait isdump_wait_ms(): 2000 unlessXCL_DUMP_WAIT_MSis a positive number of milliseconds (parse_dump_wait_ms). The 2 s wait before a resize is not touched.shaders.rs: the switch is listed withXCL_DUMP_TARGETSandXCL_DUMP_AFTER_Samong the settings that are not part of a launch preparation's key.README.md: two lines afterXCL_DUMP_AFTER_S.Size: 3 files, 9 lines of code, 12 of tests and 2 of the README.
Tested
cargo test -p xcl --lib -- --test-threads=1 the_dump_wait parse_frame_dump_every warm_settings: 5 passed, 0 failed, noSKIPPEDline.the_dump_wait_is_two_seconds_unless_a_positive_number_of_msis new.XCL_FRAME_DUMP=10and one target dump asked for at 360 s, the log has the skip line three times and no target picture was written. The same run on a local build with this change andXCL_DUMP_WAIT_MS=90000wrote the dump's 54 pictures and their texel counts. That build was the draft Merge amd-dev into main #3547's branch (afeb3e551) with this change, not this head.Regression run
scripts/smoke.ps1, 60 s,XCL_PREPARE=0, each built in release from a clean worktree, the crate's outputs cleaned first. The switch is not set in these runs.main(b2b1f109d):This PR (
b26c76e02), its second run (the first run of a new binary fills its caches and is not kept, as formain):Not tested
cargo test -p xcl --libas a whole: on this PC plainmainends the test process partway (reported on D3D12.X: the depth plane of an R24G8 buffer has a twin, drawn into the plane before its DSV is bound #3089); CI has the whole suite.AI use
Claude Code with Claude Fable 5.2 wrote the code and the test, ran the tests and the regression runs, and wrote this description.
🤖 Generated with Claude Code