Originally posted by Mystro256
View Post
Announcement
Collapse
No announcement yet.
Mir Developer: Anyone Interested In Native Wayland Clients In Mir?
Collapse
X
-
Originally posted by Mystro256 View Post
Well I assume it would be useful in the short term, allowing Wayland clients to run with Unity 8 (or rather one of the forks). AFAIK migrating Unity 8's code to Wayland is no easy task (likely requiring large reworking of code if I understand correctly).
- Likes 1
Comment
-
Originally posted by curfew View Post
Gnome and KDE are able to run on both Xorg and Wayland, so maybe something similar would be doable with Unity aswell. It depends on how much Canonical cared about such aspect, I guess they went all in and have integrated Unity with Mir without any effort to limit Mir dependencies to certain components only.
- Likes 2
Comment
-
Originally posted by TheBlackCat View Post
Since Wayland is designed to make it easy to access the protocol in alternative ways, I would think it would much easier to create a Mir compatibility library on top of the existing Wayland protocol than it would be to completely redesign the fundamental Mir architecture from the ground up to make it much more like Wayland.
I doubt it would be as simple as popping Unity on top of a Wayland compositor with Mir compatibility, if that's what you're driving at.
Comment
-
Originally posted by ssokolow View Post
Canonical wrote Mir patches for some KDE componentry (KWin, I think) and submitted them. The KDE devs said that, as a matter of policy, they don't accept patches into upstream that are used by only one desktop on one distro. (ie. "Come back once you've got someone else to also use Mir so it's not just 'please maintain part of our proprietary platform for us'.")
- Likes 3
Comment
-
Originally posted by sp82 View PostPlease let's Mir and X die. Concentrate the effort into Wayland.
Having 3 display servers (or call it what you want) to support as same time is just a nonsense and a waste of time.
- Likes 3
Comment
-
Originally posted by Xorg View Post
+1. Really, I don't understand why they still plan to develop Mir. Nobody will use it outside Ubuntu.
Having 3 display servers (or call it what you want) to support as same time is just a nonsense and a waste of time.
- Likes 1
Comment
-
I'm actually starting to get concerned here. Has this really devolved into nothing more than a political discussion by people who have no idea what any of the terms involved mean?
We're talking about Mir literally becoming a Wayland compositor as well here. That is concentrating effort into Wayland, unless you think that having Mutter and KWin running as Wayland compositors is similarly a waste of effort.
The idea of "just port Unity 8 to Wayland" is a laughably absurd notion missing any understanding of where the shell fits within the stack. Wayland is still a protocol, not another display server for things to run on top of. This would mean making Unity 8 a Wayland-compatible compositor itself, giving it at least a DRM backend and the same support for Wayland clients that we're talking about in the first place. When we're talking about Wayland, the concept of a 'window manager' or a 'desktop shell' as separable concepts is at best an implementation detail of a specific compositor and not the only requirements of such.
Mir has a DRM backend as well as an X backend, it has the additional protocol to be able to handle a shell of it's own and the externalization of window management capabilities. Window management policies aren't restricted to floating windows, it also supports tiled, phone, and tablet styles of window management. You can do these things while writing drastically less code than is involved in writing a full Wayland compositor, and with this imagined native Wayland client support, you'd be a Wayland compositor anyway.
Frankly speaking, giving Mir support for Wayland clients would make MirAL arguably the best Wayland compositor library that exists, and one that's intended for more than the tiled use-case. The only compositor (beyond perhaps Weston itself) that I've seen uses libweston is WayHouse, as shown in an article less than a month ago. Correct me if I'm wrong, but I'm pretty sure this would be a good thing.
- Likes 10
Comment
-
I'm not sure I understand. Would this actually turns Mir into a Wayland compositor?
If so, it would solve the main problem people have with it, so it's a good idea.
The protocol concern is a good point in favor of Wayland and I did not see it raised earlier.
About the Unity 8 forks, you have to understand that Mir cannot be simply "repealed and replaced". Using another compositor like Mutter or Kwin would basically mean a rewrite of the whole thing, and I guess there is not enough developers left now to do that in a reasonable time.
And if Canonical plans to keep maintaining Mir and can even be persuaded to turn it into a Wayland compositor, there is just no more relevant reason to ditch it.
Comment
Comment