Mesa Vulkan KHR_present_wait Support Extended To Wayland
![MESA](/assets/categories/mesa.webp)
Implementing VK_KHR_present_wait for Mesa's Wayland windowing system integration (WSI) code was started by Daniel Stone and now carried over the finish line by Valve's Hans-Kristian Arntzen. This complements the initial support added last year. The extension itself was added to the Vulkan spec in 2021.
The merge adding the Wayland Vulkan WSI support for VK_KHR_present_wait goes on to explain:
"Use the wp_presentation extension to detect when a given presentation has taken effect.
Since this protocol is not guaranteed to be supported, it must be enabled through driconf (vk_khr_present_wait=true) for the time being, since otherwise KHR_present_wait is not exposed at all when Wayland surface is enabled.
If present_wait is still used, even if protocol is not supported, it will fallback to just waiting on WSI timeline which is best effort with Wayland at that point."
This addition will be found in the Mesa 23.2 release due out next quarter.
2 Comments