README: XCL_FRAME_DUMP=1 dumps frames and sets last_frame_dump too #1540
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1550"
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 ivall/xcl. Originally posted by vladbondarenko97 on 2026-11-24T17:32:27Z.
The README said
d3d12.last_frame_dumpis set withXCL_FRAME_DUMP=N(N > 1).frame_dump_due()(hle/d3d12x/present.rs) dumps with any value:1(or anything that is not a number above 1) means every 120th shown frame,N > 1every N-th, and every presented-frame dump sets the field.What is in it
README.md: the frame-dump sentence under "Building and usage". +3 −2.Tested
frame_dump_due()and theLAST_FRAME_DUMPupdate inpresent.rson main9e3831e.cargo test --workspace --no-fail-fast -- --test-threads=4on the same tree: 775 passed, 1 failed (e2e::test_title_runs_and_game_folder_is_untouched,presents: 0over SSH, same on main), 41 ignored; SKIPPED: 2 (no wave64), 1 (no heap windows).Regression run
Not tested
XCL_FRAME_DUMP=1on a title for this PR (we useXCL_FRAME_DUMP=60in our retail runs).XCL_FRAME_DUMP=0turns dumps on (every 120th) rather than off.AI use
🤖 Generated with Claude Code
https://claude.ai/code/session_01Hri58aiQKmMwqS6K8CHq2s
Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-24T19:19:18Z.
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, ~21 ignored.Thanks!
upstream-sync referenced this pull request2026-11-24 23:06:49 +00:00
upstream-sync referenced this pull request2026-11-25 16:10:51 +00:00
Imported from ivall/xcl. Originally posted by github-actions[bot] on 2026-11-28T08:00:56Z.
Nothing has happened on this PR for 3 days, so it is marked
staleand will be closed in 4 days. A push or a comment takes the mark off: rebase it ontomainif it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T06:04:45Z.
Triage (#1607) – head
ba60cccNo open or merged PR corrects this README sentence. The new wording matches
present.rs:parse_frame_dump_everyon main:1(or any value that is not a number above 1) means every 120th frame,N > 1means every N-th, and both paths setlast_frame_dump. #2973 edits the next line (XCL_FRAME_DUMP_FULL) and does not overlap.Recommendation: keep open.
AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
Imported from ivall/xcl. Originally posted by grathepic on 2026-12-03T01:33:42Z.
merge-check
078358a058ba60cccff5git diff --checkexit 0;README.md+3/-2)README.md; no Rust or script files changed; CIBuild and test (Windows, no GPU)andPR descriptiongreen)crates/xcl/src/hle/d3d12x/present.rs:1722-1735, 2021-2030, 2363-2374on liveorigin/main)+3/-2diff inREADME.md. Accurately corrects the misleadingXCL_FRAME_DUMP=N (N > 1)phrasing to note that1dumps every 120th shown frame,N > 1dumps every N-th, and both setd3d12.last_frame_dump— matchingparse_frame_dump_every/frame_dump_duein livepresent.rs(which also now disables0/false/off/empty via a separate change onmain). No formatting issues or duplicates in#1607.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.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.