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

Closed
fromrivertothesea wants to merge 1 commit from upstream-pr/490 into main
fromrivertothesea commented 2026-11-27 23:23:21 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by fromrivertothesea on 2026-11-27T23:23:21Z.


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

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5534381925 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/490). Originally posted by [fromrivertothesea](https://github.com/fromrivertothesea) on 2026-11-27T23:23:21Z. --- ## 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)
fromrivertothesea commented 2026-11-28 00:02:24 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by fromrivertothesea on 2026-11-28T00:02:24Z.


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

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7230597926 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/490#issuecomment-7230597926). Originally posted by [fromrivertothesea](https://github.com/fromrivertothesea) on 2026-11-28T00:02:24Z. --- 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

Sign in to join this conversation.
No reviewers
No labels
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.

Reference
trustno1-coder/VIctory-NVIDIA!490
No description provided.