Diag/build fixes #2788
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!2788
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2788"
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?
@dejvidkou on GitHub · 2026-11-29 17:19 UTC · original
dejvidkou:diag/build-fixes→main· +14 −5 · 3 files · 2 commits · closed without mergingDiagnostics build compiles again; VICTORY_QUIET_WAITS can be A/B'd in one run
1.
cargo build --profile diag -p victory --features diagnosticsfailed on mainNine errors, two causes. Release builds are not affected.
host.rs, the submission with lists timed: the localtiming(the submission'sOption<SubmissionTiming>) hides theVICTORY_GPU_TIMINGswitchtiming(). Threeif timing()calls read theOptionas a function (E0618, E0277). They callself::timing()now.copystat.rs, the windows-trim line: it formatsmb(..), but its function has nomb(E0425). It has its own now: bytes to MB, as the other lines do.2.
VICTORY_QUIET_WAITSthroughasked_for!VICTORY_QUIET_WAITS(ccf92026, off by default) was read once from its variable, so measuring it took two runs, and their scenes differ by 10-15 %. It goes throughasked_for!now:1on);VICTORY_ABnaming it (diagnostics andabbuilds), it turns on and off while the title runs.The lists track "nothing written since the last wait" either way. Only whether such a wait is recorded changes.
What it measured
RTX 3060 Laptop 6 GB, Series S, DLSS ultra performance,
VICTORY_AB=30,VICTORY_QUIET_WAITS, 10 minutes, 19 phases.A
VICTORY_GPU_TIMINGrun counted 845 full waits a frame for the title's barrier groups, 218 of them after nothing that writes.Fitting phase median frame time against draws:
No difference: the card was 83-84 % busy either way. The player saw slightly more glitches with it on. On this card those waits are cheap, so keeping it off by default looks right.
The same kind of run with
VICTORY_SUBMIT_SPLIT(alreadyasked_for!): 0-3 % at matched draws, inside the noise.Checks
cargo build --profile diag -p victory --features diagnosticsandcargo build --release -p victorycargo test --release -p victory-gpu --lib -- draw:: indirect::: 58 passedcargo xtask policy --stagedon each commit🤖 Generated with Claude Code
github-bot referenced this pull request2026-11-29 20:00:12 +00:00
Pull request closed