armory
armory copied to clipboard
Crash when using area lights
Splitting off this issue from https://github.com/armory3d/armory/issues/2817:
Area lights just crashes the engine as soon as started.
@rpaladin confirmed the issue on Discord (Win11, Nvidia GPU with old drivers). I personally cannot reproduce the issue on Windows 10 with a GeForce GTX 750 Ti, tested with driver versions 527.56 and 531.18 (most recent version available to me). RPaladin also sent me a crash dump, which looks like the crash happens within the graphics driver:
Unhandled exception at 0x00007FFCFD1A7109 (nvwgf2umx.dll) in kinc.dmp: 0xC0000005: Access violation reading location 0x0000000000000024.
Note nvwgf2umx.dll
, which appears to be part of the Nvidia drivers. Unfortunately there is no proper call stack and the crash happened in some unnamed thread (2824):
Main thread:
Thread 11112 actually shows some Krom code, but it's unfortunately the opposite of insightful:
crash_info.zip Folder contents:
-
kinc.dmp
: crash dump -
Armory.exe
: custom Krom binary for which I happen to have debug symbols for which the crash dump was generated as well -
Armory.pdb
: debug symbols
I'm not sure whether this is purely a driver issue that fixes itself with driver updates, or whether it's actually an issue with some of the Armory/Kha/Kinc graphics code.
@rpaladin @e2002e Could you please share some system information such as driver versions and check (if possible) whether newer drivers fix the issue for you?
Graphics Card: NVIDIA GeForce RTX 3050 Ti Laptop GPU
Driver Date: 5/11/2021
Driver Version: 27.21.14.6262
I looked int sampleLight function and it will return if an area light is used, but in case of clustered lights, if one of the lamp is not an area, il will be in anyway treated as area lamp, because we dont check light type.
11 mars 2023 02:01:37 Moritz Brückner @.***>:
Splitting off this issue from #2817[https://github.com/armory3d/armory/issues/2817]:
Area lights just crashes the engine as soon as started.
@rpaladin[https://github.com/rpaladin] confirmed the issue on Discord (Win11, Nvidia GPU with old drivers). I personally cannot reproduce the issue on Windows 10 with a GeForce GTX 750 Ti, tested with driver versions 527.56 and 531.18 (most recent version available to me). RPaladin also sent me a crash dump, which looks like the crash happens within the graphics driver:
*Unhandled exception at 0x00007FFCFD1A7109 (nvwgf2umx.dll) in kinc.dmp: 0xC0000005: Access violation reading location 0x0000000000000024. * Note nvwgf2umx.dll, which appears to be part of the Nvidia drivers. Unfortunately there is no proper call stack and the crash happened in some unnamed thread (2824): [https://user-images.githubusercontent.com/17685000/224455496-bf203691-d73b-4adf-878a-eaf86d318bc1.png][grafik][https://user-images.githubusercontent.com/17685000/224455496-bf203691-d73b-4adf-878a-eaf86d318bc1.png] Main thread: [https://user-images.githubusercontent.com/17685000/224455546-68663a79-0c36-4568-ba67-87075112c70e.png][grafik][https://user-images.githubusercontent.com/17685000/224455546-68663a79-0c36-4568-ba67-87075112c70e.png] Thread 11112 actually shows some Krom code, but it's unfortunately the opposite of insightful: [https://user-images.githubusercontent.com/17685000/224455557-e2d19b89-345b-4e2f-9879-e7404329e4e9.png][grafik][https://user-images.githubusercontent.com/17685000/224455557-e2d19b89-345b-4e2f-9879-e7404329e4e9.png]
crash_info.zip[https://github.com/armory3d/armory/files/10947113/crash_info.zip] Folder contents:
-
kinc.dmp: crash dump
-
Armory.exe: custom Krom binary for which I happen to have debug symbols for which the crash dump was generated as well
-
Armory.pdb: debug symbols
I'm not sure whether this is purely a driver issue that fixes itself with driver updates, or whether it's actually an issue with some of the Armory/Kha/Kinc graphics code.
@rpaladin[https://github.com/rpaladin] @e2002e[https://github.com/e2002e] Could you please share some system information such as driver versions and check (if possible) whether newer drivers fix the issue for you?
— Reply to this email directly, view it on GitHub[https://github.com/armory3d/armory/issues/2823], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AHDG6X446JV7EHB4JNXSIZTW3PFHDANCNFSM6AAAAAAVXDTBHU]. You are receiving this because you were mentioned.[Image de pistage][https://github.com/notifications/beacon/AHDG6X6ODQ47TBS5UNI6UXTW3PFHDA5CNFSM6AAAAAAVXDTBHWWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHGBDCWAU.gif]