Mutter

On this page 7

Mutter is the window manager and Wayland display server of the GNOME desktop, responsible for placing windows, compositing the screen, driving monitors and routing keyboard, mouse and touch input. On the Linux desktop it is the component that actually talks to the graphics hardware and the input devices, while GNOME Shell supplies the visible interface on top of it.

The name combines Metacity and Clutter: Mutter began around 2009 as a fork of the Metacity window manager rebuilt on the Clutter scene graph, and it became the core of GNOME 3 in 2011. Today it is distributed as libmutter, a library that GNOME Shell and a few other desktops embed to obtain a complete compositor.

How Mutter works inside GNOME

Mutter acts as a compositing window manager: every application draws into its own off-screen buffer, and Mutter combines those buffers into the final image shown on each monitor. Because it controls this last step, it can apply animations, transparency, scaling and screen effects without the cooperation of the applications themselves.

GNOME Shell is not a separate program that talks to Mutter over a protocol. It is a GJS JavaScript layer loaded into the same process, built against libmutter, so the panel, overview, notifications and extensions run inside the compositor. This tight integration gives smooth, coordinated animations, but it also means that a crash in the shell or an extension can bring down the whole session under Wayland.

The following table summarizes the main internal building blocks and what each one contributes.

ComponentRoleUnderlying technology
Window management corePlacement, focus, stacking, workspacesLogic inherited from Metacity
Clutter scene graphActors, layout and animationsForked into Mutter since GNOME 3.32
Cogl rendering layerDrawing through the GPUOpenGL or OpenGL ES via EGL
Native backendMonitor modes, page flips, inputKMS/DRM, GBM and libinput
Wayland frontendServes Wayland clientsCore protocol plus extensions
XWayland integrationRuns legacy X11 applicationsXWayland started on demand
Main components of Mutter

Mutter as a Wayland compositor and X11 window manager

Mutter has historically operated in two distinct modes. In a Wayland session it is the display server itself, owning the screen through KMS and handling input through libinput. In the older X11 session it ran as a compositing manager for the X.Org Server, which remained the real display server.

AspectWayland sessionX11 session
Display serverMutter itselfX.Org Server
Input handlingDirectly through libinputThrough the X server
Legacy X11 appsRun through XWaylandRun natively
Per-monitor scalingMixed and fractional scalingOne global scale factor
Security isolationClients cannot read other windowsAny client can snoop input
Current statusDefault and actively developedBeing phased out by GNOME
Mutter in Wayland and X11 sessions

GNOME made the Wayland session the default for most hardware in 2016 and later began disabling and removing the X11 session code. Administrators should therefore treat Mutter as primarily a Wayland compositor, with XWayland providing compatibility for applications that still speak only X11.

Key capabilities and features of Mutter

Because Mutter owns the display pipeline, most display-related features of GNOME are implemented inside it rather than in applications. Several of them depend on the graphics driver and on the release in use.

  • Fractional scaling for high-density screens, exposed through the Wayland fractional scale protocol.
  • Screen casting and remote desktop through PipeWire and the xdg-desktop-portal interfaces, which replace the unrestricted screen grabbing of X11.
  • Variable refresh rate support and, in recent releases, HDR output on capable monitors.
  • Triple buffering that keeps animations smooth when the GPU cannot finish a frame in time.
  • Direct scanout of full-screen windows, which bypasses composition and reduces latency for games and video.

Since GNOME 3.x, Mutter is versioned together with GNOME, so Mutter 46 ships with GNOME 46. That coupling matters for troubleshooting: a display bug is usually a Mutter bug, and fixes arrive with the corresponding GNOME release or a distribution backport.

How Mutter compares with other compositors

Each major Linux desktop has its own compositor, and the design choices behind them explain differences in configurability and behavior. The table below places Mutter among its closest peers.

CompositorDesktop or projectDesign emphasis
MutterGNOME, also Pantheon through GalaIntegrated, opinionated, few options
KWinKDE PlasmaHighly configurable, scripting and effects
SwayStandalone, i3-compatibleTiling layout, text configuration
HyprlandStandaloneDynamic tiling, heavy visual effects
cosmic-compCOSMICHybrid tiling, written in Rust
Mutter compared with other Wayland compositors

Mutter deliberately exposes few user-facing settings; behavior changes typically come from GNOME Shell extensions or gsettings keys under org.gnome.mutter. Users who want deep tiling or keybinding customization usually find KWin or a dedicated tiling window manager a better fit.

Configuration, troubleshooting and limitations

Most Mutter tuning happens through gsettings keys and experimental feature flags rather than a configuration file. The table below links frequent problems to their usual cause and remedy.

SymptomLikely causeTypical remedy
No fractional scaling optionExperimental feature disabledEnable scale-monitor-framebuffer in experimental-features
Session ends when shell crashesShell runs inside the compositorDisable faulty extensions, update GNOME
Blurry legacy applicationsXWayland clients scaled as bitmapsEnable xwayland-native-scaling where supported
Stutter on proprietary driversOlder GBM or explicit sync gapsUpdate the driver and Mutter together
Screen sharing shows black outputMissing portal or PipeWire serviceInstall xdg-desktop-portal-gnome and PipeWire
Common Mutter issues and remedies

The main architectural limitation is the single-process design: a compositor crash cannot be survived by applications under Wayland, although GNOME developers are working on session recovery mechanisms. Logs from journalctl --user -b and the MUTTER_DEBUG environment variable are the standard starting points for diagnosis.

The simple explanation

Every program on a computer screen draws its own window, but something has to decide where each window goes, which one sits on top and how everything is combined into one picture. On a GNOME desktop, that job belongs to Mutter.

Think of Mutter as a stage manager in a theater. The actors are the applications, and Mutter arranges them on stage, controls the lights and makes sure the audience sees a smooth show. GNOME Shell, the panel and menus people click on, is the scenery built on top of that stage.

How it is used in practice

A university IT team deploys Linux workstations running GNOME to a design department that uses 4K monitors at 150 percent scaling next to older 1080p screens. With the default settings only whole-number scaling is offered, so text looks either tiny or oversized.

The administrator enables Mutter’s scale-monitor-framebuffer experimental feature through a system-wide dconf profile, which lets each monitor use its own fractional scale in the Wayland session. Legacy X11 tools run through XWayland, and screen sharing for video calls works through PipeWire and the GNOME portal. After rollout, designers get sharp text on both monitor types, and help-desk tickets about scaling drop to almost none.