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

Closed
github-bot wants to merge 27 commits from gh-pr/1069/head into gh-pr/1069/base
Owner

@⁠FelixChacolate on GitHub · 2026-11-28 12:40 UTC · original
FelixChacolate:hefty/community-rendering → main · +2866 −471 · 14 files · 27 commits · closed without merging

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)

  • #33 @⁠Ahyildiz — prelude host_written recheck
  • #703 — head blend-shape map early
  • #280 — VICTORY_KEEP_SHOWN=checked
  • #168 — launcher texture streaming defaults
  • #814 — perf texture CPU RTX50 v2 bundle
  • HeftyL — Test-NvidiaNgxOverride.ps1

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

**@⁠FelixChacolate** on GitHub · 2026-11-28 12:40 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1069) `FelixChacolate:hefty/community-rendering` → `main` · +2866 −471 · 14 files · 27 commits · closed without merging ## 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) - #33 @⁠Ahyildiz — prelude host_written recheck - #703 — head blend-shape map early - #280 — VICTORY_KEEP_SHOWN=checked - #168 — launcher texture streaming defaults - #814 — perf texture CPU RTX50 v2 bundle - HeftyL — `Test-NvidiaNgxOverride.ps1` ## 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
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 <[email protected]>
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.
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 #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.
Adapted from #697 by @0xkn0wh3r3.
Adapted from #666 by @Capt-Speed.
Adapted from #661 by @0xkn0wh3r3.
Adapted from #654 by @bakdakonusuruz.
Adapted from trustno1-coder/VIctory-NVIDIA#684 by @0xkn0wh3r3.
Adapted from trustno1-coder/VIctory-NVIDIA#797 by @Capt-Speed.
Adapted from trustno1-coder/VIctory-NVIDIA#614 by @wike1701.
Streamline may load sl_*_override_* from ProgramData instead of nvidia-sdk, correlating with DLSS 0xbad00005 and black cutscenes (#449, #99).

Co-authored-by: Cursor <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 14:32:31 +00:00
github-bot closed this pull request 2026-11-28 14:32:31 +00:00
Author
Owner

@⁠FelixChacolate on GitHub · 2026-11-28 13:19 UTC · original

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

**@⁠FelixChacolate** on GitHub · 2026-11-28 13:19 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1069#issuecomment-7239860719) Draft withdrawn: integration stack stays on local branch hefty/community-rendering until testing is complete.

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No reviewers
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/trustno1-coder--VIctory-NVIDIA!1069
No description provided.