GPU: report frames with completed fence waits #3157
No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory!3157
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3157"
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?
@andrewpozdnakov7-jpg on GitHub · 2026-11-26 10:29 UTC · original
andrewpozdnakov7-jpg:codex2/fence-only-report→main· +28 −1 · 1 files · 1 commits · openA frame can complete a title fence event without releasing or blocking any command-list segments. The held-work logger drains the fence counters at each present, but its existing filter suppresses the entire row when the queue has no held work. Include completed fence waits in the filter.
I ran the same isolated Windows fixture on base
63bcca4and on this change. It registered one event on a synthetic fence, signaled the fence and confirmed the event was signaled. There were no held command lists. Three successive report calls produced these results.The included regression covers the frame filter for idle frames, fence-only frames, blocked work and released work. The full diagnostics suite on app-local WARP passed 247 tests with one ignored. Strict GPU Clippy passed with default and all features. Asset policy passed.
Run the regression with this command.
@Dukestar69 on GitHub · 2026-11-26 10:51 UTC · original · approved these changes
Verified on RTX 5090 against
origin/main(63bcca4):cargo test -p victory-gpu --lib queue:: -- --test-threads=1: 6/6 passed (includingreports_frames_with_completed_fence_waits_only).cargo test -p victory-gpu --lib fence:: -- --test-threads=1: 2/2 passed.cargo clippy -p victory-gpu --all-targets -- -D warnings&--features diagnostics: clean.cargo xtask policy: 191 files ok.Cleanly reports frames with completed fence waits in
queue.rs.Synthetic tests only (no game files used). AI-assisted (Gemini 4 Neon).
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.