Sample native FSR 3 presentation cadence #3913

Open
Brazzo978 wants to merge 1 commit from upstream-pr/3913 into main
Brazzo978 commented 2026-11-30 11:21:16 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Brazzo978 on 2026-11-30T11:21:16Z.


What it changes

VICTORY_FSR_PRESENT_STATS=1 samples the native DXGI swap chain after each title present on the FSR 3 proxy. It records the latest displayed present ID and refresh index alongside the latest successfully submitted ID. A disjoint sample starts a new sequence. The switch is off by default and the queries add no explicit wait, flush, or change to pacing.

The most recent DXGI sample can repeat or skip IDs. Adjacent reported IDs allow direct refresh-gap checks. Counting sampled records or subtracting distant IDs cannot reconstruct a complete display trace.

How it was tested

  • Windows 10, Ryzen 7 5800X3D, RTX 3080 Ti 12 GB, 60 Hz display. Series S profile, DLSS Performance, 1920 × 1080 output. Built from 41adb55 with Rust 1.98.1 MSVC and the locked Cargo diag profile. The replay build contained this exact file.
  • The same binary, warmed checkpoint and FSR proxy were used for two 30-second windows after warmup. VICTORY_FRAMEGEN_X=0 disabled generation in the control. The active window recorded 527 successful DXGI samples and 35.21 native submissions per second. The control recorded 549 successful samples and 18.29 native submissions per second.
  • With 2× generation active, 14 of the 79 observed gaps between adjacent reported IDs exceeded two refreshes, including two six-refresh gaps. This is a sampled cadence check. The submission rate counts accepted present IDs.
  • The default Windows GPU crate compiled and the focused GPU unit checks passed in the replay build. No shader code changed.

DXGI present statistics and sync counters

Checked for overlap

  • Searched open PRs for GetFrameStatistics, DXGI statistics, present pacing, and FSR cadence. The existing FSR on/off and prepare counters remain available.
<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5564247171 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3913). Originally posted by [Brazzo978](https://github.com/Brazzo978) on 2026-11-30T11:21:16Z. --- ## What it changes `VICTORY_FSR_PRESENT_STATS=1` samples the native DXGI swap chain after each title present on the FSR 3 proxy. It records the latest displayed present ID and refresh index alongside the latest successfully submitted ID. A disjoint sample starts a new sequence. The switch is off by default and the queries add no explicit wait, flush, or change to pacing. The most recent DXGI sample can repeat or skip IDs. Adjacent reported IDs allow direct refresh-gap checks. Counting sampled records or subtracting distant IDs cannot reconstruct a complete display trace. ## How it was tested - Windows 10, Ryzen 7 5800X3D, RTX 3080 Ti 12 GB, 60 Hz display. Series S profile, DLSS Performance, 1920 × 1080 output. Built from `41adb55` with Rust 1.98.1 MSVC and the locked Cargo `diag` profile. The replay build contained this exact file. - The same binary, warmed checkpoint and FSR proxy were used for two 30-second windows after warmup. `VICTORY_FRAMEGEN_X=0` disabled generation in the control. The active window recorded 527 successful DXGI samples and 35.21 native submissions per second. The control recorded 549 successful samples and 18.29 native submissions per second. - With 2× generation active, 14 of the 79 observed gaps between adjacent reported IDs exceeded two refreshes, including two six-refresh gaps. This is a sampled cadence check. The submission rate counts accepted present IDs. - The default Windows GPU crate compiled and the focused GPU unit checks passed in the replay build. No shader code changed. [DXGI present statistics and sync counters](https://learn.microsoft.com/en-us/windows/win32/direct3ddxgi/dxgi-flip-model#frame-synchronization-of-dxgi-flip-model-apps) ## Checked for overlap - [x] Searched open PRs for `GetFrameStatistics`, DXGI statistics, present pacing, and FSR cadence. The existing FSR on/off and prepare counters remain available.
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/3913:upstream-pr/3913'
git switch 'upstream-pr/3913'

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