F3 panel shows the frame rate too high (about 7 % at 30 fps) since #2565 #4540
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA#4540
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@M4gnif1cus on GitHub · 2026-11-30 22:07 UTC · original
What you see
The F3 panel reads a higher frame rate than the engine's own frame-rate line: around 30–32 fps where the log says 30. The error is systematic and comes from
Panel::frameincrates/victory-gpu/src/host/panel.rs.Since #2565 the window starts over whenever it holds no frames:
Every report also sets
frames = 0, so each new window starts at its first frame and counts it: N frames over N − 1 intervals. The rate is too high by 1 / (N − 1): at 30 fps with a report every 500 ms (N ≈ 16) that is about 7 %.FRAME … MSand the per-frame counters on the panel are divided by the same N, so they read low.The intent of #2565 (start over after the panel was hidden) is right; it only needs to be told apart from the reset after a report. The F2 panel in the same file already divides by
frames - 1.GPU and driver
RTX 5070 Ti Laptop 12 GB, driver 621.40
CPU, RAM and Windows version
Core Ultra 9 275HX, 96 GB, Windows 11 (build 26300)
VIctory release or commit
e1251c31(local build)Settings
Series X, 2560×1440, DLSS Performance, frame generation off, ray tracing off
Logs
The engine's frame-rate line during a run with this panel shown (5 s averages):
In a slower run the panel showed
FPS 25.5while this line stayed around 23.6 fps.Are you working on a fix?
There is a possible fix with a test in my fork, if useful: https://github.com/M4gnif1cus/VIctory-NVIDIA/tree/fix-f3-panel-fps
@M4gnif1cus on GitHub · 2026-12-01 02:07 UTC · original
A fix is in #4696: the window now starts over only after the panel was hidden, with a test that fails without it. It applies to the slim panel from #4635, which kept the same check.