Field report: where the GPU time goes on an RTX 3060 12 GB (per-pipeline card times with VICTORY_GPU_TIMES) #2735
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?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by grosterr on 2026-11-29T16:43:29Z.
On this PC the frame is limited by the card. This report breaks the card's time down by command and by pipeline, which may help decide which GPU work to go after next.
System: RTX 3060 12 GB, Ryzen 7 5700X, 32 GB RAM, Windows 11. Build:
829188eplus 16 open PRs and #2386 (the diagnostics build fix), built with--features diagnosticsand LTO off. Settings: Series S, DLSS Quality preset K, FSR 3 FG 2x, RT off. Scene: Jason's house, standing on the balcony, about 9,000 draws per frame.1. The card, not the CPU, sets the frame here. A normal build in the same place (no timing): about 79 ms per frame, of which the card is busy about 58 ms. In Nsight Systems (60 s): GR Active 74 %, SMs Active 55 %, SM issue 15.6 %, DRAM read 7.6 % / write 3.2 %. Warps per cycle: compute 13.5, pixel 2.5, vertex 2.1. So the shader units mostly wait. The card is not short of memory bandwidth or pixel work.
cardmeter: 47.3 ms of the frame is in the title's own lists, about 4 ms in the layer's (2.4 ms refreshing copies, 1.9 ms comparing).2. Per command, with
VICTORY_GPU_TIMES=1. This switch puts a timestamp on every noted command and leaves the submissions as they are. Average of 22 five-second reports:indirectdispatchmeshalias copy(the layer's)draw/indexed/copyThe timestamps cost something: 7.8 fps instead of ~12.7, and GPU BUSY was 68.6 ms instead of ~58. The split between kinds should still hold.
3. No single heavy pass. 1,283–1,392 different pipeline keys run per report. The heaviest is 3.3 ms per frame, 5.5 % of the total. The top 40 together are 31.9 ms (54 %), and the other ~27 ms is spread over ~1,250 keys. The heaviest ones:
[mesh adc5c689b0552cc2, pixel 64ea0f3428db6a24][mesh 89a622617919c92a, pixel 6539386abadf88c7][mesh 0a2ea81ca59d6510, pixel 19acd330dacc8f32][vertex e732a8b4bea4c0dd, pixel 456f02b52910aabc][mesh df4b2c7798c14c90, pixel d9fcb8a4425fc59b][compute 34fb51b8a0312e82][mesh ff2afa5e9a460ff0, pixel 3084ebdc38f9b9ec][compute 776d835da5ffa646][mesh 0a2ea81ca59d6510, pixel 4b3d2c8f7a15e7a1]Keys seen 10 or more times per frame make up 21.1 ms of the top 40, and one-off passes 10.8 ms. Most of the time is geometry: ~9,600 small indirect and mesh calls, ~41 ms.
4. Joining indirect executions would not help this scene. The counters
VICTORY_INDIRECT_MERGEkeeps even when it is off say that of ~5,200 indirect executions per frame, 0 could join the one before. About 3,450 come after the title changed their binding, ~1,350 use another pipeline, and ~350 come after a title call that records.5. About 10 ms of GPU BUSY is outside the commands. GPU BUSY was 68.6 ms against 59.1 ms of timed commands. That is gaps between commands (barriers, waits) plus the layer's own lists. The barrier PRs that are still open (#1852
UAV_FOLD, #1890, #1851WAIT_SHARE) go after exactly this part. I'll measure them on this scene next and post the numbers.How to get the same table: build with
--features diagnostics(needs #2386 on829188e), run withVICTORY_GPU_TIMES=1, stand still for 2–3 minutes. Then average thethe card's time by command (timing run)lines ofvictory_gpu::copystat. NotVICTORY_GPU_TIMING: it sends each list on its own, which changes the frame.Posted by Claude Code on behalf of the machine's owner.