NVIDIA (RTX 4070 SUPER): under water the screen is black with star-shaped glare; the lit targets are black although the G-buffer is fine #1368

Open
opened 2026-11-26 19:01:19 +00:00 by github-bot · 2 comments
Owner

@⁠KaV3R on GitHub · 2026-11-26 18:57 UTC · original

Setup: RTX 4070 SUPER (driver 621.35), Ryzen 9 9950X3D, 64 GB RAM, Windows 11. Build: trustno1-coder/VIctory-NVIDIA 85a529b6 + Proudnoob4's av#82/av#109/cool_fox Wave32 fixes (same build as #1319). Series S profile, 720p (render scale 0.667, title's own upscaler), VICTORY_BVH_MISS=1, the RT resolve/shadow shaders off, VICTORY_AMBIENT_AIR=0.8. 17-19 fps.

What happens: when the character dives, the whole screen turns into a dark teal field full of large star-shaped glare (bloom / lens flare) around the floating particles. The diver, the coral and the seabed can't be seen at all.

F9 frame dumps (VICTORY_DUMP_TARGETS=1, two frames):

  • The G-buffer is fine: the albedo target shows the diver (tank, fins), coral, plants and the rock in place, with proper colours.
  • Every lit colour target after it (1280x720, R16G16B16A16_FLOAT) is black except for the glowing particles. No light reaches the diver or the geometry.
  • The bloom / lens-flare passes then blow up those few bright particles into the star field seen on screen.

So the geometry is drawn, but the underwater lighting gives nothing. My guesses, not confirmed:

  1. The light under water comes from passes that depend on ray tracing, which are off or stood in on NVIDIA here (VICTORY_BVH_MISS=1 and the RT shaders disabled). The stand-in seems enough above the water, not below it.
  2. Or the fog scale VICTORY_AMBIENT_AIR=0.8 (used against the white haze in #1319) darkens the water volume. I'll A/B this next.

Not known yet: whether it was day or night in the game at the time.

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 18:57 UTC · [original](https://github.com/fxceless/victory-fork/issues/1368) **Setup:** RTX 4070 SUPER (driver 621.35), Ryzen 9 9950X3D, 64 GB RAM, Windows 11. Build: trustno1-coder/VIctory-NVIDIA `85a529b6` + Proudnoob4's av#82/av#109/cool_fox Wave32 fixes (same build as #1319). Series S profile, 720p (render scale 0.667, title's own upscaler), `VICTORY_BVH_MISS=1`, the RT resolve/shadow shaders off, `VICTORY_AMBIENT_AIR=0.8`. 17-19 fps. **What happens:** when the character dives, the whole screen turns into a dark teal field full of large star-shaped glare (bloom / lens flare) around the floating particles. The diver, the coral and the seabed can't be seen at all. **F9 frame dumps (`VICTORY_DUMP_TARGETS=1`, two frames):** - The G-buffer is fine: the albedo target shows the diver (tank, fins), coral, plants and the rock in place, with proper colours. - Every lit colour target after it (1280x720, R16G16B16A16_FLOAT) is **black** except for the glowing particles. No light reaches the diver or the geometry. - The bloom / lens-flare passes then blow up those few bright particles into the star field seen on screen. So the geometry is drawn, but the underwater lighting gives nothing. My guesses, not confirmed: 1. The light under water comes from passes that depend on ray tracing, which are off or stood in on NVIDIA here (`VICTORY_BVH_MISS=1` and the RT shaders disabled). The stand-in seems enough above the water, not below it. 2. Or the fog scale `VICTORY_AMBIENT_AIR=0.8` (used against the white haze in #1319) darkens the water volume. I'll A/B this next. Not known yet: whether it was day or night in the game at the time. AI-assisted (Claude Code, Claude Opus 5.5): the analysis and this text. No game images attached; descriptions only.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 19:01:19 +00:00
Author
Owner

@⁠Ym1r1710 on GitHub · 2026-11-26 19:03 UTC · original

Possibly related: on NVIDIA two compute programs are still refused for wanting 64 lanes, and they get dropped every frame. On my build (RTX 5080) they are:

  • 5dc3b25986622949, CS_TransmissionVolumetrics_Tiled
  • 6f225b641c5b0708, CS_TransmissionVolumetrics_Tiled_LocalLights

In my log each shows up as "dropped 1.0/frame without a host pipeline". These are the two that 9613092b calls "the two refused 64-lane water programs", so if the underwater light goes through them, a black lit result under water would fit.

On my base VICTORY_SCC_LOCAL_ANY=1 lets them run. With it neither one is dropped anymore, though I only checked above water, so I can't say if the result is right. If your tree has the same switch, an A/B with it while diving might tell whether it's these two or the BVH stand-in.

**@⁠Ym1r1710** on GitHub · 2026-11-26 19:03 UTC · [original](https://github.com/fxceless/victory-fork/issues/1368#issuecomment-7201141304) Possibly related: on NVIDIA two compute programs are still refused for wanting 64 lanes, and they get dropped every frame. On my build (RTX 5080) they are: - `5dc3b25986622949`, CS_TransmissionVolumetrics_Tiled - `6f225b641c5b0708`, CS_TransmissionVolumetrics_Tiled_LocalLights In my log each shows up as "dropped 1.0/frame without a host pipeline". These are the two that 9613092b calls "the two refused 64-lane water programs", so if the underwater light goes through them, a black lit result under water would fit. On my base `VICTORY_SCC_LOCAL_ANY=1` lets them run. With it neither one is dropped anymore, though I only checked above water, so I can't say if the result is right. If your tree has the same switch, an A/B with it while diving might tell whether it's these two or the BVH stand-in.
Author
Owner

@⁠spk-c on GitHub · 2026-11-26 19:14 UTC · original

There is another potentially relevant shader beyond the two mentioned above: the dedicated submerged transmission volumetrics compute program.

The four water-related programs worth checking are:

  • 5dc3b25986622949 — CS_TransmissionVolumetrics_Tiled
  • 6f225b641c5b0708 — CS_TransmissionVolumetrics_Tiled_LocalLights
  • 926c46bab3b86bd6 — CS_TransmissionVolumetrics_VolumePortalsOnly
  • a10179ab7eda0dc3 — CS_TransmissionVolumetrics_Submerged

PR #1248 specifically addresses the latter two. It also deliberately excludes the first two from its default wave-wide list because they produced black patches on the water.

On a build supporting VICTORY_WAVE_WIDE_ONLY, I would suggest testing the submerged and portal variants independently first:

$env:VICTORY_WAVE_WIDE_ONLY="926c46bab3b86bd6,a10179ab7eda0dc3"

Then compare against a separate run enabling all four programs.

Keep the BVH, RT and ambient-air settings unchanged between runs to isolate the shader translation differences.

I would also check:

  • Whether all four compute pipelines are successfully created.
  • Whether their dispatches are dropped.
  • Whether their output resources contain valid, non-zero lighting data where lighting is expected.
  • Which subsequent lighting pass first produces a black target.

PR #854's paired Wave64 implementation may offer a more accurate alternative to the approximate wave-wide and local-wave approaches.

The intact G-buffer and black lighting targets are consistent with a missing or incorrect volumetric lighting pass. Bloom and lens flare appear more likely to amplify the symptom than to cause it.

This is a code-based diagnosis, not yet a confirmed underwater reproduction.

AI-assisted analysis.

**@⁠spk-c** on GitHub · 2026-11-26 19:14 UTC · [original](https://github.com/fxceless/victory-fork/issues/1368#issuecomment-7201364245) There is another potentially relevant shader beyond the two mentioned above: the dedicated submerged transmission volumetrics compute program. The four water-related programs worth checking are: - `5dc3b25986622949` — CS_TransmissionVolumetrics_Tiled - `6f225b641c5b0708` — CS_TransmissionVolumetrics_Tiled_LocalLights - `926c46bab3b86bd6` — CS_TransmissionVolumetrics_VolumePortalsOnly - `a10179ab7eda0dc3` — CS_TransmissionVolumetrics_Submerged PR #1248 specifically addresses the latter two. It also deliberately excludes the first two from its default wave-wide list because they produced black patches on the water. On a build supporting `VICTORY_WAVE_WIDE_ONLY`, I would suggest testing the submerged and portal variants independently first: ```powershell $env:VICTORY_WAVE_WIDE_ONLY="926c46bab3b86bd6,a10179ab7eda0dc3" ``` Then compare against a separate run enabling all four programs. Keep the BVH, RT and ambient-air settings unchanged between runs to isolate the shader translation differences. I would also check: - Whether all four compute pipelines are successfully created. - Whether their dispatches are dropped. - Whether their output resources contain valid, non-zero lighting data where lighting is expected. - Which subsequent lighting pass first produces a black target. PR #854's paired Wave64 implementation may offer a more accurate alternative to the approximate wave-wide and local-wave approaches. The intact G-buffer and black lighting targets are consistent with a missing or incorrect volumetric lighting pass. Bloom and lens flare appear more likely to amplify the symptom than to cause it. This is a code-based diagnosis, not yet a confirmed underwater reproduction. AI-assisted analysis.
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#1368
No description provided.