Skip to content
0:00 / 0:00

#wayland#kde#kwin

Akademy 2021 - Addressing Wayland Robustness

The KDE Community

25K subscribers • 2 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • Presented by David Edmundson

Intermediate. Assumes working knowledge.

935 views5 years ago1 recommendation

Systems programmingOperating systems

David Edmundson discusses compositor handoffs to allow Wayland clients to seamlessly reconnect after a compositor crash.

By David Edmundson Plasma hasn't been one of the first desktops to transition to wayland, which still gives us the opportunity to make the best transition. One of the biggest issues that face wayland adoption is stability, if a client crashes, you just reopen it. If kwin wayland crashes, we lose everything. This is true across all desktops. This talk showcases work across multiple libraries and toolkits to tackle this at the root with a method of "compositor handoffs" allowing clients to safely securely and seamlessly reconnect to a relaunched wayland compositor. This not only tackles the issue of robustness but also opens up a whole avenue of new opportunities that were previously impossible. We will look at the work done and the upcoming steps remaining for this to reach all end users.

Why it's here

1 person recommends this

What people say. Recommended as a resource on compositor crash recovery when designing GUI frameworks.

u/PrestigiousBroccoliin r/rust • Recommends

On “So you want to write a GUI framework”

…n directly using Wayland APIs, it’s difficult to properly integrate into the UI system, and you need to implement a lot of things from scratch that are provided for free by MacOS and Windows, like window decorations (titlebars, shadows, rounded corners) accessibility and theme support, but also some more basic stuff like compositor crash recovery (link to this video I would personally only consider writing a toolkit directly using Wayland if you are also writing a GNOME, or KDE Plasma competitor. Implementing such an alternative in rust would be great, but it would have an enormous scope, even relative to a cross platform toolkit. A pure X11 backend could still be considered native and still useful…