Lighting not working at all #179
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#179
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?
@sYnapZiX on GitHub · 2026-12-05 20:43 UTC · original
Hey there, thanks for the awesome work on this port. It runs very good and stable so far but i have one problem. The lighting in the world is not working at all. Everything looks like overcast weather all the time even though i can see in reflections that there is supposed to be sun light and shadows, so the RT reflections look fine but the world itself looks like it's only getting ambient light. I can post a screenshot if you want.
@sYnapZiX on GitHub · 2026-12-05 20:43 UTC · original
Oh and i'm using the series s cmd if that matters, didn't test the other one yet.
@therealharmless on GitHub · 2026-12-05 20:47 UTC · original
Same issue with me, series s file: R 7 7800X3D, RX 7800 XT (16 GB), 32GB DDR5.
Prologue in the prison is v. dark, hard to get to the guard
@sYnapZiX on GitHub · 2026-12-05 20:49 UTC · original
I tested it with a later save game. I know i saved when it was sunny (~ 2PM) and i can see the sun in the sky/reflections/water but it does not hit the ground. The entire world is only light by the skylight. Other then that, visual stability and performane is insane.
@sYnapZiX on GitHub · 2026-12-05 20:51 UTC · original
Just tested the series x cmd, 10 fps less, same issue otherwise.
@gamingwithhomie on GitHub · 2026-12-05 20:57 UTC · original
This matches the wide-heap replacement-shader family (lighting probes reading wrong slots -> ambient-only world) that PR #183 is addressing, but we need to know which build youre on. Please: (1) say the exact release (
BUILD.txtin your Larp folder - e.g. v1.1.0-amd vs a larp-amd-fix build), (2) attachbin\larp.exe zip-logs. If youre not on v1.1.1-amd (which caps the view heap to the portable 1M layout), try that first. #184 looks like the same thing.@sYnapZiX on GitHub · 2026-12-05 20:58 UTC · original
larp v1.1.0 [Windows NVIDIA / Stable] - main
334be94- bin\larp.exe SHA-256 6F95636941D31EC26BBF36728EE752E689E433A55EF25A6CB5FCFCE663F000D4@gamingwithhomie on GitHub · 2026-12-05 20:59 UTC · original
Thats the problem - youre running the Windows NVIDIA build (main
334be94) on an RX 7800 XT. The NVIDIA binary doesnt carry the AMD view-heap/RT workarounds, so the replacement lighting shaders read the wrong descriptor slots on AMDs wider heap - exactly your ambient-only world with working reflections. Please switch to the v1.1.1-amd release (larp-v1.1.1-windows-amd-FULL.zipor the UPDATE zip over your folder) and retest the same sunny save. If lighting is still flat on the AMD build, attachbin\larp.exe zip-logsfrom that run and well dig in. (Weve also queued PR #183, which makes wide AMD heaps work natively, for review.)@sYnapZiX on GitHub · 2026-12-05 21:00 UTC · original
I have an RTX 3080
@sYnapZiX on GitHub · 2026-12-05 21:03 UTC · original
Just tested:
larp v1.1.1 [Windows NVIDIA / Stable] - main
cf5e530- bin\larp.exe SHA-256 DACBBC5F09300ACC5DEDFD30EABE4E97D50347304E75E52B41B937BDDBF47E51The lighting does indeed work but is completely broken. I have lit and unlit tiles all over the screen.
Edit: Nevermind the lighting glitches went away after going into the pause menu once.
@therealharmless on GitHub · 2026-12-05 22:29 UTC · original
Yeah, I'll update it soon.
Seemed sus that there was no amd build
many thanks
@MokipoCode on GitHub · 2026-12-05 23:01 UTC · original
I saw the same issue on an RX 9070 XT with Nobara 44, RADV 26.2.6, Proton Experimental, and Larp 1.1.2 Linux/Proton at 1440p in Series X mode. Light sources were visible, but nearby surfaces stayed very dark.
Setting
VKD3D_DISABLE_EXTENSIONS=VK_EXT_descriptor_heaphelped, but the foreground was still too dark. Keeping that setting and using Microsoft's natived3dcompiler_47.dllwithWINEDLLOVERRIDES=d3dcompiler_47=n,brestored the lighting in the same scene. TheInvalid shaderwarning also disappeared from the new log. I haven't tested the native DLL by itself.@Sumo1433 on GitHub · 2026-12-06 00:03 UTC · original
Same ambient-only lighting here (no sun, no shadows, sepia/flat look) on Windows / NVIDIA, and in my case it comes from the DirectStorage decoded-result store (
cache\dstorage).8e166ad), RTX 4070 12 GB, driver 621.40, i5-10400F, Win 11 26200,series-s, DLSS + DLSS FG 2x, shader heap 2048 MiBRun 1 (empty store): lighting perfect.
Run 2:
dstorage store: read ... entries=12655 mb=1610 bad_records=0, lighting gone, and these appear once per signature:(none in run 1; the args look like pointer halves).
Run 3, same settings, only
cache\dstoragemoved away: lighting back.Workaround:
LARP_DSTORAGE_CACHE_GB=0and deletecache\dstoragebefore starting. Looks like a stored entry is served for a request whose bytes differ (key collision or a stale entry).