Count skipped work across frame meter resets #2828

Open
saakedev wants to merge 1 commit from upstream-pr/2828 into main
saakedev commented 2026-11-29 17:48:58 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by saakedev on 2026-11-29T17:48:58Z.


Follow-up to #2779. Thanks to @ANDREANIADS for the reproduction.

What it changes

F2 and F3 now sample the cumulative dropped-work counter. Before this, the frame meter could reset the value between overlay samples, making the panel undercount or hide skipped work.

How it was tested

  • The regression test exercises the actual counter and frame-meter reset in an isolated process. Across 10 frames, it adds 12 skips before the reset and 8 after it. The old code reported 0 per frame and the fixed code reports 2.
  • Windows: all 10 panel tests passed. The full victory-gpu library suite passed with 916 passed and 57 ignored.
  • In-game overlay verification is pending.

Checked for overlap

  • Searched open PRs for the counter change. Related: #2779.

Codex assisted with this change.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5553415278 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2828). Originally posted by [saakedev](https://github.com/saakedev) on 2026-11-29T17:48:58Z. --- Follow-up to #2779. Thanks to @ANDREANIADS for the reproduction. ## What it changes F2 and F3 now sample the cumulative dropped-work counter. Before this, the frame meter could reset the value between overlay samples, making the panel undercount or hide skipped work. ## How it was tested - The regression test exercises the actual counter and frame-meter reset in an isolated process. Across 10 frames, it adds 12 skips before the reset and 8 after it. The old code reported 0 per frame and the fixed code reports 2. - Windows: all 10 panel tests passed. The full victory-gpu library suite passed with 916 passed and 57 ignored. - In-game overlay verification is pending. ## Checked for overlap - [x] Searched open PRs for the counter change. Related: #2779. Codex assisted with this change.
saakedev commented 2026-11-29 18:33:43 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by saakedev on 2026-11-29T18:33:43Z.


Verified in gameplay on the patched release build (87be4f1), using an RTX 3090 and the Series S profile with DLSS Ultra Performance (640×360 internal, 1920×1080 output). With shader compilation idle, F2 and F3 both reported 732 drops per frame in the same capture.

The run was around 4 FPS and logged memory allocation failures, so this verifies the overlay counters under load. The F2 wording change is tracked separately in #2779.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7260580194 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2828#issuecomment-7260580194). Originally posted by [saakedev](https://github.com/saakedev) on 2026-11-29T18:33:43Z. --- Verified in gameplay on the patched release build (87be4f1), using an RTX 3090 and the Series S profile with DLSS Ultra Performance (640×360 internal, 1920×1080 output). With shader compilation idle, F2 and F3 both reported 732 drops per frame in the same capture. The run was around 4 FPS and logged memory allocation failures, so this verifies the overlay counters under load. The F2 wording change is tracked separately in #2779.
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/2828:upstream-pr/2828'
git switch 'upstream-pr/2828'

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/2828'
git switch 'upstream-pr/2828'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/2828'
git switch 'upstream-pr/2828'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/2828'
git switch 'main'
git merge --squash 'upstream-pr/2828'
git switch 'main'
git merge --ff-only 'upstream-pr/2828'
git switch 'main'
git merge 'upstream-pr/2828'
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
trustno1-coder/VIctory-NVIDIA!2828
No description provided.