Mesa's Vulkan WSI/Wayland Code Adds "IMMEDIATE" Present Mode Support

Written by Michael Larabel in Mesa on 24 August 2023 at 10:08 AM EDT. 7 Comments
Mesa's Vulkan windowing system integration (WSI) code for Wayland has added the "IMMEDIATE" present mode option that uses Wayland's tearing-control unstable extension to allow for images to be presented immediately but at the risk of visible screen tearing.

The VK_PRESENT_MODE_IMMEDIATE_KHR mode is specified by the Vulkan spec as "the presentation engine does not wait for a vertical blanking period to update the current image, meaning this mode may result in visible tearing. No internal queuing of presentation requests is needed, as the requests are applied immediately."

Wayland presentation modes

More details on the immediate mode via the Wayland tearing updates protocol.

For nearly one year now has been this Mesa merge request for adding the IMMEDIATE support to the Wayland WSI code. The work was managed by Simon Ser and is now in Mesa Git ahead of the v23.3 release in Q4.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via

Popular News This Week