NVIDIA RTX 4060 8 GB: Series X, the asynchronous paths off, a constant light, and a flush for video copies #6

Manually merged
github merged 5 commits from gh-pr/6/head into gh-pr/6/base 2026-11-27 06:06:25 +00:00
Owner

@⁠starnotes-xj on GitHub · 2026-11-26 10:18 UTC · original
starnotes-xj:nvidia-4060-series-x → main · +71 −4 · 3 files · 5 commits · merged 2026-11-26 15:22 UTC

Test machine

OS Windows 11 (26100)
CPU Intel Core i9-13900HX
GPU NVIDIA GeForce RTX 4060 Laptop, 8 GB (driver 621.14)
RAM 64 GB
Display 2560x1440, HDR on
Game Xbox Series build 1.0.2.1 (game_scarlett_master.exe)
Runtime this tree, target\release, scripts/Play-VIctory.cmd settings, VICTORY_DISPLAY_MODE=1280x720

Everything below is one variable at a time on that machine, same save (the prologue cell), 1280x720.

What was wrong and what each change does

1. --console series-s drops the people's heads (launcher: series-x)

The prison cell and the dayroom with series-s: eyes and teeth render, the head and its skin do not (the neck ends in a stump; hair and eyes float). With --console series-x, same build and save, the face draws — the opening close-up shows skin, eyes, brows and hair. The Series S memory budget appears to cut the larger meshes first on an 8 GB card.

2. VICTORY_THIN=1 does the same to the head in play (launcher: THIN off)

Same build, same save, series-x, only VICTORY_THIN differs:

THIN Playable scene
1 eyes and teeth only; opening video also stalls 1-2 s
0 the protagonist's face and both inmates' faces draw

VICTORY_JOIN_PARTS=8 separately repeats frames of the opening video (every third frame or so). The launcher now starts with VICTORY_THIN=0 and VICTORY_JOIN_PARTS=0; the fast paths that measured well here (VICTORY_RELAY=2, WIDE_BACK=1, CARD_STEPS=2, JOIN_COPIES=1, INDIRECT_WINDOW=1, RELAY_COPY=1, INDIRECT_BATCH=2, CARD_REHASH_RUNS=1) stay on.

3. The ambient estimate washes the frame out (launcher: constant:0.8)

Walking toward the bright doorway raised the frame's radiance estimate and the whole room went white. VICTORY_AMBIENT=constant:0.8 keeps the light even; the room reads like the same time of day and the doorway no longer blows the frame out.

4. A video frame's copy must land before the list reads it (code)

A decoded video frame is a full-screen single-mip texture the title refills every frame. Under VICTORY_THIN its copy was translated by our threads later, so the list read the previous frame: the opening video stopped and went on. A copy into such a texture now flushes the recording to that call:

  • resource::is_video_frame (single mip, >= 1280x720);
  • Recording keeps how many streams were handed over and translated (handed, translated), flush_to waits for one;
  • Front::flush hands over and waits;
  • copy_texture_region flushes only for those textures; every other call stays asynchronous.

After the change, twelve samples of the opening two seconds apart were all different frames (before, the same frame came back).

State with this branch

  • 1280x720, world: 160-600 ms a frame (2-6 fps), no device loss in the runs behind this.
  • Faces, bunks, posters, windows and the yard draw; puddles and reflections still miss the passes that need rays.
  • Still wrong here: some inmates' faces are dark, phone screens are black.

Notes

Nothing here is claimed for AMD or for other cards; the measurements are the one machine above. The flush only matters when VICTORY_THIN=1.

**@⁠starnotes-xj** on GitHub · 2026-11-26 10:18 UTC · [original](https://github.com/DoubleGhosty/cool_fox/pull/6) `starnotes-xj:nvidia-4060-series-x` → `main` · +71 −4 · 3 files · 5 commits · merged 2026-11-26 15:22 UTC ## Test machine | | | |---|---| | OS | Windows 11 (26100) | | CPU | Intel Core i9-13900HX | | GPU | **NVIDIA GeForce RTX 4060 Laptop, 8 GB** (driver 621.14) | | RAM | 64 GB | | Display | 2560x1440, HDR on | | Game | Xbox Series build 1.0.2.1 (`game_scarlett_master.exe`) | | Runtime | this tree, `target\release`, `scripts`/`Play-VIctory.cmd` settings, `VICTORY_DISPLAY_MODE=1280x720` | Everything below is one variable at a time on that machine, same save (the prologue cell), 1280x720. ## What was wrong and what each change does ### 1. `--console series-s` drops the people's heads (launcher: series-x) The prison cell and the dayroom with series-s: eyes and teeth render, the head and its skin do not (the neck ends in a stump; hair and eyes float). With `--console series-x`, same build and save, the face draws — the opening close-up shows skin, eyes, brows and hair. The Series S memory budget appears to cut the larger meshes first on an 8 GB card. ### 2. `VICTORY_THIN=1` does the same to the head in play (launcher: THIN off) Same build, same save, series-x, only `VICTORY_THIN` differs: | THIN | Playable scene | |---|---| | `1` | eyes and teeth only; opening video also stalls 1-2 s | | `0` | the protagonist's face and both inmates' faces draw | `VICTORY_JOIN_PARTS=8` separately repeats frames of the opening video (every third frame or so). The launcher now starts with `VICTORY_THIN=0` and `VICTORY_JOIN_PARTS=0`; the fast paths that measured well here (`VICTORY_RELAY=2`, `WIDE_BACK=1`, `CARD_STEPS=2`, `JOIN_COPIES=1`, `INDIRECT_WINDOW=1`, `RELAY_COPY=1`, `INDIRECT_BATCH=2`, `CARD_REHASH_RUNS=1`) stay on. ### 3. The ambient estimate washes the frame out (launcher: `constant:0.8`) Walking toward the bright doorway raised the frame's radiance estimate and the whole room went white. `VICTORY_AMBIENT=constant:0.8` keeps the light even; the room reads like the same time of day and the doorway no longer blows the frame out. ### 4. A video frame's copy must land before the list reads it (code) A decoded video frame is a full-screen single-mip texture the title refills every frame. Under `VICTORY_THIN` its copy was translated by our threads later, so the list read the previous frame: the opening video stopped and went on. A copy into such a texture now flushes the recording to that call: - `resource::is_video_frame` (single mip, >= 1280x720); - `Recording` keeps how many streams were handed over and translated (`handed`, `translated`), `flush_to` waits for one; - `Front::flush` hands over and waits; - `copy_texture_region` flushes only for those textures; every other call stays asynchronous. After the change, twelve samples of the opening two seconds apart were all different frames (before, the same frame came back). ## State with this branch - 1280x720, world: 160-600 ms a frame (2-6 fps), no device loss in the runs behind this. - Faces, bunks, posters, windows and the yard draw; puddles and reflections still miss the passes that need rays. - Still wrong here: some inmates' faces are dark, phone screens are black. ## Notes Nothing here is claimed for AMD or for other cards; the measurements are the one machine above. The flush only matters when `VICTORY_THIN=1`.
Measured on an RTX 4060 Laptop (8 GB), Windows 11, game build 1.0.2.1:

- `--console series-s` drops the people's head and skin meshes in the world:
  eyes and teeth render, the head does not. With `--console series-x` the same
  scene draws the face. The launcher now starts Series X.
- `VICTORY_THIN=1` does the same to the head of people in play (the cutscene
  faces draw, the playable ones do not): eyes and teeth only. With THIN off the
  faces draw. The launcher now starts with THIN and JOIN_PARTS off; the reverse
  test (same build, only THIN on) shows the head gone again.
- `VICTORY_JOIN_PARTS=8` repeats frames of the opening video (every third frame
  or so). Off, the video plays in order.
- The ambient estimate follows the frame's radiance; walking into a bright
  doorway raised it and washed the whole room out. `VICTORY_AMBIENT=constant:0.8`
  keeps the light even and the room readable.
- A decoded video frame is a full-screen single-mip texture the title refills
  every frame. With THIN its copy was translated by our threads later, so the
  list read the frame before: the opening video stopped and went on. A copy into
  such a texture now flushes the recording to that call (`Front::flush`,
  `Recording::flush_to`, `resource::is_video_frame`); every other call stays
  asynchronous. Twelve samples of the opening two seconds apart are all
  different frames after the change.

Frame time in the world: 160-600 ms at 1280x720 (2-6 fps), no device loss.
With the guard on, a guard's forearms and the phone's frame read uninitialised
memory (colour noise) and some faces drew black; every check hashing the
texture again fixed the noise, so the launcher now sets VICTORY_TEXTURE_GUARD=0.
The ambient constant goes to 1.0: 1.2 fixed nothing faces-wise and 0.8 was a
touch dark in the cells.
Character skins that had not streamed in yet read zeros, the all-zero read
was skipped as no change, and the next look came 30 frames later: on an
8 GB card at 4-7 fps that is 4-8 seconds of black faces (the bar scene's
patrons, the waitress). A zero read now marks the texture and the next
look comes two frames later; other textures keep the 30-frame interval.
This reverts commit 0f2a6e4184.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 06:06:24 +00:00
github manually merged commit ef0b12fd8a into gh-pr/6/base 2026-11-27 06:06:25 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.