Originally posted by Arthus
View Post
Announcement
Collapse
No announcement yet.
Qt 6.6 Wayland Compositor Handoffs Look Promising For More Robust Experience
Collapse
X
-
Originally posted by bple2137 View Post
No, the titles says about feature implemented in Qt 6.6 called Wayland Compositor Handoffs, that makes Qt6 Wayland clients not die when the compositor is being killed/crashes. Instead they reconnect to a newly started compositor instance - as the video demonstrates. The feature was actually proposed and PoC was presented quite a lot of time ago, but it wasn't universally praised. GNOME/GTK devs (ahh, because who but them) said they don't want that, it's pointless and instead KDE devs should make their compositor to not crash.
Assume Kwin or any similar piece of complex code is "perfect" this feature would still 100% be useful: The compositor could crash for reasons that are 100% beyond the control of the people writing the software given that it interacts heavily with other parts of the graphics stack that can & does have its own bugs.
- Likes 22
Comment
-
15 years into Wayland’s existence and finally we won’t lose all our work when the compositor crashes.
Oh wait, only one desktop and only one toolkit can do it, so the entire rest of the Linux app and desktop ecosystem misses out. Turns out, Wayland’s uselessly tiny core protocol wasn’t such a good idea after all, neither was designing the protocol in such a way that mandates putting the display server, window manger and compositor into one giant monolithic process. Reminds me a bit of Windows 98…
In case people forgot, X11 window managers run as just another client like any other application, so they have always been able to be cleanly restarted without your apps even noticing. Many of them can also be completely swapped out for another one during runtime! This is something “ancient” X11 had since the beginning and Wayland is only just catching up on.
Maybe next year, Wayland. Maybe next year.Last edited by mxan; 11 September 2023, 01:52 PM.
- Likes 6
Comment
-
-
You think KDE have only been working on Wayland for 15 *months*? KDE first shipped (extremely experimental, barely functioning) Wayland support back in KDE 4.11, back in 2013, the same year GNOME started shipping experimental Wayland sessions. So try about 10 years of both KDE and GNOME working towards transitioning to Wayland, and still 15 years of the protocol’s existence, because this is basic usability stuff that really should’ve been there since the beginning.Last edited by mxan; 11 September 2023, 02:10 PM.
- Likes 5
Comment
-
Originally posted by mxan View Post15 years into Wayland’s existence and finally we won’t lose all our work when the compositor crashes.
Oh wait, only one desktop and only one toolkit can do it, so the entire rest of the Linux app and desktop ecosystem misses out. Turns out, Wayland’s uselessly tiny core protocol wasn’t such a good idea after all, neither was designing the protocol in such a way that mandates putting the display server, window manger and compositor into one giant monolithic process. Reminds me a bit of Windows 98…
In case people forgot, X11 window managers run as just another client like any other application, so they have always been able to be cleanly restarted without your apps even noticing. Many of them can also be completely swapped out for another one during runtime! This is something “ancient” X11 had since the beginning and Wayland is only just catching up on.
Maybe next year, Wayland. Maybe next year.
- Likes 16
Comment
-
Originally posted by Schmellow View PostCool tech, but good luck getting that into GTK lolLast edited by mxan; 11 September 2023, 02:16 PM.
- Likes 8
Comment
-
Originally posted by mxan View Post15 years into Wayland’s existence and finally we won’t lose all our work when the compositor crashes.
wait, only one desktop and only one toolkit can do it, so the entire rest of the Linux app and desktop ecosystem misses out. Turns out, Wayland’s uselessly tiny core protocol wasn’t such a good idea after all, neither was designing the protocol in such a way that mandates putting the display server, window manger and compositor into one giant monolithic process. Reminds me a bit of Windows 98…
In case people forgot, 11 window managers run as just another client like any other application, so they have always been able to be cleanly restarted without your apps even noticing. Many of them can also be completely swapped out for another one during runtime! This is something “ancient” X11 had since the beginning and Wayland is only just catching up on.
Maybe next year, Wayland. Maybe next year.
For example: "This post is about Qt, but the world is bigger than that. Not only does this technique work here, but we have pending patches for GTK, SDL and even XWayland, with key parts of SDL merged but disabled already."
Or: "For X11 this was unfixable; clients relied on memory stored by the Xserver, they made synchronous calls that were expected to return values, and multiple clients talked to multple clients.
This was a real problem in my early days of Linux, X11 would lock up frequently enough that most distributions had a shortcut key to restart the server and send you back to the login prompt."
- Likes 17
Comment
-
Originally posted by mxan View Post15 years into Wayland’s existence and finally we won’t lose all our work when the compositor crashes.
Oh wait, only one desktop and only one toolkit can do it, so the entire rest of the Linux app and desktop ecosystem misses out. Turns out, Wayland’s uselessly tiny core protocol wasn’t such a good idea after all, neither was designing the protocol in such a way that mandates putting the display server, window manger and compositor into one giant monolithic process. Reminds me a bit of Windows 98…
In case people forgot, X11 window managers run as just another client like any other application, so they have always been able to be cleanly restarted without your apps even noticing. Many of them can also be completely swapped out for another one during runtime! This is something “ancient” X11 had since the beginning and Wayland is only just catching up on.
Maybe next year, Wayland. Maybe next year.
- Likes 5
Comment
Comment