WATER GRAPHIC ISSUE #664

Open
opened 2026-12-05 23:20:14 +00:00 by takerfromheaven · 2 comments

image

![image](/attachments/64565cf0-2d60-47cc-932d-79c01cf9d010)
image.png
1.7 MiB

I see what may be the same fault above the water, on post-merge at 28a9b42 (v2026.12.05.01-test): square blocks of screen where the water surface is not drawn.

What it looks like: blocks of about 16x16 render pixels, darker or paler than the water around them, next to the outline of things that stand in front of water: dock posts, a railing, boats, a plane's tail. They show from a distance and go away when I walk up to the railing, so they seem to follow how thin the object is on screen.

System: Intel Core i9-13900K · 32 GB DDR5-6400 (2 sticks) · NVIDIA GeForce RTX 4090 24 GB, driver 621.40 · Windows 11 Pro build 26300. Series X profile, 2560x1440 output, HDR on, frame generation 2x.

What I tried (each checked by eye, one run each):

Change Squares
DLSS Quality (1712x960 render) instead of DLAA still there
DARNER_RT=off (log: "host ray tracing: off") still there
DARNER_SHADER_REPLACE folder without the four underwater mask replacements (07fb4c723c4241ed, d3c330847c597f3c, d72397c79be4bd1a, ecbdc68c0c21db6f) still there
Folder without the water scattering replacements (6871d6e4b3ac9a10, a10179ab7eda0dc3, 926c46bab3b86bd6, a1bf269d5b19f025) still there
Folder with only the 5 replacements that have an .interface file (log: usable=5), with DARNER_RT=off still there
Local build with pull request #674 on top still there
Local build with and without my patch from #666 still there in both

So it is not the render size limit behind #666, not what the rays hit, not 80 of the 85 replacement shaders, and not what #674 fixes. I have not found the pass that draws the tiles.

Not checked: the unpatched release exe at the same spot (my one try crashed with a device removal before I got there), AMD or Intel cards, and whether a console shows the same.

No screenshot attached. I can add logs of the runs on request.

I see what may be the same fault above the water, on `post-merge` at `28a9b42` (`v2026.12.05.01-test`): square blocks of screen where the water surface is not drawn. **What it looks like:** blocks of about 16x16 render pixels, darker or paler than the water around them, next to the outline of things that stand in front of water: dock posts, a railing, boats, a plane's tail. They show from a distance and go away when I walk up to the railing, so they seem to follow how thin the object is on screen. **System:** Intel Core i9-13900K · 32 GB DDR5-6400 (2 sticks) · NVIDIA GeForce RTX 4090 24 GB, driver 621.40 · Windows 11 Pro build 26300. Series X profile, 2560x1440 output, HDR on, frame generation 2x. **What I tried (each checked by eye, one run each):** | Change | Squares | |---|---| | DLSS Quality (1712x960 render) instead of DLAA | still there | | `DARNER_RT=off` (log: "host ray tracing: off") | still there | | `DARNER_SHADER_REPLACE` folder without the four underwater mask replacements (`07fb4c723c4241ed`, `d3c330847c597f3c`, `d72397c79be4bd1a`, `ecbdc68c0c21db6f`) | still there | | Folder without the water scattering replacements (`6871d6e4b3ac9a10`, `a10179ab7eda0dc3`, `926c46bab3b86bd6`, `a1bf269d5b19f025`) | still there | | Folder with only the 5 replacements that have an `.interface` file (log: `usable=5`), with `DARNER_RT=off` | still there | | Local build with pull request #674 on top | still there | | Local build with and without my patch from #666 | still there in both | So it is not the render size limit behind #666, not what the rays hit, not 80 of the 85 replacement shaders, and not what #674 fixes. I have not found the pass that draws the tiles. **Not checked:** the unpatched release exe at the same spot (my one try crashed with a device removal before I got there), AMD or Intel cards, and whether a console shows the same. No screenshot attached. I can add logs of the runs on request.

Follow-up: I captured one frame with the squares on screen (F7 in a diagnostics build of 28a9b42 with my local patches, DLSS Quality, 1712x960 render) and followed them back through the frame's targets.

  • The squares are already in the half-size water transmission data. The 856x480 format 26 texture bound as Uav s1+160 of CS_TV_Tiled 5dc3b25986622949 holds teal blocks of 8x8 texels (16x16 render pixels) at the places where the picture shows squares, and is black everywhere else.
  • Three programs write that texture in the frame: CS_TV_Tiled 5dc3b25986622949 and TV_Tiled_LocalLights 6f225b641c5b0708 (both indirect, over the tile list, Uav s1+160) and CS_TransmissionVolumetrics_VolumePortalsOnly a10179ab7eda0dc3 (dispatch 107x60, Uav s1+152). The dump is of the texture's state at one point, so the capture alone does not say which of the three wrote the blocks. The texture is not cleared in the frame, unlike two of its siblings.
  • c7fd991b910dc7fe and 0dec87e3f4dc77a5 read it next, and CS_Transmission cad2edef5ecea3ba then writes the 1712x960 format 26 target where the squares first show at render size.
  • The blocks sit in groups that hold both water and something dry (railing bars, posts). crates/darner-shader/src/emit/by_hash/code.rs describes that case for the two tiled programs (thread 0 dry, other lanes water, the two LDS words) and patches it, and stripped_gone.rs lists CS_TV_Tiled with 36 branches left out. Both tiled programs run as translations here; neither has a replacement.

Not established: which of the three programs writes the blocks, and why. Removing the replacement of a10179ab7eda0dc3 did not change the picture (table above), but its translation could have the same fault, so that does not clear it. Next I will skip the programs one at a time with DARNER_SKIP_PIPELINES and report.

I can share the capture's operations list and the dumped targets on request.

Follow-up: I captured one frame with the squares on screen (F7 in a diagnostics build of `28a9b42` with my local patches, DLSS Quality, 1712x960 render) and followed them back through the frame's targets. - The squares are already in the half-size water transmission data. The 856x480 format 26 texture bound as `Uav s1+160` of CS_TV_Tiled `5dc3b25986622949` holds teal blocks of 8x8 texels (16x16 render pixels) at the places where the picture shows squares, and is black everywhere else. - Three programs write that texture in the frame: CS_TV_Tiled `5dc3b25986622949` and TV_Tiled_LocalLights `6f225b641c5b0708` (both indirect, over the tile list, `Uav s1+160`) and CS_TransmissionVolumetrics_VolumePortalsOnly `a10179ab7eda0dc3` (dispatch 107x60, `Uav s1+152`). The dump is of the texture's state at one point, so the capture alone does not say which of the three wrote the blocks. The texture is not cleared in the frame, unlike two of its siblings. - `c7fd991b910dc7fe` and `0dec87e3f4dc77a5` read it next, and CS_Transmission `cad2edef5ecea3ba` then writes the 1712x960 format 26 target where the squares first show at render size. - The blocks sit in groups that hold both water and something dry (railing bars, posts). `crates/darner-shader/src/emit/by_hash/code.rs` describes that case for the two tiled programs (thread 0 dry, other lanes water, the two LDS words) and patches it, and `stripped_gone.rs` lists CS_TV_Tiled with 36 branches left out. Both tiled programs run as translations here; neither has a replacement. Not established: which of the three programs writes the blocks, and why. Removing the replacement of `a10179ab7eda0dc3` did not change the picture (table above), but its translation could have the same fault, so that does not clear it. Next I will skip the programs one at a time with `DARNER_SKIP_PIPELINES` and report. I can share the capture's operations list and the dumped targets on request.
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
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
TrustNo1/Darner#664
No description provided.