#Issues with running vulkan code on linux

1 messages · Page 1 of 1 (latest)

ivory notch
#

Hello, I have a problem with running the vulkan code on linux machine. Currently it is ubuntu(but on other linuxes the issue is the same). Basically, I am always crashing on this line of code:
CommandQueue->Execute(CommandList, &ReleaseSemaphore, &AcquireSemaphore);
While on windows machines everything working fine and I get the desired image I draw per frame, on linux machine it straight crashing with with SIGSEGV. What could be the issue here?

#

This is my application is output:

[Extension] VK_EXT_debug_report is available
[Extension] VK_EXT_debug_utils is available
[Unknown]: linux_read_sorted_physical_devices:
[Unknown]:      Original order:
[Unknown]:            [0] llvmpipe (LLVM 12.0.0, 256 bits)
[Unknown]:      Sorted order:
[Unknown]:            [0] llvmpipe (LLVM 12.0.0, 256 bits)
[Unknown]: linux_read_sorted_physical_devices:
[Unknown]:      Original order:
[Unknown]:            [0] llvmpipe (LLVM 12.0.0, 256 bits)
[Unknown]:      Sorted order:
[Unknown]:            [0] llvmpipe (LLVM 12.0.0, 256 bits)
[Debug]: Copying old device 0 into new device 0
[Unknown]: linux_read_sorted_physical_devices:
[Unknown]:      Original order:
[Unknown]:            [0] llvmpipe (LLVM 12.0.0, 256 bits)
[Unknown]:      Sorted order:
[Unknown]:            [0] llvmpipe (LLVM 12.0.0, 256 bits)
[Debug]: Copying old device 0 into new device 0
[Unknown]: linux_read_sorted_physical_devices:
[Unknown]:      Original order:
[Unknown]:            [0] llvmpipe (LLVM 12.0.0, 256 bits)
[Unknown]:      Sorted order:
[Unknown]:            [0] llvmpipe (LLVM 12.0.0, 256 bits)
[Debug]: Copying old device 0 into new device 0
[Extension] VK_KHR_swapchain is available
[Extension] VK_KHR_push_descriptor is available
[Extension] VK_KHR_shader_non_semantic_info is not available
[Extension] VK_KHR_8bit_storage is available
[Extension] VK_KHR_16bit_storage is available
[Extension] VK_KHR_draw_indirect_count is available
[Extension] VK_EXT_sampler_filter_minmax is available
[Extension] VK_KHR_multiview is available
[Extension] VK_KHR_dynamic_rendering is not available
[Extension] VK_EXT_descriptor_indexing is not available
[Unknown]: Failed to find vkGetDeviceProcAddr in layer "libVkLayer_MESA_device_select.so"
[Unknown]:        Using "llvmpipe (LLVM 12.0.0, 256 bits)" with driver: "/usr/lib/x86_64-linux-gnu/libvulkan_lvp.so"
WARNING: lavapipe is not a conformant vulkan implementation, testing use only.
Segmentation fault
shy lotus
#

SIGSEGV is always an invalid pointer/handle

#

and it looks like you do not haev a vulkan gpu + driver and are using the cpu implementation which is telling you is non conformant