Lighting not working at all #179

Open
opened 2026-12-05 20:45:07 +00:00 by github-bot · 12 comments
Owner

@⁠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](https://github.com/gamingwithhomie/larp/issues/179) 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.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-05 20:45:08 +00:00
Author
Owner

@⁠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.

**@⁠sYnapZiX** on GitHub · 2026-12-05 20:43 UTC · [original](https://github.com/gamingwithhomie/larp/issues/179#issuecomment-7445062643) Oh and i'm using the series s cmd if that matters, didn't test the other one yet.
Author
Owner

@⁠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

**@⁠therealharmless** on GitHub · 2026-12-05 20:47 UTC · [original](https://github.com/gamingwithhomie/larp/issues/179#issuecomment-7445113793) 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
Author
Owner

@⁠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:49 UTC · [original](https://github.com/gamingwithhomie/larp/issues/179#issuecomment-7445138706) 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.
Author
Owner

@⁠sYnapZiX on GitHub · 2026-12-05 20:51 UTC · original

Just tested the series x cmd, 10 fps less, same issue otherwise.

**@⁠sYnapZiX** on GitHub · 2026-12-05 20:51 UTC · [original](https://github.com/gamingwithhomie/larp/issues/179#issuecomment-7445165417) Just tested the series x cmd, 10 fps less, same issue otherwise.
Author
Owner

@⁠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.txt in your Larp folder - e.g. v1.1.0-amd vs a larp-amd-fix build), (2) attach bin\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.

**@⁠gamingwithhomie** on GitHub · 2026-12-05 20:57 UTC · [original](https://github.com/gamingwithhomie/larp/issues/179#issuecomment-7445248815) 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.txt` in your Larp folder - e.g. v1.1.0-amd vs a larp-amd-fix build), (2) attach `bin\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.
Author
Owner

@⁠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

**@⁠sYnapZiX** on GitHub · 2026-12-05 20:58 UTC · [original](https://github.com/gamingwithhomie/larp/issues/179#issuecomment-7445259939) larp v1.1.0 [Windows NVIDIA / Stable] - main 334be94 - bin\larp.exe SHA-256 6F95636941D31EC26BBF36728EE752E689E433A55EF25A6CB5FCFCE663F000D4
Author
Owner

@⁠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.zip or the UPDATE zip over your folder) and retest the same sunny save. If lighting is still flat on the AMD build, attach bin\larp.exe zip-logs from that run and well dig in. (Weve also queued PR #183, which makes wide AMD heaps work natively, for review.)

**@⁠gamingwithhomie** on GitHub · 2026-12-05 20:59 UTC · [original](https://github.com/gamingwithhomie/larp/issues/179#issuecomment-7445268747) 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.zip` or the UPDATE zip over your folder) and retest the same sunny save. If lighting is still flat on the AMD build, attach `bin\larp.exe zip-logs` from that run and well dig in. (Weve also queued PR #183, which makes wide AMD heaps work natively, for review.)
Author
Owner

@⁠sYnapZiX on GitHub · 2026-12-05 21:00 UTC · original

I have an RTX 3080

**@⁠sYnapZiX** on GitHub · 2026-12-05 21:00 UTC · [original](https://github.com/gamingwithhomie/larp/issues/179#issuecomment-7445281137) I have an RTX 3080
Author
Owner

@⁠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 DACBBC5F09300ACC5DEDFD30EABE4E97D50347304E75E52B41B937BDDBF47E51

The 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.

**@⁠sYnapZiX** on GitHub · 2026-12-05 21:03 UTC · [original](https://github.com/gamingwithhomie/larp/issues/179#issuecomment-7445320915) Just tested: larp v1.1.1 [Windows NVIDIA / Stable] - main cf5e530 - bin\larp.exe SHA-256 DACBBC5F09300ACC5DEDFD30EABE4E97D50347304E75E52B41B937BDDBF47E51 The 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.
Author
Owner

@⁠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

**@⁠therealharmless** on GitHub · 2026-12-05 22:29 UTC · [original](https://github.com/gamingwithhomie/larp/issues/179#issuecomment-7446767366) Yeah, I'll update it soon. Seemed sus that there was no amd build many thanks
Author
Owner

@⁠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_heap helped, but the foreground was still too dark. Keeping that setting and using Microsoft's native d3dcompiler_47.dll with WINEDLLOVERRIDES=d3dcompiler_47=n,b restored the lighting in the same scene. The Invalid shader warning also disappeared from the new log. I haven't tested the native DLL by itself.

**@⁠MokipoCode** on GitHub · 2026-12-05 23:01 UTC · [original](https://github.com/gamingwithhomie/larp/issues/179#issuecomment-7447237963) 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_heap` helped, but the foreground was still too dark. Keeping that setting and using Microsoft's native `d3dcompiler_47.dll` with `WINEDLLOVERRIDES=d3dcompiler_47=n,b` restored the lighting in the same scene. The `Invalid shader` warning also disappeared from the new log. I haven't tested the native DLL by itself.
Author
Owner

@⁠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).

  • larp v1.1.1 built from source (tag v1.1.1, 8e166ad), RTX 4070 12 GB, driver 621.40, i5-10400F, Win 11 26200, series-s, DLSS + DLSS FG 2x, shader heap 2048 MiB

Run 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:

WARN larp_gpu::list: indirect execution: dropped (said once per signature) stride=12 args=[[10, 0, 269313711, 32761]] max=1 counted=false
WARN larp_gpu::list: indirect execution: dropped (said once per signature) stride=20 args=[[1, 32761, 219703460, 32761]] max=1 counted=false
WARN larp_gpu::list: indirect execution: dropped (said once per signature) stride=16 args=[[0, 32761, 8, 0]] max=1 counted=false

(none in run 1; the args look like pointer halves).
Run 3, same settings, only cache\dstorage moved away: lighting back.

Workaround: LARP_DSTORAGE_CACHE_GB=0 and delete cache\dstorage before starting. Looks like a stored entry is served for a request whose bytes differ (key collision or a stale entry).

**@⁠Sumo1433** on GitHub · 2026-12-06 00:03 UTC · [original](https://github.com/gamingwithhomie/larp/issues/179#issuecomment-7448049050) 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`). - larp v1.1.1 built from source (tag v1.1.1, 8e166ad), RTX 4070 12 GB, driver 621.40, i5-10400F, Win 11 26200, `series-s`, DLSS + DLSS FG 2x, shader heap 2048 MiB Run 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: ``` WARN larp_gpu::list: indirect execution: dropped (said once per signature) stride=12 args=[[10, 0, 269313711, 32761]] max=1 counted=false WARN larp_gpu::list: indirect execution: dropped (said once per signature) stride=20 args=[[1, 32761, 219703460, 32761]] max=1 counted=false WARN larp_gpu::list: indirect execution: dropped (said once per signature) stride=16 args=[[0, 32761, 8, 0]] max=1 counted=false ``` (none in run 1; the args look like pointer halves). Run 3, same settings, only `cache\dstorage` moved away: lighting back. Workaround: `LARP_DSTORAGE_CACHE_GB=0` and delete `cache\dstorage` before starting. Looks like a stored entry is served for a request whose bytes differ (key collision or a stale entry).
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#179
No description provided.