AMD: underwater scene is black while surface renders normally #221
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/gamingwithhomie--larp#221
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@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
Settings
frame_rate = 30stream_budget = defaultTests
bin\\larp.exe.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.
@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):926c46bab3b86bd6at0x13c86871d6e4b3ac9a10at0x1f98Their 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-testf0d4e50I added only the water replacement files from44b6a8d(PR #183):926c46bab3b86bd6.compute.{hlsl,interface}6871d6e4b3ac9a10.compute.{hlsl,interface}view_heap_layout.hlsliWith the
.interfacefiles present, both programs logshader replacedand 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-replacefiles is used.