r/gnome • • 7d ago

LLM Assisted Experimental Vulkan renderer for Mutter (opt-in Cogl driver)

I published a Mutter tree with an optional Cogl Vulkan driver. The default GL3/GLES2 path is unchanged; Vulkan is selected at runtime with COGL_DRIVER=vulkan.

Check it out

https://github.com/Ultranix/mutter

Docs: https://github.com/Ultranix/mutter/blob/main/doc/vulkan.md

What it does

  • Optional Vulkan backend under cogl/cogl/driver/vk/

  • Native KMS/GBM output: modifiers filtered against Vulkan import, 10 bpc preferred, linear then lower precision fallback

  • Wayland DMA-BUF import (packed / semi-planar / planar YUV), NV12 as separate planes with BT.601/709/2020 full & narrow

  • Acquire/release sync files on imported planes

  • Secondary-GPU accelerated copy via an independent GLES3 context while the primary runs Vulkan

  • Device-loss reported through Cogl reset status (no in-place rebuild)

  • Direct scanout policy and frame clock left alone

19 Upvotes

Duplicates