README: XCL_FRAME_DUMP=1 dumps frames and sets last_frame_dump too #1550

Open
github-bot wants to merge 1 commit from github-bot/gh-1550 into main AGit
Owner

@⁠vladbondarenko97 on GitHub · 2026-11-24 17:32 UTC · original
vladbondarenko97:readme/frame-dump-any-value → main · +3 −2 · 1 files · 1 commits · open

The README said d3d12.last_frame_dump is set with XCL_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 > 1 every 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

  • Read against frame_dump_due() and the LAST_FRAME_DUMP update in present.rs on main 9e3831e.
  • Windows 11 (build 26300), RTX 3080 Ti (driver 32.0.16.1060), i7-12700KF, rustc 1.100.0, debug: cargo test --workspace --no-fail-fast -- --test-threads=4 on the same tree: 775 passed, 1 failed (e2e::test_title_runs_and_game_folder_is_untouched, presents: 0 over SSH, same on main), 41 ignored; SKIPPED: 2 (no wave64), 1 (no heap windows).

Regression run

  • Not needed: README only.

Not tested

  • No run with XCL_FRAME_DUMP=1 on a title for this PR (we use XCL_FRAME_DUMP=60 in our retail runs).
  • Noticed, not changed here (runtime, needs its own PR and smoke run): XCL_FRAME_DUMP=0 turns dumps on (every 120th) rather than off.

AI use

  • Claude Code with Claude Opus 5.5: compared the README with the code and wrote the change.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Hri58aiQKmMwqS6K8CHq2s

**@⁠vladbondarenko97** on GitHub · 2026-11-24 17:32 UTC · [original](https://github.com/xcl-dev/xcl/pull/1550) `vladbondarenko97:readme/frame-dump-any-value` → `main` · +3 −2 · 1 files · 1 commits · open The README said `d3d12.last_frame_dump` is set with `XCL_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 > 1` every 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** - Read against `frame_dump_due()` and the `LAST_FRAME_DUMP` update in `present.rs` on main `9e3831e`. - Windows 11 (build 26300), RTX 3080 Ti (driver 32.0.16.1060), i7-12700KF, rustc 1.100.0, debug: `cargo test --workspace --no-fail-fast -- --test-threads=4` on the same tree: 775 passed, 1 failed (`e2e::test_title_runs_and_game_folder_is_untouched`, `presents: 0` over SSH, same on main), 41 ignored; SKIPPED: 2 (no wave64), 1 (no heap windows). **Regression run** - Not needed: README only. **Not tested** - No run with `XCL_FRAME_DUMP=1` on a title for this PR (we use `XCL_FRAME_DUMP=60` in our retail runs). - Noticed, not changed here (runtime, needs its own PR and smoke run): `XCL_FRAME_DUMP=0` turns dumps on (every 120th) rather than off. **AI use** - Claude Code with Claude Opus 5.5: compared the README with the code and wrote the change. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01Hri58aiQKmMwqS6K8CHq2s
The README said `d3d12.last_frame_dump` is set with `XCL_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) is every 120th shown
frame, `N > 1` every N-th, and every presented-frame dump sets the field.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:57:14 +00:00
Author
Owner

@⁠DavidM1911 on GitHub · 2026-11-24 19:19 UTC · original

Verification on RTX 3060 Ti (Windows 11), branch merged with current main:

  • cargo test -p xcl --lib: all passed, 0 failed, ~21 ignored.

Thanks!

**@⁠DavidM1911** on GitHub · 2026-11-24 19:19 UTC · [original](https://github.com/xcl-dev/xcl/pull/1550#issuecomment-7141924363) Verification on RTX 3060 Ti (Windows 11), branch merged with current `main`: - `cargo test -p xcl --lib`: all passed, 0 failed, ~21 ignored. Thanks!
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/1550/head:github-bot/gh-1550'
git switch 'github-bot/gh-1550'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-1550'
git switch 'github-bot/gh-1550'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-1550'
git switch 'github-bot/gh-1550'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-1550'
git switch 'main'
git merge --squash 'github-bot/gh-1550'
git switch 'main'
git merge --ff-only 'github-bot/gh-1550'
git switch 'main'
git merge 'github-bot/gh-1550'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.