AMD: underwater scene is black while surface renders normally #221

Open
opened 2026-12-05 21:47:14 +00:00 by github-bot · 1 comment
Owner

@⁠s5m5ywkryk-creator on GitHub · 2026-12-05 21:39 UTC · original

Problem

The underwater view is almost completely black, with bright specks of light visible. The daytime scene above water renders normally. Raising Exposure to +2 does not fix it.

System

  • GPU: AMD Radeon RX7700 XT
  • GPU driver: AMD Adrenalin driver version 26.11.2
  • CPU: AMD Ryzen 7 5800X
  • RAM: 48GB
  • Windows: 11
  • LARP build: v1.0.11-amd
  • Console profile: Series S

Settings

  • frame_rate = 30
  • stream_budget = default

Tests

  • Updated to v1.0.11-amd by extracting it into the existing LARP folder and replacing bin\\larp.exe.
  • Tested in daylight; above-water rendering looked normal, but underwater remained black.
  • Set Exposure to +2; no change.
  • Turned the upscaler off; no change.
  • Turned frame generation off; no change.
  • Tried the FSR exposure settings and forced FSR 3.1.6; no change.
  • Tried LARP_HOST_MAX_WAVE=32; underwater remained black and FPS fell below 10 during that run.

I can provide screenshots showing the normal daytime surface and the black underwater view.

image
**@⁠s5m5ywkryk-creator** on GitHub · 2026-12-05 21:39 UTC · [original](https://github.com/gamingwithhomie/larp/issues/221) ### Problem The underwater view is almost completely black, with bright specks of light visible. The daytime scene above water renders normally. Raising Exposure to +2 does not fix it. ### System - GPU: AMD Radeon RX7700 XT - GPU driver: AMD Adrenalin driver version 26.11.2 - CPU: AMD Ryzen 7 5800X - RAM: 48GB - Windows: 11 - LARP build: v1.0.11-amd - Console profile: Series S ### Settings - `frame_rate = 30` - `stream_budget = default` ### Tests - Updated to v1.0.11-amd by extracting it into the existing LARP folder and replacing `bin\\larp.exe`. - Tested in daylight; above-water rendering looked normal, but underwater remained black. - Set Exposure to +2; no change. - Turned the upscaler off; no change. - Turned frame generation off; no change. - Tried the FSR exposure settings and forced FSR 3.1.6; no change. - Tried `LARP_HOST_MAX_WAVE=32`; underwater remained black and FPS fell below 10 during that run. I can provide screenshots showing the normal daytime surface and the black underwater view. <img width="1697" height="941" alt="image" src="https://github.com/user-attachments/assets/9e932e81-e366-4eda-b687-67801521cad9" />
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-05 21:47:14 +00:00
Author
Owner

@⁠Luislariosss on GitHub · 2026-12-05 22:51 UTC · original

Confirming the fix for black underwater on Windows 11 + RX 9060 XT (RDNA4), native D3D12 driver, 64-lane waves.

Cause. At 64 lanes, the two water transmission compute programs don't translate (a lane mask holding lanes elsewhere read as data):

  • 926c46bab3b86bd6 at 0x13c8
  • 6871d6e4b3ac9a10 at 0x1f98

Their replacements weren't used either (shader replacement not used: the program does not translate, and its binding interface comes from the translation), so their dispatches were dropped. Under the water the screen was black, with only the bright particles left. The surface looked normal.

Fix. On top of amd-test f0d4e50 I added only the water replacement files from 44b6a8d (PR #183):

  • 926c46bab3b86bd6.compute.{hlsl,interface}
  • 6871d6e4b3ac9a10.compute.{hlsl,interface}
  • view_heap_layout.hlsli

With the .interface files present, both programs log shader replaced and are used without a translation. Diving off the boat in "Drive the boat", the underwater scene now renders correctly: no more black screen with specks.

So PR #183 / v1.1.2-amd should fix this issue (and #82) on Windows AMD as well, provided the UPDATE zip with the new shader-replace files is used.

**@⁠Luislariosss** on GitHub · 2026-12-05 22:51 UTC · [original](https://github.com/gamingwithhomie/larp/issues/221#issuecomment-7447115095) Confirming the fix for black underwater on **Windows 11 + RX 9060 XT (RDNA4)**, native D3D12 driver, 64-lane waves. **Cause.** At 64 lanes, the two water transmission compute programs don't translate (`a lane mask holding lanes elsewhere read as data`): - `926c46bab3b86bd6` at `0x13c8` - `6871d6e4b3ac9a10` at `0x1f98` Their replacements weren't used either (`shader replacement not used: the program does not translate, and its binding interface comes from the translation`), so their dispatches were dropped. Under the water the screen was black, with only the bright particles left. The surface looked normal. **Fix.** On top of `amd-test` `f0d4e50` I added only the water replacement files from `44b6a8d` (PR #183): - `926c46bab3b86bd6.compute.{hlsl,interface}` - `6871d6e4b3ac9a10.compute.{hlsl,interface}` - `view_heap_layout.hlsli` With the `.interface` files present, both programs log `shader replaced` and are used without a translation. Diving off the boat in "Drive the boat", the underwater scene now renders correctly: no more black screen with specks. So PR #183 / v1.1.2-amd should fix this issue (and #82) on Windows AMD as well, provided the UPDATE zip with the new `shader-replace` files is used.
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#221
No description provided.