docs: explain GPU timing overhead #2927
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!2927
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2927"
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?
@FR4NC7S on GitHub · 2026-11-26 00:16 UTC · original
FR4NC7S:docs/gpu-timing-warning→main· +1 −1 · 1 files · 4 commits · openWhat
Clarifies that
VICTORY_GPU_TIMING=1submits each command list separately and waits before moving to the next. Per-command durations are GPU timestamps; the serialized waits make the overall run much slower and its whole-frame times unrepresentative. WithVICTORY_D3D12_DRED=1, per-command notes support GPU-timestamp rankings and help identify the list and commands in device-removal reports.Resolves
FIND-29from #1633.Checks
git diff --checkpassed.AI-assisted by OpenAI Codex.
@Marvisak on GitHub · 2026-11-26 04:24 UTC · original
Automated triage for the maintainers.
Needs work. Replacing the old "with the above" in the
VICTORY_GPU_TIMINGREADME row is a real improvement, but the new text does not matchvictory-gpu/src/host.rs: intiming()and the submit loop, splitting a submission into separately waited lists happens withVICTORY_GPU_TIMINGalone, andVICTORY_D3D12_DREDis only needed for per-command notes. The per-command times come from GPU timestamps, so "not GPU execution times" is misleading; what is not representative is whole-frame time, because each list is waited for. Please reword the row along those lines, keeping it short.CI: passing.
Generated by Claude Code
@fuzeofficlal on GitHub · 2026-11-26 00:24 UTC · original · reviewed
Verified head
6e61f449cleanly onorigin/main(63bcca43).Documentation Accuracy Review
VICTORY_GPU_TIMING=1accurately reflectscrates/victory-gpu/src/host.rs:338-341, 514-553(per-list submission + synchronousWaitForSingleObject(INFINITE)+ slowest-command ranking)."with the above", which currently sits directly belowVICTORY_SKIP_PIPELINES(line 211) rather thanVICTORY_D3D12_DRED=1(line 210), even thoughhost.rs:335-336, 981keys offdred_on(). Namingwith VICTORY_D3D12_DRED=1explicitly would make it even clearer.git diff --check&cargo xtask policy(191 files ok): clean.@kotekompotek on GitHub · 2026-11-26 00:26 UTC · original · reviewed
Accurate clarification — per-list submit+wait serializes what the GPU could overlap, so the numbers measure submission overhead, not GPU time. LGTM.
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.