[Linux/Proton RADV] RX 6700 XT: 3D world pure black (HUD visible) in v1.1.2 — isolated to 16 non-RT shaders lacking heap-2097152 variants #307

Open
opened 2026-12-05 23:02:46 +00:00 by github-bot · 4 comments
Owner

@⁠stefexec on GitHub · 2026-12-05 22:56 UTC · original

Summary

On Linux/Proton with AMD RADV (RX 6700 XT, views=2097152), v1.1.2 (larp-v1.1.2-linux-proton-FULL.zip) boots and runs at ~6,000+ draws/frame with 0 dropped pipelines, audio/input working, and the 2D HUD rendering cleanly — but the entire 3D world is pure black (#000000).

Isolating bin/shader-replace/ narrows the black-world bug down to the 16 non-RT replacement shaders that do not have heap-2097152/ variants. Keeping all 64 RT (*.views) shaders + all 7 heap-2097152/ wide-heap shaders (with LARP_HOST_MAX_WAVE=32) completely fixes the 3D world, keeps host ray tracing active, and fixes the RADV facial/jaw deformation.

Related to #183 (wide-heap RADV lighting replacements) and #44.

Environment

  • Build: larp v1.1.2 (larp-v1.1.2-linux-proton-FULL.zip)
  • GPU: AMD Radeon RX 6700 XT (12 GB, RDNA2 / Navi 22)
  • OS / Compositor: Arch Linux, Hyprland (Wayland)
  • Graphics Stack: Mesa / vulkan-radeon 26.3.1, Proton Experimental (vkd3d-proton, host view heaps: 2097152, wave lanes min=32 max=64), native d3dcompiler_47.dll installed via linux/setup.sh
  • Preset: Tested both --console series-s and default series-x, both LARP_UPSCALER=fsr and LARP_UPSCALER=off

Isolation Results

  • Black 3D world (HUD visible): Default bin/shader-replace (86 shaders), even with LARP_UPSCALER=off, LARP_WINE_NO_SPARSE=0, RADV_PERFTEST=nosam, WINEDLLOVERRIDES="dxgi=n,b;d3dcompiler_47=n,b", or LARP_VIEW_LIMIT=1000000 LARP_HOST_MAX_WAVE=32.
  • 3D world renders (jaw hanging off): LARP_SHADER_REPLACE=0 LARP_HOST_MAX_WAVE=32, and also with only the 64 RT (*.views) shaders in LARP_SHADER_REPLACE.
  • 3D world renders + host RT working + jaw/facial rig fixed: Keeping the 64 RT (*.views) shaders + the 7 heap-2097152/ wide-heap shaders (70 shaders total) with LARP_HOST_MAX_WAVE=32.

The 16 Excluded Shaders (Culprit Set)

Removing these 16 non-RT shaders (which have no heap-2097152/ wide-heap variant in v1.1.2) fixes the pure-black 3D world on RADV views=2097152:

136986812880cead.compute.dxil
191ecaed66eea3b1.compute.dxil
1f1fbd86759b3da2.compute.dxil
2561af9577c47289.compute.dxil
7c1419b5888b6d38.compute.dxil
7c649c422f6208e4.pixel.dxil
a1bf269d5b19f025.compute.dxil
b1eb5db361c10621.compute.dxil
b8f3f7979d6bbc50.compute.dxil
b96880482a17f632.compute.dxil
c07823591d4c66c0.compute.dxil
c3f65a5eb6b8cbb3.pixel.dxil
c4183d3cbee28e8e.compute.dxil
d72397c79be4bd1a.compute.dxil
e4a9f58e3acfcf7b.compute.dxil
ecbdc68c0c21db6f.compute.dxil

Workaround for Other AMD/RADV Linux Users

Copy only the *.views shader sets + the heap-2097152/ shaders into a separate folder and point LARP_SHADER_REPLACE to it along with LARP_HOST_MAX_WAVE=32.

**@⁠stefexec** on GitHub · 2026-12-05 22:56 UTC · [original](https://github.com/gamingwithhomie/larp/issues/307) ### Summary On Linux/Proton with AMD RADV (RX 6700 XT, `views=2097152`), `v1.1.2` (`larp-v1.1.2-linux-proton-FULL.zip`) boots and runs at ~6,000+ draws/frame with 0 dropped pipelines, audio/input working, and the 2D HUD rendering cleanly — **but the entire 3D world is pure black (`#000000`)**. Isolating `bin/shader-replace/` narrows the black-world bug down to the **16 non-RT replacement shaders that do not have `heap-2097152/` variants**. Keeping all 64 RT (`*.views`) shaders + all 7 `heap-2097152/` wide-heap shaders (with `LARP_HOST_MAX_WAVE=32`) completely fixes the 3D world, keeps host ray tracing active, and fixes the RADV facial/jaw deformation. Related to #183 (wide-heap RADV lighting replacements) and #44. ### Environment - **Build:** `larp v1.1.2` (`larp-v1.1.2-linux-proton-FULL.zip`) - **GPU:** AMD Radeon RX 6700 XT (12 GB, RDNA2 / Navi 22) - **OS / Compositor:** Arch Linux, Hyprland (Wayland) - **Graphics Stack:** Mesa / `vulkan-radeon` `26.3.1`, Proton Experimental (`vkd3d-proton`, `host view heaps: 2097152`, `wave lanes min=32 max=64`), native `d3dcompiler_47.dll` installed via `linux/setup.sh` - **Preset:** Tested both `--console series-s` and default `series-x`, both `LARP_UPSCALER=fsr` and `LARP_UPSCALER=off` ### Isolation Results - **Black 3D world (HUD visible):** Default `bin/shader-replace` (86 shaders), even with `LARP_UPSCALER=off`, `LARP_WINE_NO_SPARSE=0`, `RADV_PERFTEST=nosam`, `WINEDLLOVERRIDES="dxgi=n,b;d3dcompiler_47=n,b"`, or `LARP_VIEW_LIMIT=1000000 LARP_HOST_MAX_WAVE=32`. - **3D world renders (jaw hanging off):** `LARP_SHADER_REPLACE=0 LARP_HOST_MAX_WAVE=32`, and also with only the **64 RT (`*.views`) shaders** in `LARP_SHADER_REPLACE`. - **3D world renders + host RT working + jaw/facial rig fixed:** Keeping the **64 RT (`*.views`) shaders** + the **7 `heap-2097152/` wide-heap shaders** (70 shaders total) with `LARP_HOST_MAX_WAVE=32`. ### The 16 Excluded Shaders (Culprit Set) Removing these 16 non-RT shaders (which have no `heap-2097152/` wide-heap variant in `v1.1.2`) fixes the pure-black 3D world on RADV `views=2097152`: ```text 136986812880cead.compute.dxil 191ecaed66eea3b1.compute.dxil 1f1fbd86759b3da2.compute.dxil 2561af9577c47289.compute.dxil 7c1419b5888b6d38.compute.dxil 7c649c422f6208e4.pixel.dxil a1bf269d5b19f025.compute.dxil b1eb5db361c10621.compute.dxil b8f3f7979d6bbc50.compute.dxil b96880482a17f632.compute.dxil c07823591d4c66c0.compute.dxil c3f65a5eb6b8cbb3.pixel.dxil c4183d3cbee28e8e.compute.dxil d72397c79be4bd1a.compute.dxil e4a9f58e3acfcf7b.compute.dxil ecbdc68c0c21db6f.compute.dxil ``` ### Workaround for Other AMD/RADV Linux Users Copy only the `*.views` shader sets + the `heap-2097152/` shaders into a separate folder and point `LARP_SHADER_REPLACE` to it along with `LARP_HOST_MAX_WAVE=32`.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-05 23:02:47 +00:00
Author
Owner

@⁠Senyov on GitHub · 2026-12-06 00:35 UTC · original

Workaround doesn't work on my end, testing with the same environment

**@⁠Senyov** on GitHub · 2026-12-06 00:35 UTC · [original](https://github.com/gamingwithhomie/larp/issues/307#issuecomment-7448486526) Workaround doesn't work on my end, testing with the same environment
Author
Owner

@⁠vanya890 on GitHub · 2026-12-06 01:19 UTC · original

This is a useful isolation report: the failure is narrowed to the 16 non-RT replacements without a heap-2097152/ variant, while the 64 RT replacements plus the 7 wide-heap replacements render correctly on RADV with Wave32.

One version caveat: this report is against v1.1.2, while the wide-heap shader work is being developed in #183 and additional shader fixes are moving through #457. The workaround is valid evidence for the reported build, but it does not establish that the same 16 files are still missing variants in the current tree. Could you re-run the same isolation against a build containing the latest #183 changes (or current main after it lands), and report the exact build SHA plus replacement-file counts? That will distinguish an already-covered issue from a remaining release-packaging gap.

**@⁠vanya890** on GitHub · 2026-12-06 01:19 UTC · [original](https://github.com/gamingwithhomie/larp/issues/307#issuecomment-7449084094) This is a useful isolation report: the failure is narrowed to the 16 non-RT replacements without a `heap-2097152/` variant, while the 64 RT replacements plus the 7 wide-heap replacements render correctly on RADV with Wave32. One version caveat: this report is against v1.1.2, while the wide-heap shader work is being developed in #183 and additional shader fixes are moving through #457. The workaround is valid evidence for the reported build, but it does not establish that the same 16 files are still missing variants in the current tree. Could you re-run the same isolation against a build containing the latest #183 changes (or current main after it lands), and report the exact build SHA plus replacement-file counts? That will distinguish an already-covered issue from a remaining release-packaging gap.
Author
Owner

@⁠vanya890 on GitHub · 2026-12-06 01:20 UTC · original

This is a very useful isolation: the fact that the 64 RT replacements plus the 7 wide-heap variants render correctly, while adding the other 16 replacements blacks out the 3D world, narrows the regression to a specific replacement subset rather than the RADV host heap alone.

One important follow-up before treating the 16-file list as a current-main defect: the report is against v1.1.2, while shader replacements have continued changing since then (including the wide-heap work in #183). Could you run the same curated 70-file set and the full replacement folder against the latest main/release build, keeping LARP_HOST_MAX_WAVE=32 and the same Proton/Mesa stack? Please attach the new play.log and the exact build/commit. If the 16 shaders still reproduce it, the likely next step is to produce and validate matching heap-2097152 variants for those replacements rather than globally disabling non-RT replacements.

**@⁠vanya890** on GitHub · 2026-12-06 01:20 UTC · [original](https://github.com/gamingwithhomie/larp/issues/307#issuecomment-7449101403) This is a very useful isolation: the fact that the 64 RT replacements plus the 7 wide-heap variants render correctly, while adding the other 16 replacements blacks out the 3D world, narrows the regression to a specific replacement subset rather than the RADV host heap alone. One important follow-up before treating the 16-file list as a current-main defect: the report is against v1.1.2, while shader replacements have continued changing since then (including the wide-heap work in [#183](https://git.gtahub.st/github/gamingwithhomie--larp/pulls/183)). Could you run the same curated 70-file set and the full replacement folder against the latest main/release build, keeping `LARP_HOST_MAX_WAVE=32` and the same Proton/Mesa stack? Please attach the new `play.log` and the exact build/commit. If the 16 shaders still reproduce it, the likely next step is to produce and validate matching `heap-2097152` variants for those replacements rather than globally disabling non-RT replacements.
Author
Owner

@⁠vanya890 on GitHub · 2026-12-06 01:32 UTC · original

This report matches the exact wide-heap replacement gap that was present in v1.1.2. PR #227 is now merged to main and adds paired 1M/2M heap variants for all 85 replacement shader sources; the 16 shader IDs listed in this issue are included in that conversion. The old v1.1.2 package therefore predates the complete fix.

Please retest with a current FULL package built from main and keep the complete shader-replace/ tree, especially heap-2097152/ and the matching sidecars. Do not copy only the 1M files into the new package. If the world is still black, attach a fresh zip-logs archive and include the log lines showing the selected host view-heap size and which replacements loaded. PR #227: #227

**@⁠vanya890** on GitHub · 2026-12-06 01:32 UTC · [original](https://github.com/gamingwithhomie/larp/issues/307#issuecomment-7449256280) This report matches the exact wide-heap replacement gap that was present in v1.1.2. PR #227 is now merged to `main` and adds paired 1M/2M heap variants for all 85 replacement shader sources; the 16 shader IDs listed in this issue are included in that conversion. The old v1.1.2 package therefore predates the complete fix. Please retest with a current FULL package built from `main` and keep the complete `shader-replace/` tree, especially `heap-2097152/` and the matching sidecars. Do not copy only the 1M files into the new package. If the world is still black, attach a fresh `zip-logs` archive and include the log lines showing the selected host view-heap size and which replacements loaded. PR #227: https://git.gtahub.st/github/gamingwithhomie--larp/pulls/227
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#307
No description provided.