OSS-Cosmic / AmnesiaTheDarkDescent

GNU General Public License v3.0
57 stars 4 forks source link

Crashes instantly with Intel HD Graphics 620 on Linux #77

Open pizzadude opened 1 year ago

pizzadude commented 1 year ago
./Amnesia                                                                                                  
2023-09-09 01:17:20 [MainThread     ]         FileSystem.cpp:382    ERR| Trying to get an unset resource directory '9', make sure the resourceDirectory is set on start of the application
2023-09-09 01:17:20 [MainThread     ]                  Log.c:197    ERR| Failed to create log file HPL2.log
2023-09-09 01:17:20 [MainThread     ]             Vulkan.cpp:2337  INFO| Creating VkInstance with 0 enabled instance layers:
2023-09-09 01:17:20 [MainThread     ]         FileSystem.cpp:382    ERR| Trying to get an unset resource directory '8', make sure the resourceDirectory is set on start of the application
2023-09-09 01:17:20 [MainThread     ]          GPUConfig.cpp:79    WARN| gpu.cfg could not be found, setting preset to Low as a default.
2023-09-09 01:17:20 [MainThread     ]             Vulkan.cpp:2569  INFO| GPU[0] detected. Vendor ID: 0x8086, Model ID: 0x5916, Preset: low, GPU Name: Intel(R) HD Graphics 620 (KBL GT2)
2023-09-09 01:17:20 [MainThread     ]         FileSystem.cpp:382    ERR| Trying to get an unset resource directory '8', make sure the resourceDirectory is set on start of the application
2023-09-09 01:17:20 [MainThread     ]          GPUConfig.cpp:79    WARN| gpu.cfg could not be found, setting preset to Low as a default.
2023-09-09 01:17:20 [MainThread     ]             Vulkan.cpp:2569  INFO| GPU[1] detected. Vendor ID: 0x10005, Model ID: 0, Preset: low, GPU Name: llvmpipe (LLVM 16.0.6, 256 bits)
2023-09-09 01:17:20 [MainThread     ]             Vulkan.cpp:2622  INFO| GPU[0] is selected as default GPU
2023-09-09 01:17:20 [MainThread     ]             Vulkan.cpp:2623  INFO| Name of selected gpu: Intel(R) HD Graphics 620 (KBL GT2)
2023-09-09 01:17:20 [MainThread     ]             Vulkan.cpp:2624  INFO| Vendor id of selected gpu: 0x8086
2023-09-09 01:17:20 [MainThread     ]             Vulkan.cpp:2625  INFO| Model id of selected gpu: 0x5916
2023-09-09 01:17:20 [MainThread     ]             Vulkan.cpp:2626  INFO| Preset of selected gpu: low
2023-09-09 01:17:20 [MainThread     ]             Vulkan.cpp:3044  INFO| Successfully loaded Dedicated Allocation extension
2023-09-09 01:17:20 [MainThread     ]             Vulkan.cpp:3057  INFO| Successfully loaded Draw Indirect extension
2023-09-09 01:17:20 [MainThread     ]             Vulkan.cpp:3074  INFO| Successfully loaded Descriptor Indexing extension
2023-09-09 01:17:20 [MainThread     ]             Vulkan.cpp:3403  INFO| GPU supports texture array dynamic indexing
2023-09-09 01:17:20 [MainThread     ]             Vulkan.cpp:3841  WARN| Changed requested SwapChain images {2} to minimum required SwapChain images {3}
2023-09-09 01:17:20 [MainThread     ]             Vulkan.cpp:6204  INFO| Descriptor (inputSampler) : User specified Static Sampler
2023-09-09 01:17:20 [MainThread     ]             Vulkan.cpp:6249  INFO| Descriptor (uRootConstants) : User specified Push Constant
2023-09-09 01:17:20 [MainThread     ]             Vulkan.cpp:2004  WARN| Could not find queue of type 1. Using default queue
2023-09-09 01:17:20 [MainThread     ]             Vulkan.cpp:6204  INFO| Descriptor (diffuseSampler) : User specified Static Sampler
2023-09-09 01:17:20 [MainThread     ]             Vulkan.cpp:6204  INFO| Descriptor (pointSampler) : User specified Static Sampler
2023-09-09 01:17:20 [MainThread     ]             Vulkan.cpp:6249  INFO| Descriptor (uRootConstants) : User specified Push Constant
2023-09-09 01:17:20 [MainThread     ]             Vulkan.cpp:6204  INFO| Descriptor (depthSampler) : User specified Static Sampler
fish: Job 1, './Amnesia' terminated by signal SIGSEGV (Address boundary error)

This is on Fedora 38 KDE with wayland.

dmesg shows this:

MainThread[2043123]: segfault at 7fa3fc11d109 ip 00007f041f09aef3 sp 00007f040dff4eb0 error 6 in libvulkan_intel.so[7f041f07c000+605000] likely on CPU 1 (core 1, socket 0)
[138073.653898] Code: c1 e0 04 48 c1 e2 03 45 03 8c 05 bc 00 00 00 4b 8d 04 89 48 c1 e0 05 48 03 86 a8 00 00 00 80 7e 54 00 48 89 84 16 d0 00 00 00 <4c> 89 58 40 4c 89 78 48 4c 89 70 50 74 1f b8 01 00 00 00 d3 e0 09
[138076.938134] traps: MainThread[2043185] general protection fault ip:7f86f189aef3 sp:7f86dbff4eb0 error:0 in libvulkan_intel.so[7f86f187c000+605000]
[138115.164189] traps: MainThread[2043888] general protection fault ip:7feb4ec9aef3 sp:7feb3dff4eb0 error:0 in libvulkan_intel.so[7feb4ec7c000+605000]
Specs:
Kernel: Linux 6.4.14-200.fc38.x86_64 x86_64
Distro: Fedora release 38 (Thirty Eight)
CPU:    Intel(R) Core(TM) i5-7300U CPU @ 2.60GHz
        4 cores/threads
        3500.00 MHz
RAM:    7.59 GiB
GPU:    Mesa Intel(R) HD Graphics 620 (KBL GT2)
        OpenGL 4.6 (Compatibility Profile) Mesa 23.1.6
        GLSL 4.60

Let me know if you need more info.

pollend commented 1 year ago

I did look it supports vulkan 1.3. Umm can't really tell what is going on.