Skip to content

chore: validate cutscene rendering stack for #99 (integrates #33 #168 #280 #703 #814) - #1069

Closed
HeftyL wants to merge 27 commits into
trustno1-coder:mainfrom
HeftyL:hefty/community-rendering
Closed

HeftyL wants to merge 27 commits into
trustno1-coder:mainfrom
HeftyL:hefty/community-rendering

Conversation

@HeftyL

@HeftyL HeftyL commented Nov 28, 2026

Copy link
Copy Markdown

Summary

Integration validation branch for #99 opening/cutscene rendering on NVIDIA (RTX 5090 D, 64 GB RAM, Win11). Merges already-open community PRs onto current main, plus launcher NGX warning (same as #TBD ngx PR).

Please prefer merging the listed PRs individually if possible — this branch exists to prove they apply cleanly together and to give testers one binary.

Root cause matrix (confirmed from logs)

ID Symptom Mechanism Fix / PR Layer
A Black/empty 3D, audio OK, DLSS on NGX override DLLs win over nvidia-sdk → 0xbad00005 (91×) Disable override (#449); launcher warn (this branch) Config
B Huge missing surfaces in cutscene VICTORY_TEXTURE_CATCHUP=0 + 16 ms pass → 10k+ textures waiting, 12k unmapped, 462 draws dropped @ 13.6 fps #168, #814 Launcher + gpu
C Confetti / wrong face texture PreludeUpload::finish_refresh race with VICTORY_THIN + decoration bake #33 → texture.rs finish_refresh gpu
D Floating eyes/teeth Head blend-shape map late #703 → pipeline/make.rs gpu
E Stale slot after texture move #280 → descriptor/host.rs gpu
F Some compute never runs no wave32 lowering for this wave64 (14 warns in preload) Vice-Tay #208 / upstream wave-pairs work (not in this branch) shader

Peak line (evidence): victory-nvidia-20261128-193224.log @ 2026-11-28T12:17:42 — 4512 draws, 10399 waiting, 11971 unmapped.

Included open PRs (attribution)

Build verification (local)

  • cargo build --release -p victory — OK
  • cargo test -p victory-gpu --lib descriptor:: — 70 passed
  • cargo test -p victory-gpu --lib prelude — 2 passed

Test plan

  • NVIDIA App: DLSS override off
  • Run scripts/play-community-rendering.ps1 -Dlss off through opening cutscene
  • Compare log: waiting, unmapped, dropped, 0xbad00005
  • Optional: DLSS quality after A is clean

Refs #99

Ahyildiz and others added 27 commits November 27, 2026 14:21
…as not written the texture (confetti faces)

With VICTORY_PRELUDE_UPLOADS=1, upload_from checks host_written when a list
is recorded, and the upload itself is decided at submission
(PreludeUpload::finish_refresh), which did not check again. With lists
recorded on several threads (VICTORY_THIN), a list that samples a texture can
be recorded just before the list whose copy writes it (the title's decoration
bake copying a character's baked skin into a 1024x1024 BC3 texture) and be
submitted after it. Its prelude then copied the title's memory, which the
title never filled (the console's GPU copy did), over the host's contents,
and nothing uploads a host-written texture again, so it stayed: the diner
bartender's face as coloured specks, or blue with lines, for the whole scene
in about half the runs.

finish_refresh now leaves the upload out when the texture is host-written,
with a warning (first eight, then powers of two) naming its size and format.
VICTORY_PRELUDE_RECHECK=0 restores the old behaviour.

Checked with VICTORY_CAPTURE_FRAMES every 100 frames through the diner
(Series S, DLSS off, RTX 5080): broken in about 5 of 10 runs before; clean
in 5 of 5 runs after, where the check fired ~10 times per run (including
1024x1024 format 78 textures). Frame rate unchanged (24-25 fps there).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…2 % of the card's budget without frame generation

scripts/play-foxhound.ps1: VICTORY_TEXTURE_CATCHUP=1, VICTORY_TEXTURE_STAGE_MS=64 (16),
VICTORY_EARLY_TEXTURES_MS=32 (12), VICTORY_CARD_ROOM_FOR_TARGETS_MB=0 (3,072), and
VICTORY_TEXTURE_ROOM_PERCENT=92 where frame generation has not set its own 80 / 86.

Measured outdoors on an RTX 5080 (16 GB), Series X profile, 1440p, DLSS Quality, no frame generation:
reviewed captures with low mips 0 of 29 (7 of 18 before), the texture queue at most 990 slots due (4,272),
frames over 150 ms in the world 16 (66). Not measured on smaller cards or with frame generation ready.
…eated

The title dispatches the compute program that builds the heads' blend-shape
map (61e54e90adccaf6a) once. When its pipeline was still being made at that
dispatch, the dispatch was dropped and the faces were drawn without their
skin: eyes and teeth floating, as trustno1-coder#586 reports on an RTX 3070. On an RTX
4090 the pipeline was made 29.8 s after its first bind (TaynanGT/Vice-Tay#372).

It joins the confirmed first-scene producers (scene_input): started when the
title creates the pipeline, first in the workers' queue, and its dispatch
waits with the screen passes' budget (VICTORY_SCREEN_WAIT_MS, 10 s), not the
ordinary one. Started at creation, Vice-Tay found it ready 48 s before its
first bind.

The finding is TaynanGT's (Vice-Tay#372, after avatarmanz/VIctory-7900XTX#166),
whose change reworks the pipeline queue for it; this tree's scene_input list
already does what it needs.

Test the_head_blend_shape_map_is_made_at_creation.
Streamline may load sl_*_override_* from ProgramData instead of nvidia-sdk, correlating with DLSS 0xbad00005 and black cutscenes (trustno1-coder#449, trustno1-coder#99).

Co-authored-by: Cursor <cursoragent@cursor.com>
@HeftyL

HeftyL commented Nov 28, 2026

Copy link
Copy Markdown
Author

Draft withdrawn: integration stack stays on local branch hefty/community-rendering until testing is complete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants