Launcher: faces on by default (face relocation runs, heat haze stays out) #490

Closed
github-bot wants to merge 1 commit from github-bot/gh-490 into main AGit
Owner

@⁠fromrivertothesea on GitHub · 2026-11-27 23:23 UTC · original
fromrivertothesea:pr/faces-default → main · +9 −5 · 3 files · 1 commits · closed without merging

Problem

With the launchers' defaults, characters have no faces: eyes, teeth and hair draw, the face mesh does not (#100, also #354).

Both launchers (scripts/play-foxhound.ps1, apps/victory/src/play.rs) set VICTORY_LEAVE_OUT=02384a60fda6f2d0,731a39171b568298. The second is the heat-haze pass. The first is vfx_triangleClip:CS_DefragHeap_ComputeRelocations, which places the faces' meshes: with its dispatches dropped, no face. The F1 item that switches it calls it "DECAL DEFRAG", so nothing says it costs the faces.

Change

  • Both launchers leave out only heat haze (731a39171b568298) by default. The face relocation runs.

  • The F1 item is named for what it does, HEAT HAZE / FACES, with three choices:

    • HAZE OUT, FACES ON (the new default)
    • BOTH OUT (NO FACES, FASTER) (the old default)
    • BOTH ON (SLOWER, SMEARS)

    A victory-settings.txt saved with the old value keeps working: it is the second choice.

Tested (RTX 5070 Ti, GTA VI 1.0.2.1, Series X profile, DLSS Quality)

Same build, two runs:

  • Default (both left out): no faces. The log shows first bind … hash=02384a60fda6f2d0 and a dispatch without a host pipeline dropped.
  • Only heat haze left out: the faces are back. 02384a60fda6f2d0 is translated, its host pipeline is made (host pipeline shaders=[compute 02384a60fda6f2d0]), and only its first dispatch is dropped, while the pipeline is being made.

Cutscene with the face relocation running: the face is drawn

cargo test -p victory-gpu --lib menu: 4 passed (every line still fits the menu).

The cost

make.rs gives this pass 5.6 to 11.85 ms of GPU time a frame on a 32-lane host (it runs as host waves that meet by spinning). I have not measured it here: my run started on an empty cache and was still making pipelines. Anyone who prefers the frame rate to the faces picks BOTH OUT in F1. #378 would make the pass itself cheaper on NVIDIA; this PR only changes which default the launchers pick, so the two don't depend on each other.

Not changed by this

Skin can still show "confetti" or a flat untextured colour (arms, hands). The log has the same texture warnings with the face relocation off and on (a texture picked by index changed after its upload … uploaded again, host view heap capped at 1000000; views past it read a null slot), so that is the texture path (#33, #280), not this pass.

🤖 Generated with Claude Code

**@⁠fromrivertothesea** on GitHub · 2026-11-27 23:23 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/490) `fromrivertothesea:pr/faces-default` → `main` · +9 −5 · 3 files · 1 commits · closed without merging ## Problem With the launchers' defaults, characters have **no faces**: eyes, teeth and hair draw, the face mesh does not (#100, also #354). Both launchers (`scripts/play-foxhound.ps1`, `apps/victory/src/play.rs`) set `VICTORY_LEAVE_OUT=02384a60fda6f2d0,731a39171b568298`. The second is the heat-haze pass. The first is **`vfx_triangleClip:CS_DefragHeap_ComputeRelocations`**, which places the faces' meshes: with its dispatches dropped, no face. The F1 item that switches it calls it "DECAL DEFRAG", so nothing says it costs the faces. ## Change - Both launchers leave out **only heat haze** (`731a39171b568298`) by default. The face relocation runs. - The F1 item is named for what it does, **HEAT HAZE / FACES**, with three choices: - `HAZE OUT, FACES ON` (the new default) - `BOTH OUT (NO FACES, FASTER)` (the old default) - `BOTH ON (SLOWER, SMEARS)` A `victory-settings.txt` saved with the old value keeps working: it is the second choice. ## Tested (RTX 5070 Ti, GTA VI 1.0.2.1, Series X profile, DLSS Quality) Same build, two runs: - **Default (both left out):** no faces. The log shows `first bind … hash=02384a60fda6f2d0` and `a dispatch without a host pipeline dropped`. - **Only heat haze left out:** the faces are back. `02384a60fda6f2d0` is translated, its host pipeline is made (`host pipeline shaders=[compute 02384a60fda6f2d0]`), and only its first dispatch is dropped, while the pipeline is being made. ![Cutscene with the face relocation running: the face is drawn](https://raw.githubusercontent.com/fromrivertothesea/VIctory-NVIDIA/pr-assets/faces-on-cutscene.png) `cargo test -p victory-gpu --lib menu`: 4 passed (every line still fits the menu). ## The cost `make.rs` gives this pass 5.6 to 11.85 ms of GPU time a frame on a 32-lane host (it runs as host waves that meet by spinning). I have **not** measured it here: my run started on an empty cache and was still making pipelines. Anyone who prefers the frame rate to the faces picks `BOTH OUT` in F1. #378 would make the pass itself cheaper on NVIDIA; this PR only changes which default the launchers pick, so the two don't depend on each other. ## Not changed by this Skin can still show "confetti" or a flat untextured colour (arms, hands). The log has the same texture warnings with the face relocation off and on (`a texture picked by index changed after its upload … uploaded again`, `host view heap capped at 1000000; views past it read a null slot`), so that is the texture path (#33, #280), not this pass. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
The launchers left out `vfx_triangleClip:CS_DefragHeap_ComputeRelocations`
(02384a60fda6f2d0) with the heat-haze pass. That pass places the faces' meshes:
left out, characters have no faces while their eyes, teeth and hair still draw
(#100). Now only heat haze (731a39171b568298) is left out by default.

The F1 item is named for what it does ("HEAT HAZE / FACES") and has three
choices: haze out with faces on (the default), both out (no faces, faster, as
before), both on.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 23:24:02 +00:00
github-bot closed this pull request 2026-11-28 00:04:39 +00:00
Author
Owner

@⁠fromrivertothesea on GitHub · 2026-11-28 00:02 UTC · original · edited 2026-11-28 00:24 UTC

Closing: the cause I gave here is wrong.

The run that had no faces was the first one on an empty shader cache, which is what #100 describes ("happens on first time loading shaders"). I've since run the first playable part three times with CS_DefragHeap_ComputeRelocations (02384a60fda6f2d0) left out, as the current default does. The log shows it bound and its dispatch dropped, and the faces were there every time.

So leaving it out doesn't cost the faces. Running it does cost frame rate: 16.6 fps with it on against 20.3 without, in the same place (RTX 5070 Ti, i5-12600KF, Series X profile), with the card going from 65% to 87% busy. The current default is right.

🤖 Generated with Claude Code

**@⁠fromrivertothesea** on GitHub · 2026-11-28 00:02 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/490#issuecomment-7230597926) · edited 2026-11-28 00:24 UTC Closing: the cause I gave here is wrong. The run that had no faces was the first one on an empty shader cache, which is what #100 describes ("happens on first time loading shaders"). I've since run the first playable part three times with `CS_DefragHeap_ComputeRelocations` (02384a60fda6f2d0) left out, as the current default does. The log shows it bound and its dispatch dropped, and the faces were there every time. So leaving it out doesn't cost the faces. Running it does cost frame rate: 16.6 fps with it on against 20.3 without, in the same place (RTX 5070 Ti, i5-12600KF, Series X profile), with the card going from 65% to 87% busy. The current default is right. 🤖 Generated with [Claude Code](https://claude.com/claude-code)

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.