The vulkan extension VK_KHR_xlib_surface is not enabled, even though I'm compiling on a X11 platform. XCB on the other hand is enabled. Unfortunately, I cannot use xcb and do not know how to compile the driver with VK_KHR_xlib_surface enabled. I originally submitted this bug in the archlinux bugtracker, but got send here because they said it's an upstream choice to not enable xlib support. The original bug can be found here https://bugs.archlinux.org/task/50160 (and adds some context about configure flags that I don't know much about, so please also take a look at that bug report)
The reason there is no compile flag is because Tue code doesn't yet exist. However, XCB and Xlib can be mixed as seen here: https://www.x.org/wiki/guide/xlib-and-xcb/#index2h2 You should be able to use the xcb version in your Xlib app as long as your Xlib is anywhere close to recent. That's probably how I would implement it inside the driver anyway. If there is a particularly compelling reason to have a separate Xlib implementation I'm open to it but I really don't see one other then slight convenience at the moment.
Well, the main reason is that I am using a community driven vulkan wrapper that currently only supports xlib. I cannot use this wrapper, because the extension is not enabled in the driver. I guess I will send them a patch, but nevertheless I think supporting all vulkan extensions (at least the most basic ones like VK_KHR_xlib_surface) should be one of the goals of a feature complete driver.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.