Need help with Linux runtime

I updated my Ubuntu to latest Mesa drivers Mesa 20.2.6. But still get complains about Vulkan and not starting. Any advice?

https://9to5linux.com/mesa-20-0-arrives-with-opengl-4-6-on-radeonsi-vulkan-1-2-on-intel-anv-and-radv

Hi, what’s your GPU? Could you send the logs from terminal?

GTX 750 TI

he Machinery - Version 2021.1
Number of available instance layers: 2
    VK_LAYER_MESA_device_select (Description: Linux device selection layer)
    VK_LAYER_MESA_overlay (Description: Mesa Overlay layer)

Number of available instance extensions: 18
    VK_KHR_device_group_creation
    VK_KHR_external_fence_capabilities
    VK_KHR_external_memory_capabilities
    VK_KHR_external_semaphore_capabilities
    VK_KHR_get_display_properties2
    VK_KHR_get_physical_device_properties2
    VK_KHR_get_surface_capabilities2
    VK_KHR_surface
    VK_KHR_surface_protected_capabilities
    VK_KHR_wayland_surface
    VK_KHR_xcb_surface
    VK_KHR_xlib_surface
    VK_KHR_display
    VK_EXT_direct_mode_display
    VK_EXT_acquire_xlib_display
    VK_EXT_display_surface_counter
    VK_EXT_debug_report
    VK_EXT_debug_utils

vkEnumeratePhysicalDevices() failed!
../../the_machinery/the_machinery.c:7492:0: error: setup_render_backend(app, (setup_render_backend_t){ .vulkan_validation_layer = vulkan_validation_layer, .adapter_request = adapter_request })

We tested Nvidia only with proprietary drivers, but I’m still investigating this issue, for now could you check the following?

  • Try to run vkcube;
  • Make sure you have mesa-vulkan-drivers and vulkan-utils installed;
  • Try to run engine with VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/nvidia_icd.json bin/Debug/the-machinery or VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/intel_icd.x86_64.json bin/Debug/the-machinery
  • Make sure you have vulkan-validationlayers installed and run The Machinery with --vulkan-validation argument
  • Give us the result of vulkaninfo command

I will check on Monday. Currently on windows machine. And no problems.

vkcube
vkcube: /build/vulkan-tools-KEbD_A/vulkan-tools-1.2.131.1+dfsg1/cube/cube.c:3173: demo_init_vk: Assertion `!err’ failed.
Aborted (core dumped)

Ok, it’s seems to be related to Vulkan support on your machine. Try step 2 and check vkcube again