Lighting regression: Flat after 1.0.10 #47
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#47
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?
@garlique on GitHub · 2026-12-05 16:24 UTC · original
I just tested it on 1.0.9, the shadows and lighting kinda went poof. Haven't eliminated this being a thing only on my end, so wait for additional input.
@garlique on GitHub · 2026-12-05 16:26 UTC · original
Issue persists with 1.0.11, rolling back to 1.0.9 still fine.
@bgschf on GitHub · 2026-12-05 21:11 UTC · original
I think I found the cause on NVIDIA: commit
9a42871(the v1.0.10 water mosaic fix,first_thread_init+ empty-EXEC loop stall guard inlower.rs/ir.rs). With it, the translator produces three compute shaders that the NVIDIA driver refuses at pipeline creation, so their dispatches are dropped every frame:eae3498e6553afa8isCS_CalcRasterClassificationListCounts. In game this showed up as flat lighting with a blue fog over everything outdoors, and surfaces looking untextured.A/B test (same save, same spot, same settings; the only change was reverting
9a42871,git revert --no-commit 9a42871on top of v1.0.11):9a42871(run 1)9a42871(run 2)The shader cache key includes the translator sources, so the reverted build retranslated everything; no stale cache was involved. The same three refusals also show up in the RTX 3070 log in #148 (official build), so this doesn't look specific to my machine. One side effect to check: reverting probably brings back the water mosaic from #24, so the water fix likely needs a version that produces valid DXIL rather than a plain revert.
Setup
b99f876b74d4a77f), on NVMe30b2fd3) built from source withcargo build --release -p larp --target x86_64-pc-windows-msvc, plus-C target-cpu=znver3, fat LTO andcodegen-units=1. Agility SDK 1.620.2D3D12Core.dllinD3D12\beside the exe;nv-profile --mb 1024applied--console series-s --stream-budget 2500,LARP_RESOLUTION=1920x1080,LARP_UPSCALER=dlss,LARP_UPSCALER_SCALE=0.5(Performance),LARP_FRAME_GENERATION=2(DLSS FG),LARP_REFLEX=on,LARP_PIPELINE_WAIT_MS=8, borderless@vanya890 on GitHub · 2026-12-06 01:10 UTC · original
The three refused compute pipelines now have a merged fix in PR #142: on 32-lane hosts, the translator retries the affected Wave64 programs without only the cautious stall-guard test. The PR reports the refusals and dropped dispatches going from 3/yes to 0/none, with lighting restored on Windows and Proton test systems. This appears to address the specific flat-lighting regression described here, but the issue is still open and I haven't seen confirmation from the original reporter on a build containing the merge. Please retest a current build and confirm whether the lighting/shadow regression is gone; any remaining hard-edged shadow artefacts may be a separate issue.
@garlique on GitHub · 2026-12-06 01:18 UTC · original
The lighting is now fine, however, the bloom/lens flare issue at edges persists to 1.1.6. #207