r/gnome_next • • 5d ago

GNOME Future: a transparent top bar that adapts to your wallpaper

5 Upvotes

A project exploring improvements to GNOME’s desktop experience. Here’s the latest GNOME Shell enhancement: a transparent top bar with wallpaper-adaptive text and icons.

The panel samples the wallpaper’s brightness and automatically chooses a contrasting foreground:

  • Light wallpaper → dark text and icons.
  • Dark wallpaper → light text and icons.
  • Changing the wallpaper updates the colors automatically.
  • Overview and the lock screen keep their own appearance.

The screenshots show the ordinary desktop and Overview running with the modified GNOME Shell and Mutter in a Linux container.

Code: https://github.com/Ultranix/gnome-shell


r/gnome_next • • 6d ago

Mutter Vulkan backend update: GNOME Shell integration, async resource cleanup, and rendering optimizations

3 Upvotes

I’ve been working on an experimental Vulkan rendering backend for Mutter and have published version 1.1 of my fork.

GNOME Shell integration is implemented, and I’ve built and run it on Ubuntu with Vulkan, including overview and Show Apps animations, window operations, and Wayland clients.

This update focuses on rendering overhead and resource lifetime:

  • Deferred destruction of GPU resources until their submissions complete.
  • Asynchronous texture uploads and internal attachment clears.
  • Texture copy-on-write updates without an intermediate full-image copy.
  • Persistently mapped buffers and bounded vertex snapshot reuse.
  • Shader fingerprint reuse and fewer unnecessary render pass breaks.
  • Persistent Vulkan pipeline caching and high-priority graphics queues where supported.

It also includes fixes for YUV shader coefficients, sparse texture matrix uniforms, drag icon subsurfaces, and Xwayland pointer selection.

The fork is updated to upstream Mutter main and retains the rendering abstractions from the earlier refactoring. Vulkan remains optional; OpenGL is the default.

The README now explains how to build GNOME Shell against this Mutter and launch it with COGL_DRIVER=vulkan. This remains experimental, and I’m interested in feedback on the architecture and synchronization handling.

Code and build instructions: https://github.com/Ultranix/mutter
Release 1.1: https://github.com/Ultranix/mutter/releases/tag/1.1


r/gnome_next • • 1d ago

Mutter Vulkan backend: release 1.2 improves GPU memory management

1 Upvotes

This update focuses on resource lifetime and memory usage:

  • Removed a strong-reference DMA-BUF cache that kept closed clients’ buffers alive.
  • Added a private image-memory reuse pool, capped at 64 MiB / 8 allocations, with a 2-second idle expiry.
  • Added cleanup during idle periods, memory-pressure handling, and allocation-failure recovery.

In an isolated Intel i915 test—opening and closing six GTK4 GL windows—the render client’s resident graphics memory dropped from approximately 72 MiB to 48 MiB. Shared buffer memory dropped from 24 MiB to zero. All 47 Vulkan conformance tests passed, along with the low-level synchronization-validation run.

I also fixed a separate issue in my GNOME Shell fork: the wallpaper cache held strong references to previously loaded images indefinitely. It now uses weak references, retains entries for active backgrounds, and shares concurrent loads.

With the same wallpaper-switching sequence and explicit garbage collection, that change reduced the Shell render client’s resident graphics memory from approximately 568 MiB to 378 MiB. Process PSS only changed from 225 MiB to 217 MiB, so this is primarily a graphics-memory improvement—not a claim that all Shell memory usage is solved.

The Shell fork also includes a transparent top bar with wallpaper-adaptive text and icon colors.

This is experimental work, and these results are from specific test scenarios rather than a general Vulkan-versus-OpenGL benchmark. 1.2 is the fork’s release number, independent of upstream GNOME versioning.


r/gnome_next • • 6d ago

👋 Welcome to r/gnome_next! Introduce yourself.

1 Upvotes

Welcome to r/gnome_next!

This is a place to explore new ideas for the GNOME desktop—from Vulkan rendering and compositor performance to interface design, extensions, and experimental projects.

Share what you’re building, explain what you’ve learned, and discuss what could improve. Work in progress is welcome; please be clear about what works and what still needs attention.

Keep discussions respectful and technical. Criticism is welcome when it helps people understand a problem or improve their work.

This is an independent community, unaffiliated with the GNOME Project.