[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
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#307
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?
@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 haveheap-2097152/variants. Keeping all 64 RT (*.views) shaders + all 7heap-2097152/wide-heap shaders (withLARP_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
larp v1.1.2(larp-v1.1.2-linux-proton-FULL.zip)vulkan-radeon26.3.1, Proton Experimental (vkd3d-proton,host view heaps: 2097152,wave lanes min=32 max=64), natived3dcompiler_47.dllinstalled vialinux/setup.sh--console series-sand defaultseries-x, bothLARP_UPSCALER=fsrandLARP_UPSCALER=offIsolation Results
bin/shader-replace(86 shaders), even withLARP_UPSCALER=off,LARP_WINE_NO_SPARSE=0,RADV_PERFTEST=nosam,WINEDLLOVERRIDES="dxgi=n,b;d3dcompiler_47=n,b", orLARP_VIEW_LIMIT=1000000 LARP_HOST_MAX_WAVE=32.LARP_SHADER_REPLACE=0 LARP_HOST_MAX_WAVE=32, and also with only the 64 RT (*.views) shaders inLARP_SHADER_REPLACE.*.views) shaders + the 7heap-2097152/wide-heap shaders (70 shaders total) withLARP_HOST_MAX_WAVE=32.The 16 Excluded Shaders (Culprit Set)
Removing these 16 non-RT shaders (which have no
heap-2097152/wide-heap variant inv1.1.2) fixes the pure-black 3D world on RADVviews=2097152:Workaround for Other AMD/RADV Linux Users
Copy only the
*.viewsshader sets + theheap-2097152/shaders into a separate folder and pointLARP_SHADER_REPLACEto it along withLARP_HOST_MAX_WAVE=32.@Senyov on GitHub · 2026-12-06 00:35 UTC · original
Workaround doesn't work on my end, testing with the same environment
@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: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=32and the same Proton/Mesa stack? Please attach the newplay.logand the exact build/commit. If the 16 shaders still reproduce it, the likely next step is to produce and validate matchingheap-2097152variants for those replacements rather than globally disabling non-RT replacements.@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
mainand 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
mainand keep the completeshader-replace/tree, especiallyheap-2097152/and the matching sidecars. Do not copy only the 1M files into the new package. If the world is still black, attach a freshzip-logsarchive and include the log lines showing the selected host view-heap size and which replacements loaded. PR #227: #227