Decoration bake picks the wrong source: coloured specks on the forearm and stepped banding on walls (RTX 4060 8 GB, Series S 720p) #13

Open
opened 2026-11-28 19:41:54 +00:00 by YUYING234 · 1 comment
YUYING234 commented 2026-11-28 19:41:54 +00:00 (Migrated from github.com)
Contributor

Imported from edsuuu/VI-BR-PORT. Originally posted by YUYING234 on 2026-11-28T19:41:54Z.


Moving this out of the closed PR as you asked. Images are hosted on my fork and linked here; I can re-upload them as GitHub attachments if you prefer them inside the issue.

Setup

  • edsuuu/VI-BR-PORT, our branch 8gb-27nov at 4f7af3b, built with Play-VIBR (release).
  • RTX 4060 Laptop 8 GB, i9-14900HX, 32 GB, Windows 11 26300, driver 621.01.
  • Series S profile, 1280x720 (the game's own upscaler), DLSS quality, no ray tracing.
  • The cell block in the prologue: stand still, look at the wall and at the character's forearm.

What it looks like

Two separate artefacts share the same scene:

  1. The character's forearm carries coloured RGB specks - red, green and blue single pixels scattered along the skin, changing from frame to frame.
  2. Walls show stepped banding instead of a smooth gradient, with a hard edge where the band changes.

forearm, frame 1
forearm, frame 2
forearm, frame 3
wall banding

For contrast, the same scene rendered by an earlier build with no artefact:

clean, same scene

What I tried that did not change it

VICTORY_CARD_ROOM_FOR_TARGETS_MB=1600 on top of the same launch settings: the specks are still there, and in one frame they were worse (characters flat and untextured rather than speckled). VICTORY_BAKE_EXACT is on by default in this tree and the artefact appears with it on, so the exact-bake path is not protecting against it.

Why I think it is the source-eviction path

draw.rs:79-110 documents exactly this failure for the decoration bake - "coloured specks all over the waitress's face" and "baked as nothing, once, for the run" - when the source texture is gone by the time the bake reads it. That is the shape of what I see, and it fits your earlier note that the sources are evicted when the card is short of room.

If that reading is right, the question I cannot answer from outside is whether CARD_ROOM_FOR_TARGETS_MB is even the switch that governs it on this tree - lowering it to 1600 made no difference, which suggests the sources are being let go somewhere else.

What would help me

  1. Which switch makes the bake fail loudly (a log line naming the texture) instead of baking the wrong source? With that I can tell you which texture it is instead of sending screenshots.
  2. Is VICTORY_BAKE_EXACT the right lever here, or is the artefact expected while the sources are short of room?

Logs, the launch script and the five full-resolution PNGs are available on request.

<!-- greyfinch-sync:edsuuu/VI-BR-PORT:issue:6670312216 --> Imported from [edsuuu/VI-BR-PORT](https://github.com/edsuuu/VI-BR-PORT/issues/13). Originally posted by [YUYING234](https://github.com/YUYING234) on 2026-11-28T19:41:54Z. --- Moving this out of the closed PR as you asked. Images are hosted on my fork and linked here; I can re-upload them as GitHub attachments if you prefer them inside the issue. ## Setup - `edsuuu/VI-BR-PORT`, our branch `8gb-27nov` at `4f7af3b`, built with `Play-VIBR` (release). - RTX 4060 Laptop 8 GB, i9-14900HX, 32 GB, Windows 11 26300, driver 621.01. - Series S profile, 1280x720 (the game's own upscaler), DLSS quality, no ray tracing. - The cell block in the prologue: stand still, look at the wall and at the character's forearm. ## What it looks like Two separate artefacts share the same scene: 1. **The character's forearm carries coloured RGB specks** - red, green and blue single pixels scattered along the skin, changing from frame to frame. 2. **Walls show stepped banding** instead of a smooth gradient, with a hard edge where the band changes. ![forearm, frame 1](https://raw.githubusercontent.com/YUYING234/VI-BR-PORT/docs/cell-shots/docs/attachments/forearm-rgb-noise-01.png) ![forearm, frame 2](https://raw.githubusercontent.com/YUYING234/VI-BR-PORT/docs/cell-shots/docs/attachments/forearm-rgb-noise-02.png) ![forearm, frame 3](https://raw.githubusercontent.com/YUYING234/VI-BR-PORT/docs/cell-shots/docs/attachments/forearm-rgb-noise-03.png) ![wall banding](https://raw.githubusercontent.com/YUYING234/VI-BR-PORT/docs/cell-shots/docs/attachments/cell-new-build-banding.png) For contrast, the same scene rendered by an earlier build with no artefact: ![clean, same scene](https://raw.githubusercontent.com/YUYING234/VI-BR-PORT/docs/cell-shots/docs/attachments/clean-same-scene.png) ## What I tried that did not change it `VICTORY_CARD_ROOM_FOR_TARGETS_MB=1600` on top of the same launch settings: the specks are still there, and in one frame they were worse (characters flat and untextured rather than speckled). `VICTORY_BAKE_EXACT` is on by default in this tree and the artefact appears with it on, so the exact-bake path is not protecting against it. ## Why I think it is the source-eviction path `draw.rs:79-110` documents exactly this failure for the decoration bake - "coloured specks all over the waitress's face" and "baked as nothing, once, for the run" - when the source texture is gone by the time the bake reads it. That is the shape of what I see, and it fits your earlier note that the sources are evicted when the card is short of room. If that reading is right, the question I cannot answer from outside is whether `CARD_ROOM_FOR_TARGETS_MB` is even the switch that governs it on this tree - lowering it to 1600 made no difference, which suggests the sources are being let go somewhere else. ## What would help me 1. Which switch makes the bake fail loudly (a log line naming the texture) instead of baking the wrong source? With that I can tell you which texture it is instead of sending screenshots. 2. Is `VICTORY_BAKE_EXACT` the right lever here, or is the artefact expected while the sources are short of room? Logs, the launch script and the five full-resolution PNGs are available on request.
edsuuu commented 2026-11-29 02:44:15 +00:00 (Migrated from github.com)
Author
Contributor

Imported from edsuuu/VI-BR-PORT. Originally posted by edsuuu on 2026-11-29T02:44:15Z.


Thanks for moving this into its own issue, and for the frames: they made both artefacts easy to place.

There are fixes for both on the branch teste/junto-v3, behind switches while we test them. If you can try them on your setup (same cell block, Series S 720p), that would help a lot.

Coloured specks on the forearm

  • VICTORY_BAKE_ADMIT=1: the decoration bake gets the textures it reads even when the card is short of room.
  • VICTORY_BAKE_KEEP=1: the bake's result is kept and put back if something overwrites it afterwards (=2 also logs each time it had to).
  • VICTORY_AMBIENT_DROP_VIOLET=1: drops leftover magenta/blue values in the light the specks can come from.

Stepped banding on walls

  • VICTORY_NULL_SAMPLER_3D_LINEAR=1 and VICTORY_LUT_BAKE_WAIT=1: the tone-map colour table is sampled and built correctly, which removes the hard steps between bands.
  • VICTORY_AMBIENT_AIR_SOFT=1 and VICTORY_AMBIENT_EDGE=4 are already in the launcher's defaults.

We are also testing a different indirect light without ray tracing, VICTORY_AMBIENT=0.8, which follows the lamps and windows of the room instead of a flat constant. It should make both the walls and the skin look more natural.

If the specks are still there, a log from a run with VICTORY_BAKE_KEEP=2 would tell us whether something writes over the bake after it is made. For the banding, the log line that starts with colour grading at the world's first frame tells us which of the two causes it is.

<!-- greyfinch-sync:edsuuu/VI-BR-PORT:comment:7249615103 --> Imported from [edsuuu/VI-BR-PORT](https://github.com/edsuuu/VI-BR-PORT/issues/13#issuecomment-7249615103). Originally posted by [edsuuu](https://github.com/edsuuu) on 2026-11-29T02:44:15Z. --- Thanks for moving this into its own issue, and for the frames: they made both artefacts easy to place. There are fixes for both on the branch `teste/junto-v3`, behind switches while we test them. If you can try them on your setup (same cell block, Series S 720p), that would help a lot. **Coloured specks on the forearm** - `VICTORY_BAKE_ADMIT=1`: the decoration bake gets the textures it reads even when the card is short of room. - `VICTORY_BAKE_KEEP=1`: the bake's result is kept and put back if something overwrites it afterwards (`=2` also logs each time it had to). - `VICTORY_AMBIENT_DROP_VIOLET=1`: drops leftover magenta/blue values in the light the specks can come from. **Stepped banding on walls** - `VICTORY_NULL_SAMPLER_3D_LINEAR=1` and `VICTORY_LUT_BAKE_WAIT=1`: the tone-map colour table is sampled and built correctly, which removes the hard steps between bands. - `VICTORY_AMBIENT_AIR_SOFT=1` and `VICTORY_AMBIENT_EDGE=4` are already in the launcher's defaults. We are also testing a different indirect light without ray tracing, `VICTORY_AMBIENT=0.8`, which follows the lamps and windows of the room instead of a flat constant. It should make both the walls and the skin look more natural. If the specks are still there, a log from a run with `VICTORY_BAKE_KEEP=2` would tell us whether something writes over the bake after it is made. For the banding, the log line that starts with `colour grading at the world's first frame` tells us which of the two causes it is.
Sign in to join this conversation.
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
edsuuu/VI-BR-PORT#13
No description provided.