Slashdot Mirror


Intel Rejects Supporting Ubuntu's XMir

An anonymous reader writes "Just days after Intel added XMir support to their Linux graphics driver so it would work with the in-development the X11 compatibility layer to the Mir display server premiering with Ubuntu 13.10, Intel management has rejected the action and had the XMir patch reverted. There's been controversy surrounding Mir with it competing with Wayland and the state of the display server being rather immature and its performance coming up short while it will still debut in Ubuntu 13.10. Intel management had to say, "We do not condone or support Canonical in the course of action they have chosen, and will not carry XMir patches upstream." As a result, Canonical will need to ship their own packaged version of the Intel (and AMD and Nouveau drivers) with out-of-tree patches."

38 of 205 comments (clear)

  1. Surprised? by Teun · · Score: 5, Insightful
    I can't say I'm terribly surprised.

    Though Intel will be open to an alternative to X11 they are in no way obliged to carry an immature release just because Canonical wants to push theirs.

    --
    "The likes of Facebook and WhatsApp are free to those whose privacy is of zero value."
  2. Layering? by multi+io · · Score: 2

    Why does the Intel Xorg graphics driver have to know anything about XMir, which, as far as I understand it, is just an Xorg driver for running Xorg as a Mir client?

    1. Re:Layering? by Billly+Gates · · Score: 2, Informative

      I thought they were switching to Wayland anyway.

      X was really hated here on slashdot in the early days 12 years ago! I guess modern hardware hides its issues with bloat and a client and server relationship. It was made for dumb terminals and it shows. Low latency for things like glx openGL has had issues and many hacks just to get it to work mediocre wise.

    2. Re:Layering? by Lemming+Mark · · Score: 3, Interesting

      I'm honestly not super clear myself! But the DDX is, as I understand it, the in-Xorg portion of the graphics driver. So I guess it's not unreasonable that that component needs to know it's not got complete control of the hardware, as opposed to the Xorg-only case where it would have. Presumably it needs to proxy some operations through Mir (or Wayland, for XWayland) that it'd normally just set directly.

      A *bit* like running X under X using Xnest or Xephyr, though I'd imagine it's less extreme than that (since those, I'd guess, have to issue X-level drawing commands to their host X server, whereas to get graphics under Wayland/Mir they'd just render to a memory buffer like any Wayland/Mir client).

      All slightly speculative since I'm not familiar with the in-depth technical details!

    3. Re:Layering? by GigaplexNZ · · Score: 2

      Everyone except Canonical are switching to Wayland.

    4. Re:Layering? by multi+io · · Score: 2

      I'm honestly not super clear myself! But the DDX is, as I understand it, the in-Xorg portion of the graphics driver. So I guess it's not unreasonable that that component needs to know it's not got complete control of the hardware, as opposed to the Xorg-only case where it would have. Presumably it needs to proxy some operations through Mir (or Wayland, for XWayland) that it'd normally just set directly.

      Well..why would the Intel driver even be used when Xorg runs "hosted" as a Mir client? In that configuration, XMir should be the "driver", and any Intel driver code in Xorg should lie dormant. Or did this patch actually touch something other than Intel's Xorg driver?

    5. Re:Layering? by gbjbaanb · · Score: 5, Insightful

      Then Ubuntu comes along and goes "NOOOO", and decides to do it differently.

      yep, this is the way of Linux. You throw many different things at a wall and see which one sticks best. Then you standardise on that thing.

      Too many people are just about bitching that one thing is better than another thing without any comprehension that this is the way FOSS systems evolve. I imagine (or would hope) that Wayland and XMir will stand on their own and one will become a dominant player over the other. Politics aside this is the way it should be. Unfortunately, once the politics and the 'my thing is better than yours' attitude gets involved, it makes dropping the poor version for the better one difficult - people try to maintain the poorer one regardless.

      You see this in Openoffice v LibreOffice. Surely by now one of these would have their best bits of code migrated to the other so development and evangelism could focus efforts on just one product, but instead we still have the bitching about which one is better. (though maybe its just too soon for this example)

    6. Re:Layering? by lcampagn · · Score: 3, Insightful

      The multitude of audio systems and the failure of the FOSS community to standardize on one is one of the more frustrating failings of desktop Linux in my memory.

    7. Re:Layering? by Lemming+Mark · · Score: 3, Informative

      I can speculate a bit with things that sound plausible to me given my knowledge of the system - but I might still be a bit off target... Still, maybe it helps a little.

      Mir and Wayland both expect their clients to just render into a buffer, which clients might do with direct rendering, in which case the graphics hardware isn't really hidden from the client anyhow. AFAIK it's pretty normal practice that there's effectively in-application code (in the form of libraries that are linked to) that understands how to talk directly to the specific hardware (I think this already happens under Xorg). The protocol you talk to Wayland (and Mir, AFAIK) isn't really an abstraction over the hardware, just a way of providing buffers to be rendered (which might, have just been filled by the hardware using direct rendering).

      In this case Xorg is a client of Mir, so it's a provider of buffers which it must render. The X11 client application might use direct rendering to draw its window, anyhow. But the Xserver might also want to access hardware operations directly to accelerate something it's drawing (I suppose)... So the X server needs some hardware-specific DDX, since Mir alone doesn't provide a mechanism to do all the things it wants.

      As for why the Intel driver then needs to be modified... I also understand that Mir has all graphics buffers be allocated by the graphics server (i.e. Mir) itself. Presumably Xorg would normally do this allocation (?) In which case, the Intel DDX would need modifying to do the right thing under Mir. The only other reason for modifying the DDX that springs to mind is that perhaps the responsibilities of a "Mir Client" divide between Xorg and *its* client, so this could be necessary to incorporate support for the "Mir protocol" properly. That's just hand-waving on my part, though...

      Bonus feature - whilst trying to find out stuff, I found a scary diagram of the Linux graphics stack but my brain is not up to parsing it at this time of day:
      http://en.wikipedia.org/wiki/File:Linux_Graphics_Stack_2013.svg

  3. That is why Linux wont win the desktop by Billly+Gates · · Score: 4, Insightful

    When will Linux finally use standard ABIs and APIs for drivers just like very other OS on the planet?

    Why can't you just use one driver written a few years ago and use it universally across all distros due to this? The other free BSDs have this and you can install the extra compat libraries to accomplish this. I guess RMS thinks that is oppressive and wants opensource hardware even though patent holders from the likes of the h.264 consortorium forbid it!

    Before I get flamed remember the article mentioned ATI and NVidia drivers as well so Intel is not the asshole here. Rather they different kernels and distros being redone requiring new QA and recompiling with every release.

    There is a reason many old time linux users like myself only run CentOS in a VM Now. It is because Redhat provides ABIs and APIs that do not change for 5 years. Unfortunately it also means an out of date distro as well which is not fair to non server users (even a few server users who need a newer app or framework.)

    1. Re:That is why Linux wont win the desktop by jbolden · · Score: 4, Informative

      When will Linux finally use standard ABIs and APIs for drivers just like very other OS on the planet?

      Never. The moves to support binary compatibility on Linux have been rejected time and time again by the Linux community. And that is far from the case for every other OS on the planet. Many OSes don't support arbitrary drivers at all.

      I guess RMS thinks that is oppressive and wants opensource hardware even though patent holders from the likes of the h.264 consortorium forbid it!

      RMS has little to do with this policy. Even Linus mostly supports it. The people who don't support it are mostly Windows users.

      Why can't you just use one driver written a few years ago and use it universally across all distros due to this?

      You can. You can use drivers from almost 2 decade ago that were sources into the kernel. You can't generally with binary drivers because Linux doesn't offer binary compatibility.

    2. Re:That is why Linux wont win the desktop by Billly+Gates · · Score: 3, Insightful

      Sorry but the patent trolls who sue everybody will make you sign a NDA making your work closed source if you make hardware. So the days of having it in the kernel are over.

      Microkernels and exokernels are what acemics say are supperior and the wave of the future.

      Regardless what OS doesn't use abi and api for driver development? I cant think of any modern OS? How about Mac users wanting a driver that works throughout versions? With the exception of the split between powerpc and x86 it is true on that platform. Not just Windows users.

      Who wants this? I, hairyfeet, and others who want things to just work and have given up putting linux on customer machines. How do I know that atheros wifi or ati driver will work when they click upgrade? My guess is this is the issue Intel has and is paying money in constant r&d and QA.

    3. Re:That is why Linux wont win the desktop by sharklasers · · Score: 2

      You can. You can use drivers from almost 2 decade ago that were sources into the kernel. You can't generally with binary drivers because Linux doesn't offer binary compatibility.

      But most manufacturers don't WANT to provide sources to their drivers - they'd be quite happy to provide a binary interface, but that's difficult to do in Linux.

      You might argue, fuck them then, sources or bust. Well, Linux use on the desktop is so low anyway, what incentive would they have to comply when they can just stick with Windows? Sometimes it's not worth the effort when your end users aren't grateful for the support in the first place.

      The kernel developers can stick to their policy as much as they like. But put up barriers between businesses who make the stuff people want to use, and a small price to pay being keeping their source (IP) hidden and providing a binary driver instead, is no way to garner support. Since this policy is never likely to change, I can't see why anyone is surprised Linux has still never made it on the desktop.

    4. Re:That is why Linux wont win the desktop by Anonymous Coward · · Score: 2, Informative

      You can. You can use drivers from almost 2 decade ago that were sources into the kernel. You can't generally with binary drivers because Linux doesn't offer binary compatibility.

      You really really can't. (At least not in general.) Structures keep changing the names of members, and removing members. For example: Recently, user id's changed from being plain old integers to being potentially a struct that you have to use accessor methods to use. Every time a new kernel comes out, our drivers invariably break and need additional code adding to check for and cope with the new kernel. (No, we can't just stop supporting old versions of the kernel. Big companies are out there demanding support for Redhat5 and some event earlier. The 2.6 kernel tree is still very much alive. And of course, yet others leap on to the new kernel as soon as it's downloadable.)

      So yeah - maintaining a kernel module is currently a pain in the ass and backwards compatibility with older drivers would be a big win. Binary compatibility would be preferable; but source compatibility would be a good start.

    5. Re:That is why Linux wont win the desktop by Rich0 · · Score: 4, Insightful

      Since this policy is never likely to change, I can't see why anyone is surprised Linux has still never made it on the desktop.

      Who exactly is surprised by this? Certainly not those who created the policy. The purpose of the policy was not to make Linux popular on the desktop, or anywhere else for that matter. The creators of the policy do not profit from Linux, so its popularity isn't really a big concern.

    6. Re:That is why Linux wont win the desktop by dmbasso · · Score: 5, Insightful

      Sorry but the patent trolls who sue everybody will make you sign a NDA making your work closed source if you make hardware. So the days of having it in the kernel are over.

      You realize you're commenting on a story about Intel, right? You know, the company that has Linux kernel developers writing open source drivers for their chipsets.

      --
      `echo $[0x853204FA81]|tr 0-9 ionbsdeaml`@gmail.com
    7. Re:That is why Linux wont win the desktop by maird · · Score: 2

      But most manufacturers don't WANT to provide sources to their drivers

      As someone who works on linux bug fixing for, among others, the hardware partners of a linux distro vendor I sense that changing day by day. Some never will publish but as a result those they compete with will generally have a lower per-developer cost of development leading to a higher rate of bug fixes alone for the vendors who do publish. Not publishing made sense when the PC was the only platform that mattered but I'm impressed by the number of x86/x86-64 build bugs I see for things being called point of sale systems. They are probably PC based but they are built in a way that means they'll never run Windows and there will be more of them in the end so the hardware with published source is probably a better choice for those manufacturers. I'm sure one of Intel's plans is to support them as hard as it can afford to. Those that follow the lead will probably do quite well. It's ironic that standardization of hardware was intended to make things cheap to mass-produce then we have mass-produced standard hardware interfaces that make incorporating a large variety of unique devices relatively easy and the cheapness comes from mass-produced software where standard libraries make the effort to handle each unique device very low cost and with just one third party developer interested in contributing to the final effort part of the cost for the hardware vendor is off-loaded. They only have to maintain control over what's accepted as code intended for their hardware.

    8. Re:That is why Linux wont win the desktop by jbolden · · Score: 2

      Sorry but the patent trolls who sue everybody will make you sign a NDA making your work closed source if you make hardware.

      If you lose a patent suit and use someone else's patented work, yes.

      Regardless what OS doesn't use abi and api for driver development? I cant think of any modern OS?

      ZSeries OS (MVS), ISeries OS (OS/400), Cisco iOS, most embedded.... In general most OSes that don't care about quick and easy hardware support.

      I, hairyfeet, and others who want things to just work and have given up putting linux on customer machines.

      Well if you are picking the hardware then you pick hardware without binary drivers.

    9. Re:That is why Linux wont win the desktop by caseih · · Score: 2

      And microkernels continue to remain in the realm of academics and theory, and not in the real world. Even Windows went down the microkernel route for a while with Windows NT, early versions, but for for performance reasons hacked and thunked things to the point that we're essentially back to a monolithic kernel now, with everything important running in-kernel, and in ring-0. Graphics moved back to ring-0, network drivers, etc.

      Darwin, though based on a microkernel core, is a hybrid kernel with a large BSD subsystemThe coupling between the core and the BSD system is so tight and depended on that the result is quite monolithic.

      Despite your dislike of RMS, he also thought as you do, that microkernels were the future, and so the infamous GNU Herd kernel is a microkernel. Herd is nowhere to be found, really, and no longer matters compared to the monolithic kernels of Windows, BSD, Linux, and others.

      Microkernels vs monolithic remind me of the old CISC vs RISC debate. Thought unlike CPUs where RISC lost but actually won because CISC ended up being layered on top of RISC (or VLIW at least), monolithic seems to have soundly won and likely won't go away until RAM is as fast as CPU registers to make message passing fast.

    10. Re:That is why Linux wont win the desktop by Kjella · · Score: 3, Insightful

      Microkernels and exokernels are what acemics say are supperior and the wave of the future.

      Academics have been saying that since it was MINIX vs Linux and reality won. This is also orthogonal to API/ABI, you can have userspace drivers without a stable API/ABI and you can have a stable API/ABI with in-kernel drivers.

      --
      Live today, because you never know what tomorrow brings
    11. Re:That is why Linux wont win the desktop by SEE · · Score: 2

      Microkernels . . . are what acemics say are supperior and the wave of the future.

      Yep. That's what they were saying 25 years ago, too. And if you want one, GNU HURD is ready and waiting.

    12. Re:That is why Linux wont win the desktop by Anne+Thwacks · · Score: 2
      I had people come to my office and request that Linux be removed and replaced with Windows 7.

      So have I. Then, once they found out what they had asked for, they wanted Linux back. They were hoping to get Office 2000 on Ubuntu, but did not know how to describe it.

      --
      Sent from my ASR33 using ASCII
    13. Re:That is why Linux wont win the desktop by NotBorg · · Score: 3, Insightful

      Stop bothering the trolls with facts.

      --
      I want this account deleted.
    14. Re: That is why Linux wont win the desktop by Anonymous Coward · · Score: 2, Interesting

      Glad someone made this comment, because I was about to. I used to work at MS in the Windows division. I saw this first hand and close up: every release, lots of drivers broke. As far as I am concerned the folks complaining about Linux's lack of stable driver interfaces are completely clueless whiners. They have no clue what goes into writing drivers on any platform. The only reason you can generally get drivers that work on all recent versions of Windows is because the hardware vendors are forced to port and maintain them due to MS's historical monopoly.

  4. Re:Monopolist acts anticompetetively, film at 11 by Dot.Com.CEO · · Score: 4, Interesting

    I trust them more than Canonical, that's for sure.

    --
    Mother is the best bet and don't let Satan draw you too fast.
  5. Time for a Yoda yodel by dbIII · · Score: 2

    Dumb framebuffer wars begun have they?

  6. Confused by msobkow · · Score: 3, Insightful

    So when Ubuntu 13.10 ships, it will force you to use XMir?

    If so, thanks for the warning. The last thing I want to do is deal with an unstable graphics driver. It's taken years for X11 with NVidia drivers to get stable, and I don't want to touch XMir with someone else's 10-foot pole for until it's been in use for at least 2-3 years.

    --
    I do not fail; I succeed at finding out what does not work.
  7. Re:Dumb Management by MtHuurne · · Score: 5, Insightful

    Canonical decided to write their own Mir display server instead of adopting the existing Wayland. They stated their reasons for doing so, but I'm not convinced they really had to start their own project instead of modifying Wayland.

    It seems only fair to me that if Canonical wants to do their own thing, they'll have to put in the effort to maintain it. Because that is what this is about: Intel management decided that they're not going to pay their engineers to maintain code that benefits only Canonical.

  8. Mir is fascinating... but not in a good way. by Balinares · · Score: 5, Informative

    I think Mir is a case study in how to correctly identify problems and then going about solving them all wrong.

    See, the good thing about Wayland is, it does the right thing in having a limited scope. It aims to do one thing and do it well: provide an API for GUI clients to share buffers with a compositor.

    And the problem with Wayland is, of course, that... it has a limited scope. Screen management? Input handling? Buffer allocation? "A modern desktop needs all that!" say the Ubuntu devs, and yeah, that's absolutely correct. "That's a client concern," say the Wayland devs, and guess what? From their point of view, that's correct too. (Although Wayland since started working on an input handling API.)

    Now, the important thing to realize is, when the Wayland guys say that something is a client concern, as I understand, they don't necessarily mean the GUI applications, no. They mean the compositor.

    Meaning that a whole lot of the stuff desktop shells rely on is, in fact, not provided by Wayland itself.

    That's where Weston comes in: it's supposed to be an example (a "reference implementation", to use the designated words) of how to write a compositor. But... not necessarily in a way that meets the higher level needs of desktop shells. Unsurprisingly, both KDE and GNOME will be using their own compositors.

    So basically, a whole lot of the desktop integration on top of Wayland will be, as it were, left as an exercise to the reader.

    With all that in mind, I think the highest outcome end game is somewhat clear: frame-perfect rendering through the Wayland API of Mir-composited KDE/GNOME/Unity clients.

    Or in other words, Mir should probably be a set of APIs to handle all the admittedly important desktop integration -- clipboard, multi-screen layout, input and gestures, systray/notification requests... -- with an optional and replaceable compositor thrown in.

    All the points of contention that I know of, mainly that Canonical requires server-side buffer allocation (presumably for mobile ARM platforms) where Wayland does it client-side, could have been resolved with some diplomacy and a mutual willingness to reach a satisfactory compromise.

    But instead, it looks like the report card is just going to say, "Doesn't play well with others." As usual. What a sad mess and wasted opportunity.

    --

    -- B.
    This sig does in fact not have the property it claims not to have.
    1. Re:Mir is fascinating... but not in a good way. by Desler · · Score: 2

      The whole point of C++ is to use it how you want hence why it's a multi-paradigm langauge. Bjarne specifically rejects the pidgeonholing you attempt to ascribe to C++.

    2. Re:Mir is fascinating... but not in a good way. by Desler · · Score: 3, Informative

      Good luck finding contributors. Most FOSS contributors don't get C++ at all.

      Absolute bullshit. KDE, for example, is written in C++ has had no hard time finding thousands of contributors. There are also tons of FOSS apps written in C++ with Qt. You sound like someone who has been in a cave from the mid 90s until now.

      The language isn't ready for such low level components yet.

      In what specific way exactly?

  9. Re:Black People by Crimey+McBiggles · · Score: 4, Funny

    That was pretty off-topic, there AC. You even left us guessing about which part of hicksville you call home (Georgia perhaps?).

    --
    Crimey
  10. Re:Monopolist acts anticompetetively, film at 11 by Anonymous Coward · · Score: 5, Insightful

    More like disinterested third party sees which way the winds are blowing and decides to pull resources away from supporting what is going to be an also-ran. Intel has been a very good citizen where it comes to provided chipset and video driver support to the Linux community. They are still making drivers for X.org ( you know the display server people actually use ) and likely will develop drivers for Wayland.

    Why you or anyone else ( who does not run Ubuntu ) would want them dividing their efforts a third way writing software that will only be useful to a tiny segment escapes me. Normally I am not anti-choice but the best outcome here is for MIR to go down in flames.

    The one factor that has made desktop UNIX/Linux a reality is the near universality of X11. Despite all the toolkit and desktop environment / window manager fights X11 was something software devs could depend on being there. As far as end users some integration issues aside they could run multiple toolkits and other high level stuff when needed. It would be really hard though for users to efficiently run multiple display servers. The display server is pretty much a core platform component now. I honestly think MIR is a Cononical attempt to create a walled garden for their platform. It isn't about better software for them but control.

    I am glad Intel is abandoning the platform; hopeful Cononical's garden will simple become a ghetto.

  11. Re:FujiXerox DocuPrint 203A Driver for Windows 8 by jones_supa · · Score: 2

    No comment on closed/open source drivers but I was just thinking about that problem. If there is no working driver for Win8, maybe your dad could run a little virtual machine as a printer server using an older version of Windows? So you would pass through the printer USB device to the VM. It's a bit clunky solution, but might keep the printer going.

  12. Isn't this more pro-Wayland than anti-XMir? by daboochmeister · · Score: 2

    Intel heavily supports Wayland, including employing the primary developer. Isn't this move on their part simply saying, we're dogfooding Wayland, and Canonical needs to handle XMir itself? Snark aside, doesn't that seem like a reasonable move on their part?

    --
    "Ahh! I see you're in that indeterminate Schrodinger state where - oh, uh ... never mind." Dave Bucci
  13. Re:Bloat? Client/server relationship? by santosh.k83 · · Score: 2

    > OpenGL and glx run many windows DirectX games under Wine FASTER than Windows running DirectX.
    >
    > Many games ported to use Linux and OpenGL natively show up FASTER than their Windows relation, either OpenGL
    > (being faster on Windows than DirectX) or DirectX on Windows.

    I can testify to this as well, having run Need for Speed Hot Pursuit as well as Roadrash under WINE.

  14. Re:Dumb Management by MtHuurne · · Score: 2

    There is a cost to keeping the code in there, even if it's not supported. If interfaces change, the unsupported code can break the build. Finding things in the code, by reading or grep, becomes harder since there is more of it. Static code analysis might flag issues in the unsupported code. Bugs will probably be filed that they'll then have to close as WONTFIX.

    Also the question is what purpose would be served by keeping unsupported code in the main repository. If it's not regularly updated and tested, it will be broken sooner or later. Canonical will have to maintain the code anyway, so there will be a separate repository somewhere that contains the working version of XMir support.

  15. Re:Bloat? Client/server relationship? by Blaskowicz · · Score: 2

    Sadly nvidia's slowest graphics cards have a 29W TDP, and the chip he's talking of is a combined CPU+GPU at 18W TDP. Meaning no, there's no nvidia graphics in a netbook or tiny PC. And blaming the victim is lame, you can't change the graphics on a laptop with a GPU in the CPU.
    If you're arguing that no one should by affordable laptops, why not. I like using desktops (and CRT monitors).

    We'll see if 22nm Atom is better (with something like Ubuntu 14.04 - not necessarily the main edition - if you want driver support out of the box). Still there could be framerate issues, as an inferior driver costs you CPU cycles.