GPU time in the world on NVIDIA is spread over ordinary draws (45–120 ms each), not copies or wave64 #3028
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#3028
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@kawaii-shakal on GitHub · 2026-11-26 03:52 UTC · original
On an RTX 5070 Ti (Windows 11, native D3D12), GTA VI in the world runs at 0.4–0.8 fps. With
VICTORY_GPU_TIMING=1 VICTORY_D3D12_DRED=1(diagnostics build), the GPU takes 1.1–1.8 s per frame and the CPU 0.1–0.4 s. The GPU time is spread over ordinary draws. The wave64 compute programs (console flow, #439) are not where it goes.Costliest commands, ms per frame (several 5 s windows):
[vertex 58d926085fca4999, pixel edc1cad8ffb79bc9][mesh b7a81f5b96f4ca93, pixel 43e24028d4a1faef][vertex 4e35b816f2f91d68, pixel 659fe9cae59dbd88][vertex 1ce8ba2fe12072c1, pixel 4dd4a3d69c1bd8ca][vertex c5310733d58458c8, pixel 5460ce5f3b925eee][compute a7eeed0646be1ab7]Moving host copies into GPU upload heaps does not change these numbers. That covers buffers (#2870) and, in a local change, the loose windows as well, in the spirit of #2875: 5.2 GB of copies sat in video memory against 1.3 GB before, and the per-draw times stayed the same. So these draws are not bound by shaders reading the copies across PCIe. A single draw at ~61 ms points at the translated shaders themselves, or at what they index: the paged view heap (#2121), descriptor reads, or texture paths.
I can run more diagnostics builds or dump specific shaders if someone has a lead.
🤖 Generated with Claude Code (Claude Opus 5.5)
@HLVM04 on GitHub · 2026-11-26 03:56 UTC · original
A same-card comparison from the fxceless fork (not upstream main), RTX 5070 Ti, Windows 11, native D3D12, so the card itself isn't what limits these draws:
9376fd6, Series X profile,VICTORY_GPU_TIMING=1 VICTORY_D3D12_DRED=1, one run: the frame line said 185.8 ms on the GPU, and the per-command sums were 119.7 ms (indirect 72.4 ms over 5,165 commands, dispatch 39.0 over 3,853, mesh 4.1, alias copy 1.9). The heaviest single dispatch was 7.2 ms, the heaviest indirect mesh group 6.3 ms over 197 commands.So the same title and card take 0.04–0.19 s of GPU time a frame on that tree, against your 1.1–1.8 s. That points at something in this tree's handling of those draws rather than at the hardware. Diffing how the fork treats them could help. Different scenes and trees, one or a few runs each.
@Ingenioeren on GitHub · 2026-11-26 06:42 UTC · original
I checked an accounting detail that affects the pipeline totals in this report. On
mainat63bcca4, the per-command table only aggregates submissions containing more than one host-list group. In a synthetic Windows WARP test withVICTORY_GPU_TIMING=1andVICTORY_D3D12_DRED=1, a one-list submission produced a readable timestamp entry but no aggregate entry. Submitting two lists with one note each produced one aggregate entry per list. The test used empty command lists and did not load the title. Aggregation gate · Timestamp readbackThe frame's submission time still includes the one-list groups, so the per-command totals can omit work. A comparison between upstream and a fork that splits submissions differently can therefore change what appears in this table. PR #1735 already proposes reporting each timed list. This result confirms the coverage gap on main and does not identify the cause of the long draws.
AI-assisted synthetic verification by OpenAI Codex.
@Marvisak on GitHub · 2026-11-26 06:45 UTC · original
Automated triage for the maintainers.
Run report: RTX 5070 Ti, Windows 11, native D3D12, diagnostics build, in the world at 0.4–0.8 fps with 1.1–1.8 s of GPU time a frame spread over ordinary draws (single draws of 45–120 ms), and unchanged when the host copies were moved into upload heaps. The frame time in the world on this card is discussed in #400 (same card, where the ~0.8 s per frame go, and the copy PRs measured against
main); please add further measurements there. The paged view heap mentioned (#2121) is open and compared in #1627 and #1760.Two details that place this exactly are missing: the VIctory commit this was built from (and whether #2870 and the local change were on top of it), and the NVIDIA driver version.
The comment below compares a third-party fork on the same card; forks can't be checked from this tracker.
Generated by Claude Code
@neonbyte1 on GitHub · 2026-11-26 17:08 UTC · original
@Ingenioeren the single-list gap you found on WARP: #3313 fixes it.
gpu_times()now runs for every submission while timing is on. On an RTX 5090 under Wine,GPU timing: listsnow matches the fps line'son the GPU(742–766 against 751–797 ms/frame); without it, about 100 ms/frame was missing from the summary. You're credited there.AI-assisted (Claude); measured on my machine, no game data shared.