GPU: keep dropped draws in the full frame reporting interval #1710

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

@⁠zhaibingye on GitHub · 2026-11-24 21:03 UTC · original
zhaibingye:fix/gpu-meter-report-interval → main · +103 −45 · 1 files · 1 commits · open

Related to #293 and #1697. The one-second caption update drains the counters before the five-second frame report can log them. An early burst can disappear from the shader drop ranking. Use separate caption and report windows and drain counters only when logging.

Reproduced with the real meter in a Windows test binary under Wine 10. Across 20 presentations, inject 30 early drops of one kind and 2 late drops of another. Main omitted the early reason and reported 0.3 late drops/frame. The fix reports 1.5 and 0.1 drops/frame. For 32 MB of copies, the reported volume also changed from 0.3 to the expected 1.6 MB/frame.

Added an irregular-frame regression test. Windows GNU diagnostics suite under Wine: 54 passed, 1 ignored. Default and all-feature Clippy and asset policy passed. No game run.

AI assistance: OpenAI Codex.

**@⁠zhaibingye** on GitHub · 2026-11-24 21:03 UTC · [original](https://github.com/Marvisak/VIctory/pull/1710) `zhaibingye:fix/gpu-meter-report-interval` → `main` · +103 −45 · 1 files · 1 commits · open Related to #293 and #1697. The one-second caption update drains the counters before the five-second frame report can log them. An early burst can disappear from the shader drop ranking. Use separate caption and report windows and drain counters only when logging. Reproduced with the real meter in a Windows test binary under Wine 10. Across 20 presentations, inject 30 early drops of one kind and 2 late drops of another. Main omitted the early reason and reported 0.3 late drops/frame. The fix reports 1.5 and 0.1 drops/frame. For 32 MB of copies, the reported volume also changed from 0.3 to the expected 1.6 MB/frame. Added an irregular-frame regression test. Windows GNU diagnostics suite under Wine: 54 passed, 1 ignored. Default and all-feature Clippy and asset policy passed. No game run. AI assistance: OpenAI Codex.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:42:22 +00:00
Author
Owner

@⁠Marvisak on GitHub · 2026-11-25 01:34 UTC · original

Automated triage for the maintainers.

Needs rebase. This pull request conflicts with main (conflicting: crates/victory-gpu/src/host.rs). It will be reviewed once it is rebased onto the current main.


Generated by Claude Code

**@⁠Marvisak** on GitHub · 2026-11-25 01:34 UTC · [original](https://github.com/Marvisak/VIctory/pull/1710#issuecomment-7149710990) <!-- victory-triage v1 head=747093145fa4417aa529d63a9bcec3632038f6da verdict=needs-rebase at=2026-11-25T01:34:49Z --> Automated triage for the maintainers. **Needs rebase.** This pull request conflicts with `main` (conflicting: `crates/victory-gpu/src/host.rs`). It will be reviewed once it is rebased onto the current `main`. --- _Generated by [Claude Code](https://claude.ai/code)_
This pull request has changes conflicting with the target branch.
  • crates/victory-gpu/src/host.rs
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

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

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-1710'
git switch 'github-bot/gh-1710'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-1710'
git switch 'github-bot/gh-1710'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-1710'
git switch 'main'
git merge --squash 'github-bot/gh-1710'
git switch 'main'
git merge --ff-only 'github-bot/gh-1710'
git switch 'main'
git merge 'github-bot/gh-1710'
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/Marvisak--VIctory!1710
No description provided.