NVIDIA RTX 4060 Ti 16 GB on 0a43566: the picture is right, 398 ms a frame with the GPU idle, and 1,276 pipelines are still made in the second session #61

Open
opened 2026-11-26 03:31:39 +00:00 by github-bot · 1 comment
Owner

@⁠WuDiXiaoBo on GitHub · 2026-11-26 00:49 UTC · original

Run at 0a43566, cargo build --locked --profile diag -p victory --features diagnostics, scripts\play.ps1 -Exe <game exe> with its default settings, fresh cache, save = the prologue checkpoint the title made earlier on this machine.

Short version: the picture is right on NVIDIA. Faces, skin, hair, vegetation, trees, sky, vehicles, the HUD and the subtitles all render. This is the best picture any of the VIctory-lineage trees has produced on this card so far. The frame rate is 2–3 fps, and the reason is not the card: the GPU is idle for most of every frame while pipelines are being made.

Where this fits among the open issues (so it does not repeat them)

Three of the things I saw are already filed, and this report does not claim them as new:

  • warm --used knowing nothing: that is #26 ("--used silently makes nothing"); I only add that it is what a plain user hits, since without warming the pipeline cost never gets paid ahead of the first session.
  • descriptor tables refused for want of slots: #47 (search free ranges), #48 (reclaim at GPU completion), and the NVIDIA-specific #35 (the fixed 262,144 PORTABLE_VIEWS cap starving LATE_WAIT).
  • the NVIDIA strict-driver picture: #36 has the debug-layer detail at this same commit; I did not run with the debug layer on, so I have nothing to add there.

What I hope is new here: the first NVIDIA (Ada, 32-lane) run of this tree at all — that it renders correctly — and the frame-time shape on a 6-core CPU with the card idle, plus the memory numbers below, because your README's 40–46 GB private / 64 GB recommendation is what a 32 GB machine runs into.

Machine

GPU NVIDIA GeForce RTX 4060 Ti 16 GB (Ada, 32-lane waves), driver 32.0.16.2114
CPU / RAM Intel Core i5-12400, 6C/12T / 31.8 GB, paging file 32 GB (commit limit 63.8 GB)
OS Windows 11 Pro build 26300
Console profile Series X (the default of play.ps1)
Memory the run actually used private commit 29.4 GB, system commit free fell to 6.9 GB at the end of the world load

What renders (screenshots)

file what it is
world-face-closeup.png a character's face outdoors: skin, hair, cap, stubble correct; trees, grass, sky and a fence behind him; a magenta/purple band across the lower half of the frame
world-outdoor.png an overcast outdoor scene: trees, a stone wall, a vehicle, wet ground; dark but coherent
world-indoor-cutscene.png an interior cutscene: very dark, only the character and the subtitle; matches your README's "rooms with little direct light are too dark without -RayTracing"

The magenta band is the one obvious picture defect I saw, and it looks like the missing-texture placeholder rather than the ambient stand-in (the rest of the frame is lit correctly).

Frame times (second run, 35 in-world frames, 200+ draws)

p10 median p90 max
frame 300 ms 398 ms 1,016 ms 3,688 ms
of it on the GPU 0.0 ms 0.0 ms 129 ms 763 ms

Median 1,269 draws a frame. The card is idle in the median frame. What the frame is actually doing:

recording per frame (13 frames): 27056 list calls 820.2 ms (all recording threads);
539.4 ms waiting for pipelines; dynamic slots: 5708 tables asked, 247 refused
recording per frame (12 frames): 28841 list calls 716.6 ms (all recording threads);
459.0 ms waiting for pipelines; dynamic slots: 6326 tables asked, 369 refused
dropped 1251.2/frame without a host pipeline: being made

1,276 host pipelines were still made during this second run, after the first run had already written 72 MB into cache\pipelines. So the compile cost is not paid off in one go on this machine, and it dominates every frame while it is outstanding.

warm --used did nothing here

0 pipelines known, 0 made before (78eb177cfbcb0e1e), 0 bad; 0 to make, 8 processes
0 made in 0 s (0 have no host pipeline, 0 ended their process); ms each: median 0.0, p90 0.0, p99 0.0

This was run after the first session, which had drawn ~1,800 draws a frame for four minutes, so it should have known a few hundred pipelines. My guess is that the record of pipelines a run used is written when the run ends normally, and the run ends by the title's own watchdog here — but I could not verify that from the outside. If you tell me where to look (the name of the file or the switch), I will check whether it exists and what it holds.

Three things that look like defects, not just "not yet optimised"

  1. Dynamic descriptor slots refused: 6326 tables asked, 369 refused in one sample, and no free dynamic descriptor slots: a table is not made n=10 followed by a draw whose descriptor table found no free slots is dropped. The host heap is capped at 1,000,000 views on this machine (host view heaps hold 1000000 views). On this card that is 369 tables (about 6 %) lost per 6,000, and the draws that needed them are dropped.
  2. Views that are not mirrored: 13 × placed unordered texture view not mirrored (null: writes through it are lost).
  3. Textures re-uploaded with nothing announcing it: 72 × a texture picked by index changed after its upload with nothing to tell of it: uploaded again.

And the texture memory picture on the last sample, in case it is useful: 1711 title textures have no host copy yet (4399 MB of title memory); 61668 host copies the title fills alive 6632 MB (61605 of them placed); the card 12149 MB in use of a budget of 14602 MB, 6978 MB of the PC's memory shared with it in use.

What I did not run

  • -Safe and -RayTracing (the interior darkness is the one thing I would expect -RayTracing to fix; I can measure it next, it is a third slower by your README)
  • AMD hardware, obviously
  • gamepad, HDR, Xbox Live

What would help most, from my side

Tell me which of these you want measured and I will run it: -RayTracing on the same save (lit interiors, its cost here), -Safe (whether the black/flicker class of problem goes away and what it costs), or a longer run to see whether the pipeline count settles and the frame rate climbs toward your 50–75 ms indoors. I can also try a warm variant if you point at the file it reads.

Logs: run1.log and run2.log (3.7 MB each) are the full stderr of the two sessions; the frame lines, the pipeline lines and every warning above come from them.

AI-assisted: the runs, the screenshots, the counts and this text were produced with DeepSeek Harness (DeepSeek-V4-Flash) on my machine, at my request. No game data and no game assets are included; the screenshots are of the title's own frames and stay out of the repository.

Machine of the run: RTX 4060 Ti 16 GB / i5-12400 / 31.8 GB / Windows 11 26300, fork 0a43566.

world-face-closeup world-outdoor world-indoor-cutscene

run1.log

run2.log

**@⁠WuDiXiaoBo** on GitHub · 2026-11-26 00:49 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/issues/61) Run at `0a43566`, `cargo build --locked --profile diag -p victory --features diagnostics`, `scripts\play.ps1 -Exe <game exe>` with its default settings, fresh cache, save = the prologue checkpoint the title made earlier on this machine. **Short version: the picture is right on NVIDIA.** Faces, skin, hair, vegetation, trees, sky, vehicles, the HUD and the subtitles all render. This is the best picture any of the VIctory-lineage trees has produced on this card so far. The frame rate is 2–3 fps, and the reason is not the card: the GPU is idle for most of every frame while pipelines are being made. ## Where this fits among the open issues (so it does not repeat them) Three of the things I saw are already filed, and this report does not claim them as new: - `warm --used` knowing nothing: that is **#26** ("`--used` silently makes nothing"); I only add that it is what a plain user hits, since without warming the pipeline cost never gets paid ahead of the first session. - descriptor tables refused for want of slots: **#47** (search free ranges), **#48** (reclaim at GPU completion), and the NVIDIA-specific **#35** (the fixed 262,144 PORTABLE_VIEWS cap starving LATE_WAIT). - the NVIDIA strict-driver picture: **#36** has the debug-layer detail at this same commit; I did not run with the debug layer on, so I have nothing to add there. What I hope is new here: **the first NVIDIA (Ada, 32-lane) run of this tree at all** — that it renders correctly — and the frame-time shape on a 6-core CPU with the card idle, plus the memory numbers below, because your README's 40–46 GB private / 64 GB recommendation is what a 32 GB machine runs into. ## Machine | | | |---|---| | GPU | NVIDIA GeForce RTX 4060 Ti 16 GB (Ada, 32-lane waves), driver 32.0.16.2114 | | CPU / RAM | Intel Core i5-12400, 6C/12T / 31.8 GB, paging file 32 GB (commit limit 63.8 GB) | | OS | Windows 11 Pro build 26300 | | Console profile | Series X (the default of `play.ps1`) | | Memory the run actually used | private commit **29.4 GB**, system commit free fell to **6.9 GB** at the end of the world load | ## What renders (screenshots) | file | what it is | |---|---| | `world-face-closeup.png` | a character's face outdoors: skin, hair, cap, stubble correct; trees, grass, sky and a fence behind him; **a magenta/purple band across the lower half of the frame** | | `world-outdoor.png` | an overcast outdoor scene: trees, a stone wall, a vehicle, wet ground; dark but coherent | | `world-indoor-cutscene.png` | an interior cutscene: very dark, only the character and the subtitle; matches your README's "rooms with little direct light are too dark without `-RayTracing`" | The magenta band is the one obvious picture defect I saw, and it looks like the missing-texture placeholder rather than the ambient stand-in (the rest of the frame is lit correctly). ## Frame times (second run, 35 in-world frames, 200+ draws) | | p10 | median | p90 | max | |---|---|---|---|---| | frame | 300 ms | **398 ms** | 1,016 ms | 3,688 ms | | of it on the GPU | 0.0 ms | **0.0 ms** | 129 ms | 763 ms | Median 1,269 draws a frame. The card is idle in the median frame. What the frame is actually doing: ``` recording per frame (13 frames): 27056 list calls 820.2 ms (all recording threads); 539.4 ms waiting for pipelines; dynamic slots: 5708 tables asked, 247 refused recording per frame (12 frames): 28841 list calls 716.6 ms (all recording threads); 459.0 ms waiting for pipelines; dynamic slots: 6326 tables asked, 369 refused dropped 1251.2/frame without a host pipeline: being made ``` **1,276 host pipelines were still made during this second run**, after the first run had already written 72 MB into `cache\pipelines`. So the compile cost is not paid off in one go on this machine, and it dominates every frame while it is outstanding. ## `warm --used` did nothing here ``` 0 pipelines known, 0 made before (78eb177cfbcb0e1e), 0 bad; 0 to make, 8 processes 0 made in 0 s (0 have no host pipeline, 0 ended their process); ms each: median 0.0, p90 0.0, p99 0.0 ``` This was run after the first session, which had drawn ~1,800 draws a frame for four minutes, so it should have known a few hundred pipelines. My guess is that the record of pipelines a run used is written when the run ends normally, and the run ends by the title's own watchdog here — but I could not verify that from the outside. If you tell me where to look (the name of the file or the switch), I will check whether it exists and what it holds. ## Three things that look like defects, not just "not yet optimised" 1. **Dynamic descriptor slots refused**: `6326 tables asked, 369 refused` in one sample, and `no free dynamic descriptor slots: a table is not made n=10` followed by `a draw whose descriptor table found no free slots is dropped`. The host heap is capped at 1,000,000 views on this machine (`host view heaps hold 1000000 views`). On this card that is 369 tables (about 6 %) lost per 6,000, and the draws that needed them are dropped. 2. **Views that are not mirrored**: 13 × `placed unordered texture view not mirrored (null: writes through it are lost)`. 3. **Textures re-uploaded with nothing announcing it**: 72 × `a texture picked by index changed after its upload with nothing to tell of it: uploaded again`. And the texture memory picture on the last sample, in case it is useful: `1711 title textures have no host copy yet (4399 MB of title memory)`; `61668 host copies the title fills alive 6632 MB (61605 of them placed)`; the card `12149 MB in use of a budget of 14602 MB, 6978 MB of the PC's memory shared with it in use`. ## What I did not run - `-Safe` and `-RayTracing` (the interior darkness is the one thing I would expect `-RayTracing` to fix; I can measure it next, it is a third slower by your README) - AMD hardware, obviously - gamepad, HDR, Xbox Live ## What would help most, from my side Tell me which of these you want measured and I will run it: `-RayTracing` on the same save (lit interiors, its cost here), `-Safe` (whether the black/flicker class of problem goes away and what it costs), or a longer run to see whether the pipeline count settles and the frame rate climbs toward your 50–75 ms indoors. I can also try a `warm` variant if you point at the file it reads. Logs: `run1.log` and `run2.log` (3.7 MB each) are the full stderr of the two sessions; the frame lines, the pipeline lines and every warning above come from them. *AI-assisted: the runs, the screenshots, the counts and this text were produced with DeepSeek Harness (DeepSeek-V4-Flash) on my machine, at my request. No game data and no game assets are included; the screenshots are of the title's own frames and stay out of the repository.* Machine of the run: RTX 4060 Ti 16 GB / i5-12400 / 31.8 GB / Windows 11 26300, fork `0a43566`. <img width="2560" height="1440" alt="world-face-closeup" src="https://github.com/user-attachments/assets/5e00750b-ef5a-409d-90ad-9c9a78fbb59c" /> <img width="2560" height="1440" alt="world-outdoor" src="https://github.com/user-attachments/assets/1344e1fa-00e7-4d38-a643-d61179c2957e" /> <img width="2560" height="1440" alt="world-indoor-cutscene" src="https://github.com/user-attachments/assets/2f6d759f-eac8-45b7-bf72-cd039b4e8ee0" /> [run1.log](https://github.com/user-attachments/files/35438906/run1.log) [run2.log](https://github.com/user-attachments/files/35438907/run2.log)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:31:39 +00:00
Author
Owner

@⁠sawetco on GitHub · 2026-11-26 01:51 UTC · original · edited 2026-11-26 02:27 UTC

I measured where the pipeline workers spend time on another NVIDIA machine. RTX 5070 12 GB, driver 621.24, Ryzen 5 7600X and 32 GB RAM. This was a Series X build based on #10 with dispatch splitting enabled, plus the descriptor lifetime change from #48. The scene depth buffer and Windows swap chain were both 1920 × 1080. The title still composed a 3840 × 2160 intermediate. Frame generation was off.

The process loaded 2,498 translated shaders and a 195,034,430-byte D3D12 pipeline library at startup. I placed separate timeline spans around the driver library load, PSO creation after a miss, library store, the locks around those calls, and shader bytecode preparation. Spans that were already running when capture started were clipped to the capture window. These are average milliseconds on the causal path to Present over six frames in each interval.

Interval Frame Driver PSO creation Driver library load Driver library store Obtain/translate bytecode GPU idle between this process's submissions
Post-load transition 536.1 313.1 143.4 41.7 15.5 465.6
Walking at Jason's house 526.1 435.1 35.7 0.6 50.3 393.6

The GPU idle column is an independent measurement. The last periodic library save in the traced run reported 1,952 loads and 409 new driver PSOs. On this capture, creation after a library miss accounts for most of the walking delay. What remains open is how many of those misses are genuinely new pipeline states for the scene, and how many are equivalent states being requested under different keys.

In a separate pair with tracing off, both runs started with the same 2,777 shaders and 251,292,264-byte library. After the same 60-second settle at the porch, I measured Windows Present intervals across the same 30 seconds of controller input. Eight general workers gave 3.09 FPS and 789 ms p95. Four gave 3.56 FPS and 716 ms p95. The four-worker run overlapped a Rust test build for 25 of the measured 30 seconds. Those two FPS results are preliminary. A repeat with the compiler idle is needed before interpreting the worker setting. The screen-worker count was unchanged. Neither six-frame timing capture above overlapped a Rust build.

If someone captures the equivalent interval on a 4060 Ti, the most useful comparison would be the split between driver load and creation plus the number of unique keys that missed.

The repeat with the compiler idle gave 3.19 FPS, median 223 ms and p95 719 ms for four general workers. The eight-worker comparison was 3.09 FPS, median 199 ms and p95 789 ms. The gain in throughput is small and the median moved the other way.

I also logged the host PSO key when the driver successfully created an object after a library miss, and whether StorePipeline accepted it. In a separate 1440p build with the cascade translator changes from fxceless/victory-fork#1002, a first walk created 980 objects under 944 distinct host keys. I kept its finished shader cache and driver library and repeated the same scene and resolution with the same executable. The second run created 44 objects under 43 distinct keys. None of those 43 appeared among the first run's 944 creation keys. A 1080p run seeded from the same first run also recorded 43 distinct creation keys, with zero overlap with the earlier 944. This checks keys observed on successful creations. It cannot detect equivalent state descriptions that produce different hashes, or explain every remaining long frame.

**@⁠sawetco** on GitHub · 2026-11-26 01:51 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/issues/61#issuecomment-7180215085) · edited 2026-11-26 02:27 UTC I measured where the pipeline workers spend time on another NVIDIA machine. RTX 5070 12 GB, driver 621.24, Ryzen 5 7600X and 32 GB RAM. This was a Series X build based on #10 with dispatch splitting enabled, plus the descriptor lifetime change from #48. The scene depth buffer and Windows swap chain were both 1920 × 1080. The title still composed a 3840 × 2160 intermediate. Frame generation was off. The process loaded 2,498 translated shaders and a 195,034,430-byte D3D12 pipeline library at startup. I placed separate timeline spans around the driver library load, PSO creation after a miss, library store, the locks around those calls, and shader bytecode preparation. Spans that were already running when capture started were clipped to the capture window. These are average milliseconds on the causal path to Present over six frames in each interval. | Interval | Frame | Driver PSO creation | Driver library load | Driver library store | Obtain/translate bytecode | GPU idle between this process's submissions | | --- | ---: | ---: | ---: | ---: | ---: | ---: | | Post-load transition | 536.1 | 313.1 | 143.4 | 41.7 | 15.5 | 465.6 | | Walking at Jason's house | 526.1 | 435.1 | 35.7 | 0.6 | 50.3 | 393.6 | The GPU idle column is an independent measurement. The last periodic library save in the traced run reported 1,952 loads and 409 new driver PSOs. On this capture, creation after a library miss accounts for most of the walking delay. What remains open is how many of those misses are genuinely new pipeline states for the scene, and how many are equivalent states being requested under different keys. In a separate pair with tracing off, both runs started with the same 2,777 shaders and 251,292,264-byte library. After the same 60-second settle at the porch, I measured Windows Present intervals across the same 30 seconds of controller input. Eight general workers gave 3.09 FPS and 789 ms p95. Four gave 3.56 FPS and 716 ms p95. The four-worker run overlapped a Rust test build for 25 of the measured 30 seconds. Those two FPS results are preliminary. A repeat with the compiler idle is needed before interpreting the worker setting. The screen-worker count was unchanged. Neither six-frame timing capture above overlapped a Rust build. If someone captures the equivalent interval on a 4060 Ti, the most useful comparison would be the split between driver load and creation plus the number of unique keys that missed. The repeat with the compiler idle gave 3.19 FPS, median 223 ms and p95 719 ms for four general workers. The eight-worker comparison was 3.09 FPS, median 199 ms and p95 789 ms. The gain in throughput is small and the median moved the other way. I also logged the host PSO key when the driver successfully created an object after a library miss, and whether StorePipeline accepted it. In a separate 1440p build with the cascade translator changes from fxceless/victory-fork#1002, a first walk created 980 objects under 944 distinct host keys. I kept its finished shader cache and driver library and repeated the same scene and resolution with the same executable. The second run created 44 objects under 43 distinct keys. None of those 43 appeared among the first run's 944 creation keys. A 1080p run seeded from the same first run also recorded 43 distinct creation keys, with zero overlap with the earlier 944. This checks keys observed on successful creations. It cannot detect equivalent state descriptions that produce different hashes, or explain every remaining long frame.
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/avatarmanz--VIctory-7900XTX#61
No description provided.