Unable to run sample applications
I try to run them and I get the following errors:
[bkeys@desktop desktop]$ ./Tiny
[IGL] Error in (void igl::vulkan::VulkanContext::createInstance(const size_t, const char **)).
Vulkan API call failed: /home/bkeys/Devel/igl/src/igl/vulkan/VulkanContext.cpp:303
ivkCreateInstance(VK_API_VERSION_1_1, config_.enableValidation, config_.enableGPUAssistedValidation, config_.enableSynchronizationValidation, instanceExtensions.size(), instanceExtensions.data(), &vkInstance_)
VK_ERROR_LAYER_NOT_PRESENT
Tiny: /home/bkeys/Devel/igl/src/igl/vulkan/VulkanContext.cpp:303: void igl::vulkan::VulkanContext::createInstance(const size_t, const char **): Assertion `false' failed.
Aborted (core dumped)
OpenGL based applications do not work either:
[IGL] Error in (void (anonymous namespace)::glfwErrorHandler(int, const char *)).
GLFW Error: GLX: Failed to create context: GLXBadFBConfig
I am running Fedora Workstation 38, on KDE Wayland session.
Thanks for the report, we'll take a look!
@bkeys you should install vulkan validation layer! also how you switch ./Tiny sample to run in OpenGL mode? have to recompile or some launch argument? thanks..
I installed the validation layers, now when I run a vulkan example I get the following:
Vulkan instance extensions:
VK_KHR_device_group_creation
VK_KHR_external_fence_capabilities
VK_KHR_external_memory_capabilities
VK_KHR_external_semaphore_capabilities
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_EXT_debug_report
VK_EXT_debug_utils
VK_KHR_display
VK_KHR_get_display_properties2
VK_EXT_acquire_drm_display
VK_EXT_acquire_xlib_display
VK_EXT_direct_mode_display
VK_EXT_display_surface_counter
VK_EXT_surface_maintenance1
VK_EXT_swapchain_colorspace
VK_KHR_portability_enumeration
VK_LUNARG_direct_driver_loading
Segmentation fault (core dumped)
@bkeys Wayland support is not implemented (yet).
@bkeys you should install vulkan validation layer! also how you switch ./Tiny sample to run in OpenGL mode? have to recompile or some launch argument? thanks..
@oscarbg, set USE_OPENGL_BACKEND to 1 in samples/desktop/Tiny/Tiny.cpp and rerun make.