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
Labels
No labels
accessibility
already-solved
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
merged
needs-decision
needs-game-run
needs-rebase
not-merged
nvidia
obsolete
question
security
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/avatarmanz--VIctory-7900XTX#61
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?
@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 --usedknowing nothing: that is #26 ("--usedsilently 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.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
play.ps1)What renders (screenshots)
world-face-closeup.pngworld-outdoor.pngworld-indoor-cutscene.png-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)
Median 1,269 draws a frame. The card is idle in the median frame. What the frame is actually doing:
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 --useddid nothing hereThis 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"
6326 tables asked, 369 refusedin one sample, andno free dynamic descriptor slots: a table is not made n=10followed bya 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.placed unordered texture view not mirrored (null: writes through it are lost).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 card12149 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
-Safeand-RayTracing(the interior darkness is the one thing I would expect-RayTracingto fix; I can measure it next, it is a third slower by your README)What would help most, from my side
Tell me which of these you want measured and I will run it:
-RayTracingon 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 awarmvariant if you point at the file it reads.Logs:
run1.logandrun2.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.run1.log
run2.log
@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.
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.