Slashdot Mirror


More From Canonical Employee On: "Why Mir?"

An anonymous reader writes "Canonical Desktop and Mobile Engineer Christopher Halse Rogers explains in more detail the decision for Mir as apposed to Wayland. Although Halse Rogers 'was not involved in the original decision to create Mir,' he's had 'discussions with those who were.' 'We want something like Wayland, but different in almost all the details.' 'The upsides of doing our own thing — we can do exactly and only what we want, we can build an easily-testable codebase, we can use our own infrastructure, we don't have an additional layer of upstream review.' In a separate post Halse Rogers answer the question: Does this fragment the Linux graphics driver space?"

28 of 337 comments (clear)

  1. Fragment the Linux graphics driver space? by Anonymous Coward · · Score: 5, Interesting

    "Does this fragment the Linux graphics driver space?"

    No. That's the point of DRM and KMS. X11, Wayland, DirectFB, Mir, Xynth, whatever all share the same kernel drivers and userspace display and graphics libraries.

  2. "apposed?" by logjon · · Score: 5, Insightful

    Really? Are we not even going to try to pretend to give a shit anymore?

    --
    The stories and info posted here are artistic works of fiction and falsehood.
    Only fools would take it as fact.
  3. Re:Context please? by Intropy · · Score: 4, Funny

    I can think of no context in which a furniture designer engineer, no matter how agile or standards-conforming would have as similarly viable alternatives a former Russian space station and an animated sycophant.

  4. This just proves it's NIH by rahvin112 · · Score: 4, Informative

    This just proves what everyone was saying last week. This decision was entirely based on NIH (Not in House) Syndrome. Ubuntu is convinced that they have to spend all their development resources on reinventing the wheel because Wayland isn't an internal project (but it could be).

    It wasn't 6 months ago that Shuttleworth was complaining that Ubuntu needed to start making money, and here he is wasting development resources on reinventing things. Between Mir, Upstart, Harmony, and all the others he's going to have forked everything but the kernel (hey maybe that's next!, I hear forking the FreeBSD Kernel is common) and his costs only go up while he spends all his time fixing bugs all by himself. The result will be Ubuntu advancement will slow down, or it will become a buggy POS with no long term security.

    Either way I think they suffer from NIH disease and maybe they should consider a fork of the FreeBSD kernel. I imagine it won't be long before Mint/Arch or whatever fully replaces all the popularity Ubuntu managed to create. I already see Mint recommended more often than Ubuntu.

    1. Re:This just proves it's NIH by Bill+Dimm · · Score: 5, Informative

      ...This decision was entirely based on NIH (Not in House) Syndrome...

      NIH = Not Invented Here

    2. Re:This just proves it's NIH by AuMatar · · Score: 5, Funny

      Unfortunately the grandparent has NIH, so he had to reinvent the acronym.

      --
      I still have more fans than freaks. WTF is wrong with you people?
    3. Re:This just proves it's NIH by MichaelSmith · · Score: 5, Funny

      Doesn't come more meta than that.

    4. Re:This just proves it's NIH by rahvin112 · · Score: 5, Informative

      Wayland is being developed by the same people behind X.org. 99.9% of the people lambasting Wayland have no idea what it is, what it's going to accomplish or how entrenched it already is.

      Wayland is the future. It will take some time to get everything in place but it's already in play and many other project from the kernel to window managers are already moving towards implementing the plumbing necessary. Given this is slashdot I'm not particularly surprised by the ignorance, nor that people think something as complex as a complete rewrite of the GUI could be accomplished in weeks nor am I surprised that no one has bothered to actually learn about wayland and what it is but frankly the hatred is a bit surprising given the total ignorance. People hate software they know nothing about because they are afraid of change, it's just silly.

      You think they would at least try to learn what it is given that almost all the people behind it are the same people behind X.org.

    5. Re:This just proves it's NIH by Zontar+The+Mindless · · Score: 4, Funny

      You're doing the bright-but-butthurt 14-y-o thing pretty well there. Keep up the good work.

      --
      Il n'y a pas de Planet B.
    6. Re:This just proves it's NIH by Randle_Revar · · Score: 4, Informative

      Dunno about the younger guys, but Keith was an X dev way back in the day. And by back in the day I mean 1988.
      At least a few of the other devs where from the XFree era...

    7. Re:This just proves it's NIH by eennaarbrak · · Score: 4, Insightful

      Ubuntu is convinced that they have to spend all their development resources on reinventing the wheel because Wayland isn't an internal project (but it could be).

      You simply invoke "NIH-syndrome" without clarifying why Canonical is making the wrong decision in this specific case. You are implying that it is *never* a good decision to do things in-house when an existing solution (however imperfect) is already available. But looking around at technology companies that are successful (Apple, Google, Amazon), it is obvious that your reasoning is flawed, as all these companies have, on occasion, done things in-house when existing solutions were already available.

      Clearly, the decision to do something in-house or not is more complex than following a stupid rule of thumb.

    8. Re:This just proves it's NIH by serviscope_minor · · Score: 5, Insightful

      Wayland is being developed by the same people behind X.org.

      So? Xorg is boring. It doesn't need to change all that fast. It's not new and interesting. Careful improvements is far less funt than nuking it and starting again. Just because they develop Xorg doesn't mean they're not hopelessly biased for other reasons.

      99.9% of the people lambasting Wayland have no idea what it is, what it's going to accomplish or how entrenched it already is.

      Then enilghten us.

      Wayland is the future.

      I hope not.

      It will take some time to get everything in place but it's already in play and many other project from the kernel to window managers are already moving towards implementing the plumbing necessary.

      WTF? You really have no clue. The kernel side stuff is just for graphics and works as well with X11 as anything else. Secondly for "plumbing" there is no plu8mbing for window managers. WMs are replaced entirely by the compositor. None of the X11 WMs will work. It's a completely different architecture.

      Given this is slashdot I'm not particularly surprised by the ignorance,

      Is the irony intended.

      nor am I surprised that no one has bothered to actually learn about wayland and what it is but frankly the hatred is a bit surprising given the total ignorance. People hate software they know nothing about because they are afraid of change, it's just silly.

      Change is not always good, especially when it's for the better. Wayland looses us network transparency. So far all the counters to this tell me that (a) I'm lieing and I don't really want it (b) it can be hacked on after a la VNC and (c) it can be hacked on at the toolkit level providing a delightful level of inconsistency.

      Those are not good arguments. (a) is particularly insulting.

      You think they would at least try to learn what it is given that almost all the people behind it are the same people behind X.org.

      And these are the user-hostile numpties who have come up with some really dubious decisions of late.

      For instance, nixing the "kill active grab" keystroke, because it shouldn't be needed because it's caused by buggy programs. I mean WTF? How is that any comfort when some buggy program locks up the X server again and I have to switch to a console and try to kill it (if I can even find which one).

      And they've decided that the Wayland policy is to have client side decorations "because it will allow consistend window decorations". The last point is an outright lie---it cannot be explained by incompetence. So in addition to having inconsistent decorations (from each toolkit, unlike now), hung windows will be immovable.

      But that's OK because that's an application bug and apparently those don't ever happen. Especially not to developers.

      Oh and then there's the persistent lie about X11 on Wayland. It's a lie because it's a half truth intended to decieve which probably makes it even worse. Of course you can run X11 on it. You can run X11 on a dead mouse, OS9/8/7/6 OSX, Win95, DOS Win 3.11 and modern Windows. That doesn't mean the user experience will be integrated and it doesn't mean that thw Wayland programs get the same advantages.

      I wouldn't mind Wayland nearly so much if the creators (who also apparently had a lot to do with X) weren't such blantant FUD machines. If they're demonstrably lieing about a system they know in detail then it gives the feeling that they're really messing things up.

      That and they've taken a really user hostile turn recently.

      The thing is, thatWayland could be quite useful for multiplexing consoles and X11 sessions (if you care about graphical transitions between them, which I manifestly do not). But it's being sold very forcefully as a replacement general windowing system and due to the design lacks a number of really important feautres. If I have to choose between fancy transitions to ctrl+alt+f1 and remote windowing, I and many other slashdotters would choose the latter in a heartbeat.

      And that is why there is so much hate for Wayland here: it's been earned.

      --
      SJW n. One who posts facts.
    9. Re:This just proves it's NIH by dkf · · Score: 5, Informative

      Wayland is being developed by the same people behind X.org.

      That explains my number one complaint about Wayland: the documentation is terrible. Truly awful. I mean this in a very specific way: there is insufficient information there to tell me how I could get a surface on which I could render things, and there is insufficient information there to permit me to do an independent reimplementation of the client library. My only recourse would be to read the source code, but right now that doesn't seem to help either. (Sure, I could connect and probably get a surface, but I have no idea what I could do with that surface or how I would change the handle into something that some other library could draw on.) There's just too much information missing, and that's about par for the course with anything produced by the folks from X.org; they can code cleanly enough, but they can't document critical info.

      I am a GUI toolkit maintainer. I'm not porting anything away from X11 for now because I just don't see enough of a platform to port to. (Some bits are probably there. Some definitely aren't. I have other things to do as well as filling out gaping holes in others' critical info.)

      --
      "Little does he know, but there is no 'I' in 'Idiot'!"
  5. Good for Ubuntu by Stalyn · · Score: 4, Interesting

    We could have had a modern display server years ago with XGL/Xegl. But it was killed off because Red Hat and nVidia didn't like. Mainly because it wasn't their idea. Now it seems all the pissing and moaning is coming from the Red Hat camp. Well karma's a bitch ain't it.

    --
    The best education consists in immunizing people against systematic attempts at education. - Paul Feyerabend
  6. Re:Context please? by Anonymous Coward · · Score: 5, Insightful

    Your assertion that Wayland will not go anywhere seems to be predicated on the incorrect assumptions that Wayland is born of naïvety (it's not; it's developed by people with a LOT of real experience working on the current X-centric stack), and that it needs to entirely supplant X to succeed (it doesn't; it deliberately does a lot less, and it can host a rootless X server, and indeed this is the only realistic use case for it on regular desktop distributions for the next couple of years).

    Yes, there are many projects that are started for the reasons you describe, and go on to fail for those same reasons. But Wayland is not one of them. That is not to say that its success is guaranteed—but rather only that your reasons to assume its failure is inevitable are invalid.

    Wayland does not need to destroy decades of compatibility. In fact, its approach is quite the opposite: to maximize compatibility initially (pass almost everything through to a rootless X server with XWayland if you want), and then offer an optional smooth migration path away from X for applications that don't need its complexity, would like to push the complexity into separate components, or would like to take advantage of some of the things that you simply can't achieve with X today, e.g., flicker-free from boot, to playing a game, and then on to playing hardware-accelerated videos.

    You concede that the current state of video drivers being too tightly tied to X is terrible, so I assume you agree that the work has to be done to resolve that at some point, whatever path we collectively take. That also happens to be the only thing I'm aware of that's really holding Wayland back from mainstream use today. Everything else is just little bits and pieces that need to be finished or polished up, and then it could be dropped in to real general purpose distros.

  7. Re:Context please? by foniksonik · · Score: 4, Insightful

    Apple did it and it seems to be working out just fine. They could have tried to use X but probably had the same reasons as Canonical, full control.

    Sometimes the only way to get better results is to tear it all down and start over. You learn from the past but let go of the baggage.

    --
    A fool throws a stone into a well and a thousand sages can not remove it.
  8. And if you disagree... by Stiletto · · Score: 4, Insightful

    The great thing about Linux is... You can simply choose to not use Ubuntu. BAM! Problem solved.

  9. Re:Context please? by Anonymous Coward · · Score: 4, Insightful

    His point wasn't that they are inexperienced with X, it's that they are inexperienced with software development in general. It's fairly common for inexperienced (though otherwise skillful) programmers to decide to re-implement a huge chunk of code in the hopes to make it better. It rarely works out very well.

    That assumes that X11 was universally well-designed in the first place. It also assumes that experienced developers have been maintaining it (they all got laid off in the 1990s and nothing happend for 10 years). And it assumes that X11 is full of stuff that people care about, when much of it is legacy and not used by modern applications.

    Eventually someone is going to have to suck it up and do something. Even if it was removing all the crap and making an "X12".

  10. Ignorance on display by FranTaylor · · Score: 4, Informative

    You're just betraying your ignorance of Wayland. Wayland does NOT replace X windows. In fact Wayland was designed from scratch so that an X server can run in wayland WITH NO PERFORMANCE PENALTY.

    So with Wayland you can STILL run your old legacy X11 apps and get decent performance too!

    Win win all around! What is the downside?

  11. remote X is garbage anyway by FranTaylor · · Score: 5, Interesting

    Everybody says "ooh noooo don't kill remote X windows! it's the best!"

    except for one thing: IT SUCKS.

    Have you ever tried to actually USE remote X? It's just beyond horrible.

    The failure is that X was designed for low-latency between the display and the application, and that use case is just not very useful.

    In reality the display and the application are connected over a high-latency link and X is UNUSABLE in this context.

    VNC does not assume a low-latency link and so it remains responsive and pleasant even over a crappy ADSL connection.

    Go ahead and TRY to use Firefox remotely over your ISP connection. It's just a pathetic joke and you will kill it out of frustration before even a single page loads.

    Try the exact same thing with a VNC connection and it works just fine.

    1. Re:remote X is garbage anyway by FranTaylor · · Score: 4, Insightful

      X itself goes to great lengths to avoid being affected by latency.

      How about this quote from Keith Packard:

      ---

      One of the design ``mistakes'' of X11 exacerbated by its very success is the extensible type system called atoms (as in the Lisp systems from which it was derived). This has been heavily used in the interclient communications protocols used between applications (primarily toolkits) and window managers. The InternAtom function requires a round trip to provide agreement among clients on a small (32 bit) handle for a string. A modern design would almost certainly avoid round trips entirely by using cryptographic hashes (or just using strings everywhere). Unfortunately, it is very hard to retrofit this

      ---

      X was designed when CPUs ran at 8 MHz, the network ran at 10 Mbit and the display was black and white.

      In 1985, the network was FAST and the computers were SLOW so latency was not so much of an issue.

      Today the network is SLOW and the computers are FAST and so network latency rears its ugly head.

      I have to ask: if it works so great, why does nobody use it? Why doesn't it work with sound? Why can't I use it for my Windows or OSX apps like I can with VNC?

      If X makes it too hard to write a decently performing application, THAT ALONE is good reason to dump it

    2. Re:remote X is garbage anyway by FranTaylor · · Score: 4, Informative

      Here are some RESULTS from an experiment done by lbl.gov

      The first number is X windows tunneled through SSH
      the second number is VNC
      the third number is NX

      Start Matlab (-nosplash) 9.6s 4.9s 5s
      Open edit window 2.9s 1.3s 1.2s
      Activate File menu 0.6s 0.1s 0.1s
      Activate Edit menu 0.6s 0.1s 0.1s
      Activate Text menu 0.5s 0.2s 0.1s
      Close edit window, redraw main window 1.5s 0.4s 0.3s
      Close matlab 0.5s 0.6s 0.6s

      As you can see REMOTE X WINDOWS SUCKS

  12. Re:Just pulling a Google by FranTaylor · · Score: 5, Interesting

    Not many people were bitching when Google went a lot farther than this with every aspect of Android

    There's a small difference: Google wasn't a two-bit Linux shop with a chronic lack of cash.

    Android was a two-bit Linux shop with a chronic lack of cash UNTIL GOOGLE BOUGHT THEM

  13. Re:Anything but X by mvdwege · · Score: 4, Interesting

    So what exactly is wrong with X? Please be specific.

    --
    "I know I will be modded down for this": where's the option '-1, Asking for it'?
  14. Re:Context please? by TheRaven64 · · Score: 5, Informative

    There is a great Slashdot post from one of the developers of Quartz around 2001 about why they chose to reinvent the wheel instead of using X11. The problem is, none of his criticisms applies to X.org circa 2006 or later. It was shown, by counterexample, that it was possible to add all of the missing features that Apple wanted to X11, without breaking backwards compatibility. And, as part of their rewrite, they lost some separation of concerns and they lost compatibility with X11 applications except via an ugly (visually) compatibility layer. The latter wasn't a problem for Apple, because they didn't want to be running X11 apps, they wanted people to write new Cocoa apps. It is a problem for a system attempting to take advantage of the large corpus of existing X11 apps.

    --
    I am TheRaven on Soylent News
  15. Someone didn't do their homework... by Mr+Thinly+Sliced · · Score: 5, Informative

    We could have had a modern display server years ago with XGL/Xegl. But it was killed off because Red Hat and nVidia didn't like.

    The disagreement was purely technical.

    The XGL approach caused a bunch of peformance problems for various rendering scenarios (stereo3d, overlays like video) - XGL forced everything through a pixmap to be rendered by GL.

    No acceleration using the GPU for video / scaling or anything else.

    XGL was cool because it was first and everyone got googly eyed at the effects. It probably was a catalyst in getting the right solution (AIGLX), too.

  16. Canonical lately by Britz · · Score: 5, Interesting

    Canonical is behaving very "weird" lately.

    This is an interview with Jonathan Riddell, the lead on Kubuntu [1].

    Quotes:

    "I only had contact with the Linux Mint developer recently when Canonical claimed that they needed a licence to use the compiled packages from Ubuntu. This is a dangerous misunderstanding of copyright licencing from a company which should understand it. I advised Linux Mint to say some rude things to Canonical but I think they're too polite for that."

    "Canonical has the trademark of Kubuntu so they had to get a trademark licence from Canonical which took many months of long and slow negotiations. It was very frustracting to have Canonical be the blocker for part of the Ubuntu community since Canonical should be an enabler for the Ubuntu community (at least when we don't compete directly). So we did look at changing the name of Kubuntu but were told by Mark we'd be kicked out the project if we did that which would be a worst case scenario for everyone."

    "Since then Canonical has started asking for donations when downloading Ubuntu and one option is to give "Better support for flavours like Kubuntu, Xubuntu, Lubuntu Slider thumb". Kubuntu has never received any of these funds or seen any better support, so this is a disappointing case of fraud."

    [1] http://www.muktware.com/5369/how-will-changes-ubuntu-affect-kubuntu-exclusive-interview-jonathan-riddell

  17. Re:Context please? by Dahamma · · Score: 4, Insightful

    This cult of Apple admirers would be amusing if they weren't potentially so destructive. They seem to blindly follow Apple without actually having any real experience with the product. They just swallow the usual media hype wholesale and then go on to replicate Apple's mistakes.

    They also don't understand how an X server relates to the rest of MacOS.

    Broad generalizations and assumptions never helps your point. I have worked on kernel and userspace graphics and video overlay drivers for Linux/X11, so I know plenty about how X11 and display servers in general work.

    I do have a Mac. I also have a PC running Windows, and one running Linux (and honestly at this point VMs on these machines running more than one OS at a time - with fairly good unity/coherence modes, as long as we are talking display servers and window managers).

    Some of us use computers as tools for accomplishing what we want at work, home, entertainment, etc and have no interest in blind Apple admirers OR blind Apple detractors (or Microsoft, or Linux, or any other software for that matter). Why does technology have to be like politics to some people?

    (oh, and to your other comment, MacOS is more "UNIX" than Linux is, and is certified SUSv3 (for what that's worth, but it's worth more than your opinion on the matter).