Frame-times line: frames over 16.7, 20 and 25 ms, and pairs of frames in a row over 33.4 ms #3999
No reviewers
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!3999
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3999"
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?
@kMagic142 on GitHub · 2026-11-30 14:07 UTC · original
kMagic142:pr-frame-dips→main· +43 −2 · 1 files · 1 commits · openWhat it changes
frame_times_line(targetvictory_gpu::frame_times, once a second) logs the median, p95, p99 and longest time between presents, and how many frames took over 50 ms and over 100 ms. Near 60 fps those last two counts stay at 0, and the percentiles cover only one second's ~60 frames. So the line does not say how often a 60-a-second pace was missed.It now also counts the following, from the same intervals and before they are sorted (
dips):The new counts go at the end of the line. Here is one second of a run near 60 fps, in this PR's wording:
scripts/play-rig.ps1andscripts/watch-rig.ps1read only the start of this line (frame times: N frames, median X ms).scripts/bench.ps1reads the diagnosticsframelogline, not this one. None of them change. Only the log line changes; nothing on screen does.How it was tested
N over 100 ms. In the steady cutscene near 60 fps, both the over-50 and the over-100 counts are 0 in most seconds.v2026.11.28.03with other changes of ours, and the wording differs slightly from this PR's. The example above is one second of the opening's cutscenes there.dips_testscovers an even pace, two swinging paces, a long frame between short ones, a lone frame and an empty second.cargo testpassed for the crates it touches: Yes.cargo xwin check -p victory --target x86_64-pc-windows-msvcpasses on main (41adb551) with this branch applied, anddips_tests::the_misses_of_a_60_a_second_pace_are_countedpasses (1 passed, 0 failed).Checked for overlap
frame_times_lineas it is. This PR only adds counts to the end of the log line. The two change nearby lines ofhost.rsbut each applies to main on top of the other without conflict (checked withgit apply).VICTORY_FRAME_PACE, which evens out long/short frame pairs) and #2201 (VICTORY_PACE) change the pace itself. #3851 moves the call toframe_times_lineto another thread, with the same signature. Both apply on top of this branch. The pair count is one way to see what they do near 60 fps.@dyshay on GitHub · 2026-11-30 14:53 UTC · original
Merged for testing into our integration branch dyshay/VIctory-NVIDIA
janus-prs. Builds and the targeted CPU tests pass; a run on an RTX 4090 (Series S, hardware RT) is queued and I'll post the result here.smoothness:line,VICTORY_FLICKER_DETECT=1, and both in bench.ps1's summary #4377View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.