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?"

73 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.

    1. Re:Fragment the Linux graphics driver space? by jedidiah · · Score: 2

      ...you mean 20 years later.

      That's about how long it took for Microsoft to get their act together and catch up to what X had from the beginning. Now you twits are going to replicate that and set the Linux desktop back 20 years.

      That's what happens when you first ignore something and then have to retrofit it.

      It makes things unnecessarily painful when compared to just paying attention to that requirement to begin with.

      --
      A Pirate and a Puritan look the same on a balance sheet.
  2. Re:Context please? by Bill+Dimm · · Score: 3, Informative

    This is follow-up to this story from a week ago.

  3. "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.
  4. 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.

  5. Re:Context please? by undeadbill · · Score: 3, Interesting

    Go to the comments in TFA about details. There is some really juicy repartee between Seigo (OSS developer) and Shuttleworth (guy who funds Ubuntu).

    There is a dust up going on between people working on the replacement for X under Ubuntu, and on the merits or lack thereof in choosing the Mir project over Weyland. Seigo and others make some interesting points, especially about the selection criteria.

  6. Re:Context please? by Anonymous Coward · · Score: 2, Insightful

    Because inexperienced, but otherwise intelligent, people often believe that they can do stuff better than everyone before them, there is a trend among hackers to rewrite otherwise perfectly fine code. Since X dates back decades, according to this line of thinking, it must need to be rewritten. "Wayland" is on such attempt (actually, what they are doing isn't nearly as sophisticated as X). Since Cannonical believes they are the shit, they want to be in control of the X successor. Their candidate is "Mir". I know nothing about Mir. The truth of the matter is that neither of these projects is going to go anywhere because it will require redoing lots of hard word (the video drivers, which are for some terrible reason part of X itself). X could use some work, but destroying the decades of compatibility is not the way to do it. The right way to do this would be to try to gather some kind of very broad support (say... from the developers of Qt and GTK) and get the two of these groups to converge on some modern subset of X, and implement the deprecated remainder as a legacy library. Of course, this doesn't let you "own" the end result, and it requires a LOT of work, so that won't ever happen. Also there's a feud between them, so it's probably impossible to do that.

  7. 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 deniable · · Score: 2, Funny

      So, if you don't like the usual version, you create a new one and expect people to follow. Too meta for me.

    6. Re:This just proves it's NIH by rahvin112 · · Score: 3, Insightful

      And the misinformation is already being quoted as fact. Per the discussion on G+ where the Wayland developers responded to the FUD from Canonical, AFAIK none of the claimed missing feature of Wayland are even missing. In fact from what I was reading tonight touch input has already been implemented in Wayland and the work on virtual keyboards and such is being worked on (Canonical hasn't even started this part of MIR).

      Given the Canonical didn't even talk to the Wayland project it's not surprising but what Canonical claimed is nothing but FUD. They are trying to back justify their decision, but they didn't even bother to learn about Wayland before creating a bunch of false assumptions and FUD. Unfortunately that FUD is so far out there now that people are even quoting it as fact.

      Go to G+ and google MIR, you'll find a number of threads where the Wayland developers point out that Canonical outright lied about what Wayland could/couldn't do. The linked post basically points this out, they didn't talk to Wayland, they didn't find out about wayland, they just wanted something they had total control over.

      In the end they'll end up with a monster that eats coder time to no actual benefit where had they devoted those developers to Wayland they could have had more input into Wayland AND helped it get here quicker. It's a sad story of Shuttleworth desire for total control, even if what he ends up with is unmaintainable crap that's dropped after 2 versions and fragments the community in the interim. All because he wants a tablet/phone OS in a very crowded space.

      It's ironic, if he wanted Android so bad, why didn't he just fork Android. The reality is he doesn't have the resources to do what Google did. Instead he's going to create a Frankenstein blend of (half-assed) Wayland, X and SurfaceFlinger that will likely have all the worst of each and none of the benefits.

    7. 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.
    8. 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...

    9. Re:This just proves it's NIH by flyingfsck · · Score: 2

      No, it was the 'Knights that say NIH'...

      --
      Excuse me, but please get off my Pennisetum Clandestinum, eh!
    10. 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.

    11. 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.
    12. 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'!"
    13. Re:This just proves it's NIH by prefec2 · · Score: 2

      You miss the point. Ubuntu wanted to use Wayland. They said it is a great idea when the project started. But then the project got somewhat stuck. The public available documentation is weak, which makes it very complicated to add to the project. Furthermore, Ubuntu proposed to use a "test-driven" development method. While such a decision is debatable, the Wayland project does not talk about its development method.

      Hopefully, the both sides do a lot of talking (which is already taking place) and in the end they can come up with one API for all. It is not helpful to a) say Canonical did not contribute to Wayland and then b) say that their move will harm the Wayland development. First, they did and if this was insignificant, the withdrawal of resources by Canonical would not effect the development. Second, both server use the same driver and EGL stack. The different uses might even help to stabilize this stack further. Third, Canonical wants something available for all computer devices with a screen. Wayland was started as a desktop replacement. Even though it is able to do its job on other devices, these ideas were later added.

      On a side note: The biggest issues of Wayland are a) not enough communication in form of specs, documentation, and a roadmap (including all the stuff for project management), and b) they are not able to deliver Wayland+Weston for years now. All widget-set ports and other uses of Wayland are only demos. You cannot run it for real. Yes I know the task is complicated. But if you need more help then make it easy to help. At the moment. I will use Wayland or Mir what ever will be available in a working form.

    14. Re:This just proves it's NIH by Alex+Belits · · Score: 2

      As someone above said, they're implementing X on top of Wayland, so you'll still be able to run your 1993 Motif applications.

      The problem is not with running X applications, it's with running new applications on complex display systems with local and remote displays, screens, window management, handling of input and dealing with misbehaving applications. Any application written for Wayland, Mir, etc. is worthless unless you have exactly the same display configuration, shell and everything, those systems' developers intended to support.

      Mir, on the other hand, seems to be related to Ubuntu Mobile, which is probably dead-on-arrival.

      I don't know and don't care. If those people wanted to do something useful, they would improve X protocol (what some people already done, better than them), or implement optional extensions that optimize the support for GUI features that people actually want (what some people also done, including some of them). Dropping features and design decisions just because they aren't useful for smartphones, is a stupid and harmful direction of general-purpose systems' development.

      --
      Contrary to the popular belief, there indeed is no God.
    15. Re:This just proves it's NIH by serviscope_minor · · Score: 2

      Actually, what you could do is stop telling people what they should be doing with their own time.

      If you actually read my post you would see that I didn't do that. I would in fact never presume to do such a thing.

      However when they post long detailed, deceptive and insulting arguments as to why their system is better than the one I prefer, I certainly reserve the right to yell "bullshit" very loudly.

      Also, if they do sumbass things like remove really handy features I also reserve the right to call it a dumbass idea.

      --
      SJW n. One who posts facts.
    16. Re:This just proves it's NIH by Hatta · · Score: 2

      If you want network transparency, you need to use a protocol like NX.

      NX builds on top of X. The right thing to do is not ditch X, but to build NX into X.

      And it's not hard to add this into Wayland, in fact I'm pretty sure that's the plan.

      Then why hasn't anyone from the project said "All Wayland apps will be network transparent by default."? It's an easy thing to do that would quiet a lot of FUD.

      That it is possible to implement network transparency with Wayland is not enough. It must be impossible to implement Wayland without network transparency. Only that will provide the same consistency of experience that X has provided so well for so long.

      --
      Give me Classic Slashdot or give me death!
  8. 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
    1. Re:Good for Ubuntu by phantomfive · · Score: 2

      What's wrong with AIGLX?

      --
      "First they came for the slanderers and i said nothing."
    2. Re:Good for Ubuntu by Gaygirlie · · Score: 2

      It's not a display server. See https://en.wikipedia.org/wiki/AIGLX

    3. Re:Good for Ubuntu by serviscope_minor · · Score: 2

      What? It's an X server which allows GL stuff to be rendereded accelerated. How does Xorg (with AIGLX) not fit that criteria?

      --
      SJW n. One who posts facts.
  9. Wrong spelling by OhANameWhatName · · Score: 3, Interesting

    "Myrrh was used by the ancient Egyptians, along with natron, for the embalming of mummies."

  10. 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.

  11. Re:Context please? by phantomfive · · Score: 2, 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)

    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.

    --
    "First they came for the slanderers and i said nothing."
  12. 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.
  13. "our own thing — we can do exactly what we w by G3ckoG33k · · Score: 2, Insightful

    "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."

    IOW, Fuck GPL and collaboration.

    Canonical better find an attitude. This is why they are disliked by the Debian team and others.

    This is also why I dislike Shuttleworth and Canonical - the lack of helpful upstream collaboration.

  14. not likely to be competent to do it by bcrowell · · Score: 2, Insightful

    We know what a disaster it was when Canonical tried to adopt PulseAudio in Ubuntu. Basically they broke audio for no good reason. (See http://en.wikipedia.org/wiki/PulseAudio#Problems_during_adoption_phase for more info.)

    Mir would seem to be an order of magnitude more difficult to pull off, since it's to be developed in-house by Canonical, and video is *much* more complex than audio.

    Over all, it seems extremely unlikely to me that Canonical is competent to succeed in this.

    They also don't seem to have learned their lesson from the PulseAudio experience in terms of "if it ain't broke, don't fix it."

  15. Wha? by MouseTheLuckyDog · · Score: 3, Interesting

    'We want something like Wayland, but different in almost all the details.'

    If you change all the details then won't it be very unlike Wayland?

    1. Re:Wha? by prefec2 · · Score: 2

      They want conceptually something like Wayland, but not the concrete realization.

  16. 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.

    1. Re:And if you disagree... by gweihir · · Score: 2

      Indeed! I do like that they explore things though. The X.org folks need a kick in the rear. They seem to think graphics has been solved. Not that it has gotten noticeably better since the X.org fork-off, but it is still pretty bad.

      --
      Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
    2. Re:And if you disagree... by GauteL · · Score: 3, Insightful

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

      Not quite. Linux users do rely on a large amount of other users making it viable and interesting to make applications, drivers, etc. for the platform. The more Ubuntu succeeds in gathering Linux users to their Ubuntu OS, the smaller the rest of the Linux market becomes.

      Canonical wants to go their own way in order to distinguish themselves from other distributions in order to gather more Linux market share (larger slice), rather than attempt to cooperate with others to grow the market (larger cake). Canonical does not have the resources to compete with Apple, Google or Microsoft on their own, so their fragmentation of the Linux base will only result in a net loss for Linux and free software.

    3. Re:And if you disagree... by Bill_the_Engineer · · Score: 2

      So your saying that as long as Ubuntu satisfies the needs of their growing user base, they will succeed in becoming a dominate player in the Linux distribution market.

      I see absolutely nothing wrong with this. Competition is good and it is not like Ubuntu is selling their distribution at a loss to put their competition out of business. Every distribution has a chance to grow in popularity, all they need to do is cater to their user's needs.

      --
      These comments are my own and do not necessarily reflect the views or opinions of my employer or colleagues...
    4. Re:And if you disagree... by Burz · · Score: 2

      Not quite. Linux users do rely on a large amount of other users making it viable and interesting to make applications, drivers, etc. for the platform. The more Ubuntu succeeds in gathering Linux users to their Ubuntu OS, the smaller the rest of the Linux market becomes.

      Just. WOW.

      It's amazing that a zero-sum assessment of desktop Linux would be modded up like this. Ubuntu is trying to get past distro-itis or the Linux distro curse that has made the genre so repellent to most desktop users and app developers. If none of the distros are able to enlarge Linux' overall share of the desktop, its because none of them have quite figured out personal computing.

      In any case, it should be becoming clear by now that 'Linux' is not an operating system by any means that a typical desktop user could recognize. If the community knew what was good for it, they would go back to using the moniker as a reference to the kernel only... the way Android does. Otherwise, it is impossible to have sane conversations about what is expected in terms of compatilibility, features, etc.

      Canonical wants to go their own way in order to distinguish themselves from other distributions in order to gather more Linux market share (larger slice), rather than attempt to cooperate with others to grow the market (larger cake).

      "With others" refers to the current desktop distro community who, to be perfectly honest, have their collective heads up their posteriors. No one but a hobbyist wants a bunch of ill-fitting pieces presented to them in a random pile. That is what the typical distro repository looks like to most prospective users. Sorry. The community are essentially hobbyists themselves and its really no one's loss for anyone to diverge from them; not when there is no marketshare to speak of.

      If Ubuntu want to be the ones who show the way, they will have to stop being another "Linux distro" because that identity doesn't stand for much of anything definite. Google recognized this early on with Android.

  17. Re:Context please? by phantomfive · · Score: 2

    Maybe.

    Having worked on the X Server in no way means their choice to create a new server is correct. Whenever someone forks software that's worked fine for nearly 30 years, the default position is, "they're making a mistake."

    Maybe you're right and it's a great thing. We'll see.

    --
    "First they came for the slanderers and i said nothing."
  18. Playing devil's advocate by foreverdisillusioned · · Score: 3, Insightful

    I'm almost inclined to cut Canonical some slack here. Almost. I don't think NIH is such a horrible thing if the project in question still isn't anywhere near usable. In a situation like this, it's entirely possible that a team of paid, full time, competent programmers could start over from scratch and quickly surpass the original project. Given equal talent and effort, the Cathedral is always more efficient better than the Bazaar.

    However, I haven't seen evidence that Ubuntu possesses the talent or the manpower. Time and again, I've either read about or experienced firsthand halfassed, quite unnecessary 'improvements' while watching them neglect the fundamentals.

    So, like most every other thing they've done for the past five years, this decision may be fine in theory (I'm not super familiar with the issues surrounding Wayland, so I can't say for sure), but in practice will quickly become a category five disaster.

    1. Re:Playing devil's advocate by 21mhz · · Score: 2, Insightful

      I'm almost inclined to cut Canonical some slack here. Almost. I don't think NIH is such a horrible thing if the project in question still isn't anywhere near usable. In a situation like this, it's entirely possible that a team of paid, full time, competent programmers could start over from scratch and quickly surpass the original project. Given equal talent and effort, the Cathedral is always more efficient better than the Bazaar.

      This is showcased nicely by the previous projects near-single-handedly developed by Canonical: Bazaar (heh; there were actually two iterations of it, both ultimately crap) and Upstart. Interestingly, neither of those was clearly NIH-motivated, they just were not satisfactory from the engineering standpoint as later, better projects have demonstrated.

      --
      My exception safety is -fno-exceptions.
    2. Re:Playing devil's advocate by Compaqt · · Score: 2

      What's wrong with Upstart? Doesn't it restart services like it's supposed to?

      --
      I'm not a lawyer, but I play one on the Internet. Blog
  19. 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".

  20. 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?

    1. Re:Ignorance on display by FranTaylor · · Score: 3, Insightful

      what are the benefits of Wayland for the end users. No benefit for users. What can I do with Wayland that I couldn't do with Xorg?

      You can have a display server with 10% of the code and 10% of the bugs!

      TELL US MORE about how pruning dead code and reducing the number of bugs is not a benefit for the user.

      TELL US MORE about the benefits of maintaining DEAD UNUSABLE remote code! WHY should users put up with the performance issues associated with years and years of X lossage?

    2. Re:Ignorance on display by FranTaylor · · Score: 2, Informative

      The downside is that a lot of development resources are being funneled to the rewrite of functionality currently quite well implemented by Xorg.

      QUITE WELL MAINTAINED???

      do you actually use X windows at all?

      It's buggy as heck and its performance is miserable.

      Your crack about "developement resources" is pretty funny because the original X developers are also developing Wayland because they are SICK of funneling their development resources into fixing X bugs.

    3. Re:Ignorance on display by Hatta · · Score: 2

      Bullshit. The whole reason for supporting network transparency by default is that no one has to write "network friendly" apps. It "just works".

      network transparency is not nearly as useful as it used to be

      I use network transparency every day. With GUI apps that use pixmaps, borders, and shadows. With FreeNX, the extra rendering time is barely perceptible.

      But even if you were right, for the sake of argument, and we had to choose between network transparency and pretty widgets, network transparency is the only sensible choice. Network transparency is a real feature that enables people to work better. Pretty widgets are just eye candy.

      There are vastly more efficient ways to do network transparency, they are available today, and they do not involve X at all: text-based interface, Web server + XHTML, remote procedure calls.

      But they require a serious investment in IT in order to work. Setting up and securing a web server is a lot more work than simply installing freenx, logging in, and getting to work.

      Applications that do not support one of those are clearly not intended to be remotely run.

      Fuck you. As the user, it should be up to me whether I want to run an app remotely. I don't use open source so I can be dictated to.

      I am curious, what do you use remote X for?

      Bioinformatics software that runs on a virtual machine in a data center. I perform analyses that eat a ton of RAM and display them graphically on

      --
      Give me Classic Slashdot or give me death!
  21. Re:Context please? by Randle_Revar · · Score: 3, Insightful

    The comments from e.g. Dave Airlie, Kristian Høgsberg, Daniel Stone are even better, IMO, since they are Xorg/Wayland guys. Though Aaron is certainly a graphics guy, just at a higher level on the stack.

  22. 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

    3. Re:remote X is garbage anyway by serviscope_minor · · Score: 2

      This is a weird comment, especially from one so illustrious as Keith Packard, though perhaps not surprising.

      In well written X11 programs...

      An aside. There's no point in talking about anything else. You can make badly written programs for any system perform arbitrarily badly. X11 is no exception. It's only worth talking abotu well well written programs and how easy it is to write them.

      Anyway continuing.

      I've done quite a lot of Xlib hacking.

      Atoms are 32 bit handles for strings. Strings (i.e.) atoms are used for all sorts of things on the X server. They name properties (chunks of data associated with each window), are used for MIME (and older) types in the copy/paste and DnD mechanism. That kind of thing.

      The thing is that Atoms refer to immutable strings which describe things.

      Mutable strings such as window titles and text data for copy/paste are held in properties, not atoms.

      Now, it is true that a round trip is required to populate an atom, XInternAtom being the xlib call. However, this is indentionally being used in a deceptive way to prove the slowness of X.

      The thing is that InternAtom is not called frequently. You usually need a small number of Atoms and you know almost all of them at the program startup. Not only that but sinec X is asynchronus, you can fire off all the InternAtom requests and then wait for all the replies. IOW, you need only to wait one latency chunk in order to populate almost every atom you will ever need.

      And that happens once at the startup of the program.

      If you're InterningAtoms frequently enough to get bitten by the latency of that call, then you are really not using the protocol in a sane way.

      And once they're all set up, the 32 bit quantity can be used round trip free from then on. And that's a really tiny packed ot fround trip free data.

      --
      SJW n. One who posts facts.
    4. Re:remote X is garbage anyway by serviscope_minor · · Score: 2

      I'm also tempted to make an unkind jab at Keith Packard here, since he's shown signs of suffering from C hacker syndrome. Perhaps if he used C++ and set up a std::map in his program he could use strings throughout and not have to worry about efficiency of lookups or excessive roundtrips from inappropriate use of InternAtom.

      Of course that would be much harder in C where you'd have to write your own hash map or RB tree...

      --
      SJW n. One who posts facts.
  23. 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

  24. mod parent up by FranTaylor · · Score: 2

    one of the few here who knows what they are talking about

  25. Re:Context please? by Dahamma · · Score: 2

    First - it's not a fork. Forks are branches of the code. Wayland is a completely new display server.

    And I'll just say I'm glad Apple decided NOT to use X by default on OSX. They managed to create a much more efficient display engine by not continuing to base it on the largely obsolete X protocol. Though, guess what, there is also a perfectly usable backwards-compatible optional X-server you can install if you want (which is a goal of Wayland, and I assume Mir, as well).

  26. 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'?
  27. 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
  28. 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.

  29. Re:Anything but X by mvdwege · · Score: 3, Insightful

    In other words, all you can do is parrot decades old grumbling.

    Alex had more sense than you.

    --
    "I know I will be modded down for this": where's the option '-1, Asking for it'?
  30. 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

  31. Re:Anything but X by mvdwege · · Score: 2

    I think I am soiling Alex' memory by comparing him to you.

    --
    "I know I will be modded down for this": where's the option '-1, Asking for it'?
  32. Probably actually CADT. by SEE · · Score: 2

    I mean, NIH is one thing, but this kind of thing goes way past that. Ubuntu is in the full-throttle grip of CADT.

  33. Closed Source Mobile device drivers is why by NGRhodes · · Score: 2

    Canonical wants to get into Mobile devices. Most of that hardware has closed source display drivers for Android (and iOS devices are totally off the radar). They want a GFX stack that is compatible with those drivers, to more easily get compatibility. They can't get that with Wayland. Cheers, Nick

  34. Re:Context please? by bluefoxlucid · · Score: 2

    the merits or lack thereof in choosing the Mir project over Weyland

    Embrace. Extend. Extinguish.

    One day Git will be Bzr. One day Gnome will be Unity. One day X will be Mir. One day Linus Torvalds will be a gray-haired beggar on the street, still acting like an immature teenager, implying that people on the LKML would do better spending more of their time sucking cocks; and Canonical will be running the new, improved, coded-from-scratch, Linux-compatible Ubrik kernel.

  35. Re:Context please? by larry+bagina · · Score: 3, Informative

    OS X is certified Unix. It's not X, but X isn't Unix.

    The UI has a lineage going back to the 1984 Mac (and Lisa) but everything else is NeXT/OpenStep.

    --
    Do you even lift?

    These aren't the 'roids you're looking for.

  36. XInternAtoms by Chemisor · · Score: 2

    Yes, InternAtom requires a round trip, but only a newbie would use it often. If you have a lot of atoms (and any nontrivial X11 application does), you use the XInternAtoms call, which will stream all the requests into a single round trip. You can also use libXcb and do that to all the other calls as well. With proper design you only need 3-4 roundtrips to get your app fully loaded.

  37. Re:Context please? by jbolden · · Score: 3, Informative

    What features are missing from OS X's display system that were present in OS 9?

    The OS9 Finder' which was powerful
    Use of Fitt's law in design
    Interface consistency
    First controls differ in location and in tone
    Symbols consistent with actions.
    Clickable action and light up zone matching
    Variable spacing for controls as a preference
    Control of justification and spacing on the menu bar

    etc...

  38. 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).

  39. Re:Context please? by Eravnrekaree · · Score: 2

    Apparently you have never programmed with X11 , because that is one of the most stupid comments I have ever heard and bears no relation to reality.

    The X protocol contains various graphics primatives, facilities for dealing with fonts, setting colors, color managment facilities, and so on. There are extensions for non-rectangular windows, for faster video, shared memory buffers, and other things that have become desired over the years. There is really nothing in X11 that an application could not use to render its user interface. Nothing really useless. It is concievable that an application could use all of the features the X server provides and use them well and many still do. So the feature are there because applications may need to use them and to make sure applications continue to be supported.

    What has happened is that some x11 extensions have been offered that offer an alternative way to do things, such as with handling fonts. This added some capability, but the additional capability is not necessarily needed by all apps. Programs can still use the old way and things will be perfectly fine and functional.

    The way you talk about things you make it sound like X is bloated. This is an old canard that goes back to the days when 1 MB was a lot of RAM. X is only bloated if your computer has 1 MB of RAM. X itself is lean, in fact, esp. in comparison to modern software like Firefox, taking only a few megabytes for the core protocol code. So basically, you want to remove what would amount some fraction of a megabyte of protocol code and break compatability with hundreds of applications. You sir are an idiot that no one ought to ever listen to.