Skip to content
Discussion options

You must be logged in to vote

Not at runtime. On Linux DiligentCore is always built with VK_USE_PLATFORM_WAYLAND_KHR (together with XCB and Xlib), and Instance.cpp then pushes VK_KHR_wayland_surface into the required instance extensions and throws if it isn't there. There's no CreateInfo flag or CMake option to turn that off.

The reason RenderDoc trips on it is that official RenderDoc builds don't expose VK_KHR_wayland_surface at all. Wayland support there is behind the ENABLE_UNSUPPORTED_EXPERIMENTAL_POSSIBLY_BROKEN_WAYLAND build option, which is off by default.

The simplest workaround is to drop the Wayland define from your local DiligentCore and rebuild:
https://github.com/DiligentGraphics/DiligentCore/blob/5bbbc0b…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@abocado18
Comment options

Answer selected by abocado18
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants