Describe skipped work accurately in the F2 advisor #2779
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by saakedev on 2026-11-29T17:13:26Z.
What 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.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by ANDREANIADS on 2026-11-29T17:44:43Z.
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?Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by saakedev on 2026-11-29T17:47:53Z.
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.Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by tyr0nsur on 2026-11-30T23:54:15Z.
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 #4591 report found the same mislabelled counter. I closed our duplicate #4609 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.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.