This computer has in fact three Vulkan devices (one in software, two on hardware):
Letting it run with lavapipe gave me a segfault:
It seems to crash in lavapipe:
Letting it run with the Intel device also gave me a segfault:
And it seems to crash in Intel's Vulkan driver, but on a different path of Tellusim:
Any ideas?
Code:
VK_LAYER_MESA_device_select (Linux device selection layer) Vulkan version 1.2.73, layer version 1: Layer Extensions: count = 0 Devices: count = 3 GPU id = 0 (Intel(R) HD Graphics 4000 (IVB GT2)) Layer-Device Extensions: count = 0 GPU id = 1 (llvmpipe (LLVM 11.0.1, 256 bits)) Layer-Device Extensions: count = 0 GPU id = 2 (AMD RADV VERDE (ACO)) Layer-Device Extensions: count = 0
Letting it run with lavapipe gave me a segfault:
Code:
M: 0 us: GravityMark Started M: 10.10 ms: ../data.zip: 313 files M: 10.49 ms: Temporal antialiasing WARNING: radv is not a conformant vulkan implementation, testing use only. MESA-INTEL: warning: Ivy Bridge Vulkan support is incomplete M: 1.053 s: Build Date: Jun 18 2021 M: 1.053 s: Build Info: release; vk=1; gl=45; gles=32 M: 1.090 s: System: Linux 5.12.10-xanmod1 x86_64 GNU/Linux M: 1.090 s: Kernel: #0~git20210610.d262d74 SMP PREEMPT Thu Jun 10 13:59:27 UTC 2021 M: 1.090 s: Memory: 15.52 GB M: 1.090 s: Uptime: 4 days 13:47 M: 1.090 s: CPU: Intel(R) Core(TM) i7-3635QM CPU @ 2.40GHz M: 1.090 s: Device: VEN_8086&DEV_0166&SUBSYS_C0E6144D M: 1.090 s: GPU: [AMD/ATI] Venus XT [Radeon HD 8870M / R9 M270X/M370X] M: 1.090 s: Device: VEN_1002&DEV_6821&SUBSYS_C0E6144D M: 1.090 s: Memory: 2.00 GB M: 1.096 s: Desktop: 1920x1080 1.0 M: 1.096 s: Screen 0: 1920x1080 0 0 eDP-1 M: 1.096 s: Creating 1600x900 Vulkan Window WARNING: lavapipe is not a conformant vulkan implementation, testing use only. M: 1.110 s: Using Fetch mode M: 2.326 s: Device: llvmpipe (LLVM 11.0.1, 256 bits) M: 2.326 s: MaxViewportCount: 16 M: 2.326 s: MaxUniformSize: 64.00 KB M: 2.326 s: MaxStorageSize: 128.00 MB M: 2.326 s: Creating SceneManager M: 6.579 s: Creating RenderManager M: 7.926 s: Creating Scene ./run_windowed_vk.sh: line 30: 3121333 Segmentation fault ./GravityMark.x64 -temporal 1 -fps 1 -info 1 -sensors 1 -benchmark 1 -vk -device 1
Code:
Thread 38 "GravityMark.x64" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fff5defd700 (LWP 3128586)] 0x00007fffe391b0c1 in ?? () from /usr/lib/x86_64-linux-gnu/libvulkan_lvp.so (gdb) where #0 0x00007fffe391b0c1 in ?? () from /usr/lib/x86_64-linux-gnu/libvulkan_lvp.so #1 0x00007fffe38b90b9 in ?? () from /usr/lib/x86_64-linux-gnu/libvulkan_lvp.so #2 0x00007fffe38b972c in ?? () from /usr/lib/x86_64-linux-gnu/libvulkan_lvp.so #3 0x00007fffe38ba2c0 in ?? () from /usr/lib/x86_64-linux-gnu/libvulkan_lvp.so #4 0x00007ffff7a82878 in ?? () from ./libTellusim_x64.so #5 0x00007ffff790e2f5 in ?? () from ./libTellusim_x64.so #6 0x00007ffff790ed65 in ?? () from ./libTellusim_x64.so #7 0x00007ffff77b9db2 in ?? () from ./libTellusim_x64.so #8 0x00007ffff77c7176 in ?? () from ./libTellusim_x64.so #9 0x00007ffff7245ea7 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #10 0x00007ffff7153def in clone () from /lib/x86_64-linux-gnu/libc.so.6
Letting it run with the Intel device also gave me a segfault:
Code:
M: 0 us: GravityMark Started M: 11.97 ms: ../data.zip: 313 files M: 12.50 ms: Temporal antialiasing WARNING: radv is not a conformant vulkan implementation, testing use only. MESA-INTEL: warning: Ivy Bridge Vulkan support is incomplete M: 1.066 s: Build Date: Jun 18 2021 M: 1.066 s: Build Info: release; vk=1; gl=45; gles=32 M: 1.089 s: System: Linux 5.12.10-xanmod1 x86_64 GNU/Linux M: 1.089 s: Kernel: #0~git20210610.d262d74 SMP PREEMPT Thu Jun 10 13:59:27 UTC 2021 M: 1.089 s: Memory: 15.52 GB M: 1.089 s: Uptime: 4 days 14:15 M: 1.089 s: CPU: Intel(R) Core(TM) i7-3635QM CPU @ 2.40GHz M: 1.089 s: Device: VEN_8086&DEV_0166&SUBSYS_C0E6144D M: 1.089 s: GPU: [AMD/ATI] Venus XT [Radeon HD 8870M / R9 M270X/M370X] M: 1.089 s: Device: VEN_1002&DEV_6821&SUBSYS_C0E6144D M: 1.089 s: Memory: 2.00 GB M: 1.094 s: Desktop: 1920x1080 1.0 M: 1.094 s: Screen 0: 1920x1080 0 0 eDP-1 M: 1.094 s: Creating 1600x900 Vulkan Window M: 1.145 s: Using Fetch mode M: 1.362 s: Device: Intel(R) HD Graphics 4000 (IVB GT2) M: 1.362 s: MaxViewportCount: 16 M: 1.362 s: MaxUniformSize: 128.00 MB M: 1.362 s: MaxStorageSize: 1.00 GB M: 1.362 s: Creating SceneManager Segmentation fault
Code:
Thread 1 "GravityMark.x64" received signal SIGSEGV, Segmentation fault. 0x00007fffeb0cbfe5 in ?? () from /usr/lib/x86_64-linux-gnu/libvulkan_intel.so (gdb) where #0 0x00007fffeb0cbfe5 in ?? () from /usr/lib/x86_64-linux-gnu/libvulkan_intel.so #1 0x00007fffeb0ce8d5 in ?? () from /usr/lib/x86_64-linux-gnu/libvulkan_intel.so #2 0x00007fffeb037245 in ?? () from /usr/lib/x86_64-linux-gnu/libvulkan_intel.so #3 0x00007fffeb02d748 in ?? () from /usr/lib/x86_64-linux-gnu/libvulkan_intel.so #4 0x00007fffeaf41e36 in ?? () from /usr/lib/x86_64-linux-gnu/libvulkan_intel.so #5 0x00007fffeaf5d0e4 in ?? () from /usr/lib/x86_64-linux-gnu/libvulkan_intel.so #6 0x00007ffff7a804e8 in ?? () from ./libTellusim_x64.so #7 0x00007ffff792c7f7 in ?? () from ./libTellusim_x64.so #8 0x00007ffff79212fb in ?? () from ./libTellusim_x64.so #9 0x00007ffff7920bac in ?? () from ./libTellusim_x64.so #10 0x00007ffff7782416 in Tellusim::SceneManager::create(Tellusim::Device const&, Tellusim::SceneManager::Flags, Tellusim::Function<void (unsigned int)> const*) () from ./libTellusim_x64.so #11 0x000000000040d95b in ?? () #12 0x000000000041034e in ?? () #13 0x000000000040b31d in ?? () #14 0x00007ffff707cd0a in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6 #15 0x000000000040b15a in ?? ()
Any ideas?
Comment