Fix dropped-draw sampling in the overlay #4880
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!4880
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-4879"
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?
@Yoruiopz on GitHub · 2026-12-01 12:36 UTC · original
Yoruiopz:fix/hud-draw-drop-sampling→main· +3 −7 · 2 files · 1 commits · openWhat it changes
F3 and F2 calculate drops per frame by subtracting successive samples. The old accessor subtracted the frame meter's moving checkpoint before each sample, so a meter update between samples could hide drops from the overlay. Use the cumulative counter for the overlay and keep the frame meter's existing sampling.
How it was tested
66c9e400f. The fixture was temporary. The exact focused command below failed before the fix and passed afterward.cargo testpassed for the crates it touches — Focused Windows unit test passed. Full crate suite and gameplay overlay validation pending.GitHub's first Clippy step reports the same five diagnostics on the base commit
5fabb46e. The panel diagnostics are outside the changed lines. PRs #4680 and #4708 address that baseline failure. Base CI runChecked for overlap
View 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.