Heavy CPU waits - Low FPS - five opt-in switches, +35–40 % fps on a CPU-bound Intel system (in comments) #2192
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA#2192
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?
@neskweek on GitHub · 2026-11-29 10:23 UTC · original
Victory (NVIDIA) – performance & texture report, 2026-11-29
System
MONITORX/MWAITX,CLZERO,CLWB,INSERTQ(emulated)series-xgame_scarlett_master.exeCommon to all runs: DLSS on, frame generation off,
VICTORY_AMBIENT_SPECULAR=1,VICTORY_BVH_BUILDERunset (ray-tracing passes skipped),VICTORY_EARLY_DEPTH=1. Every run loads the same save into the same scene, and each run has about 1 minute of gameplay.Summary
waiting for flights), while the GPU sits idle behind it. The GPU itself only needs 5–40 ms.VICTORY_CARD_BUFFERS_MIN_KBhas a large effect. Leaving it unset (default) gave the best result: 13.0 fps on average and 15–16 fps in the same part of the scene, with the GPU at about 10 ms. At 1024 the same scene ran at about 10.5 fps.1. Per-log summary
Averages over in-game samples (more than 3,000 draws per frame). "Prep" = the submitting thread's preparation time per frame, "Wait" = its
waiting for flightstime, "GPU" = card time per frame.094715-4668MENU_RES=1440(native 1440p),CARD_STEPS=0,CARD_BUFFERS_MIN_KB=1024,PLACED_FILLS=1,NARROW_BARRIERS=1,AMBIENT=1,AMBIENT_AIR=1,PROBE_NEUTRAL=0.3095240-14928MENU_RES=1080to1440;AMBIENT,AMBIENT_AIR,PROBE_NEUTRALunsetlevel=0.0: interiors become very dark and look broken. No performance gain095850-11924AMBIENT=1,AMBIENT_AIR=1,PROBE_NEUTRAL=0.3restored;CARD_STEPS=2100219-27808PLACED_FILLSandNARROW_BARRIERSunset100429-5244CARD_BUFFERS_MIN_KB=32100833-19600CARD_BUFFERS_MIN_KB=8;PLACED_FILLS=1andNARROW_BARRIERS=1re-enabled101148-11460101417-21848CARD_BUFFERS_MIN_KBunset (default)The scene's first in-game samples (about 12,000 draws per frame) run at 7–8 fps in every log. Prep peaks there at about 90–130 ms.
2. Texture corruption with DLSS Balanced / Performance / Ultra Performance
What the user sees: with DLSS Balanced, Performance or Ultra Performance, some textures break. For example, a wooden floor is rendered solid neon green and pixelated. With Quality, the same surfaces look correct.
Reproduction: load the same save and switch only
VICTORY_MENU_DLSSbetweenqualityandperformance(logs100833-19600→101148-11460→101417-21848). It was also seen withultraperformancein an earlier session (log093758-24956, not in this archive).In the logs: DLSS itself reports 0 failed evaluations in every run. No log line is specific to the broken surfaces. Some candidates that appear in every run and could interact with the lower internal resolution:
host view heap capped at 1000000 (737855 title + 262144 dynamic slots); views past 737855 read a null slot count=1245184: the title asks for 1,245,184 views, more than the heap can hold.no free dynamic descriptor slots: a table is not madeanda draw whose descriptor table found no free slots is dropped.a texture picked by index changed after its upload with nothing to tell of it: uploaded againacross the 8 logs.The solid green color looks like a normal map or other wrong texture sampled in place of the albedo, but that is a guess.
3. CPU-side cost and waits
Typical in-game frame (log
095850-11924, about 09:59:50):VICTORY_CARD_STEPS=2does nothing here (0 card steps per frame).CARD_STEPS=2) had almost no such wait in comparable scenes: the submitting thread waited about 0.3 ms and card steps did about 11,000 fills per frame.CARD_BUFFERS_MIN_KBat its default removes most of the GPU time and the wait (log101417-21848), so the remaining limit is the roughly 50–65 ms of preparation per frame.4. Other recurring warnings (every run)
ERROR streamline: Streamline presentCommon() was not observed. Ensure the common plugin's presentCommon() function is invoked every frame: once per run, when entering gameplay.a pipeline made from loose parts method="DeserializeGraphicsPipelineStateX"/"DeserializeComputePipelineStateX": 232 in total.SetPixelShaderDepthForceZOrderX: a depth order the host does not apply,a sample mask that leaves samples out,constant buffer not 256-byte aligned on the host,a dispatch without a host pipeline dropped.renderer port 1: title memory not in place, a copy as before ... why="not one native-import-eligible stretch of a section".reflections' miss program left out for opaque and transparent surfaces (VICTORY_RAYMISS_KEEP=1 runs it).5. Related observations from earlier sessions (logs available on request)
VICTORY_BVH_BUILDER=1(log093007-27992): gameplay drops to 0.1–1 fps, with frames of 2–11 s. The structure builder issues about 12,500 build dispatches on the first frame, and frames wait 3.6–7.6 s for about 320 new compute pipelines (compute pipelines: this frame waited its most for them ... waited_ms=7613), dropping up to 1,395 draws per frame.VICTORY_PORT_CONSTANTS=1(2026-11-28 build): gameplay at about 3.4 fps instead of about 14, with list translation at about 700 ms per frame across all threads (vs. about 130), plus wrong-looking textures.VICTORY_TEXTURE_ROOM_PERCENT=80(2026-11-28 build, 1 h 46 min session): the texture queue reached its line (about 17.3 GB) after 7 minutes and stayed there, with 500–10,000 slots waiting at a time. Textures then load late or blurry.NGX evaluate feature failed 0xbad00005) and showed a black screen. Victory's own message diagnosed it correctly; turning the override off fixed it.victory-nvidia-play-20261129-094715-4668.log
victory-nvidia-play-20261129-095240-14928.log
victory-nvidia-play-20261129-095850-11924.log
victory-nvidia-play-20261129-100219-27808.log
victory-nvidia-play-20261129-100429-5244.log
victory-nvidia-play-20261129-100833-19600.log
victory-nvidia-play-20261129-101148-11460.log
victory-nvidia-play-20261129-101417-21848.log
@Yuanzer on GitHub · 2026-11-29 12:51 UTC · original
Another hardware data point on
v2026.11.29.01(AI-assisted local test):F3 while standing still:
F2 simultaneously says the GPU waits about 8 ms of each 53 ms behind the submitting side, and recommends frame generation. This matches the earlier reports: the 14700KF has plenty of total CPU capacity, but the frame prepare/submit path prevents the GPU being fed. It is not evidence that the 14700KF is too weak as a whole.
VRAM was at the budget in the same run. The log then reports
textures picked by index: the card has no room for more; they wait. The 6.4 GB DXGI budget rather than 8 GB is what the process could use while Chrome, the IDE, overlays and other desktop apps were open. Closing GPU-using background apps/overlays is therefore a practical test on 8 GB cards.The same run also shows 233 draws skipped because their shaders cannot be converted yet, and purple/white noise over window and wall surfaces in the cabin. That visual half is a cross-reference to #2187, not a separate issue.
Relevant log warnings from the world segment include:
Runs and readings are from the reporter's machine; analysis and wording are AI-assisted.
@Yuanzer on GitHub · 2026-11-29 13:56 UTC · original
Follow-up frame-generation check on the same i7-14700KF / RTX 5060 Ti 8 GB:
VICTORY_FRAMEGEN=1,VICTORY_FRAMEGEN_X=2without THIN LISTS or ASYNC SUBMIT stayed off; the log explained that it needs the submission line.VICTORY_ASYNC_SUBMIT=1enabled it: the title first reported19 fps (frame gen 38 fps).Frame generation therefore activates and presents 2x here, but it does not rescue a view that is simultaneously GPU-bound and at the VRAM budget. This supports keeping the advisor cause-specific: CPU submission is the right recommendation only when there is actual GPU headroom.
The missing-line state and its visibility issue are also recorded in #2425.
Observed locally on behalf of the reporter; analysis is AI-assisted.
@neskweek on GitHub · 2026-11-29 16:52 UTC · original
Victory (NVIDIA): five opt-in switches, +35–40 % fps on a CPU-bound Intel system
Follow-up to the earlier report of the same day (logs 09:47–10:14). Log:
victory-nvidia-play-20261129-164141-10032.log, 6 minutes, about 5 minutes of gameplay, same save and scene as before.System
MWAITX/MONITORX/CLZERO/CLWB/INSERTQpatched byconsole_insngame_scarlett_master.exe,series-x, DLSS Quality,1080to1440, frame generation offWhat changed
Five switches, all off by default, were enabled together after reading their doc comments:
VICTORY_FILL_TITLE=1title memory read (a fill of upload memory)drops from about 2.6 per frame to 0.0VICTORY_GPU_DETILE=1title textures are detiled on the card. CPU detiling drops from 2.6–6.3 ms per frame to 0.0–0.7 msVICTORY_HEAP_HOOKS=1heap hooks: ... sites=340 stores=1579. The page scan of the view heap (about 500,000 slots and about 25 ms per frame on its thread) is replaced by about 174,000 hooked records per frameVICTORY_SETTLE_UNLOCKED=1VICTORY_WAIT_SPIN=500the thread that spreads work over helpers waits awake ... micros=500Every other setting was unchanged:
CARD_STEPS=2,CARD_BUFFERS_MIN_KBat its default (1024),PLACED_FILLS=1,NARROW_BARRIERS=1,RELAYat its default (1).Results
Same scene, comparable load (draws per frame):
waiting for flightsCaveat: all five were turned on at once, so this run does not separate their effects. From the per-part counters,
FILL_TITLE(the waits) andHEAP_HOOKS(the heap scan) are the likely main contributors, andGPU_DETILEsaves 3–6 ms.Side effects to watch
prelude upload left out: the host wrote the texture after the list that samples it was recorded(256×256 textures, formats 71/99), all at 16:42:51. New withGPU_DETILE; harmless if it stays rare.a texture picked by index changed after its upload with nothing to tell of it: present before as well, not new.0.00 blocks guarded again, 0.0 ranges changed by othersthroughout.FILL_TITLEis documented as able to read a constant one frame late.The remaining CPU cost (heavy part of the scene, 16:43:30)
The submitting thread spends 58–64 ms per frame:
Other threads per frame:
victory-relay) lands about 19 flights in 9–10 landings: 40–52 ms of landing on its own thread, plus 16–22 ms waiting for the card. The frame line's "copying back" is 18–25 ms.VICTORY_THIN): about 73,000 calls in about 340 ms across all threads (about 5 µs per call, about the same as before).Suggestions
HEAP_HOOKSandGPU_DETILEthe default on this kind of system (CPU-bound, GPU with headroom): here they behave correctly over 5 minutes.FILL_TITLEwith a learning mode, likeCARD_STEPS_LEARN: compare the bytes after landing, and keep waiting only for pages a flight's shader really wrote. That would make it safe to turn on by default.[profile.release]sets neitherltonorcodegen-units = 1. Worth measuring on this CPU-bound workload (lto = "fat",codegen-units = 1, and optionally-C target-cpu=nativefor local builds).Still open from the earlier report
views past 737855 read a null slot, the title asks for 1,245,184) andno free dynamic descriptor slots.ERROR streamline: presentCommon() was not observedonce per run when gameplay starts.victory-nvidia-play-20261129-164141-10032.log
victory-settings.txt
Heavy CPU waits - Low FPSto Heavy CPU waits - Low FPS - five opt-in switches, +35–40 % fps on a CPU-bound Intel system (in comments)