docs: explain GPU timing overhead #2925
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from Marvisak/VIctory. Originally posted by FR4NC7S on 2026-11-26T00:16:42Z.
What
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.
Imported from Marvisak/VIctory. Originally posted by fuzeofficlal on 2026-11-26T00:24:30Z.
Review: COMMENTED
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.Imported from Marvisak/VIctory. Originally posted by kotekompotek on 2026-11-26T00:26:28Z.
Review: COMMENTED
Accurate clarification — per-list submit+wait serializes what the GPU could overlap, so the numbers measure submission overhead, not GPU time. LGTM.
Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-26T04:24:30Z.
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
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.