House city view GPU pass list: geometry and RT/GI split the frame, no single dominant pass #222

Closed
opened 2026-12-02 15:01:55 +00:00 by github-bot · 1 comment
Owner

@⁠TheRifai on GitHub · 2026-12-02 14:56 UTC · original

Finding (TASKS "House scene: 30 fps", step 1: GPU pass list for the city view)

Seen on: main 963df8e, RX 9070 XT / RADV 26.3.1, Ryzen 5 9600X, GE-Proton11-16, Series X 3840x2160, house save rt3, warm shader store, VICTORY_BCPACK_TABLES loaded, 85 s. VKB_FREC_ARM=30,34 (the first attempt at 2,4 profiled setup frames: 3 draws/frame, 0.17 ms marked — arm after the world marker, ~30 s in this save). 37 profiled frames, gpuprof serialised upper bounds.

GPU spans 32.10-37.11 ms, mean 34.24 ms/frame; with barriers + descriptor copies 40.04 ms/frame (p50 op spans 34.16, p90 35.79). Classes by mean ms/frame:

Class ms/frame
rest: geometry / screen 9.22
rest: RT / GI compute 7.21
rest: other compute 5.56
char: main geometry (gbuffer) 3.65
unattributed (clears/copies) 2.16
RT: BVH build / sort 1.89
rest + char shadow maps 2.14
BVH refit 0.50

Top named families (ms/frame): MS_VS_TransformD|PS_DeferredTextured 2.13, CS_RaytracingResolve 1.35, CS_RaytraceVBuffer_RayBinning_ShaderBinning_Mixed_WithFar 0.90, MSR_VS_TransformSkinD|PS_VehicleLivery... 0.79, MS_VS_Transform|PS_DeferredTextured 0.79, CS_Primary_GatherVBuffer_WithFar 0.78, MS_VS_PropFoliageDeferred|PS_PropFoliageDeferredTo_GBuffer 0.75, MS_VS_TransformTerrainNormalTint|PS_DeferredTexturedStdNC 0.69, CS_ScreenProbes_TraceRays_RayBinning_BVH_Mixed_ShaderBinning_WithFar 0.68, BVH_FindTreelets 0.63, BVH_ConstructBVH4 0.61.

No single pass dominates: geometry and RT/GI are both ~1/4 of the frame, and the 6 ms between op spans and barriers+descriptor copies is a separate cost. This fills the "per-pass split of the city view still missing" row; the title-thread ours-vs-game split is still missing (no perf record taken here), and the 30 fps goal needs all three walls down together.

Method: greenfield/tools/gpuprof/names.py (shader store → names.tsv), compare.py <run> --names <file>; raw profile /home/shlong/Documents/VKtory-capture/house-city-gpuprof2/20261202-155336/. The failed setup-frame attempt is in house-city-gpuprof/.

**@⁠TheRifai** on GitHub · 2026-12-02 14:56 UTC · [original](https://github.com/vktory6/VKtory/issues/222) ## Finding (TASKS "House scene: 30 fps", step 1: GPU pass list for the city view) **Seen on:** main `963df8e`, RX 9070 XT / RADV 26.3.1, Ryzen 5 9600X, GE-Proton11-16, Series X 3840x2160, house save `rt3`, warm shader store, `VICTORY_BCPACK_TABLES` loaded, 85 s. `VKB_FREC_ARM=30,34` (the first attempt at `2,4` profiled setup frames: 3 draws/frame, 0.17 ms marked — arm after the world marker, ~30 s in this save). 37 profiled frames, gpuprof serialised upper bounds. GPU spans 32.10-37.11 ms, mean **34.24 ms/frame**; with barriers + descriptor copies **40.04 ms/frame** (p50 op spans 34.16, p90 35.79). Classes by mean ms/frame: | Class | ms/frame | |---|---:| | rest: geometry / screen | 9.22 | | rest: RT / GI compute | 7.21 | | rest: other compute | 5.56 | | char: main geometry (gbuffer) | 3.65 | | unattributed (clears/copies) | 2.16 | | RT: BVH build / sort | 1.89 | | rest + char shadow maps | 2.14 | | BVH refit | 0.50 | Top named families (ms/frame): `MS_VS_TransformD|PS_DeferredTextured` 2.13, `CS_RaytracingResolve` 1.35, `CS_RaytraceVBuffer_RayBinning_ShaderBinning_Mixed_WithFar` 0.90, `MSR_VS_TransformSkinD|PS_VehicleLivery...` 0.79, `MS_VS_Transform|PS_DeferredTextured` 0.79, `CS_Primary_GatherVBuffer_WithFar` 0.78, `MS_VS_PropFoliageDeferred|PS_PropFoliageDeferredTo_GBuffer` 0.75, `MS_VS_TransformTerrainNormalTint|PS_DeferredTexturedStdNC` 0.69, `CS_ScreenProbes_TraceRays_RayBinning_BVH_Mixed_ShaderBinning_WithFar` 0.68, `BVH_FindTreelets` 0.63, `BVH_ConstructBVH4` 0.61. No single pass dominates: geometry and RT/GI are both ~1/4 of the frame, and the 6 ms between op spans and barriers+descriptor copies is a separate cost. This fills the "per-pass split of the city view still missing" row; the title-thread ours-vs-game split is still missing (no `perf` record taken here), and the 30 fps goal needs all three walls down together. Method: `greenfield/tools/gpuprof/names.py` (shader store → names.tsv), `compare.py <run> --names <file>`; raw profile `/home/shlong/Documents/VKtory-capture/house-city-gpuprof2/20261202-155336/`. The failed setup-frame attempt is in `house-city-gpuprof/`.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-02 15:01:55 +00:00
Author
Owner

@⁠vktory6 on GitHub · 2026-12-02 16:01 UTC · original

Thanks, these numbers are now in the matching TASKS item(s), so the next person starts from them: github.com/vktory6/VKtory@dcb33f3. Closing here, the tasks track the work.

**@⁠vktory6** on GitHub · 2026-12-02 16:01 UTC · [original](https://github.com/vktory6/VKtory/issues/222#issuecomment-7351333453) Thanks, these numbers are now in the matching TASKS item(s), so the next person starts from them: https://github.com/vktory6/VKtory/commit/dcb33f3. Closing here, the tasks track the work.
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/vktory6--VKtory#222
No description provided.