Red speckles on dark uniforms in the opening scene (RTX 3070 Ti, 32-lane), present at least since d4b5d51 #2057

Open
opened 2026-11-29 08:50:05 +00:00 by github-bot · 4 comments
Owner

@⁠Robotniq on GitHub · 2026-11-29 08:47 UTC · original

What happens: in the opening, the dark police uniforms show small bright red speckles all over the shirt: the officer leaning on the patrol car, and the other officer's back as they walk into the coffee shop. Other materials in the same frames look right.

Reproduce: a save at the opening; the speckles are there as soon as the scene by the patrol car is on screen.

Narrowed down (same save, frames captured with VICTORY_CAPTURE_WORLD):

Build Speckles
d4b5d51 + a separate pool for small textures (#1543) yes
568c5e5 + #1952 + #1543 + memory and eviction changes yes
the same, with no ray-tracing compute pipeline skipped (VICTORY_SKIP_PIPELINES holding only two reflection programs) yes

So it is at least as old as d4b5d51, and it does not come from skipping the ray-tracing compute pipelines.

PC: RTX 3070 Ti 8 GB (32-lane), driver 621.40, Windows 11, Series S profile, DLSS Quality, no frame generation, ray tracing off.

I have the three captures if they help.

Measured with AI assistance (Claude Code); the runs were made on my machine.

**@⁠Robotniq** on GitHub · 2026-11-29 08:47 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2057) **What happens:** in the opening, the dark police uniforms show small bright red speckles all over the shirt: the officer leaning on the patrol car, and the other officer's back as they walk into the coffee shop. Other materials in the same frames look right. **Reproduce:** a save at the opening; the speckles are there as soon as the scene by the patrol car is on screen. **Narrowed down** (same save, frames captured with `VICTORY_CAPTURE_WORLD`): | Build | Speckles | |---|---| | d4b5d51 + a separate pool for small textures (#1543) | yes | | 568c5e5 + #1952 + #1543 + memory and eviction changes | yes | | the same, with no ray-tracing compute pipeline skipped (`VICTORY_SKIP_PIPELINES` holding only two reflection programs) | yes | So it is at least as old as d4b5d51, and it does not come from skipping the ray-tracing compute pipelines. **PC:** RTX 3070 Ti 8 GB (32-lane), driver 621.40, Windows 11, Series S profile, DLSS Quality, no frame generation, ray tracing off. I have the three captures if they help. Measured with AI assistance (Claude Code); the runs were made on my machine.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-29 08:50:05 +00:00
Author
Owner

@⁠github-actions[bot] on GitHub · 2026-11-29 08:47 UTC · original

Please attach both logs from the run that went wrong. Without them we can only guess. Paste %LOCALAPPDATA% into the address bar of File Explorer to get there.

  1. The play log, in %LOCALAPPDATA%\victory\logs\: the newest victory-nvidia-play-<date>-<time>-<number>.log (from victory.exe) or victory-nvidia-<date>-<time>.log (from the script launcher). The window shows its path at the start, on the line Log: ....
  2. The crash log: %LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, and, if there is one from that run, the newest victory-<date>-<time>-<number>.crash.log in %LOCALAPPDATA%\VIctory\data\7952987A\temp\.

Also say which GPU, Windows version (10 or 11)

**@⁠github-actions[bot]** on GitHub · 2026-11-29 08:47 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2057#issuecomment-7253334126) Please attach both logs from the run that went wrong. Without them we can only guess. Paste `%LOCALAPPDATA%` into the address bar of File Explorer to get there. 1. The play log, in `%LOCALAPPDATA%\victory\logs\`: the newest `victory-nvidia-play-<date>-<time>-<number>.log` (from `victory.exe`) or `victory-nvidia-<date>-<time>.log` (from the script launcher). The window shows its path at the start, on the line `Log: ...`. 2. The crash log: `%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log`, and, if there is one from that run, the newest `victory-<date>-<time>-<number>.crash.log` in `%LOCALAPPDATA%\VIctory\data\7952987A\temp\`. Also say which GPU, Windows version (10 or 11)
Author
Owner

@⁠BitWuehler on GitHub · 2026-11-29 16:41 UTC · original

Confirming this also reproduces on Blackwell + Linux/Proton (so it is neither Ampere-specific nor Windows-only):

  • Hardware / Stack: RTX 5080 16 GB (driver 620.73.04), Ryzen 7 9800X3D, CachyOS Linux, GE-Proton 11-14 + vkd3d-proton master.
  • Build: v2026.11.29.01 (829188e9), Series X profile, 1440p, DLSS Quality, VICTORY_WAVE_FOLDED=0, VICTORY_CODE_TABLE_AFTER=1.
  • Observation: Bright red/magenta speckles appear specifically across both officers' dark uniform shirts (front and back, both outdoors by the patrol vehicle and indoors in the subsequent scene), while surrounding trousers, skin, and vehicles render cleanly.

(Report compiled with AI assistance.)

**@⁠BitWuehler** on GitHub · 2026-11-29 16:41 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2057#issuecomment-7259105260) Confirming this also reproduces on **Blackwell + Linux/Proton** (so it is neither Ampere-specific nor Windows-only): - **Hardware / Stack:** RTX 5080 16 GB (driver `620.73.04`), Ryzen 7 9800X3D, CachyOS Linux, GE-Proton 11-14 + `vkd3d-proton master`. - **Build:** `v2026.11.29.01` (`829188e9`), Series X profile, 1440p, DLSS Quality, `VICTORY_WAVE_FOLDED=0`, `VICTORY_CODE_TABLE_AFTER=1`. - **Observation:** Bright red/magenta speckles appear specifically across both officers' dark uniform shirts (front and back, both outdoors by the patrol vehicle and indoors in the subsequent scene), while surrounding trousers, skin, and vehicles render cleanly. *(Report compiled with AI assistance.)*
Author
Owner

@⁠Robotniq on GitHub · 2026-11-29 19:53 UTC · original

A data point that narrows it down: on an older build the speckles are not there. Same PC (RTX 3070 Ti, 32-lane), same save, same launcher switches for the light (VICTORY_AMBIENT=0.8, VICTORY_AMBIENT_AIR=1.5, VICTORY_AMBIENT_SPECULAR=1), frames captured with VICTORY_CAPTURE_WORLD at the same lines (the officers by the patrol car, and the officer's back walking into the coffee shop):

Build Speckles
fxceless/victory-fork 2eade68's tree on top of VIctory-NVIDIA 0cef07e, plus PRs #58, #77, #88, #428 no
VIctory-NVIDIA d4b5d51 yes
568c5e5 yes
829188e9 yes

So it came in with code, not with settings, somewhere between those. I can bisect on main between 0cef07e and d4b5d51 if that helps.

Measured with AI assistance (Claude Code); the runs were made on my machine.

**@⁠Robotniq** on GitHub · 2026-11-29 19:53 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2057#issuecomment-7261637803) A data point that narrows it down: on an older build the speckles are not there. Same PC (RTX 3070 Ti, 32-lane), same save, same launcher switches for the light (`VICTORY_AMBIENT=0.8`, `VICTORY_AMBIENT_AIR=1.5`, `VICTORY_AMBIENT_SPECULAR=1`), frames captured with `VICTORY_CAPTURE_WORLD` at the same lines (the officers by the patrol car, and the officer's back walking into the coffee shop): | Build | Speckles | |---|---| | fxceless/victory-fork 2eade68's tree on top of VIctory-NVIDIA 0cef07e, plus PRs #58, #77, #88, #428 | no | | VIctory-NVIDIA d4b5d51 | yes | | 568c5e5 | yes | | 829188e9 | yes | So it came in with code, not with settings, somewhere between those. I can bisect on main between 0cef07e and d4b5d51 if that helps. Measured with AI assistance (Claude Code); the runs were made on my machine.
Author
Owner

@⁠Robotniq on GitHub · 2026-11-29 21:17 UTC · original

Bisected: the first bad commit is 8f136ed7, the merge of #534 (2e855b0f, "port NaN-safe compose clamp and pixel HDR range clamp").

On main, first-parent, between 0cef07e (clean) and d4b5d51 (speckles), same save, frame captures of the officers in the coffee shop: 0cef07e good, 991887d1 good, 188c3bb3 good, fb798971 good, 075d08a5 skipped (does not build), 0b8b6a19 good, 7c81ea6d bad, 41d9f625 bad, 8f136ed7 bad.

Why: clamp_hdr (VICTORY_HDR_CLAMP, on by default) holds pixel colour outputs to [-65024, 65024] and turns a NaN into +65024 (select(nan, max, hi)). The uniforms' shading makes some NaN pixels; before #534 they came out dark on the dark cloth, now they come out as bright red dots after the tonemap.

On v2026.11.29.02 (RTX 3070 Ti, 32-lane):

  • VICTORY_HDR_CLAMP=0: the speckles are gone in the same frames.
  • VICTORY_NAN_SCRUB=1: gone too, and the clamp stays (scrub_nan runs before clamp_hdr and turns NaN and infinities into 0). No frame-rate change here (24.9 against 24.7-25.0 fps on a boat save). victory play sets it already; scripts/play-foxhound.ps1 does not.

A possible fix: have clamp_hdr map a NaN to 0 as scrub_nan does, or set VICTORY_NAN_SCRUB=1 in the script launchers as well.

Measured with AI assistance (Claude Code); the runs were made on my machine.

**@⁠Robotniq** on GitHub · 2026-11-29 21:17 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2057#issuecomment-7262758038) Bisected: the first bad commit is 8f136ed7, the merge of #534 (2e855b0f, "port NaN-safe compose clamp and pixel HDR range clamp"). On main, first-parent, between 0cef07e (clean) and d4b5d51 (speckles), same save, frame captures of the officers in the coffee shop: 0cef07e good, 991887d1 good, 188c3bb3 good, fb798971 good, 075d08a5 skipped (does not build), 0b8b6a19 good, 7c81ea6d bad, 41d9f625 bad, 8f136ed7 bad. Why: `clamp_hdr` (`VICTORY_HDR_CLAMP`, on by default) holds pixel colour outputs to [-65024, 65024] and turns a NaN into +65024 (`select(nan, max, hi)`). The uniforms' shading makes some NaN pixels; before #534 they came out dark on the dark cloth, now they come out as bright red dots after the tonemap. On v2026.11.29.02 (RTX 3070 Ti, 32-lane): - `VICTORY_HDR_CLAMP=0`: the speckles are gone in the same frames. - `VICTORY_NAN_SCRUB=1`: gone too, and the clamp stays (`scrub_nan` runs before `clamp_hdr` and turns NaN and infinities into 0). No frame-rate change here (24.9 against 24.7-25.0 fps on a boat save). `victory play` sets it already; `scripts/play-foxhound.ps1` does not. A possible fix: have `clamp_hdr` map a NaN to 0 as `scrub_nan` does, or set `VICTORY_NAN_SCRUB=1` in the script launchers as well. Measured with AI assistance (Claude Code); the runs were made on my machine.
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/trustno1-coder--VIctory-NVIDIA#2057
No description provided.