[NVIDIA / wave32] Blocky 16×16 shadow tiles everywhere + black boat hull — unreplaced CS_ShadowRenderTiled* variants? #391

Open
opened 2026-12-06 00:06:56 +00:00 by github-bot · 1 comment
Owner

@⁠ricewrap on GitHub · 2026-12-06 00:04 UTC · original

Summary

On an RTX 3090, shadows render as hard-edged dark squares in a staircase pattern (looks like 16×16-pixel tiles) almost everywhere, and a boat's main hull renders solid black while everything on/around it renders fine. No crash; just wrong output.

System

  • GPU: NVIDIA GeForce RTX 3090 (24 GB), driver 32.0.16.1714 — host wave lanes min=32 max=32 (from play.log)
  • CPU threads: 16 · RAM: 32 GB · Windows 10 22H2 (19045)
  • larp: built from source, main @ 0f03265, cargo build --release -p larp (Rust 1.98.1)
  • Launch: --console series-x, no stream budget, borderless fullscreen
  • nv-profile shader heap: 2048 MiB
  • D3D12 Agility SDK 1.620.2 (nuget) in bin\D3D12\; DLSS 310.9.16 in bin\dlss\ (the black hull was seen before DLSS was installed)

Screenshots

  1. Blocky shadows — shadow edges on the storefront windows/sign/door are made of square blocks.
  2. Black boat hull — boat by the Sunrise RV Park dock: hull is solid black (no shading/paint), while the characters, cooler, decals and the motor label render correctly. The hull's reflection in the water is visible.

What I found (hypotheses — not confirmed)

1. Blocky shadows: wave-dependent tiled shadow variants without a replacement.
shaders/replace/191ecaed66eea3b1.compute.hlsl (CS_ShadowRenderTiledCascades) exists because that program uses the console's 64-lane wave (readfirstlane of the tile word, s_bcnt1 of VCC deciding extra samples per console wave, the tile flag write). Its sibling variants used in the same run have no replacement, so on a wave32 host they'd presumably still hit those wave-level operations:

Shader Hash
CS_ShadowRenderTiledCascadesAlpha ab5455fc6abb804f
CS_ShadowRenderTiledCascadesAlphaCB 922e1d0ee1e19a85
CS_ShadowRenderTiledCascadesAlphaCBPPPC f133e35efed2a48a
CS_ShadowRenderTiledCascadesAlphaPPPC d7db57731ada919b
CS_ShadowRenderTiledCascadesCB be6ce5d849d51127
CS_ShadowRenderTiledCascadesCBPPPC 20b78ee12ecdb57d
CS_ShadowRenderTiledCascadesPPPC ce79e9eba7ae0348
CS_ShadowRenderTiledMisc 65de113e23fa4fdd
CS_ShadowRenderTiledMiscAlpha 31d703207b51549a
CS_ShadowRenderTiledMiscAlphaPPPC fa0bd10a35bfef3c
CS_ShadowRenderTiledMiscCB 804b342cb4b9d1e9
CS_ShadowRenderTiledMiscCBPPPC 56f3bf2d9388e5a7
CS_ShadowRenderTiledMiscPPPC 466ec41d3f9d24c0
CS_ShadowRenderTiledMiscHair / HairAlpha / HairPPPC / HairAlphaPPPC 240cb516c1af0bc3 / 1d44a723bdebbf27 / b4b0427232707598 / abd7a22106898c66

Also unreplaced and LDS/tile-based: CS_DenoiseShadowMaskLDS (a7ea75e2653e54d1), CS_DenoiseShadowMaskLDSPacked (0ea6fac38d096770), CS_ShadowTileClassify (9991e29feaa26e3e), CS_ShadowRevealTiles (f11c3ddeaeb7d602). The dark-slab look is similar to the water mosaic fixed in #24.

2. Black surfaces: title view heap larger than the NVIDIA cap.
play.log:

host view heaps: hold 1000000 views
WARN host view heap: title slots past 606782 read a null slot count=1245184 end=606782

On NVIDIA the host heap is capped at 1,000,000 (PORTABLE_VIEWS), so with SINGLES + STAGED reserved, the title's slots 606,782–1,245,183 read null (zeros). Anything the title places there would sample as black — a possible cause of the black hull. Two related one-off warnings:

WARN unordered buffer view: the host would refuse it, left null format=39 first=10927904 count=0 stride=0 raw=true width=182452224
WARN buffer view: not on an element of its host copy, left null offset=15856 element=12

Logs

larp zip-logs output attached (play.log, crashes.log, settings.ini, options.ini). I have the full LARP_SHADER_SAVE dump locally if any specific translated .dxil would help (not attaching title-derived files).

Note: I don't have the official runtime package; my launcher sets LARP_GAME_DIR, LARP_CACHE_DIR, LARP_DATA_DIR, LARP_SHADER_REPLACE (the build's target\shader-replace, 85 usable, 0 refused) and LARP_DLSS_PATH, then runs larp run <exe> --execute --console series-x.

Attachments

larp-logs-1796514213.zip

black-boat-hull blocky-shadows-storefront [shadow-compute-shaders.csv](https://github.com/user-attachments/files/35924943/shadow-compute-shaders.csv)
**@⁠ricewrap** on GitHub · 2026-12-06 00:04 UTC · [original](https://github.com/gamingwithhomie/larp/issues/391) ## Summary On an RTX 3090, shadows render as hard-edged dark squares in a staircase pattern (looks like 16×16-pixel tiles) almost everywhere, and a boat's main hull renders solid black while everything on/around it renders fine. No crash; just wrong output. ## System - GPU: NVIDIA GeForce RTX 3090 (24 GB), driver 32.0.16.1714 — host wave lanes min=32 max=32 (from play.log) - CPU threads: 16 · RAM: 32 GB · Windows 10 22H2 (19045) - larp: built from source, `main` @ `0f03265`, `cargo build --release -p larp` (Rust 1.98.1) - Launch: `--console series-x`, no stream budget, borderless fullscreen - `nv-profile` shader heap: 2048 MiB - D3D12 Agility SDK 1.620.2 (nuget) in `bin\D3D12\`; DLSS 310.9.16 in `bin\dlss\` (the black hull was seen before DLSS was installed) ## Screenshots 1. Blocky shadows — shadow edges on the storefront windows/sign/door are made of square blocks. 2. Black boat hull — boat by the Sunrise RV Park dock: hull is solid black (no shading/paint), while the characters, cooler, decals and the motor label render correctly. The hull's reflection in the water is visible. ## What I found (hypotheses — not confirmed) **1. Blocky shadows: wave-dependent tiled shadow variants without a replacement.** `shaders/replace/191ecaed66eea3b1.compute.hlsl` (`CS_ShadowRenderTiledCascades`) exists because that program uses the console's 64-lane wave (readfirstlane of the tile word, `s_bcnt1` of VCC deciding extra samples per console wave, the tile flag write). Its sibling variants used in the same run have **no replacement**, so on a wave32 host they'd presumably still hit those wave-level operations: | Shader | Hash | |---|---| | CS_ShadowRenderTiledCascadesAlpha | ab5455fc6abb804f | | CS_ShadowRenderTiledCascadesAlphaCB | 922e1d0ee1e19a85 | | CS_ShadowRenderTiledCascadesAlphaCBPPPC | f133e35efed2a48a | | CS_ShadowRenderTiledCascadesAlphaPPPC | d7db57731ada919b | | CS_ShadowRenderTiledCascadesCB | be6ce5d849d51127 | | CS_ShadowRenderTiledCascadesCBPPPC | 20b78ee12ecdb57d | | CS_ShadowRenderTiledCascadesPPPC | ce79e9eba7ae0348 | | CS_ShadowRenderTiledMisc | 65de113e23fa4fdd | | CS_ShadowRenderTiledMiscAlpha | 31d703207b51549a | | CS_ShadowRenderTiledMiscAlphaPPPC | fa0bd10a35bfef3c | | CS_ShadowRenderTiledMiscCB | 804b342cb4b9d1e9 | | CS_ShadowRenderTiledMiscCBPPPC | 56f3bf2d9388e5a7 | | CS_ShadowRenderTiledMiscPPPC | 466ec41d3f9d24c0 | | CS_ShadowRenderTiledMiscHair / HairAlpha / HairPPPC / HairAlphaPPPC | 240cb516c1af0bc3 / 1d44a723bdebbf27 / b4b0427232707598 / abd7a22106898c66 | Also unreplaced and LDS/tile-based: `CS_DenoiseShadowMaskLDS` (a7ea75e2653e54d1), `CS_DenoiseShadowMaskLDSPacked` (0ea6fac38d096770), `CS_ShadowTileClassify` (9991e29feaa26e3e), `CS_ShadowRevealTiles` (f11c3ddeaeb7d602). The dark-slab look is similar to the water mosaic fixed in #24. **2. Black surfaces: title view heap larger than the NVIDIA cap.** play.log: ``` host view heaps: hold 1000000 views WARN host view heap: title slots past 606782 read a null slot count=1245184 end=606782 ``` On NVIDIA the host heap is capped at 1,000,000 (`PORTABLE_VIEWS`), so with `SINGLES` + `STAGED` reserved, the title's slots 606,782–1,245,183 read null (zeros). Anything the title places there would sample as black — a possible cause of the black hull. Two related one-off warnings: ``` WARN unordered buffer view: the host would refuse it, left null format=39 first=10927904 count=0 stride=0 raw=true width=182452224 WARN buffer view: not on an element of its host copy, left null offset=15856 element=12 ``` ## Logs `larp zip-logs` output attached (play.log, crashes.log, settings.ini, options.ini). I have the full `LARP_SHADER_SAVE` dump locally if any specific translated `.dxil` would help (not attaching title-derived files). Note: I don't have the official runtime package; my launcher sets `LARP_GAME_DIR`, `LARP_CACHE_DIR`, `LARP_DATA_DIR`, `LARP_SHADER_REPLACE` (the build's `target\shader-replace`, 85 usable, 0 refused) and `LARP_DLSS_PATH`, then runs `larp run <exe> --execute --console series-x`. ## Attachments [larp-logs-1796514213.zip](https://github.com/user-attachments/files/35924937/larp-logs-1796514213.zip) <img width="2000" height="928" alt="black-boat-hull" src="https://github.com/user-attachments/assets/43ab18a4-ff00-442a-bdc1-8693e925fa44" /> <img width="2000" height="887" alt="blocky-shadows-storefront" src="https://github.com/user-attachments/assets/f39209af-b6a6-41ea-9a71-19d8112525b5" /> [shadow-compute-shaders.csv](https://github.com/user-attachments/files/35924943/shadow-compute-shaders.csv)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-06 00:06:56 +00:00
Author
Owner

@⁠mustafaburaksanli on GitHub · 2026-12-06 03:14 UTC · original

Same boat on an RTX 5070 Laptop (8 GB, wave32). I see it on Series X and on Series S, with v1.1.6 merged with current main and the v1.1.6 shader-replace folder.

It is not always solid black:

  • In the dock cutscene, the hull is solid black on one run and solid saturated blue (no shading) on another.
  • In the "Gone Fishing" cutscene, the hull is patchy. Most of the paint is black with white blotches, while the decals ("BROOKS BOATWORKS", "BORN TO FISH") and the characters on the boat render correctly.

The same kind of black surfaces also show up on some cars, an RV, a wall and a bridge ramp.

About hypothesis 2 in the issue (title view slots past the NVIDIA heap cap reading null): I don't think that is the cause here. My play.log has the same warning:

host view heaps: hold 1000000 views ... missing_wide_variants=0
WARN host view heap: title slots past 606782 read a null slot count=1245184 end=606782

But make_from warns "host view heap: a title slot past its end, not made" whenever the title makes a view in a slot past that end. In two full sessions (Series X and Series S), that warning never appeared. So in my runs the title does not place any view at or past slot 606,782, and the black hull happens anyway. Hypothesis 1 (wave-dependent shaders without a replacement) or a material or blend shader seems more likely to me.

🤖 Generated with Claude Code

**@⁠mustafaburaksanli** on GitHub · 2026-12-06 03:14 UTC · [original](https://github.com/gamingwithhomie/larp/issues/391#issuecomment-7450530745) Same boat on an RTX 5070 Laptop (8 GB, wave32). I see it on Series X and on Series S, with v1.1.6 merged with current `main` and the v1.1.6 `shader-replace` folder. It is not always solid black: - In the dock cutscene, the hull is solid black on one run and solid saturated blue (no shading) on another. - In the "Gone Fishing" cutscene, the hull is patchy. Most of the paint is black with white blotches, while the decals ("BROOKS BOATWORKS", "BORN TO FISH") and the characters on the boat render correctly. The same kind of black surfaces also show up on some cars, an RV, a wall and a bridge ramp. About hypothesis 2 in the issue (title view slots past the NVIDIA heap cap reading null): I don't think that is the cause here. My `play.log` has the same warning: ``` host view heaps: hold 1000000 views ... missing_wide_variants=0 WARN host view heap: title slots past 606782 read a null slot count=1245184 end=606782 ``` But `make_from` warns "host view heap: a title slot past its end, not made" whenever the title makes a view in a slot past that end. In two full sessions (Series X and Series S), that warning never appeared. So in my runs the title does not place any view at or past slot 606,782, and the black hull happens anyway. Hypothesis 1 (wave-dependent shaders without a replacement) or a material or blend shader seems more likely to me. 🤖 Generated with [Claude Code](https://claude.com/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/gamingwithhomie--larp#391
No description provided.