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

Open
vladbondarenko97 wants to merge 1 commit from upstream-pr/1550 into main
vladbondarenko97 commented 2026-11-24 17:32:27 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by vladbondarenko97 on 2026-11-24T17:32:27Z.


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

<!-- greyfinch-sync:ivall/xcl:issue:5477169532 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1550). Originally posted by [vladbondarenko97](https://github.com/vladbondarenko97) on 2026-11-24T17:32:27Z. --- 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
DavidM1911 commented 2026-11-24 21:08:45 +00:00 (Migrated from github.com)

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!

<!-- greyfinch-sync:ivall/xcl:comment:7141924363 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1550#issuecomment-7141924363). Originally posted by [DavidM1911](https://github.com/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!
github-actions[bot] commented 2026-11-28 08:00:56 +00:00 (Migrated from github.com)

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 stale and will be closed in 4 days. A push or a comment takes the mark off: rebase it onto main if it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.

<!-- greyfinch-sync:ivall/xcl:comment:7236305885 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1550#issuecomment-7236305885). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-11-28T08:00:56Z. --- Nothing has happened on this PR for 3 days, so it is marked `stale` and will be closed in 4 days. A push or a comment takes the mark off: rebase it onto `main` if it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.
Foniass commented 2026-12-01 06:04:45 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T06:04:45Z.


Triage (#1607) – head ba60ccc

No open or merged PR corrects this README sentence. The new wording matches present.rs:parse_frame_dump_every on main: 1 (or any value that is not a number above 1) means every 120th frame, N > 1 means every N-th, and both paths set last_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.

<!-- greyfinch-sync:ivall/xcl:comment:7302455262 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1550#issuecomment-7302455262). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T06:04:45Z. --- **Triage (#1607)** – head ba60ccc No open or merged PR corrects this README sentence. The new wording matches `present.rs:parse_frame_dump_every` on main: `1` (or any value that is not a number above 1) means every 120th frame, `N > 1` means every N-th, and both paths set `last_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.
grathepic commented 2026-12-03 01:33:42 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by grathepic on 2026-12-03T01:33:42Z.


merge-check

  • base: 078358a058
  • head: ba60cccff5
  • merge: clean (git diff --check exit 0; README.md +3/-2)
  • build: not run (Tier 0 docs-only PR touching only README.md; no Rust or script files changed; CI Build and test (Windows, no GPU) and PR description green)
  • tests: not run (Tier 0 docs-only PR; verified directly against crates/xcl/src/hle/d3d12x/present.rs:1722-1735, 2021-2030, 2363-2374 on live origin/main)
  • title run: not required (Tier 0 docs-only PR)
  • review: Read full +3/-2 diff in README.md. Accurately corrects the misleading XCL_FRAME_DUMP=N (N > 1) phrasing to note that 1 dumps every 120th shown frame, N > 1 dumps every N-th, and both set d3d12.last_frame_dump — matching parse_frame_dump_every / frame_dump_due in live present.rs (which also now disables 0/false/off/empty via a separate change on main). No formatting issues or duplicates in #1607.
  • performance: none (documentation only)
  • verdict: safe to merge
  • hardware / tool and model: NVIDIA GeForce RTX 3080 (driver 32.0.16.2140), AMD Ryzen 7 5800X3D, Windows 11 (10.0.26300.0), Rust 1.98.1-x86_64-pc-windows-msvc, DXC 1.9.0.5512 (VulkanSDK, no dxil.dll) / Antigravity, Gemini 4 Neon
<!-- greyfinch-sync:ivall/xcl:comment:7364480625 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/1550#issuecomment-7364480625). Originally posted by [grathepic](https://github.com/grathepic) on 2026-12-03T01:33:42Z. --- merge-check - base: 078358a058f7ba5d16690dba8dc4e55d2c88ae0a - head: ba60cccff5b75cdc12daf5922570ff1611e4da52 - merge: clean (`git diff --check` exit 0; `README.md` +3/-2) - build: not run (Tier 0 docs-only PR touching only `README.md`; no Rust or script files changed; CI `Build and test (Windows, no GPU)` and `PR description` green) - tests: not run (Tier 0 docs-only PR; verified directly against `crates/xcl/src/hle/d3d12x/present.rs:1722-1735, 2021-2030, 2363-2374` on live `origin/main`) - title run: not required (Tier 0 docs-only PR) - review: Read full `+3/-2` diff in `README.md`. Accurately corrects the misleading `XCL_FRAME_DUMP=N (N > 1)` phrasing to note that `1` dumps every 120th shown frame, `N > 1` dumps every N-th, and both set `d3d12.last_frame_dump` — matching `parse_frame_dump_every` / `frame_dump_due` in live `present.rs` (which also now disables `0`/`false`/`off`/empty via a separate change on `main`). No formatting issues or duplicates in `#1607`. - performance: none (documentation only) - verdict: safe to merge - hardware / tool and model: NVIDIA GeForce RTX 3080 (driver 32.0.16.2140), AMD Ryzen 7 5800X3D, Windows 11 (10.0.26300.0), Rust 1.98.1-x86_64-pc-windows-msvc, DXC 1.9.0.5512 (VulkanSDK, no dxil.dll) / Antigravity, Gemini 4 Neon
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/1550:upstream-pr/1550'
git switch 'upstream-pr/1550'

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.

git switch 'main'
git merge --no-ff 'upstream-pr/1550'
git switch 'upstream-pr/1550'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/1550'
git switch 'upstream-pr/1550'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/1550'
git switch 'main'
git merge --squash 'upstream-pr/1550'
git switch 'main'
git merge --ff-only 'upstream-pr/1550'
git switch 'main'
git merge 'upstream-pr/1550'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
xcl-dev/xcl!1540
No description provided.