GPU: log timing counters for occluded presents #196

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

@⁠stritphatographir on GitHub · 2026-11-26 11:15 UTC · original
stritphatographir:contrib/offscreen → main · +14 −0 · 1 files · 1 commits · open

Headless profiling can encounter DXGI_STATUS_OCCLUDED for every present attempt. The successful-present meter then gives no timing data about this work.

Add a diagnostics-only debug event with the frame ID, draw count, and cumulative preparation, readback, and GPU-idle counters. Enable it with VICTORY_LOG=info,victory_gpu::offscreen_frame=debug. The successful-present counter still advances only on S_OK, as introduced in #17.

Validation

  • The existing present-status regression test passed with diagnostics enabled.
  • GPU Clippy passed for all targets and features. The staged asset-policy check passed.

Codex assisted with porting and verification.

**@⁠stritphatographir** on GitHub · 2026-11-26 11:15 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/pull/196) `stritphatographir:contrib/offscreen` → `main` · +14 −0 · 1 files · 1 commits · open Headless profiling can encounter `DXGI_STATUS_OCCLUDED` for every present attempt. The successful-present meter then gives no timing data about this work. Add a diagnostics-only debug event with the frame ID, draw count, and cumulative preparation, readback, and GPU-idle counters. Enable it with `VICTORY_LOG=info,victory_gpu::offscreen_frame=debug`. The successful-present counter still advances only on `S_OK`, as introduced in #17. ## Validation - The existing present-status regression test passed with diagnostics enabled. - GPU Clippy passed for all targets and features. The staged asset-policy check passed. Codex assisted with porting and verification.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 11:22:16 +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/196/head:github-bot/gh-196'
git switch 'github-bot/gh-196'

Merge

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