F3 panel shows the frame rate too high (about 7 % at 30 fps) since #2565 #4539
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?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by M4gnif1cus on 2026-11-30T22:07:16Z.
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
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by M4gnif1cus on 2026-12-01T02:07:20Z.
A fix is in #4695: 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 #4634, which kept the same check.