RTX 5060 Laptop 8 GB + 16 GB RAM, Series S: arms/legs pure black after texture fixes; head/torso normal #1022

Open
opened 2026-11-26 03:56:08 +00:00 by github-bot · 7 comments
Owner

@⁠kkwa603 on GitHub · 2026-11-25 16:29 UTC · original

Machine### Machine

  • NVIDIA GeForce RTX 5060 Laptop GPU, 8 GB (8151 MiB), driver 616.92
  • 16 GB RAM, Windows 10 Home China 25H2 build 26200.9711
  • Game: Xbox Series package 1.0.2.1
  • Executable identity: b99f876b74d4a77f03af5f878223b27bd647b5c35a79d5decd9f716504239e93

Build

  • sagouindupm/victory-fork series-s-perf2 (b014d0d)
    • PR #577 mouse look (cherry-picked)
    • PR #215 POPS/PS_PedTex* (cherry-picked, commit 28ffcb3)
  • Local target-mouse release build, --console series-s
  • Switches: VICTORY_LEVELS_ON_DEMAND=1, VICTORY_TEXTURE_DROP_MIPS=1, VICTORY_TEXTURE_GUARD=0, VICTORY_TEXTURE_STAGE_MB=768, VICTORY_TEXTURE_STAGE_MS=1000
  • [controls] enabled; mouse look works.

What works

  • Menus 30 fps; world 2-4 fps; private memory about 16.8 GB.
  • Mouse camera works.
  • After the guard/stage fixes, heads and torsos render with skin, eyes and hair; clothes render; most NPC faces are normal.
  • The prologue cutscene and first gameplay area run at 2-4 fps.

Problem

After walking about two steps, or crossing into a different light/shadow, the character's arms and legs from shoulder/hip down turn pure black. The head and torso stay normal. Clothes still render. The black is not a dark-skin shade: there is no brown/skin detail, it is the same flat black as a missing texture. It persists while standing still. Some NPCs also show pure black skin, including a character who is designed dark-skinned but normally has brown highlights.

It looks like the limb material uses a different texture/shader/LOD than the head/torso, or its bindless texture slots stay empty. It does not look like the whole model reloading: head/torso remain correct while limbs go black.

What I tried

  • VICTORY_TEXTURE_GUARD=0: fixed the general skin/ghosting and the intro jump (#652).
  • VICTORY_TEXTURE_STAGE_MB=768 + VICTORY_TEXTURE_STAGE_MS=1000: fixed most face/NPC black slots (#821).
  • PR #215: head/torso improved; limbs still black.
  • Not tried: VICTORY_PAGE_WRITES=1 (the report says it made the room black), VICTORY_TEXTURE_NO_WAIT=1, removing VICTORY_TEXTURE_DROP_MIPS=1.

Questions

  1. Is this the PS_PedTex*/skin shader family, or a different material for arms/legs? Which shader/hash should I look for?
  2. What logging should I run to identify whether the limb draws are dropped, or their texture slots are empty? Is VICTORY_LOG=victory_gpu::pipeline=info,victory_gpu::draw=info enough?
  3. Should I test without VICTORY_TEXTURE_DROP_MIPS=1 (LOD/mips), or with a larger VICTORY_TEXTURE_STAGE_MB?
  4. Is there a known 8 GB / 16 GB RTX 5060 case? #912 is a 5060 8 GB with 32 GB RAM; #923 is a 5070 Laptop 8 GB with 15.4 GB RAM.

No game files are attached. I can provide a screenshot and a debug log from the next run.

**@⁠kkwa603** on GitHub · 2026-11-25 16:29 UTC · [original](https://github.com/fxceless/victory-fork/issues/1022) ### Machine### Machine - NVIDIA GeForce RTX 5060 Laptop GPU, 8 GB (8151 MiB), driver 616.92 - 16 GB RAM, Windows 10 Home China 25H2 build 26200.9711 - Game: Xbox Series package 1.0.2.1 - Executable identity: b99f876b74d4a77f03af5f878223b27bd647b5c35a79d5decd9f716504239e93 ### Build - `sagouindupm/victory-fork` `series-s-perf2` (b014d0d) - + PR #577 mouse look (cherry-picked) - + PR #215 POPS/`PS_PedTex*` (cherry-picked, commit 28ffcb3) - Local `target-mouse` release build, `--console series-s` - Switches: `VICTORY_LEVELS_ON_DEMAND=1`, `VICTORY_TEXTURE_DROP_MIPS=1`, `VICTORY_TEXTURE_GUARD=0`, `VICTORY_TEXTURE_STAGE_MB=768`, `VICTORY_TEXTURE_STAGE_MS=1000` - `[controls]` enabled; mouse look works. ### What works - Menus 30 fps; world 2-4 fps; private memory about 16.8 GB. - Mouse camera works. - After the guard/stage fixes, heads and torsos render with skin, eyes and hair; clothes render; most NPC faces are normal. - The prologue cutscene and first gameplay area run at 2-4 fps. ### Problem After walking about two steps, or crossing into a different light/shadow, **the character's arms and legs from shoulder/hip down turn pure black**. The head and torso stay normal. Clothes still render. The black is not a dark-skin shade: there is no brown/skin detail, it is the same flat black as a missing texture. It persists while standing still. Some NPCs also show pure black skin, including a character who is designed dark-skinned but normally has brown highlights. It looks like the limb material uses a different texture/shader/LOD than the head/torso, or its bindless texture slots stay empty. It does not look like the whole model reloading: head/torso remain correct while limbs go black. ### What I tried - `VICTORY_TEXTURE_GUARD=0`: fixed the general skin/ghosting and the intro jump (#652). - `VICTORY_TEXTURE_STAGE_MB=768` + `VICTORY_TEXTURE_STAGE_MS=1000`: fixed most face/NPC black slots (#821). - PR #215: head/torso improved; limbs still black. - Not tried: `VICTORY_PAGE_WRITES=1` (the report says it made the room black), `VICTORY_TEXTURE_NO_WAIT=1`, removing `VICTORY_TEXTURE_DROP_MIPS=1`. ### Questions 1. Is this the `PS_PedTex*`/skin shader family, or a different material for arms/legs? Which shader/hash should I look for? 2. What logging should I run to identify whether the limb draws are dropped, or their texture slots are empty? Is `VICTORY_LOG=victory_gpu::pipeline=info,victory_gpu::draw=info` enough? 3. Should I test without `VICTORY_TEXTURE_DROP_MIPS=1` (LOD/mips), or with a larger `VICTORY_TEXTURE_STAGE_MB`? 4. Is there a known 8 GB / 16 GB RTX 5060 case? #912 is a 5060 8 GB with 32 GB RAM; #923 is a 5070 Laptop 8 GB with 15.4 GB RAM. No game files are attached. I can provide a screenshot and a debug log from the next run.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:56:08 +00:00
Author
Owner

@⁠tippythetaidum on GitHub · 2026-11-25 16:54 UTC · original

On question 2, here's how we've been telling the two apart on an RTX 5080 (diagnostics build, cargo build --profile diag -p victory --features diagnostics). It answers per surface in one run.

1. Dump the frame's render targets where the limbs are black:

VICTORY_CAPTURE=<a folder>
VICTORY_CAPTURE_WORLD=1
VICTORY_CAPTURE_WORLD_EVERY=96
VICTORY_CAPTURE_WORLD_ALSO=300,700
VICTORY_DUMP_TARGETS=1

VICTORY_CAPTURE_WORLD_ALSO counts frames from the first world frame, so the dumps land on the same scene in every run, however long the menus took. Each listed frame saves every target it renders to as frame-<n>-<i>-<resource>-<w>x<h>-f<format>.png, plus frame-<n>-ops.txt with every draw and the targets it writes.

2. Look at the G-buffer. In our frames the first full-size target (format 27 here) holds the surfaces' base colours, and the next ones hold normals and the like.

  • Limbs black in the colour target but with their shape in the normals: the draw ran and its colour texture read black. That's the texture side.
  • Limbs with colour in the G-buffer but black in the final image: that's the light side (#512).
  • Limbs missing from every target: the draw didn't run.

3. For dropped draws, the frame line in the log says dropped N without a host pipeline (M being made). If M is in the hundreds or thousands when the world starts, the shader cache is cold: many draws are skipped until their pipelines are made, and the first minutes look broken. A second launch of the same build fixes that part.

What we saw that may be the same thing: faces (not limbs) black in the colour target, which became textured 100 to 200 frames later. One stayed red-blotched for the rest of the run. We also tried a local check that paints texture pages not yet in memory a marker colour: nothing showed it. So on our side it isn't textures that are only partly in memory.

AI-assisted (Claude Code, Claude Opus 5.5). Counts and descriptions only, nothing from the game attached.

**@⁠tippythetaidum** on GitHub · 2026-11-25 16:54 UTC · [original](https://github.com/fxceless/victory-fork/issues/1022#issuecomment-7168714730) On question 2, here's how we've been telling the two apart on an RTX 5080 (diagnostics build, `cargo build --profile diag -p victory --features diagnostics`). It answers per surface in one run. **1. Dump the frame's render targets** where the limbs are black: ``` VICTORY_CAPTURE=<a folder> VICTORY_CAPTURE_WORLD=1 VICTORY_CAPTURE_WORLD_EVERY=96 VICTORY_CAPTURE_WORLD_ALSO=300,700 VICTORY_DUMP_TARGETS=1 ``` `VICTORY_CAPTURE_WORLD_ALSO` counts frames from the first world frame, so the dumps land on the same scene in every run, however long the menus took. Each listed frame saves every target it renders to as `frame-<n>-<i>-<resource>-<w>x<h>-f<format>.png`, plus `frame-<n>-ops.txt` with every draw and the targets it writes. **2. Look at the G-buffer.** In our frames the first full-size target (format 27 here) holds the surfaces' base colours, and the next ones hold normals and the like. - Limbs black in the colour target but with their shape in the normals: the draw ran and its colour texture read black. That's the texture side. - Limbs with colour in the G-buffer but black in the final image: that's the light side (#512). - Limbs missing from every target: the draw didn't run. **3. For dropped draws,** the frame line in the log says `dropped N without a host pipeline (M being made)`. If `M` is in the hundreds or thousands when the world starts, the shader cache is cold: many draws are skipped until their pipelines are made, and the first minutes look broken. A second launch of the same build fixes that part. What we saw that may be the same thing: faces (not limbs) black in the colour target, which became textured 100 to 200 frames later. One stayed red-blotched for the rest of the run. We also tried a local check that paints texture pages not yet in memory a marker colour: nothing showed it. So on our side it isn't textures that are only partly in memory. AI-assisted (Claude Code, Claude Opus 5.5). Counts and descriptions only, nothing from the game attached.
Author
Owner

@⁠Danigamer05 on GitHub · 2026-11-25 19:20 UTC · original

Same symptom here on an 8 GB NVIDIA card, with a render-target dump that points at the texture, not at lighting.

Machine: RTX 2080 SUPER 8 GB (Turing, 32-lane waves, driver 621.01), Ryzen 7 3700X, 32 GB, Windows 11, Series S profile.
Tree: vitutu1/victory-perf ffed22d + #683, #610, #823, #1002, #1023 (adapted where victory-perf differs), diagnostics build. Switches: victory-perf's recommended set plus VICTORY_TEXTURE_ROOM_PERCENT=92 VICTORY_TEXTURE_DROP_MIPS=1 VICTORY_CARD_BUFFERS_MB=1024 VICTORY_RELAY=0 VICTORY_TEXTURE_GUARD=0.

What the dump shows (VICTORY_DUMP_TARGETS=1, VICTORY_CAPTURE_WORLD_ALSO=..., a frame in the room after the cell where Lucia's forearm looks dark):

  • In the G-buffer colour target (960x540, format 27, the fourth target written that frame) her face, hair and shirt have their colours, but the forearm is a flat mid-grey: no skin detail at all.
  • In the normals target and the depth targets the forearm is there with valid values. So the limb is drawn; only its base colour is missing. In dim light that grey reads as black.
  • The NPC at the table has correct skin colour in the same target.

What the log says at that time (one 600 s run):

  • textures picked by index: 134,495 uploaded, 1,893 waiting, 27,429 passed over unmapped;
  • host copies of title-filled textures: 75,221 let go, 26,253 made again since the start (card at ~6,060 of ~6,925 MB, so the sweep is on its 1 s step most of the time, cf. #1080).

Switches that did not fix it (single runs each, the outcome varies from run to run as described in #923):

  • VICTORY_INDIRECT_WINDOW=0 made it worse here: the main character's face was black in 4 of 5 cutscene frames sampled, where with windows on (victory-perf's default) it was black only in some.
  • VICTORY_RELAY=0 removes a bright patch on the hair (relay 2), but not the dark skin.
  • VICTORY_TEXTURE_GUARD=0: faces mostly right in close-ups, forearms still grey.

My reading: a skin/limb texture picked by index is either passed over as unmapped (streamed, with its ends not committed, which #1023 addresses) or let go and not back in time. I have not yet matched the forearm's draw to a texture address in frame-<n>-ops.txt; that is the next step.

Numbers and text only. AI-assisted (Claude Code).

**@⁠Danigamer05** on GitHub · 2026-11-25 19:20 UTC · [original](https://github.com/fxceless/victory-fork/issues/1022#issuecomment-7172165104) Same symptom here on an 8 GB NVIDIA card, with a render-target dump that points at the texture, not at lighting. **Machine:** RTX 2080 SUPER 8 GB (Turing, 32-lane waves, driver 621.01), Ryzen 7 3700X, 32 GB, Windows 11, Series S profile. **Tree:** `vitutu1/victory-perf` `ffed22d` + #683, #610, #823, #1002, #1023 (adapted where victory-perf differs), diagnostics build. Switches: victory-perf's recommended set plus `VICTORY_TEXTURE_ROOM_PERCENT=92 VICTORY_TEXTURE_DROP_MIPS=1 VICTORY_CARD_BUFFERS_MB=1024 VICTORY_RELAY=0 VICTORY_TEXTURE_GUARD=0`. **What the dump shows** (`VICTORY_DUMP_TARGETS=1`, `VICTORY_CAPTURE_WORLD_ALSO=...`, a frame in the room after the cell where Lucia's forearm looks dark): - In the G-buffer colour target (960x540, format 27, the fourth target written that frame) her face, hair and shirt have their colours, but the **forearm is a flat mid-grey**: no skin detail at all. - In the normals target and the depth targets the forearm is there with valid values. So the limb is drawn; only its base colour is missing. In dim light that grey reads as black. - The NPC at the table has correct skin colour in the same target. **What the log says at that time** (one 600 s run): - textures picked by index: 134,495 uploaded, 1,893 waiting, **27,429 passed over unmapped**; - host copies of title-filled textures: **75,221 let go, 26,253 made again** since the start (card at ~6,060 of ~6,925 MB, so the sweep is on its 1 s step most of the time, cf. #1080). **Switches that did not fix it** (single runs each, the outcome varies from run to run as described in #923): - `VICTORY_INDIRECT_WINDOW=0` made it *worse* here: the main character's face was black in 4 of 5 cutscene frames sampled, where with windows on (victory-perf's default) it was black only in some. - `VICTORY_RELAY=0` removes a bright patch on the hair (relay 2), but not the dark skin. - `VICTORY_TEXTURE_GUARD=0`: faces mostly right in close-ups, forearms still grey. My reading: a skin/limb texture picked by index is either passed over as unmapped (streamed, with its ends not committed, which #1023 addresses) or let go and not back in time. I have not yet matched the forearm's draw to a texture address in `frame-<n>-ops.txt`; that is the next step. Numbers and text only. AI-assisted (Claude Code).
Author
Owner

@⁠Curry-976 on GitHub · 2026-11-26 04:07 UTC · original

Another NVIDIA Series S data point on black skin, plus a question about blocky "staircase" edges that #1002 did not change here.

Machine: RTX 4050 Laptop 6 GB (Ada, 32-lane waves, ~4.9 GB budget), driver 32.0.16.1742, Intel i5-12450HX, 24 GB, Windows 11 26300. Game package 1.0.2.1, --console series-s.
Tree: main 18ea644 + #1081 + #798 + #1002 + #592, plus the constant ambient stand-in from avatarmanz/VIctory-7900XTX (82ca134), diagnostics build. Switches: the diagnostics/README.md set + CARD_HASH_LEN=1 LOOKUP_CACHE=1, and for this card CARD_WINDOWS_MB=0 CARD_BUFFERS_MB=256 TEXTURE_ROOM_PERCENT=95 DISPLAY_MODE=1920x1080.

Result overall: the prologue plays, 5-7 fps in rooms, 15-17 GB private, the card at or just under its budget.

Black skin (faces, forearms), one change per run, judged on the same cutscenes:

change faces fps in rooms
base above most faces black in cutscenes 5-7
AMBIENT=0.8 (its log shows the Radiance/Resolve stand-in engaging) no change 5-6
+ TEXTURE_STAGE_MB=768 TEXTURE_STAGE_MS=1000 some faces come back (e.g. the woman in the pink shirt, the inmate at the table); others and most forearms stay black 5
+ TEXTURE_GUARD=0 worse: faces that had come back were black again 4-5, a 3 s frame

Texture passes refused for room went from 6,988 to 6,292 with the room changes, so room is part of it but not all.

Blocky staircase edges: the player character's shoulders and back show light/shadow in steps of roughly 16 px (the symptom #1002 describes). With #1002 applied, f133e35efed2a48a now translates and gets a host pipeline (it was dropped every frame before), and with #592 2cc4c197ee29e291 is no longer refused. The steps on the character look the same. Still refused on this card: 02384a60fda6f2d0 2da4beb386509b77 369cbe906ea72764 5dc3b25986622949 6b82bc7d22016cb5 6f225b641c5b0708, and 926c46bab3b86bd6 (first seen in the dorm).

Questions:

  1. Is one of the still-refused computes known to feed the character lighting or shadow mask, i.e. a likely source of the 16 px steps?
  2. For the black skin, is there a newer lead than staging and the guard? I can run the VICTORY_DUMP_TARGETS capture from the comment above on a cutscene frame if you say which frame or pass to look at.

No game files or images attached. Tested by the person playing; the runs were driven and this written with Claude Code (Claude Opus 5.5).

**@⁠Curry-976** on GitHub · 2026-11-26 04:07 UTC · [original](https://github.com/fxceless/victory-fork/issues/1022#issuecomment-7182321413) Another NVIDIA Series S data point on black skin, plus a question about blocky "staircase" edges that #1002 did not change here. **Machine:** RTX 4050 Laptop 6 GB (Ada, 32-lane waves, ~4.9 GB budget), driver 32.0.16.1742, Intel i5-12450HX, 24 GB, Windows 11 26300. Game package 1.0.2.1, `--console series-s`. **Tree:** `main` 18ea644 + #1081 + #798 + #1002 + #592, plus the constant ambient stand-in from avatarmanz/VIctory-7900XTX (82ca134), diagnostics build. Switches: the `diagnostics/README.md` set + `CARD_HASH_LEN=1 LOOKUP_CACHE=1`, and for this card `CARD_WINDOWS_MB=0 CARD_BUFFERS_MB=256 TEXTURE_ROOM_PERCENT=95 DISPLAY_MODE=1920x1080`. Result overall: the prologue plays, 5-7 fps in rooms, 15-17 GB private, the card at or just under its budget. **Black skin (faces, forearms), one change per run, judged on the same cutscenes:** | change | faces | fps in rooms | |---|---|---| | base above | most faces black in cutscenes | 5-7 | | `AMBIENT=0.8` (its log shows the Radiance/Resolve stand-in engaging) | no change | 5-6 | | + `TEXTURE_STAGE_MB=768 TEXTURE_STAGE_MS=1000` | some faces come back (e.g. the woman in the pink shirt, the inmate at the table); others and most forearms stay black | 5 | | + `TEXTURE_GUARD=0` | worse: faces that had come back were black again | 4-5, a 3 s frame | Texture passes refused for room went from 6,988 to 6,292 with the room changes, so room is part of it but not all. **Blocky staircase edges:** the player character's shoulders and back show light/shadow in steps of roughly 16 px (the symptom #1002 describes). With #1002 applied, `f133e35efed2a48a` now translates and gets a host pipeline (it was dropped every frame before), and with #592 `2cc4c197ee29e291` is no longer refused. The steps on the character look the same. Still refused on this card: `02384a60fda6f2d0 2da4beb386509b77 369cbe906ea72764 5dc3b25986622949 6b82bc7d22016cb5 6f225b641c5b0708`, and `926c46bab3b86bd6` (first seen in the dorm). **Questions:** 1. Is one of the still-refused computes known to feed the character lighting or shadow mask, i.e. a likely source of the 16 px steps? 2. For the black skin, is there a newer lead than staging and the guard? I can run the `VICTORY_DUMP_TARGETS` capture from the comment above on a cutscene frame if you say which frame or pass to look at. No game files or images attached. Tested by the person playing; the runs were driven and this written with Claude Code (Claude Opus 5.5).
Author
Owner

@⁠Danigamer05 on GitHub · 2026-11-26 05:26 UTC · original

On Curry-976's TEXTURE_STAGE_MB=768 TEXTURE_STAGE_MS=1000 lead: here it did not bring faces back. The bigger effect was run-to-run variance with identical switches.

Machine: RTX 2080 SUPER 8 GB, Ryzen 7 3700X, 32 GB, Windows 11, --console series-s, diagnostics build.
Tree: main dc4c0fc + #1002 + #1112 + #798 + #1081 + #1146 + #1192 + #1200 + #1202 + #1157.
Switches: the run 253 set + CARD_HASH_LEN=1 FILLS_PLAIN=1 STEP_INDEX=1 LIGHT_REFRESH=1 ABSENT_ONCE=1 ABSENT_MS=told + TEXTURE_ROOM_PERCENT=92 CARD_ROOM_FOR_TARGETS_MB=0 CARD_ROOM_FOR_BUFFERS=0 (see #898).

Four 600 s launches, alternated, with the same save and the same scripted input. I took a window screenshot every 10 s and judged the opening cutscene close-ups (about 100 to 160 s after launch):

run stage switches close-ups with black faces fps (last 90 s)
A default none: Lucia's face and the woman in the pink shirt are right in every close-up 7.9
B 768 MB / 1000 ms almost all (Lucia's face too) 7.8
C default some (2 of 4 close-ups), one white frame 7.8
D 768 MB / 1000 ms one, then about 70 s of black screenshots 7.9

So with this tree the staging budget is not what decides it. The same switches gave all faces right once and some black once. That points to when the skin texture arrives relative to the cutscene's first frames, not to how much is staged per frame. With the room reserves off, "passes that made none for lack of room" was 75 to 577 in these runs, so room was not the limit either.

Caveats: two runs per setting, judged by eye on 10 s screenshots, one cutscene.

Numbers and text only. AI-assisted (Claude Code).

**@⁠Danigamer05** on GitHub · 2026-11-26 05:26 UTC · [original](https://github.com/fxceless/victory-fork/issues/1022#issuecomment-7183491333) On Curry-976's `TEXTURE_STAGE_MB=768 TEXTURE_STAGE_MS=1000` lead: here it did not bring faces back. The bigger effect was run-to-run variance with identical switches. **Machine:** RTX 2080 SUPER 8 GB, Ryzen 7 3700X, 32 GB, Windows 11, `--console series-s`, diagnostics build. **Tree:** `main` `dc4c0fc` + #1002 + #1112 + #798 + #1081 + #1146 + #1192 + #1200 + #1202 + #1157. **Switches:** the run 253 set + `CARD_HASH_LEN=1 FILLS_PLAIN=1 STEP_INDEX=1 LIGHT_REFRESH=1 ABSENT_ONCE=1 ABSENT_MS=told` + `TEXTURE_ROOM_PERCENT=92 CARD_ROOM_FOR_TARGETS_MB=0 CARD_ROOM_FOR_BUFFERS=0` (see #898). Four 600 s launches, alternated, with the same save and the same scripted input. I took a window screenshot every 10 s and judged the opening cutscene close-ups (about 100 to 160 s after launch): | run | stage switches | close-ups with black faces | fps (last 90 s) | |---|---|---|---| | A | default | **none**: Lucia's face and the woman in the pink shirt are right in every close-up | 7.9 | | B | 768 MB / 1000 ms | almost all (Lucia's face too) | 7.8 | | C | default | some (2 of 4 close-ups), one white frame | 7.8 | | D | 768 MB / 1000 ms | one, then about 70 s of black screenshots | 7.9 | So with this tree the staging budget is not what decides it. The same switches gave all faces right once and some black once. That points to when the skin texture arrives relative to the cutscene's first frames, not to how much is staged per frame. With the room reserves off, "passes that made none for lack of room" was 75 to 577 in these runs, so room was not the limit either. Caveats: two runs per setting, judged by eye on 10 s screenshots, one cutscene. Numbers and text only. AI-assisted (Claude Code).
Author
Owner

@⁠HLVM04 on GitHub · 2026-11-26 04:26 UTC · original · edited 2026-11-26 06:20 UTC

On Curry-976's two questions, from an RTX 5070 Ti 16 GB (32-lane waves), Series S profile, fork tree with #798, #783, #799 and others on top:

1. Still-refused computes. Four of yours (02384a60fda6f2d0, 2da4beb386509b77, 369cbe906ea72764, 6b82bc7d22016cb5) are built on our card by #799's loose-LDS fallback (it builds 5 of the 7 WaveSize 64 refusals we had). We bisected the visible change it brings with VICTORY_SKIP_PIPELINES: it comes from 2da4beb386509b77 alone, and a PIX capture shows that one is the title's textured wired glass, so it isn't a character light or shadow pass. We haven't identified the other three. Separately, a last-resort wide form of ours that built 4 of the 7 cost fps and made no visible difference to the artifacts. So we have no evidence that a refused compute causes the 16 px steps.

2. A newer black-skin lead (texture side). In our tree, Spans with Rule::Start (the default VICTORY_STALE_TEXTURES rule, descriptor/host.rs) treated any placed-texture view written within 4 KiB of an older view's start as replacing it. The title packs tiny sRGB R8G8B8A8 tint palettes (13x1 to 1024x1, 256 B to 4 KiB each) a few hundred bytes apart in one page, so each new palette made its neighbours stale. Their host views went null for good, and in one run 10 palettes read by character draws showed "no texture, not queued". A local fix (a texture's head block is min(4 KiB, its size)) lit the main character's face in the first sunlit in-world shot in 2 of 2 runs, where it had been black in every run before.

  • It is not a full fix. The neck from behind and a night-cutscene face stayed black at times, and over later runs her neck was lit in only about half of them, whatever else we changed. Small samples.
  • What didn't help for us (one run each unless noted): VICTORY_STALE_TEXTURES=0; TEXTURE_NO_WAIT off; more texture room; VICTORY_KEEP_MOVED=1 VICTORY_SWAP_WHEN_FULL=1 with a 5,500 MB texture budget (neck black in 4 of 4 runs).
  • With VICTORY_VIEW_GUARD=0 faces go black, so for us the skin reads stale memory, not a failing shader.

For scoring, we dump the G-buffer albedo at one fixed frame (VICTORY_DUMP_TARGETS=1, VICTORY_CAPTURE_FRAMES=3000) and judge the skin there, not in screenshots. Frames are counted by presented()+1, and only targets first used in a listed frame are saved, so list 2 or 3 consecutive frames to get a whole frame.

Correction (2026-11-26): the 1280x720 target we called "albedo" above (format 28, where skin shows blue) is not the base colour. It looks like a material/skin mask: in one run the neck was blue there while the real base colour, render target 0 (1280x720, format 27, the first of the 6 G-buffer targets), was dark at the neck. So the lit/black tallies above were scored on the wrong target and may be off. RT0 is the one to judge (skin tone at the neck; a large plaster wall is also light grey in good runs and dark in bad ones). The hero's skin is drawn by pixel shader b36c288fccc767b0 (found by skipping shaders with VICTORY_SKIP_PIPELINES).

**@⁠HLVM04** on GitHub · 2026-11-26 04:26 UTC · [original](https://github.com/fxceless/victory-fork/issues/1022#issuecomment-7182591978) · edited 2026-11-26 06:20 UTC On Curry-976's two questions, from an RTX 5070 Ti 16 GB (32-lane waves), Series S profile, fork tree with #798, #783, #799 and others on top: **1. Still-refused computes.** Four of yours (02384a60fda6f2d0, 2da4beb386509b77, 369cbe906ea72764, 6b82bc7d22016cb5) are built on our card by #799's loose-LDS fallback (it builds 5 of the 7 WaveSize 64 refusals we had). We bisected the visible change it brings with `VICTORY_SKIP_PIPELINES`: it comes from 2da4beb386509b77 alone, and a PIX capture shows that one is the title's textured wired glass, so it isn't a character light or shadow pass. We haven't identified the other three. Separately, a last-resort wide form of ours that built 4 of the 7 cost fps and made no visible difference to the artifacts. So we have no evidence that a refused compute causes the 16 px steps. **2. A newer black-skin lead (texture side).** In our tree, `Spans` with `Rule::Start` (the default `VICTORY_STALE_TEXTURES` rule, `descriptor/host.rs`) treated any placed-texture view written within 4 KiB of an older view's start as replacing it. The title packs tiny sRGB R8G8B8A8 tint palettes (13x1 to 1024x1, 256 B to 4 KiB each) a few hundred bytes apart in one page, so each new palette made its neighbours stale. Their host views went null for good, and in one run 10 palettes read by character draws showed "no texture, not queued". A local fix (a texture's head block is min(4 KiB, its size)) lit the main character's face in the first sunlit in-world shot in 2 of 2 runs, where it had been black in every run before. - It is not a full fix. The neck from behind and a night-cutscene face stayed black at times, and over later runs her neck was lit in only about half of them, whatever else we changed. Small samples. - What didn't help for us (one run each unless noted): `VICTORY_STALE_TEXTURES=0`; `TEXTURE_NO_WAIT` off; more texture room; `VICTORY_KEEP_MOVED=1 VICTORY_SWAP_WHEN_FULL=1` with a 5,500 MB texture budget (neck black in 4 of 4 runs). - With `VICTORY_VIEW_GUARD=0` faces go black, so for us the skin reads stale memory, not a failing shader. For scoring, we dump the G-buffer albedo at one fixed frame (`VICTORY_DUMP_TARGETS=1`, `VICTORY_CAPTURE_FRAMES=3000`) and judge the skin there, not in screenshots. Frames are counted by `presented()+1`, and only targets first used in a listed frame are saved, so list 2 or 3 consecutive frames to get a whole frame. **Correction (2026-11-26):** the 1280x720 target we called "albedo" above (format 28, where skin shows blue) is not the base colour. It looks like a material/skin mask: in one run the neck was blue there while the real base colour, render target 0 (1280x720, format 27, the first of the 6 G-buffer targets), was dark at the neck. So the lit/black tallies above were scored on the wrong target and may be off. RT0 is the one to judge (skin tone at the neck; a large plaster wall is also light grey in good runs and dark in bad ones). The hero's skin is drawn by pixel shader b36c288fccc767b0 (found by skipping shaders with `VICTORY_SKIP_PIPELINES`).
Author
Owner

@⁠HLVM04 on GitHub · 2026-11-26 07:37 UTC · original · edited 2026-11-26 08:25 UTC

On Danigamer05's reading, that it depends on when the skin texture arrives and not on how much is staged: we found a race of that kind behind our main character's black skin and wrote it up in #923 (#923).

In short: with VICTORY_TEXTURE_NO_WAIT=1, a texture refresh that lands while the title is remapping the texture's pages reads title memory through the kernel. If the texture is only partly mapped then, that read fails. A texture picked by index has no later refresh, so its host copy stays all zeros for the rest of the run. We fixed it locally by falling back to the partly-mapped copy path when that read fails on a never-filled staging buffer. The neck was lit in 4 of 4 runs, against 1 of 4 before (RTX 5070 Ti, Series S, scored on G-buffer render target 0). It's a local commit, not a PR.

Two caveats for this thread: we only checked the face and neck, not arms and legs. And the "TEXTURE_NO_WAIT off didn't help" in my comment above was one run, scored on the wrong target (see the correction there), so don't rule this out because of it. If your set has TEXTURE_NO_WAIT=1, an A/B with it off is a cheap check.

Caveat (2026-11-26): this fix is shown at the G-buffer stage only: base colour (render target 0) at the neck is right in 4 of 4 runs, and the host copies match title memory. In the final frame of the backlit window shot we scored her neck looks dark both before and after the fix (no ray-traced indirect light in those runs), so an on-screen improvement in that shot is not yet shown.

**@⁠HLVM04** on GitHub · 2026-11-26 07:37 UTC · [original](https://github.com/fxceless/victory-fork/issues/1022#issuecomment-7185657218) · edited 2026-11-26 08:25 UTC On Danigamer05's reading, that it depends on when the skin texture arrives and not on how much is staged: we found a race of that kind behind our main character's black skin and wrote it up in #923 (https://git.gtahub.st/github/fxceless--victory-fork/issues/923). In short: with `VICTORY_TEXTURE_NO_WAIT=1`, a texture refresh that lands while the title is remapping the texture's pages reads title memory through the kernel. If the texture is only partly mapped then, that read fails. A texture picked by index has no later refresh, so its host copy stays all zeros for the rest of the run. We fixed it locally by falling back to the partly-mapped copy path when that read fails on a never-filled staging buffer. The neck was lit in 4 of 4 runs, against 1 of 4 before (RTX 5070 Ti, Series S, scored on G-buffer render target 0). It's a local commit, not a PR. Two caveats for this thread: we only checked the face and neck, not arms and legs. And the "`TEXTURE_NO_WAIT` off didn't help" in my comment above was one run, scored on the wrong target (see the correction there), so don't rule this out because of it. If your set has `TEXTURE_NO_WAIT=1`, an A/B with it off is a cheap check. **Caveat (2026-11-26):** this fix is shown at the G-buffer stage only: base colour (render target 0) at the neck is right in 4 of 4 runs, and the host copies match title memory. In the final frame of the backlit window shot we scored her neck looks dark both before and after the fix (no ray-traced indirect light in those runs), so an on-screen improvement in that shot is not yet shown.
Author
Owner

@⁠Curry-976 on GitHub · 2026-11-26 08:25 UTC · original

@⁠HLVM04 thanks, the A/B confirms it on my card.

Same RTX 4050 Laptop 6 GB / Series S machine as my comment above, this time on codec-d/cool_fox f4b48ad built from source, Series S, everything else unchanged between the two runs:

VICTORY_TEXTURE_NO_WAIT player character's face and neck fps in rooms
1 black (only the eyes lit), in profile by the cell window and from behind 3
0 skin, eye, mouth and earrings visible in profile; neck and ear lit from behind 3

One run each, judged on the same spots by eye in the final image, not on a G-buffer target. No visible frame-time cost here. Not checked: arms and legs, and the other characters in the dark cutscenes, which are too dark to judge either way.

So on this card TEXTURE_NO_WAIT=0 is the cheap workaround until your partly-mapped fallback is in.

Tested by the person playing; written with Claude Code (Claude Opus 5.5). No game files or images attached.

**@⁠Curry-976** on GitHub · 2026-11-26 08:25 UTC · [original](https://github.com/fxceless/victory-fork/issues/1022#issuecomment-7186579337) @⁠HLVM04 thanks, the A/B confirms it on my card. Same RTX 4050 Laptop 6 GB / Series S machine as my comment above, this time on codec-d/cool_fox `f4b48ad` built from source, Series S, everything else unchanged between the two runs: | `VICTORY_TEXTURE_NO_WAIT` | player character's face and neck | fps in rooms | |---|---|---| | 1 | black (only the eyes lit), in profile by the cell window and from behind | 3 | | 0 | skin, eye, mouth and earrings visible in profile; neck and ear lit from behind | 3 | One run each, judged on the same spots by eye in the final image, not on a G-buffer target. No visible frame-time cost here. Not checked: arms and legs, and the other characters in the dark cutscenes, which are too dark to judge either way. So on this card `TEXTURE_NO_WAIT=0` is the cheap workaround until your partly-mapped fallback is in. Tested by the person playing; written with Claude Code (Claude Opus 5.5). No game files or images attached.
This discussion has been locked. Commenting is limited to contributors.
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/fxceless--victory-fork#1022
No description provided.