VOOZH about

URL: https://www.phoronix.com/news/KDE-KWin-Vulkan-First-Step

⇱ KDE's KWin Compositor Lands First Step Toward Vulkan Support - Phoronix


👁 Phoronix

KDE's KWin Compositor Lands First Step Toward Vulkan Support

Written by Michael Larabel in KDE on 26 March 2026 at 05:32 PM EDT. 28 Comments
Merged today was the very first step toward implementing Vulkan support within KDE's KWin compositor as an alternative to OpenGL rendering.

For years there has been talk about implementing Vulkan support within the KWin Wayland compositor while now we are finally beginning to see some mainline activity around it. A merge request opened three weeks ago was generic multi-GPU copy swapchain with Vulkan support with initial Vulkan support for the DRM back-end.

Xaver Hugl who authored the code explained in the merge request:
"This MR adds the swapchain, uses it in the drm backend, and adds Vulkan support to it. In my testing, performance seems to be the same as OpenGL with AMD iGPU + AMD eGPU, and the same with Intel iGPU + Nvidia dGPU.

With Nvidia as primary GPU, Vulkan makes some performance improvements possible, however, this MR as it is doesn't unlock those yet. [As far as I can tell], we need to do two copies if we render on EGL, first one to an intermediary linear buffer, then a copy to the scanout buffer.
"

The very basic Vulkan infrastructure is part of this merge along with the swapchain bits, including for multi-GPU scenarios.

👁 KWin initial Vulkan code merged


This merge checks off the first step of the basic Vulkan infrastructure laid out in KWin's roadmap to Vulkan support dating back to 2023. There still is more work to be done on the basic infrastructure as well as enabling Vulkan for KWin effects, plug-ins, other backends, and more.

👁 KWin Vulkan roadmap


In any case we're off to an exciting start to see Vulkan code finally beginning to land in the mainline KWin codebase. Hopefully more of it will follow soon.

Michael Larabel is the principal author of Phoronix.com 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 OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.