News for hackers. Stuff that matters.
Re:Why Mir by j0lly on Wednesday April 12, 2017 @09:57AM (#14097700)
Why not both? I want to use Mir instead of Wayland, who are you to tell me what to use?
Re:Why Mir by sametmax on Wednesday April 12, 2017 @10:07AM (#14097804)
You can have both if both eventually exists. The problem is that a graphic server is a really hard software to make, integrate and maintain. We kept X for decades for this reason.

Trying to build and make a standard of a new one is hard enough.

Spending resources for a 3rd one, that we all knew has less chance of succeeding, was considered a waste by many.

As a community, some like me analyzed that Mir was a bad strategic move and just said it. There is nothing wrong with expressing this opinion. It's not stealing your freedom away.

Turns out we were right. Mir was too big of a project to chew for canonical, and the effort, that could have been invested in getting a better wayland sooner, was wasted.

This is a repeating problem in open source. It's hard to find the balance between innovation and playing as a team.

Given the fantastic track record of canonical though, we can't blame them. They tried. I'm glad they have this spirit, they made the Linux desktop better.

I'm also glad the Mir fad is over.

Re:Why Mir by addicted on Wednesday April 12, 2017 @10:21AM (#14097928)
The Mir fad is only over because the Linux on Mobile "fad" is over.
Re:Why Mir by andoon on Wednesday April 12, 2017 @10:27AM (#14097981)
What made Wayland unsuitable to be used on mobiles?
Re:Why Mir by phkahler on Wednesday April 12, 2017 @11:55AM (#14098904)
>> What made Wayland unsuitable to be used on mobiles?

From the old blogs it sounds like they really wanted buffer memory allocation done in the server/compositor due to limitations on some ARM GPUs. Wayland was never about resource allocation and doesn't want to be. One of the complaints about X was that it had a bunch of OS features like memory management, font rendering, etc. At a high level I agree that it seems dumb to have memory management in the display server, but that just in principle. In practice I can't say if the mobile concerns would be best addressed with Mir or Wayland, but I think it has been addressed in both. You can run Wayland on RasberryPi after all.

Re:Why Mir by gribbly on Wednesday April 12, 2017 @10:41AM (#14098099)
I'd say nothing, Wayland is used on mobile and embedded, the reason Canonical made Mir was so that the had full control/ownership of the display solution and thus could charge a license fee to proprietary vendors who wanted to use it.

Nothing inherently wrong with that, but for someone outside of Canonical it's hard to be interested in a competing solution which only exist in order to pad Canonical's bottom line.

Which was also the reaction from the rest of the Linux ecosystem.

Re:Why Mir by sametmax on Wednesday April 12, 2017 @10:51AM (#14098189)
Why though ? They can just licence Ubuntu the way they want, they could do that with the distrib already.
Re:Why Mir by gribbly on Wednesday April 12, 2017 @11:12AM (#14098431)
Because they had Mir under a CLA which meant Canonical (and only Canonical) could offer it under different terms, which included proprietary licences.

They can't license Ubuntu any way they want, because Ubuntu is 99% software which comes from (and are owned by) other sources, not Canonical.

Re:Why Mir by andoon on Wednesday April 12, 2017 @11:16AM (#14098482)
I don't understand. Mir is under the GPLv3, what stops anybody from using it any way they want? How was Canonical supposed to profit from it?
Re:Why Mir by bkor on Wednesday April 12, 2017 @11:28AM (#14098613)
GPLv3 = release code, cannot link to proprietary software. For some graphics chipsets some company might (need) to do that. Then you'll need to go to Canonical to get Mir under a special license just for your company. Then Canonical gets some money.

I have nothing against Canonical wanting to follow this. I do not like only one company being able to offer a different license (their CLA). So anything like that is a no-go for me.

Re:Why Mir by justin66 on Wednesday April 12, 2017 @01:45PM (#14099940)
In principle it's not, really. Sailfish OS is a nice enough system and Wayland seems to be working well enough for those guys. Jolla's problems seem to involve competing against Google and Apple, which would be hard enough even if both did not already have an established user base.
Re:Why Mir by MertsA on Wednesday April 12, 2017 @01:38PM (#14099864)
The waste of working on Mir isn't the problem IMHO. Canonical has a ton of market share, at the time Mir was released it was already looking like getting AMD and Nvidia were going to take a while to support Wayland. Splitting the ecosystem for no technical reason came across as inconsiderate of Canonical.
Re:Why Mir by vbezhenar on Wednesday April 12, 2017 @10:26AM (#14097966)
You have to try different solutions before you'd find best. It's not a waste, it's a competition and it's necessary in a free market.
Re:Why Mir by sametmax on Wednesday April 12, 2017 @10:33AM (#14098035)
Yes but you usually enter a competition when you either have a chance to win, provide something the other won't or do it for experience (if you have resources to waste).

In the case or Mir:

- it's like creating an alternative linux kernel. Very few chances it will succeed.

- even they roadmap didn't list anything wayland couldn't do.

- canonical doesn't have that much cash to waste.

I would have get Mir if they would have said:

- we will do X that wayland clearly can't do and that we can't contribute to wayland;

- we have tons of cash and devs and can spare a few to experiment.

It's just not the case here.

This is open source, we all want a better linux desktop, not a war. Mir felt more like starting a battle than solving a problem.

Re:Why Mir by pekk on Wednesday April 12, 2017 @10:59AM (#14098272)
By this logic, BSD developers should just work on the Linux kernel. Or is it the other way around? And nobody should ever make anything new. But this reasoning would have said not to make Linux to begin with, because there was already e.g. MINIX and Linux wasn't contributing to MINIX and didn't do anything that MINIX could not do. In fact, Linux wasn't even a microkernel! And few of the abilities which make it Linux as we know it today were on any "roadmap" (hahahaha).

In open source, making your own project is not starting a war. This kind of flaming and demanding to control other people's allocations of resources is what makes a battle.

Re:Why Mir by sametmax on Wednesday April 12, 2017 @11:14AM (#14098459)
There is no flaming. We are just sharing our opinions as active members of the community.

Since I spend easily 50 hours every year on the Ubuntu project and give to the project, I think I have the right to post a comment on HN saying "I disagree".

That's not a too much to ask is it ?

Especially since people disagreeing ending up being right.

Re:Why Mir by pekk on Wednesday April 12, 2017 @10:54AM (#14098214)
"Spending resources for a 3rd one"

1. Doubling the number of people on a project does not double the speed of its production. It may actually hurt matters. This is the classic problem of estimating with man-hours and ignoring coordination costs

2. They aren't your resources to spend. Canonical doesn't tell Red Hat what it can do, so why the other way around?

Re:Why Mir by bluGill on Wednesday April 12, 2017 @11:43AM (#14098788)
Your point 1 is wrong. The original quote is "adding people to a late project makes it latter". This quote is true, but it only applies to late projects. A project that is not late is in a more complex situation, and can often benefit from adding more people. Once you pay the price to get everyone up to speed they can all contribute which in many cases can double the long term speed.

There is of course a limit, eventually you get too many people, but Wayland is not in danger of that. I believe Wayland would be better off with triple the team size long term. It would let them fix numerous bus problems, allow more code review, and speed them up. I would gladly take slower progress short term to get faster progress long term.

Unfortunately code like wayland demands the best programmers. A .01% speed increase in many parts is noticeable to the end users. There are tons of bugs in graphics drivers (and hardware) that have to be worked around at the wayland level. There are many variations of what the hardware can do and they need to take advantage of each one while still working on systems without that feature. As such wayland (like X before it) is unlikely to ever get enough people.

Re:Why Mir by sametmax on Wednesday April 12, 2017 @11:02AM (#14098318)
> Doubling the number of people on a project does not double the speed of its production.

Resources are not just for dev. You have documentation, integration, adaptation of dependencies, packaging...

But even if you just don't spend the resources on wayland nor mir, then you can use them for stuff the users want. Like fixing external monitor handling, wifi and battery life .

Having basic features working on your project should be a more important priority than building an alternative compositor anyway. Even more when one is already on it's way and in good shape.

> They aren't your resources to spend. Canonical doesn't tell Red Hat what it can do, so why the other way around?

Just because they aren't my resource doesn't mean I can't express my view on it. I'm not actively preventing canonical to do anything.

But as an Ubuntu user with priorities, as an active member of the community doing bug reports and trying beta software, as an Ubuntu evangelist spending personal time to sell Ubuntu/install it/maintain it on my relative laptops and as somebody who gives financial support to the project, it's fair that I express my thoughts on the matter.

I don't even know why I have to tell that to you. It should be obvious. It's a community. Communities communicate.

Also since, me and the others like me, where right about it (that mir would fail and waste resources), I'd say I wished we would have been listened to.

I'm not playing the blame game. I'm certainly not questioning Canonical competence and I'm not angry at them. I love the company and the product. I just happen to disagree with their politic on this particular decision.

I'm now very glad they choose to invest in wayland.

I will miss unity, which was a project I liked. So it's a not just about "reinventing the wheel" and "competition". I like gnome shell less than unity, but I think it's a good decision to work on it instead for the community.

Re:Why Mir by justin66 on Wednesday April 12, 2017 @10:14AM (#14097870)
Fragmentation isn't just a repeating problem in open source, it's a repeating problem for Unix.
Re:Why Mir by baldfat on Wednesday April 12, 2017 @10:23AM (#14097949)
> Fragmentation

I have learned to hate this term. Sometimes it means choice other times it means different solutions to the same problem. I much rather have choice then be placed in a box.

> repeating problem in open source, it's a repeating problem for Unix

Since Open Source and Linux aka *Unix has won I fail to see your point.

The big issue was they went with their own solution and didn't add to Wayland which is something they could have done this wasn't fragmentation.

"When Mir was started we needed a mechanism for client-server communications (and Wayland wasn’t in the state it is today). We did something that worked well enough (libmirclient) and, because it’s just a small, intentionally isolated part of the whole, we could change later."

Re:Why Mir by justin66 on Wednesday April 12, 2017 @11:15AM (#14098469)
> Since Open Source and Linux aka *Unix has won I fail to see your point.

I don't know what you mean, but I can make my point a little more explicit: Unix has fragmented the graphics stack in the past and it just hurt the software ecosystem for no particular benefit. In the eighties, users had to choose between mutually incompatible desktop environments. Later, users had to choose between sort-of compatible desktop environments like kde and gnome (progress!). Looking beyond desktop environments to the rest of the system, there are plenty of more specialized bits that administrators and developers (and end users, if linux can truly be said to have those) have to choose between, even though no sane person should have to care.

And that's basically fine. This kind of stuff is why desktop linux is mostly just a tool for developers and students, while the real world uses Windows, iOS, and Android for everything. It's a little inconsistent for Canonical to be fragmenting the ecosystem, however, since they (maybe I'm wrong about this?) aim to bring about The Year Of Linux On The Desktop.

Re:Why Mir by baldfat on Wednesday April 12, 2017 @12:07PM (#14099011)
Linux Desktop is a small part of what Linux is as a whole.

> Unix has fragmented the graphics stack in the past

Yes I remember these days. We were just having different solutions to the same problem. It got settled fairly fast, but I never had the issue of I paid for this Unix and now I have to decide what display manager was going to be. Each vendor pretty much made the choice already for you.

> Later, users had to choose between sort-of compatible desktop environments like kde and gnome (progress!).

I have been a KDE guy forever, but I could always use whatever programs I wanted. They might not look decent but they all worked together with a few tiny exceptions in the early 2000s. Today I mostly use a tiled window manager but I still use KDE programs with my command line programs. I don't ever get the issue with mutliple of Desktops since that is a strong plus for people to discover what works best with their workflow.

> developers (and end users, if linux can truly be said to have those)

WHAT???? You mean the people that developed Mir????

> the real world uses Windows, iOS, and Android for everything

http://google.com is Linux, Android is Linux. MacOS is a Unix. The web is majority Linux. People use Linux everyday and I guess your one of the people that doesn't realize it or it doesn't count? But the vast majority of CPU ticks on this planet are all Linux ticks.

You keep trying to make Linux Desktop = Linux and while desktop is a part of Linux. Your mixing and matching to make a point that is inconsistent.

Re:Why Mir by justin66 on Wednesday April 12, 2017 @12:51PM (#14099449)
> You keep trying to make Linux Desktop = Linux and while desktop is a part of Linux. Your mixing and matching to make a point that is inconsistent.

Well, there are a few different points here. Fragmentation messes up the desktop software ecosystem, and I started with that. This is a thread about Mir, after all.

But fragmentation is not unique to the desktop portion of the Linux world. I think the same problem of fragmentation and multiple standards creating choices no end user should have to worry about applies to the rest of Linux.

> http://google.com is Linux, Android is Linux. MacOS is a Unix. The web is majority Linux. People use Linux everyday and I guess your one of the people that doesn't realize it or it doesn't count? But the vast majority of CPU ticks on this planet are all Linux ticks.

And if you have some reason to regard that as a victory, congratulations! But to get back to the point: in most of those cases, someone has abstracted away and hidden from the user - through a lot of needlessly difficult work - the gratuitous bullshit of choosing between competing GUI environments or package managers or service managers or distributions or whatever other stupid thing Linux hasn't standardized yet.

A web user doesn't care about this stuff at all. On Android, grown-ups have dictated the direction of the platform and the whole end user experience is identical to that of a closed operating system. Ditto for iOS and MacOS.

This is all slightly interesting in light of the fact that Canonical always sort of aspired to make a more streamlined and straightforward product for users, while (debatably) operating within traditional open source development norms. Going off and doing Mir (in secret, although I don't think that's really the big deal) doesn't seem conducive to that.

Re:Why Mir by sametmax on Wednesday April 12, 2017 @10:37AM (#14098070)
But there is such a thing as the paradox of choices. This is a big problem on Linux because if you want to do a software, you first have to handle this diversity for UI, bus communication, configuration storage, dir layouts, init systems, packaging... It's a nightmare. Compare to releasing the same thing for windows or mac.

Starting Mir after and if investing on Wayland failed would have been much wiser.

Re:Why Mir by pekk on Wednesday April 12, 2017 @11:03AM (#14098321)
Windows packaging isn't all it's cracked up to be. There is no standard package repository, the norm is just to distribute executables of various kinds, the process of building installers is not that simple...

"Starting deb after and if investing on rpm failed would have been much wiser" except that Debian developers already knew rpm didn't meet their needs.

But these arguments are always selectively applied to certain parties (e.g. Canonical) and not others (e.g. Red Hat).

Re:Why Mir by sametmax on Wednesday April 12, 2017 @11:21AM (#14098530)
Try to create an executable that works for windows 7, 8 and 10. Now try to do the same for centos, ubuntu and gentoo. Or 3 LTS of Ubuntu.

Besides, deb/rpm is the perfect example of our failure as a community. To the end user, having both standards bring nothing. Neither are better than the other for 99% of use cases, and we ends up needing twice the tool, documentation and community effort that we should.

And because it's such pain, any languages created their own package managers. gem, pip, goget, npm...

Now we are replaying the same with flatpak/snap.

Re:Why Mir by justin66 on Wednesday April 12, 2017 @11:29AM (#14098619)
> Windows packaging isn't all it's cracked up to be. There is no standard package repository, the norm is just to distribute executables of various kinds, the process of building installers is not that simple...

After dealing with the various walled gardens and their concomitant limitations, and after dealing with any system of linux package management, the Windows way feels like some sort of joyous escape from captivity.

Re:Why Mir by abstractbeliefs on Wednesday April 12, 2017 @12:13PM (#14099083)
>I have learned to hate this term. Sometimes it means choice other times it means different solutions to the same problem.

Anyone framing these issues as fragmentation is using it as a buzzword. Fragmentation isn't a thing when you're comparing three things that provide meaningfully different pros and cons.

Fragmentation is an issue when it means having the same 6 solutions to the problem, all poorly implemented, compared to 3 good solutions.

Re:Why Mir by boomboomsubban on Wednesday April 12, 2017 @11:04AM (#14098337)
This is the display server, the pre-Wayland fragmentation is basically OpenBSD using a patched version of X11. Hell of a problem there.
Re:Why Mir by bluGill on Wednesday April 12, 2017 @11:12AM (#14098437)
You can use whatever you want. However as a framework/window manager maintainer I have to make a choice. Adding support for one takes years: I do not have time to add a second. I choose wayland because the people behind wayland worked on X for years and designed wayland to fix real design issues in X (as opposed to imagined design issues in X which most previous X replacements looked at), so I trust them. I don't have any reason to believe the people behind mir know what they are doing.

Sure you can use both, but if you choose mir you are limited to just the applications ubuntu chooses to provide. If you choose wayland, you get almost everything else because all the toolkits all choose wayland.

* I'm not actually a framework or window manager maintainer. I follow their blogs though, and this is essentially what they say.

Re:Why Mir by addicted on Wednesday April 12, 2017 @10:06AM (#14097791)
I see you've been downvoted, but the hatred towards Mir (instead of Wayland!) in a world where there are a million Linux distributions, and the idea that you could always switch to a different app/driver/OS/distribution/window manager/etc. has always been pushed as a strength of the platform clearly indicates that there was more to it, whether the people who hated on Mir knew it or not.
Re:Why Mir by digi_owl on Wednesday April 12, 2017 @10:10AM (#14097829)
There are strong voices clamoring for a single, canonical (heh) distro. Or if not a single distro then a system for isolating the particulars of any odd distro from the mind of the "app" (groan) developers.
Re:Why Mir by pekk on Wednesday April 12, 2017 @11:04AM (#14098341)
Or maybe instead of a distro, we could define certain conventions for interoperability that all distributions had to follow. We could call it the "Linux Standard Base." But looking into my crystal ball, it might not work out well if certain companies flex too much control to define the Linux Standard Base as being essentially their own distribution without any real compromise.
Re:Why Mir by addicted on Wednesday April 12, 2017 @10:16AM (#14097888)
But they're almost certainly a fraction of those that spoke loudly against Mir.

[Unless the Mir haters are not as large in number, but merely a lot louder]

Re:Why Mir by digi_owl on Saturday April 15, 2017 @02:08PM (#14121929)
In recent years i wonder if the net has become the playground of "griefers". Meaning people that exploit the pseudonymity of the net to sling vitriol at any and all topics that catch their attention. Thus it becomes hard to tell how many are actually in disagreement.

It may well have started with Anonymous, but turned nasty somewhere around Gamersgate.

Re:Why Mir by baldfat on Wednesday April 12, 2017 @10:20AM (#14097926)
Because we see that Wayland is an extremely difficult project that takes the community as a whole to make it the best.

Why do we need multiple of projects (By developers) to replace one project (X 11)? This has taken 10 years longer then it should have already and Mir doesn't have a declared reason why to separate from the community and do it's own alternative and how it would help all of Linux.

Re:Why Mir by gribbly on Wednesday April 12, 2017 @11:08AM (#14098384)
No one prevented Canonical from making Mir, hence it's existence.

Likewise no one outside Canonical bothered to support Mir, because it offered no advantages over Wayland.

If you want to use Mir, go ahead, that doesn't mean anyone owes you support.

Re:Why Mir by Qantourisc on Wednesday April 12, 2017 @10:11AM (#14097837)
Personally I would say, we have little room for it. Not to mention commercial driver vendors ...