Describe skipped work accurately in the F2 advisor #2779
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!2779
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2779"
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?
@saakedev on GitHub · 2026-11-29 17:13 UTC · original
saakedev:fix/f2-skipped-work→main· +4 −3 · 1 files · 1 commits · openWhat it changes
Addresses #2736. The F2 advisor used the same shader-conversion warning for every skipped draw, including work the backend left out intentionally. The advisor now reports skipped draws or dispatches per frame and points to the play log for details. The log already reports the intentional ray-tracing skips separately.
How it was tested
host::panel::testspassed, including the updated advisor assertion.victory-gpulibrary suite reported 914 passes, 57 ignored tests, and one failure inhost::card_steps::tests::places_written_after_sending_are_learnedboth on upstreammainand with this patch.crates/victory-loader/src/heap_sites/frame_users.rs.Checked for overlap
panel.rs.Codex assisted with this change.
@ANDREANIADS on GitHub · 2026-11-29 17:44 UTC · original
The new wording handles intentional skips without guessing their cause. One separate counting issue at
427aa9d: F2 samplesdropped_now(), which resets when the frame meter callstake_dropped(). Synthetic 10-frame example: start at 8, add 12 skips, let the meter take its count, then add 8 more. F2 reads 8 at both ends and omits the note, although 20 operations were skipped (2/frame). Without the reset, 8 → 28 correctly prints 2/frame. I checked the actualCounters::sinceandadvicefunctions in isolation. Could slot 8 sample the existing cumulativedraw::dropped_all()and use this crossing-window case as a regression test, here or in a follow-up?@saakedev on GitHub · 2026-11-29 17:47 UTC · original
Good catch. I’ve confirmed that the frame meter can reset the counter between F2 samples. I’m switching the panel to
dropped_all()in a follow-up PR and adding your 10-frame example as a regression test. I’ll keep this PR focused on the wording.@tyr0nsur on GitHub · 2026-11-30 23:54 UTC · original
Confirmed on current upstream
7d93ee07: cherry-picking your427aa9d1succeeds, andcargo test --locked -p victory-gpu --lib host::panel::testspasses all 10 tests on Windows, including the advisor line-width check. The recent #4592 report found the same mislabelled counter. I closed our duplicate #4610 in favour of this PR.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.