Calibrate replay GPU timing and report resource usage #2636

Open
github-bot wants to merge 2 commits from github-bot/gh-2636 into main AGit
Owner

@⁠vilaris on GitHub · 2026-11-29 15:18 UTC · original
vilaris:replay/telemetry-calibration → main · +456 −11 · 10 files · 2 commits · open

What it changes

  • Capture drawing-queue timestamps around original D3D12 submissions. Use the same markers when replaying a compatible capture and report the relative error against a 10% threshold.
  • Report replay process CPU time, resident RAM, private commit, page faults, system pagefile usage, and DXGI local and non-local usage and budgets.
  • End the replay command after 120 seconds by default. Use --timeout-seconds to set another deadline. Expiry returns code 124.
  • Document the synthetic calibration and make replay the first step for graphics validation when it covers the change.

The GPU comparison covers drawing work in the captured submissions. Replay process CPU time and in-game FPS have different measurement scopes.

How it was tested

  • Windows, GeForce RTX 4070, synthetic D3D12 scene with no title required.
  • The replay integration test passed with the two existing diagnostics build fixes applied locally. Those fixes are tracked separately in #2498 and #2593.
  • The original and replayed images matched byte for byte. One run measured 0.061 ms on the original drawing queue and 0.060 ms in replay, a 1.7% difference.
  • CLI smoke test on the synthetic capture: a forced 1-second deadline exited with code 124 in 1.12 seconds, and a normal replay exited with code 0.
  • Staged asset policy and git diff --check passed.

Checked for overlap

  • Searched open pull requests for replay telemetry and touched files. The existing diagnostics build fixes are tracked in the PRs linked above.
**@⁠vilaris** on GitHub · 2026-11-29 15:18 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2636) `vilaris:replay/telemetry-calibration` → `main` · +456 −11 · 10 files · 2 commits · open ## What it changes - Capture drawing-queue timestamps around original D3D12 submissions. Use the same markers when replaying a compatible capture and report the relative error against a 10% threshold. - Report replay process CPU time, resident RAM, private commit, page faults, system pagefile usage, and DXGI local and non-local usage and budgets. - End the replay command after 120 seconds by default. Use `--timeout-seconds` to set another deadline. Expiry returns code 124. - Document the synthetic calibration and make replay the first step for graphics validation when it covers the change. The GPU comparison covers drawing work in the captured submissions. Replay process CPU time and in-game FPS have different measurement scopes. ## How it was tested - Windows, GeForce RTX 4070, synthetic D3D12 scene with no title required. - The replay integration test passed with the two existing diagnostics build fixes applied locally. Those fixes are tracked separately in #2498 and #2593. - The original and replayed images matched byte for byte. One run measured 0.061 ms on the original drawing queue and 0.060 ms in replay, a 1.7% difference. - CLI smoke test on the synthetic capture: a forced 1-second deadline exited with code 124 in 1.12 seconds, and a normal replay exited with code 0. - Staged asset policy and `git diff --check` passed. ## Checked for overlap - [x] Searched open pull requests for replay telemetry and touched files. The existing diagnostics build fixes are tracked in the PRs linked above.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-29 15:19:46 +00:00
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/2636/head:github-bot/gh-2636'
git switch 'github-bot/gh-2636'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-2636'
git switch 'github-bot/gh-2636'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-2636'
git switch 'github-bot/gh-2636'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-2636'
git switch 'main'
git merge --squash 'github-bot/gh-2636'
git switch 'main'
git merge --ff-only 'github-bot/gh-2636'
git switch 'main'
git merge 'github-bot/gh-2636'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No reviewers
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.

Dependencies

No dependencies set

Reference
github/trustno1-coder--VIctory-NVIDIA!2636
No description provided.