NVIDIA (RTX 4070 SUPER): picture breaks up into black blocks and white haze when a clear sky is in view #1319

Open
opened 2026-11-26 14:55:35 +00:00 by github-bot · 7 comments
Owner

@⁠KaV3R on GitHub · 2026-11-26 14:51 UTC · original

On the trustno1-coder/VIctory-NVIDIA build (a fork of avatarmanz/VIctory-7900XTX, which grew from this one); that repository has issues turned off, so I report it here. It may well apply to this tree on NVIDIA too.

On an RTX 4070 SUPER with trustno1-coder/VIctory-NVIDIA (033be27f, scripts\play-nvidia.ps1 speed set, Series S, 540p), the picture falls apart outdoors whenever a clear, sunny sky is in view. With an overcast sky, or with the camera turned toward the ground, it looks fine.

What it looks like (driving on a country road at ~9 fps, about 5,900 draws a frame):

  • Trees and buildings against the sky turn into black and grey square blocks, like a coarse tiled shadow or mask written with garbage.
  • The horizon and the sky near the sun wash out to white haze.
  • The car's edges smear and leave trails when it moves (the title's own temporal upscaler at half scale and a low frame rate).

What I checked:

  • None of the 34 ray-traced sun-shadow programs in scripts/rt_off_hashes.txt (rtdirectionalshadows:CS_RTShadowTrace32*, CS_RTDistantShadow*, shadowmask:CS_GenerateShadowMasks_RaytracedCheckerboard, CS_SetRTShadowsIndirectArgs) is ever bound in a 70-minute run. The only skipped shaders the title asks for are CS_RaytracingResolve ones. So the blocks come from a pass that still runs.
  • No device loss, no crash, no driver entry in the event log. The fps (15–17 median in the world) is unaffected.
  • Our own fxceless-based tree showed the same blocky black sun shadows before (with VICTORY_BVH_MISS the outdoor picture went fully white there).
  • I'm trying 720p and VICTORY_AMBIENT_AIR=0.8 next, and will capture a frame with F9 + VICTORY_DUMP_TARGETS=1 to find the pass that writes the blocks.

Config:

  • GPU: NVIDIA GeForce RTX 4070 SUPER 12 GB, driver 621.35, Resizable BAR on (BAR1 16 GiB).
  • CPU: AMD Ryzen 9 9950X3D.
  • RAM: 64 GB DDR5 (4 × 16 GB, mixed 4800/5600 modules, running at 3200).
  • OS: Windows 11 Pro, build 26300.
  • Game: Xbox Series build 1.0.2.1, own dump.
  • Build: --profile diag --features diagnostics.
  • Launch: play-nvidia.ps1 -NoSmoothMotion plus VICTORY_NO_WATCHDOG=1, everything else as the script sets it:
    • VICTORY_RENDER_SCALE=0.5, VICTORY_OWN_UPSCALER=1, --console series-s;
    • VICTORY_BVH_MISS=1, VICTORY_SKIP_PIPELINES = rt_off_hashes.txt;
    • VICTORY_DYNAMIC_SLOTS=524288, VICTORY_CARD_BUFFERS_MIN_MB=1, VICTORY_CARD_BUFFERS_MB=1536;
    • VICTORY_AMBIENT=0.8, VICTORY_AMBIENT_AIR=1.5, VICTORY_AMBIENT_MOST=2, VICTORY_NAN_SCRUB=1;
    • VICTORY_PIPELINE_WAIT_MS=10000, VICTORY_COMPOSE=1;
    • the relay/indirect speed set (VICTORY_RELAY=2, VICTORY_CARD_STEPS=2, VICTORY_TEXTURE_NO_WAIT=1, VICTORY_INDIRECT_WINDOW=1, ...).

Screenshot: (to be attached)

AI-assisted (Claude Code, Claude Opus 5.5): the log analysis and this text. Log facts and numbers only, nothing from the game attached.

**@⁠KaV3R** on GitHub · 2026-11-26 14:51 UTC · [original](https://github.com/fxceless/victory-fork/issues/1319) On the [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA) build (a fork of avatarmanz/VIctory-7900XTX, which grew from this one); that repository has issues turned off, so I report it here. It may well apply to this tree on NVIDIA too. On an RTX 4070 SUPER with trustno1-coder/VIctory-NVIDIA (`033be27f`, `scripts\play-nvidia.ps1` speed set, Series S, 540p), the picture falls apart outdoors whenever a clear, sunny sky is in view. With an overcast sky, or with the camera turned toward the ground, it looks fine. **What it looks like** (driving on a country road at ~9 fps, about 5,900 draws a frame): - Trees and buildings against the sky turn into **black and grey square blocks**, like a coarse tiled shadow or mask written with garbage. - The horizon and the sky near the sun **wash out to white haze**. - The car's edges **smear and leave trails** when it moves (the title's own temporal upscaler at half scale and a low frame rate). **What I checked:** - None of the 34 ray-traced sun-shadow programs in `scripts/rt_off_hashes.txt` (`rtdirectionalshadows:CS_RTShadowTrace32*`, `CS_RTDistantShadow*`, `shadowmask:CS_GenerateShadowMasks_RaytracedCheckerboard`, `CS_SetRTShadowsIndirectArgs`) is ever bound in a 70-minute run. The only skipped shaders the title asks for are `CS_RaytracingResolve` ones. So the blocks come from a pass that still runs. - No device loss, no crash, no driver entry in the event log. The fps (15–17 median in the world) is unaffected. - Our own fxceless-based tree showed the same blocky black sun shadows before (with `VICTORY_BVH_MISS` the outdoor picture went fully white there). - I'm trying 720p and `VICTORY_AMBIENT_AIR=0.8` next, and will capture a frame with F9 + `VICTORY_DUMP_TARGETS=1` to find the pass that writes the blocks. **Config:** - **GPU:** NVIDIA GeForce RTX 4070 SUPER 12 GB, driver 621.35, Resizable BAR on (BAR1 16 GiB). - **CPU:** AMD Ryzen 9 9950X3D. - **RAM:** 64 GB DDR5 (4 × 16 GB, mixed 4800/5600 modules, running at 3200). - **OS:** Windows 11 Pro, build 26300. - **Game:** Xbox Series build 1.0.2.1, own dump. - **Build:** `--profile diag --features diagnostics`. - **Launch:** `play-nvidia.ps1 -NoSmoothMotion` plus `VICTORY_NO_WATCHDOG=1`, everything else as the script sets it: - `VICTORY_RENDER_SCALE=0.5`, `VICTORY_OWN_UPSCALER=1`, `--console series-s`; - `VICTORY_BVH_MISS=1`, `VICTORY_SKIP_PIPELINES` = `rt_off_hashes.txt`; - `VICTORY_DYNAMIC_SLOTS=524288`, `VICTORY_CARD_BUFFERS_MIN_MB=1`, `VICTORY_CARD_BUFFERS_MB=1536`; - `VICTORY_AMBIENT=0.8`, `VICTORY_AMBIENT_AIR=1.5`, `VICTORY_AMBIENT_MOST=2`, `VICTORY_NAN_SCRUB=1`; - `VICTORY_PIPELINE_WAIT_MS=10000`, `VICTORY_COMPOSE=1`; - the relay/indirect speed set (`VICTORY_RELAY=2`, `VICTORY_CARD_STEPS=2`, `VICTORY_TEXTURE_NO_WAIT=1`, `VICTORY_INDIRECT_WINDOW=1`, ...). Screenshot: (to be attached) AI-assisted (Claude Code, Claude Opus 5.5): the log analysis and this text. Log facts and numbers only, nothing from the game attached.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 14:55:35 +00:00
Author
Owner

@⁠KaV3R on GitHub · 2026-11-26 14:58 UTC · original

Update after three more runs on the same build, with trustno1's 2026-11-26 merge (jeremygold02's two D3D12 fixes) added:

It happens on both profiles, so it's not the Series S upscaler.

  • Series S, 720p (render scale 0.667), VICTORY_AMBIENT_AIR=0.8: same white ghosting at the horizon. 15.7 fps median, so 720p costs almost nothing over 540p here.
  • Series X, 1080p (render scale 0.5): same problem, ~9.6 fps.
    • The player character leaves a pale, whitish copy of its previous pose behind it.
    • Trees and poles smear.
    • The large sun shadow across the road has stair-stepped, grainy edges.

F9 frame dumps (VICTORY_DUMP_TARGETS=1):

  • The G-buffer targets (albedo, depth, normals) of a ghosted Series S frame are clean: power lines, buildings and the character are drawn once, in place.
  • The ghosting only shows in the final picture. That points to the temporal pass that blends history into the new frame (TAA / the title's own temporal upscaler), which isn't rejecting stale history.
  • The 1280x720 two-channel target that looks like motion vectors is zero over the whole background and sky while the camera moves; only the character has motion there.
    • If the title reprojects the background from depth instead, that may be fine.
    • If it reads these vectors directly, that would explain the trails.
  • The dump only covers the first part of the frame (G-buffer and shadow cascades, up to CS_BakeACESWithGamutCompressLUT). The lighting and temporal passes aren't in it yet, so I can't name the guilty program.
  • Next step: frame shots that hold the frame's later lists (fxceless 7496a4ce, VICTORY_SHOT_LISTS), to find the temporal resolve and the pass behind the blocky sun shadow.

AI-assisted (Claude Code, Claude Opus 5.5): the analysis and this text. No game images attached; descriptions only.

**@⁠KaV3R** on GitHub · 2026-11-26 14:58 UTC · [original](https://github.com/fxceless/victory-fork/issues/1319#issuecomment-7195600969) Update after three more runs on the same build, with trustno1's 2026-11-26 merge (jeremygold02's two D3D12 fixes) added: **It happens on both profiles, so it's not the Series S upscaler.** - **Series S, 720p** (render scale 0.667), `VICTORY_AMBIENT_AIR=0.8`: same white ghosting at the horizon. 15.7 fps median, so 720p costs almost nothing over 540p here. - **Series X, 1080p** (render scale 0.5): same problem, ~9.6 fps. - The player character leaves a pale, whitish **copy of its previous pose** behind it. - Trees and poles smear. - The large sun shadow across the road has **stair-stepped, grainy edges**. **F9 frame dumps (`VICTORY_DUMP_TARGETS=1`):** - The G-buffer targets (albedo, depth, normals) of a ghosted Series S frame are clean: power lines, buildings and the character are drawn once, in place. - The ghosting only shows in the final picture. That points to the temporal pass that blends history into the new frame (TAA / the title's own temporal upscaler), which isn't rejecting stale history. - The 1280x720 two-channel target that looks like **motion vectors** is zero over the whole background and sky while the camera moves; only the character has motion there. - If the title reprojects the background from depth instead, that may be fine. - If it reads these vectors directly, that would explain the trails. - The dump only covers the first part of the frame (G-buffer and shadow cascades, up to `CS_BakeACESWithGamutCompressLUT`). The lighting and temporal passes aren't in it yet, so I can't name the guilty program. - Next step: frame shots that hold the frame's later lists (fxceless `7496a4ce`, `VICTORY_SHOT_LISTS`), to find the temporal resolve and the pass behind the blocky sun shadow. AI-assisted (Claude Code, Claude Opus 5.5): the analysis and this text. No game images attached; descriptions only.
Author
Owner

@⁠Proudnoob4 on GitHub · 2026-11-26 14:59 UTC · original

Quick factual pointer since you're on trustno1-coder/VIctory-NVIDIA 033be27f with an RTX 4070 SUPER:

  1. 033be27f does not include the Wave32 cascade-shadow fix (avatarmanz/VIctory-7900XTX#82 / fxceless#1002), the divergent Wave32 barrier guard (avatarmanz#109), or the cool_fox Wave32 transmission/shader recovery fixes — all of which affect NVIDIA Wave32 shadow/sky/lighting passes.
  2. Also note: VICTORY_AMBIENT_AIR=1.5 can heavily wash out bright outdoor skies/horizons when combined with VICTORY_BVH_MISS=1, so testing lower VICTORY_AMBIENT_AIR (as you're planning) is a solid check.

We just pushed our audited RTX 4080 branch (nvidia-hybrid-v2 at f3c8a1f, built on top of 033be27f with av#82 Wave32 cascade shadows, av#109, cool_fox Wave32 fixes, fx#907, klbf-lab#57, and VICTORY_SKIP_WC_MIN_KB=1024) to:
https://github.com/Proudnoob4/VIctory-NVIDIA/tree/nvidia-hybrid-v2

Full transparency: our 10-minute visual checks so far have been in the prologue cell (outdoor driving is unmeasured on our side), so I can't claim it solves the outdoor sky blocks yet — but if you test that branch or capture the culprit pass with VICTORY_DUMP_TARGETS=1, we'd be glad to help dig into the shader hash with you!

**@⁠Proudnoob4** on GitHub · 2026-11-26 14:59 UTC · [original](https://github.com/fxceless/victory-fork/issues/1319#issuecomment-7195611938) Quick factual pointer since you're on `trustno1-coder/VIctory-NVIDIA` `033be27f` with an RTX 4070 SUPER: 1. `033be27f` does **not** include the Wave32 cascade-shadow fix (`avatarmanz/VIctory-7900XTX#82` / `fxceless#1002`), the divergent Wave32 barrier guard (`avatarmanz#109`), or the `cool_fox` Wave32 transmission/shader recovery fixes — all of which affect NVIDIA Wave32 shadow/sky/lighting passes. 2. Also note: `VICTORY_AMBIENT_AIR=1.5` can heavily wash out bright outdoor skies/horizons when combined with `VICTORY_BVH_MISS=1`, so testing lower `VICTORY_AMBIENT_AIR` (as you're planning) is a solid check. We just pushed our audited RTX 4080 branch (`nvidia-hybrid-v2` at `f3c8a1f`, built on top of `033be27f` with `av#82` Wave32 cascade shadows, `av#109`, `cool_fox` Wave32 fixes, `fx#907`, `klbf-lab#57`, and `VICTORY_SKIP_WC_MIN_KB=1024`) to: https://github.com/Proudnoob4/VIctory-NVIDIA/tree/nvidia-hybrid-v2 Full transparency: our 10-minute visual checks so far have been in the prologue cell (outdoor driving is **unmeasured** on our side), so I can't claim it solves the outdoor sky blocks yet — but if you test that branch or capture the culprit pass with `VICTORY_DUMP_TARGETS=1`, we'd be glad to help dig into the shader hash with you!
Author
Owner

@⁠CQ187901 on GitHub · 2026-11-26 17:17 UTC · original

Solved on RTX 4070 12 GB (driver 621.40), same Series S 1.0.2.1 build — it is two separate bugs, not one

Without the full config list, our baseline was the play-nvidia.ps1 speed set plus the #1268 variable group (PIPELINE_WAIT_MS=150, PIPELINE_WORKERS=6, PIPELINE_LOWEST=1, TEXTURE_STAGE_MS=50, TEXTURE_STAGE_MB=384, LAND_SKIP=1, FETCH_CHECK=1, INDIRECT_REST=0, RELAY=1, CARD_STEPS=0).

1) The trails come from the temporal upsample at render scale 0.5, not from the shadow passes.
Raising the detail from 0.5 to 0.667 (-Resolution 720) removed them completely on our machine. At 8–10 fps the history buffer is never rejected, and a half-resolution history is upsampled 2×, so the stale copy survives the blend. On our frames the car and ground at 0.5 show ~4 stacked copies along the motion direction; at 0.667 there is a single clean edge (crop-verified, pixel-level). This also fits your dump: background motion vectors are zero and the character ones are not. Background is reprojected from depth and the character from vectors, and both are blended against stale half-scale history.

2) The white haze comes from VICTORY_AMBIENT_AIR=1.5 combined with VICTORY_BVH_MISS=1. Dropping it to 0.8 fixes it. Measured with ffmpeg signalstats on a fixed 400×120 sky band from the same camera, before and after: average luma 216.6 → 90.5 (and 71.2 on a later frame). That is a washed-out white sky becoming a normal dusk gradient, so this is not a side effect of the scale change.

3) The black blocks and grainy shadow edges did not reproduce on nvidia-hybrid-v2 (f3c8a1f). We moved to Proudnoob4's branch precisely for av#82/av#109/cool_fox/fx#907/klbf#57. Four F9 frames at 720p after the swap show trees, poles, railings and building silhouettes against the sky as single-layer clean edges, and none of the blocky sun shadow. Honest caveat: we did not bisect which of those commits fixed it; we only know the combination is clean.

Cost of 0.667, for planning: p50 frame time at 6k–9k draws went from 102.5 ms (0.5) to 126.5 ms (0.667, n=17), about 23% worse. That figure is mostly the extra pixels (0.667² = 1.78× the pixel count), not heavier code. Your "720p costs almost nothing" number and ours disagree because the scenes and draw counts differ; expect a real hit in heavy areas.

Startup pitfall if you test nvidia-hybrid-v2: its apps/victory/src/agility.rs declares D3D12SDKVersion=620 and D3D12SDKPath=".\D3D12\", so without target\diag\D3D12\D3D12Core.dll (from cargo xtask agility) the process dies with no host D3D12 device … error=0x887E0003 and then fails in D3D12SerializeVersionedRootSignature. Neither is a branch or driver problem. Gate mod agility; behind #[cfg(feature = "agility-sdk")] and gate the two /EXPORT:D3D12SDKVersion,DATA / D3D12SDKPath,DATA args in apps/victory/build.rs on VICTORY_AGILITY_SDK; it launches normally after that, on the system-bundled Agility runtime.

Don't chase VICTORY_SKIP_WC_BACK / SKIP_WC_COMPARE from #1268 on this lineage. On trees derived from 033be27f, SKIP_WC_BACK logs its ON warning but skips 0 pieces, because the declared write-back pipeline it keys off does not exist there. Our A/B: p50 130.6 ms with it on versus 102.5 ms without. SKIP_WC_COMPARE is flagged UNSAFE upstream and reportedly cost one tester their device, so we left it off.

Still open on our side, and it matches your later-frame dump: at dusk, low over the horizon, a hard-edged pure-white quad (~40×40 px at half size) plus a correctly rendered round halo sprite next to it. It moves with the world, appears only from certain positions, and is a glow billboard whose square texture isn't sampled. G-buffer is clean there too, so it is a late pass. Next step is your plan: VICTORY_DUMP_TARGETS=1 + F9 on the frame where it shows.

**@⁠CQ187901** on GitHub · 2026-11-26 17:17 UTC · [original](https://github.com/fxceless/victory-fork/issues/1319#issuecomment-7198792540) **Solved on RTX 4070 12 GB (driver 621.40), same Series S 1.0.2.1 build — it is two separate bugs, not one** Without the full config list, our baseline was the `play-nvidia.ps1` speed set plus the #1268 variable group (`PIPELINE_WAIT_MS=150`, `PIPELINE_WORKERS=6`, `PIPELINE_LOWEST=1`, `TEXTURE_STAGE_MS=50`, `TEXTURE_STAGE_MB=384`, `LAND_SKIP=1`, `FETCH_CHECK=1`, `INDIRECT_REST=0`, `RELAY=1`, `CARD_STEPS=0`). **1) The trails come from the temporal upsample at render scale 0.5, not from the shadow passes.** Raising the detail from 0.5 to 0.667 (`-Resolution 720`) removed them completely on our machine. At 8–10 fps the history buffer is never rejected, and a half-resolution history is upsampled 2×, so the stale copy survives the blend. On our frames the car and ground at 0.5 show ~4 stacked copies along the motion direction; at 0.667 there is a single clean edge (crop-verified, pixel-level). This also fits your dump: background motion vectors are zero and the character ones are not. Background is reprojected from depth and the character from vectors, and both are blended against stale half-scale history. **2) The white haze comes from `VICTORY_AMBIENT_AIR=1.5` combined with `VICTORY_BVH_MISS=1`.** Dropping it to `0.8` fixes it. Measured with ffmpeg `signalstats` on a fixed 400×120 sky band from the same camera, before and after: average luma **216.6 → 90.5** (and 71.2 on a later frame). That is a washed-out white sky becoming a normal dusk gradient, so this is not a side effect of the scale change. **3) The black blocks and grainy shadow edges did not reproduce on `nvidia-hybrid-v2` (`f3c8a1f`).** We moved to Proudnoob4's branch precisely for `av#82`/`av#109`/`cool_fox`/`fx#907`/`klbf#57`. Four F9 frames at 720p after the swap show trees, poles, railings and building silhouettes against the sky as single-layer clean edges, and none of the blocky sun shadow. Honest caveat: we did **not** bisect which of those commits fixed it; we only know the combination is clean. **Cost of 0.667, for planning:** p50 frame time at 6k–9k draws went from 102.5 ms (0.5) to 126.5 ms (0.667, n=17), about 23% worse. That figure is mostly the extra pixels (0.667² = 1.78× the pixel count), not heavier code. Your "720p costs almost nothing" number and ours disagree because the scenes and draw counts differ; expect a real hit in heavy areas. **Startup pitfall if you test `nvidia-hybrid-v2`:** its `apps/victory/src/agility.rs` declares `D3D12SDKVersion=620` and `D3D12SDKPath=".\D3D12\"`, so without `target\diag\D3D12\D3D12Core.dll` (from `cargo xtask agility`) the process dies with `no host D3D12 device … error=0x887E0003` and then fails in `D3D12SerializeVersionedRootSignature`. Neither is a branch or driver problem. Gate `mod agility;` behind `#[cfg(feature = "agility-sdk")]` and gate the two `/EXPORT:D3D12SDKVersion,DATA` / `D3D12SDKPath,DATA` args in `apps/victory/build.rs` on `VICTORY_AGILITY_SDK`; it launches normally after that, on the system-bundled Agility runtime. **Don't chase `VICTORY_SKIP_WC_BACK` / `SKIP_WC_COMPARE` from #1268 on this lineage.** On trees derived from `033be27f`, `SKIP_WC_BACK` logs its ON warning but skips 0 pieces, because the `declared` write-back pipeline it keys off does not exist there. Our A/B: p50 130.6 ms with it on versus 102.5 ms without. `SKIP_WC_COMPARE` is flagged UNSAFE upstream and reportedly cost one tester their device, so we left it off. **Still open on our side, and it matches your later-frame dump:** at dusk, low over the horizon, a hard-edged pure-white quad (~40×40 px at half size) plus a correctly rendered round halo sprite next to it. It moves with the world, appears only from certain positions, and is a glow billboard whose square texture isn't sampled. G-buffer is clean there too, so it is a late pass. Next step is your plan: `VICTORY_DUMP_TARGETS=1` + F9 on the frame where it shows.
Author
Owner

@⁠oz-stanislav-zhukov on GitHub · 2026-11-26 17:29 UTC · original

Independent confirmation, plus one case that is still open. RTX 5060 Ti 16 GB, Windows 10 22H2 (Agility SDK added: 033be27f doesn't export D3D12SDKVersion, so on Windows 10 it crashes at boot without it). Base trustno1-coder/VIctory-NVIDIA 033be27f + avatarmanz#82 + avatarmanz#109. play-nvidia.ps1 -Quality, Series S.

  • -Resolution 720 instead of 540: the smeared trails behind moving objects are gone. On the boat it is 12 fps at 3.7k draws, against 13 at 540p, so it costs little in this scene.
  • VICTORY_AMBIENT_AIR=0.8: the white sky haze is gone, same as above.
  • With #82 + #109 the NPC faces got much better: no more white "porcelain" face. A few rainbow dots remain on some secondary characters.

Still open: after the binoculars cutscene (chapter 1, the boat) the picture falls apart again. The binocular view itself is clean. After it, the sky goes black and trees and the boat turn white and grainy, and it spreads over the following frames. That looks like a NaN getting into the temporal history. VICTORY_NAN_SCRUB=1 exists in this tree; I couldn't get a clean run with it yet.

A warning for anyone stacking more PRs: on top of the above I added uiliannn/VItoriaBr#107 (levels on demand by default) and two shader commits from DexNom/VIctory#61 (LDS add/sub of a negated value as a compare-exchange loop; wave-wide form only as a last resort). With them the water turned turquoise, with dark slab-shaped blocks floating on it and around the piers. I haven't bisected which one does it yet.

AI-assisted (Claude Code, Claude Opus 5.5); no game data.

**@⁠oz-stanislav-zhukov** on GitHub · 2026-11-26 17:29 UTC · [original](https://github.com/fxceless/victory-fork/issues/1319#issuecomment-7199102872) Independent confirmation, plus one case that is still open. RTX 5060 Ti 16 GB, Windows 10 22H2 (Agility SDK added: `033be27f` doesn't export `D3D12SDKVersion`, so on Windows 10 it crashes at boot without it). Base `trustno1-coder/VIctory-NVIDIA` `033be27f` + `avatarmanz#82` + `avatarmanz#109`. `play-nvidia.ps1 -Quality`, Series S. - `-Resolution 720` instead of 540: the smeared trails behind moving objects are gone. On the boat it is 12 fps at 3.7k draws, against 13 at 540p, so it costs little in this scene. - `VICTORY_AMBIENT_AIR=0.8`: the white sky haze is gone, same as above. - With #82 + #109 the NPC faces got much better: no more white "porcelain" face. A few rainbow dots remain on some secondary characters. **Still open: after the binoculars cutscene (chapter 1, the boat) the picture falls apart again.** The binocular view itself is clean. After it, the sky goes **black** and trees and the boat turn white and grainy, and it spreads over the following frames. That looks like a NaN getting into the temporal history. `VICTORY_NAN_SCRUB=1` exists in this tree; I couldn't get a clean run with it yet. **A warning for anyone stacking more PRs:** on top of the above I added `uiliannn/VItoriaBr#107` (levels on demand by default) and two shader commits from `DexNom/VIctory#61` (LDS add/sub of a negated value as a compare-exchange loop; wave-wide form only as a last resort). With them the water turned turquoise, with **dark slab-shaped blocks floating on it** and around the piers. I haven't bisected which one does it yet. AI-assisted (Claude Code, Claude Opus 5.5); no game data.
Author
Owner

@⁠Proudnoob4 on GitHub · 2026-11-26 18:21 UTC · original

@⁠CQ187901 thanks for the careful write-up. Two things from our side:

  1. The startup pitfall is our branch's fault. apps/victory/src/agility.rs on nvidia-hybrid-v2 exports D3D12SDKVersion=620 / D3D12SDKPath=".\D3D12\", and its comment points at a cargo xtask agility that does not exist in that tree; it also says the in-box runtime is used when the folder is missing, which your 0x887E0003 shows is wrong. Until it is fixed there: put D3D12Core.dll and d3d12SDKLayers.dll from the Microsoft.Direct3D.D3D12 1.620.x NuGet package in a D3D12\ folder beside victory.exe (Windows 10 needs it for shader model 6.6; on Windows 11 your gating also works). The robust fix is choosing the runtime through ID3D12SDKConfiguration1 with a fallback to the in-box one (Marvisak/VIctory#969); we will look at porting that.
  2. VICTORY_AMBIENT_AIR=1.5 + VICTORY_BVH_MISS=1: our launcher sets exactly that pair, and the early prologue cutscenes in our recordings are washed out the same way (white-grey exterior shots before the cell). We are A/B-ing 0.8 next and will report what it does to those frames and to the cell.

AI-assisted (Claude Code).

**@⁠Proudnoob4** on GitHub · 2026-11-26 18:21 UTC · [original](https://github.com/fxceless/victory-fork/issues/1319#issuecomment-7200362241) @⁠CQ187901 thanks for the careful write-up. Two things from our side: 1. **The startup pitfall is our branch's fault.** `apps/victory/src/agility.rs` on `nvidia-hybrid-v2` exports `D3D12SDKVersion=620` / `D3D12SDKPath=".\D3D12\"`, and its comment points at a `cargo xtask agility` that does not exist in that tree; it also says the in-box runtime is used when the folder is missing, which your `0x887E0003` shows is wrong. Until it is fixed there: put `D3D12Core.dll` and `d3d12SDKLayers.dll` from the `Microsoft.Direct3D.D3D12` 1.620.x NuGet package in a `D3D12\` folder beside `victory.exe` (Windows 10 needs it for shader model 6.6; on Windows 11 your gating also works). The robust fix is choosing the runtime through `ID3D12SDKConfiguration1` with a fallback to the in-box one (Marvisak/VIctory#969); we will look at porting that. 2. **`VICTORY_AMBIENT_AIR=1.5` + `VICTORY_BVH_MISS=1`:** our launcher sets exactly that pair, and the early prologue cutscenes in our recordings are washed out the same way (white-grey exterior shots before the cell). We are A/B-ing `0.8` next and will report what it does to those frames and to the cell. AI-assisted (Claude Code).
Author
Owner

@⁠oz-stanislav-zhukov on GitHub · 2026-11-26 21:30 UTC · original

@⁠Proudnoob4 found why nvidia-hybrid-v2 has no trees on NVIDIA (bare islands, flat green blobs for distant trees). It's Batch 7, and the fix is small.

Symptom (RTX 5060 Ti 16 GB, driver current, Win10, Series S 1.0.2.1, f3c8a1f3, play-nvidia.ps1 -Quality -Resolution 720): 16 compute pipelines get host pipeline refused (0x80070057). Among them are the title's tree culling programs, 55679a0547649d0b (tree) and 89d08e561897d4e5 (tree_imposter), so no trees are drawn. The D3D12 debug layer says nothing about them, so it's the driver's compiler rejecting the DXIL.

Bisect. I tested the 16 pipelines offline, without the game, using victory warm --these <indices>. The indices came from a VICTORY_PIPELINE_BOOK=1 run.

build made / refused
00351b7e (milestone A) 6 / 10 (the 10 are the common ones, same as trustno1 base)
6fc2c52a (Batch 6) 6 / 10
342111de (Batch 7) 0 / 16
5d6bdc9e (Batch 8), f3c8a1f3 0 / 16
f3c8a1f3 + VICTORY_LDS_FLAGS=0 0 / 16
f3c8a1f3 + VICTORY_SHADER_OPT=0 (all DXIL passes off) 0 / 16
f3c8a1f3 + VICTORY_LDS_REGION_RACE=1 11 / 5 (trees made, but racy)

Cause. Batch 7 replaced lower.rs lds_meetings with the klbf#50 analysis (lds::meetings). The new analysis is stricter. It returns None for regions with ds_append/ds_consume (classified Unknown), an s_barrier, a provable shared write-only WAW, or a cycle. The culling programs hit this, so they keep 64-lane waves on a 32-lane host, and the driver refuses them. The old check accepted those regions, and trees rendered correctly with it, on the trustno1 base and on Batch 6.

Fix. Where the new analysis refuses, ask the old check: 2ce00838. It restores the pre-Batch-7 lds_meetings as lds_meetings_legacy and calls it via .or_else(...). It's on by default; VICTORY_LDS_LEGACY=0 turns it off. It's added to the shader-cache key list, so existing caches retranslate. Results: 6 / 10 again, identical to Batch 6, with trees made and no LDS_REGION_RACE. Confirmed in game: trees are back, with 10 refusals instead of 16.

Tooling in case it's useful (same branch fork-hybrid):

  • play-nvidia.ps1 -Warm runs victory warm --used with the exact run settings, so the cache keys match.
  • -WarmArgs passes options through, and -VictoryExe points the launcher at another build for bisecting.
  • victory warm now prints progress every 50 with ETA, and writes refused pipelines with their indices to warm-refused.txt.

Still open on our side, unrelated to this: black rectangles on one dock wall (warm cache, so not compile stutter), and a frosty white sheen on glossy surfaces only (varnished floor in window light, phone glass). The phone screen also shows no UI; it was the same on the trustno1 base.

AI-assisted (Claude Code, Claude Opus 5.5); no game data.

**@⁠oz-stanislav-zhukov** on GitHub · 2026-11-26 21:30 UTC · [original](https://github.com/fxceless/victory-fork/issues/1319#issuecomment-7203797939) @⁠Proudnoob4 found why `nvidia-hybrid-v2` has **no trees on NVIDIA** (bare islands, flat green blobs for distant trees). It's Batch 7, and the fix is small. **Symptom** (RTX 5060 Ti 16 GB, driver current, Win10, Series S 1.0.2.1, `f3c8a1f3`, `play-nvidia.ps1 -Quality -Resolution 720`): 16 compute pipelines get `host pipeline refused (0x80070057)`. Among them are the title's tree culling programs, `55679a0547649d0b` (tree) and `89d08e561897d4e5` (tree_imposter), so no trees are drawn. The D3D12 debug layer says nothing about them, so it's the driver's compiler rejecting the DXIL. **Bisect.** I tested the 16 pipelines offline, without the game, using `victory warm --these <indices>`. The indices came from a `VICTORY_PIPELINE_BOOK=1` run. | build | made / refused | |---|---| | `00351b7e` (milestone A) | 6 / 10 (the 10 are the common ones, same as trustno1 base) | | `6fc2c52a` (Batch 6) | 6 / 10 | | `342111de` (Batch 7) | 0 / 16 | | `5d6bdc9e` (Batch 8), `f3c8a1f3` | 0 / 16 | | `f3c8a1f3` + `VICTORY_LDS_FLAGS=0` | 0 / 16 | | `f3c8a1f3` + `VICTORY_SHADER_OPT=0` (all DXIL passes off) | 0 / 16 | | `f3c8a1f3` + `VICTORY_LDS_REGION_RACE=1` | 11 / 5 (trees made, but racy) | **Cause.** Batch 7 replaced `lower.rs` `lds_meetings` with the klbf#50 analysis (`lds::meetings`). The new analysis is stricter. It returns `None` for regions with `ds_append`/`ds_consume` (classified Unknown), an `s_barrier`, a provable shared write-only WAW, or a cycle. The culling programs hit this, so they keep 64-lane waves on a 32-lane host, and the driver refuses them. The old check accepted those regions, and trees rendered correctly with it, on the trustno1 base and on Batch 6. **Fix.** Where the new analysis refuses, ask the old check: [`2ce00838`](https://github.com/oz-stanislav-zhukov/victory-fork/commit/2ce00838). It restores the pre-Batch-7 `lds_meetings` as `lds_meetings_legacy` and calls it via `.or_else(...)`. It's on by default; `VICTORY_LDS_LEGACY=0` turns it off. It's added to the shader-cache key list, so existing caches retranslate. Results: 6 / 10 again, identical to Batch 6, with trees made and no `LDS_REGION_RACE`. Confirmed in game: trees are back, with 10 refusals instead of 16. Tooling in case it's useful (same branch `fork-hybrid`): - `play-nvidia.ps1 -Warm` runs `victory warm --used` with the exact run settings, so the cache keys match. - `-WarmArgs` passes options through, and `-VictoryExe` points the launcher at another build for bisecting. - `victory warm` now prints progress every 50 with ETA, and writes refused pipelines with their indices to `warm-refused.txt`. Still open on our side, unrelated to this: black rectangles on one dock wall (warm cache, so not compile stutter), and a frosty white sheen on glossy surfaces only (varnished floor in window light, phone glass). The phone screen also shows no UI; it was the same on the trustno1 base. AI-assisted (Claude Code, Claude Opus 5.5); no game data.
Author
Owner

@⁠Dathinel on GitHub · 2026-11-27 01:02 UTC · original

A finding that bears on the haze part of this issue, from a 32-lane NVIDIA card with the ambient stand-in on (RTX 3050 Laptop 4 GB, Series S 1.0.2.1, cool_fox f4b48ad lineage, ray-tracing builder off, VICTORY_AMBIENT=0.8 VICTORY_AMBIENT_AIR=1.5). It is about interiors; I have not measured the clear-sky case you describe.

The haze did not travel through the froxel volume that VICTORY_AMBIENT_AIR caps. Target dumps of a hazy and a clean run of the same interior shot, compared target by target:

  • the froxel volume held about 0.05 in the hazy run, and the cap was applied to it;
  • the first target that differed was the output of scattering_transmittance_system:CS_Gather_Classified_* (180x102 RGBA16F): same hue, about three times the amplitude (mean luminance 0.37 against 0.14), then CS_ReconstructRaymarchClassified* → diffusion → CS_ApplyCombinedDeferred. Scene colour on the wall equalled that image texel for texel;
  • sky LUTs, the sky radiance cache, the ambient map and exposure were the same in both runs.

So lowering VICTORY_AMBIENT_AIR could not remove it here (0.3 gave one clean and one hazy run), which may be why reports about that value disagree between machines.

Why identical runs came out hazy or clean (about 7 in 10 hazy). The stand-in's slow mean of the room follows 4 % a frame. At 4 to 6 fps, after a cut from a bright shot it was about 100 times the room's present light for seconds (0.61 against 0.0063 in one dumped frame), so any cap built on it cut nothing until it caught up.

What removed it here, three runs of three: the mean settling by the clock with a jump at cuts (VICTORY_AMBIENT_SETTLE=250,3, avatarmanz's b4ba4bb/9576c45, hand-ported), plus a new role that holds the two ray-marched in-scatter images to a multiple of that mean before each reconstruct (VICTORY_AMBIENT_MARCH=3). With the multiple at 1.0 daylight haze was flattened (82 % of texels on the cap), so 3 is what I use.

Code, the dump comparison and what is still wrong (white captures while the first scene loads; interiors clean but dark): https://github.com/Dathinel/victory-4gb/pull/15 and https://github.com/Dathinel/victory-4gb/issues/2. It is on a cool_fox-lineage tree; the role hooks CS_ReconstructRaymarchClassifiedFull/NoAlpha by name and reads the in-scatter at table slots that I only checked on the Series S profile.

No game files, logs of the title or images attached. Measured on the machine above; written with AI assistance (Claude Code).

**@⁠Dathinel** on GitHub · 2026-11-27 01:02 UTC · [original](https://github.com/fxceless/victory-fork/issues/1319#issuecomment-7206956594) A finding that bears on the haze part of this issue, from a 32-lane NVIDIA card with the ambient stand-in on (RTX 3050 Laptop 4 GB, Series S 1.0.2.1, cool_fox `f4b48ad` lineage, ray-tracing builder off, `VICTORY_AMBIENT=0.8 VICTORY_AMBIENT_AIR=1.5`). It is about interiors; I have not measured the clear-sky case you describe. **The haze did not travel through the froxel volume that `VICTORY_AMBIENT_AIR` caps.** Target dumps of a hazy and a clean run of the same interior shot, compared target by target: - the froxel volume held about 0.05 in the hazy run, and the cap was applied to it; - the first target that differed was the output of `scattering_transmittance_system:CS_Gather_Classified_*` (180x102 RGBA16F): same hue, about three times the amplitude (mean luminance 0.37 against 0.14), then `CS_ReconstructRaymarchClassified*` → diffusion → `CS_ApplyCombinedDeferred`. Scene colour on the wall equalled that image texel for texel; - sky LUTs, the sky radiance cache, the ambient map and exposure were the same in both runs. So lowering `VICTORY_AMBIENT_AIR` could not remove it here (0.3 gave one clean and one hazy run), which may be why reports about that value disagree between machines. **Why identical runs came out hazy or clean (about 7 in 10 hazy).** The stand-in's slow mean of the room follows 4 % a frame. At 4 to 6 fps, after a cut from a bright shot it was about 100 times the room's present light for seconds (0.61 against 0.0063 in one dumped frame), so any cap built on it cut nothing until it caught up. **What removed it here, three runs of three:** the mean settling by the clock with a jump at cuts (`VICTORY_AMBIENT_SETTLE=250,3`, avatarmanz's `b4ba4bb`/`9576c45`, hand-ported), plus a new role that holds the two ray-marched in-scatter images to a multiple of that mean before each reconstruct (`VICTORY_AMBIENT_MARCH=3`). With the multiple at 1.0 daylight haze was flattened (82 % of texels on the cap), so 3 is what I use. Code, the dump comparison and what is still wrong (white captures while the first scene loads; interiors clean but dark): https://github.com/Dathinel/victory-4gb/pull/15 and https://github.com/Dathinel/victory-4gb/issues/2. It is on a cool_fox-lineage tree; the role hooks `CS_ReconstructRaymarchClassifiedFull/NoAlpha` by name and reads the in-scatter at table slots that I only checked on the Series S profile. No game files, logs of the title or images attached. Measured on the machine above; written with AI assistance (Claude Code).
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#1319
No description provided.