Slashdot Mirror


Xfce, LXDE, GNOME3 Desktops Running On Ubuntu Mir Via XMir

An anonymous reader writes "Through the use of XMir, a translation layer for running legacy X11 applications atop Ubuntu's forthcoming Mir display server, the GNOME Shell, Xfce, and LXDE desktops now run on this X.Org Server alternative. With XMir, the traditional window managers are still running while Mir treats these desktops as a single window."

41 of 162 comments (clear)

  1. What about wayland?? by davydagger · · Score: 2

    what about mirWayland, or waylandMir?

    1. Re:What about wayland?? by TsuruchiBrian · · Score: 4, Funny

      or XMirWayland or in case I want to run XMir in Wayland.

    2. Re:What about wayland?? by styrotech · · Score: 2

      Then there is the port of the KDE / Almquist shell integration - Kashmir

      [groan]

    3. Re:What about wayland?? by F.Ultra · · Score: 2

      Won't happen because very few applications will target Mir or Wayland directly. They will most likely use GTK+, Qt, SDL etc. So once either of those widgetslibraries supports both Mir and Wayland there is no need to emulate Mir on Wayland and vice verse. XMir and XWayland is needed though since there is still a lot of X11-only applications out there.

  2. Multiple Displays? by LifesABeach · · Score: 4, Interesting

    Finally USB Display functioning?

    1. Re:Multiple Displays? by Blaskowicz · · Score: 4, Insightful

      Each running separate X sessions and unable to move a window from one display to another? That is what I got the day I tried a second graphics card in my PC to connect a second monitor.
      The OS was an Ubuntu version released long after Windows 7 and it still expected me to write some xinerama xorg.conf bullshit, which would have probably ended with maximized windows covering both displays and modal windows appearing right in the middle, on both sides of the physical divide. But I think I would have had to give up running the nvidia driver. LOL!

      Sad thing is Windows 98 SE happily ran multiple monitors on different graphics cards (different card, different driver, different vendor).

    2. Re:Multiple Displays? by Rob_Bryerton · · Score: 3, Interesting

      Looking at his UID, his account was registered around 1999-2000'ish... of course he could've inherited it from his dad!

      I will now get off of your lawn ;)

    3. Re:Multiple Displays? by Anonymous Coward · · Score: 5, Informative

      Been using X since the 80s, and mutil monitors on X since somewhere in the late 90s, both with the displays all on the same box, and later, with some of the displays running on separate computers using xdmx.

      Using Xorg.conf for xinerama config, while maybe not ideal for grandma, wasn't terrible, and you only did it once. But, for folks like you, there is now xrandr which you can setup via xorg.conf, use your WMs hooks into it to do it all gui-ish, or just run shell commands to setup your multi-monitor layout (since it would be trivial to write [hell you could do it in a short shell script], there is probably a daemon available that will auto add a monitor when plugged in and remove it when unplugged, but I am not familiar with it if it exists).

      As for not being able to move a window between monitors, you are doing it wrong. Depending upon your window manager, and how *you* set things up, you can have independent displays (uncommon, but apparently how you set things up), one big shared desktop like windows and mac (gnome, kde, etc.), or, something smarter, a kind of hybrid between the two where things act like a unified desktop when you want them to, but you can switch virtual desktops independently per each physical display-- which is *very* nice (e17).

      You can drag windows between displays even when the displays are on different boxes (xdmx). Unfortunately xdmx only works with xinerama, and newer graphics cards only work with xrandr, so in a crappy transition period now for this. But, if you ever want to setup a video wall with 100 monitors acting as one unified display, xdmx is probably the only game in town.

        If you want to use MS Windows, nobody is stopping you, but please don't spread FUD.

    4. Re:Multiple Displays? by Dagger2 · · Score: 2

      I had this experience too. I managed to get it running with a single X session, but XRandR only supports one "screen" (in X11 terms) per GPU, which means that you can drag windows between monitors on the same GPU, but the monitors on the other GPU are separate and you can't drag windows over to them. (Here's a corroborating mailing list post.) Window dragging works with Xinerama (windows maximized properly etc), but Xinerama doesn't work with 2D hardware acceleration, so you lose that.

      Even with Xinerama, I still found some oddities. Menus in some programs (I guess probably "in some toolkits") would open aligned with the top of my smallest monitor -- if I maximized a program on my main monitor and tried to open the menu for it, the menu would show up a couple of inches away from the menu bar. XFCE's system menu on smaller monitors would try to open aligned with the top of the biggest monitor. The mouse behavior in the corners of monitors was terrible (either the mouse went into the dead zone, or it jumped several inches to fit onto the smaller monitor, depending on whether I was using Xinerama or XRandR), making it really difficult to hit anything in a corner.

      None of this stuff happens on Windows. It just works. I don't have to give up 2D acceleration. And that's with XP, which is almost a decade older than the Linux version I was testing with. I was expecting the same from Linux, but... nope.

      On the plus side, while writing this post I discovered that XRandR 1.4 is a thing now, and apparently it does include support for multiple GPUs. Maybe this stuff will actually work now.

  3. Re:Hello by Anonymous Coward · · Score: 5, Insightful

    Thousands of distros, tens of DE's and WM's, lots of different graphical toolkits, tons of libraries with significant overlapping functions, tons of system utils that do similar things, 6 or 7 common http servers, but TWO graphics servers? FRAGMENTATION! It's all gonna fly apart!

    You dumbass.

  4. Re:Hello by iggymanz · · Score: 4, Informative

    there are actually at least 8 X servers

  5. Re:FOSS overload by Anonymous Coward · · Score: 2, Insightful

    You understood it. Nowhere in the title or summary does it say anything about FOSS.

  6. Re:Hello by jedidiah · · Score: 4, Insightful

    ...except X.org is just another Xserver. It's not an entirely new protocol. This is why X servers and clients from a variety of Unixen and non-Unixen can all talk to each other.

    It's like HTTP.

    Mir is more like Microsoft trying to create it's own web browser protocol.

    You should really follow your own advice.

    --
    A Pirate and a Puritan look the same on a balance sheet.
  7. Re:FOSS overload by The+Mighty+Buzzard · · Score: 5, Funny

    Truth. He is indeed a master baiter.

    --
    Violence is like duct tape. If it doesn't solve the problem, you didn't use enough.
  8. pictures of all desktops mentioned running on XMir by bmullan.mail · · Score: 5, Informative
  9. Re:KDE by Anonymous Coward · · Score: 2, Funny

    KDE has been deprecated since version 4.0.

    Ah, but that was before GNOME3 was released. Suddenly KDE matters again.

  10. Re:Hello by smash · · Score: 2

    We already have that with X11. Hello higher performance 3d rendering pipeline. Never know, maybe one day the free desktop will catch up to where NeXTSTEP was in 1988.

    --
    I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.
  11. Re:Hello by gmuslera · · Score: 3, Insightful

    The story is specifically about avoiding fragmentation, adding compatibility layers, so even if you don't develop for Mir it will run there. Maybe you meant goodbye fragmentation?

  12. Re:KDE by ChunderDownunder · · Score: 2

    Canonical have had a public flamewar with KDE & Wayland devs about the existence of Mir.

    KDE also have Plasma Active on Wayland in the pipeline, which would be a competitor to their tablet offering.

    Hence the don't want to give legitimacy to the enemy.

    [Posted from my Kubuntu 13.04 desktop - I guess I have a maximum of 12 months before X11 is dumped altogether in favour of Mir and I wipe the disk with debian stable]

  13. Re:Hello by Grishnakh · · Score: 3

    Don't be ridiculous; the whole idea of Mir and Wayland is to speed up the desktop, as X is horribly obsolete and slow. This "XMir" is just so X stuff can be run on Mir until it gets updated to run on Mir directly.

    Of course, there's a whole separate issue which is that Mir competes with Wayland and fragments the Linux infrastructure, but this doesn't affect speed.

  14. Re:Hello by Grishnakh · · Score: 4, Interesting

    The lower the level, the worse fragmentation is. Who cares how many text editors are out there, for instance? It doesn't matter, because you can use any of them that you please.

    But lower down the chain, fragmentation becomes more of a problem, because things higher up the stack rely on standardization below them to work.

    How many Linux kernels are there, for instance? Only one. (There's some different versions, but they're all compatible with each other as far as running application code.) (There's also *BSD and HURD, but those aren't used nearly as much, and at least one of the BSDs actually has a Linux compatibility layer to run binary Linux applications.) Until recently, there was only one display server, X; so graphical applications and toolkits only had to work with that. Then along came Wayland, which promised to fix a lot of problems with X; this wasn't so bad: most of us knew that X was long in the tooth and a replacement had to come sooner or later, so having everyone transition from the old to the new was a doable thing. But now, stupid Canonical had to decide to fragment things with Mir, which does mostly the same thing as Wayland but in an incompatible manner, so who knows what's going to happen.

    Anyway, back to your other complaints: different libraries aren't a problem. Using one library doesn't interfere with using another; applications just use whatever libraries they're linked against. System utils doing the same things isn't a problem: use the one you like, the others aren't going to keep you from doing that. Different HTTP servers is a good thing: use the one you like. Choice is a good thing, not a bad thing, as long as things are compatible. Graphical toolkits are a little lower on the stack, so that is a bit of a pain having more than one, so it's a balance between choice and standardization. Having two main ones doesn't seem so bad; 6 or 7 of them would be more of a problem. (There's more than 2 graphical toolkits, but only 2 of them are really in widespread use in Linux-land.) DEs are higher up the stack than toolkits; use the one you like. There's nothing preventing you from using KDE apps in GNOME, and vice-versa. However, DEs are lower than regular apps, usually have a lot of stuff integrated, and are the "face" seen by users, so it would be nice if Linux had its act together better in that regard. Of course, when a DE is tied directly to an incompatible display server, that really fragments things.

    BTW, last I heard there were at least 3 or 4 different graphical toolkits for Windows (Win32, MFC, .NET), and those are all from the same company.

  15. Re:Hello by Grishnakh · · Score: 3, Informative

    You don't know much about software, do you?

    X.org wasn't a different display server, it was a fork of XFree86. Not only did it use the exact same protocol, it even used the exact same code (at least at first, though they added some new extensions later after everyone dumped XFree86 and switched to X.org).

    No one (except a few morons) said that the X.org fork would be the "demise" of Linux. I remember the whole thing quite well; everyone was relieved that X on Linux would finally stop stagnating, and get some much-needed new development without that idiot Dawes holding everyone back. Within a very short time, all the distros had switched to the new fork and XFree86 became nothing more than a memory.

  16. Re:FOSS overload by Anonymous Coward · · Score: 5, Funny

    Had sex once.  Got bored halfway through.  Went back to my Linux box.  Much more interesting than trying to find nontrivial words in a language with only two words, In and Out, and one form of punctuation.

  17. Re:Hello by iggymanz · · Score: 2

    nah, we just have.deb based or .rpm based. some whackjobs use kooky shit like arch or gentoo but numbers are in the "statistical noise" range.

    ("are you chinese or japanese" -- Hank Hill to Laotion)

  18. Re:Hello by Bengie · · Score: 4, Insightful

    Except Wayland is being developed by 15 year X devs that understand windowing systems, and engineers. Mir is being developed by developers.

    what was that saying about developers and engineers. Windows was written by developers, Unix was designed by engineers?

  19. Re:KDE by ChunderDownunder · · Score: 2

    Thanks for the tip.

    I know Mint comes in both Ubuntu and debian flavours but the Ubuntu version might become sidelined if X support falls into maintenance and Ubuntu doesn't carry a functioning Wayland release.

    (I'll verify which flavours are mirrored by my ISP!)

  20. Re:Hello by Clsid · · Score: 2

    The minute Canonical manages to get commercial driver support for lots of stuff I don't think you will be whining as much. Linux is built around choice, nobody forces you to use Mir or Wayland. So just choose whichever you like the most. And there are several Unix kernels, Linux being one of them. Trying to make a category of Linux in itself won't fly. OpenBSD was tough competition and you cannot go lower down the chain than this. It all worked out in the end, people like Gentoo bringing ports functionality from BSD.

    Hell if anything I believe GTK+ and Qt were truly an issue at some point, and even then it all worked out. Fragmentation is what makes Linux extremely awesome. There is a zero bs attitude from users and developers and we have seen that quite a bit with OpenOffice and Gnome.

  21. Re:Hello by evilviper · · Score: 4, Informative

    and at least one of the BSDs actually has a Linux compatibility layer to run binary Linux applications.)

    Good god you're making me feel old. Not only have all the big three BSD OSes had Linux binary emulation for a long damn time... but I distinctly recall writing how-to's for a couple of them (that bounced around the internet and got translated into many languages I don't speak) some time LAST MILLENIUM.

    No exaggeration there. The date on OpenBSD's compat_linux man page is March 1995. FreeBSD may have been a couple years earlier.

    --
    Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
  22. Re:Hello by Anonymous Coward · · Score: 2, Informative

    I remember the opposite, switch from XFree86 to Xorg was welcomed by the users instantly, as XFree86 succumbed to the same disease as the original X Consortium that XFree86 was an alternative for.

  23. Re:FOSS overload by eu4ik · · Score: 2

    Had sex once. Got bored halfway through. Went back to my Linux box. Much more interesting than trying to find nontrivial words in a language with only two words, In and Out, and one form of punctuation.

    Oh come on now! That's enough for binary; you should be able to say anything!

  24. FreeDesktop.org? by emblemparade · · Score: 2

    But think of something like FreeDesktop.org: it's possible for project to work together on standards in order to guarantee that other layers in the stack would indeed treat the layer next to them as interchangable.

    So it's really less about technical difference than about a vibrant will and culture of cooperation. It's very unfortunate that there are sour grapes on various fronts: Canonical has gone about Mir quite poorly, and it's unclear at this state if there is a will for compatability on Wayland and Mir teams, although this may change in the future if both become popular and users demand it.

    Note that this refers not only to layers "above" but also layers "below". For example, it's not just enough that Wayland and Mir share a compatible API for servers like XMir/XWayland to run on top, but also that they allow for using the same video drivers. In this particular case, the layer below (drivers) is so problematic that it's the important one to focus on.

  25. Re:Finally some competition for Wayland by unixisc · · Score: 2

    Is there going to be an X12? Some of the main X11 devs are working on Wayland. Have any thought about doing an X12?

  26. Re:Hello by jalopezp · · Score: 2

    It still improves Windows immensely.

  27. Re:Hello by serviscope_minor · · Score: 2, Informative

    as X is horribly obsolete and slow.

    Oh for heaven's sake, not this again!

    [Citation needed]

    Oh and here's mine:

    http://www.teamliquid.net/forum/viewmessage.php?topic_id=357678

    So, if X is so horribly slow and "obsolete" how come it gets better frame rates than anything else?

    Seriously, for high performance stuff, Xorg (via DRM/DRI) basically allows a shared library to dump data straight at the graphics card without even the kernel; getting in the way for most of it. That is very efficient, and why X gets as good (and slightly better) frame rates than other "non obsolete" operating systems.

    And do not even try to claim that this is somehow a new thing. On and off since it's inception, X11 has been the top performing GUI system (SGI in the 90's and according to the benchmarks Xorg now).

    X11 deals with all the grotty stuff round the edge that isn't the domain of the graphics card very well, like wrangling windows and pointers, dealing with copy/paste and communication between clients, and also, of course, remoting. And it also knows when to get out of the way and let the efficient stuff be efficient.

    --
    SJW n. One who posts facts.
  28. Re:Hello by korgitser · · Score: 3, Informative

    millenium - a thousand anuses, from latin 'anus'
    millennium - a thousand years, from latin 'annus'

    --
    FCKGW 09F9 42
  29. Re:KDE by KugelKurt · · Score: 4, Informative

    He's talking BS.
    Martin Graesslin, the KWin maintainer, began to prepare KWin for Wayland before Mir was even announced. So he designed the transition path to support two and only two back ends. See https://plus.google.com/115606635748721265446/posts/136nV4uojKH for details (public post, no need for a G+ account).

    Graesslin also made it repeatedly clear that he won't support single-distro solutions. That means no support for MS Windows in KWin, OSX' Quartz, or Android's SurfaceFlinger. Somehow nobody ever had a problem with that decision. Only after Canonocal announced Mir Ubuntu fanboys began to whine.

    There are no technological benefits for Mir over Wayland. Canonical made false claims as outlined on http://www.phoronix.com/scan.php?page=news_item&px=MTMxODA but they've since redacted the statements. Wayland even works with Android drivers: http://mer-project.blogspot.fi/2013/04/wayland-utilizing-android-gpu-drivers.html

    The reasons for Mir are not technological, they are purely economical. Canonical wants to establish asymmetric licensing to have an economic advantage over the competition: http://mjg59.dreamwidth.org/25376.html
    Wayland OTOH is under MIT/X11 license for everybody. This means that not only can any Linux vendor grab it and to anything with it, incl. to make an Android version that uses Wayland: http://ppaalanen.blogspot.com/2012/09/wayland-on-android-upgrade-to-404-and.html
    Mir's licensing makes it forever impossible to become part of any major BSD variant. Wayland, however, is being ported to FreeBSD: http://www.phoronix.com/scan.php?page=news_item&px=MTMwMzE

    Wayland is being pushed by industry giants such as Intel and Red Hat, as well as smaller companies like Collabora (creators of many technologies commonly used on GNU-based Linux such as Telepathy, WebKit-GTK, etc.: https://www.collabora.com/projects/ ).
    Mir is just backed by Canonical who, while claiming to be the most popular Linux distributor, still makes no money: http://www.internetnews.com/blog/skerner/canonical-ubuntu-linux-is-still-not-profitable.html

  30. Re:KDE by KugelKurt · · Score: 2

    You've got quite a selective memory there, bud. The only parties that are hurling Molotov's are in the Wayland and KDE camps (mostly from the deranged kwin dev).

    The mere existence of Mir is "hurling Molotovs" at Wayland: http://www.phoronix.com/scan.php?page=news_item&px=MTMxODA
    To claim that anybody other than Canonical started that "war", is simply lying.

  31. Waay too easy. by thegarbz · · Score: 3, Informative

    Using Xorg.conf for xinerama config, while maybe not ideal for grandma, wasn't terrible, and you only did it once. But, for folks like you, there is now xrandr which you can setup via xorg.conf, use your WMs hooks into it to do it all gui-ish, or just run shell commands to setup your multi-monitor layout (since it would be trivial to write [hell you could do it in a short shell script], there is probably a daemon available that will auto add a monitor when plugged in and remove it when unplugged, but I am not familiar with it if it exists).

    Unfortunately xdmx only works with xinerama, and newer graphics cards only work with xrandr, so in a crappy transition period now for this. But, if you ever want to setup a video wall with 100 monitors acting as one unified display, xdmx is probably the only game in town.

    You had me at "Just right click and click output to and select multi-monitor". Phew that was easy.

    Except you didn't say that. What you propose is something that Linux was known for in the 90s, really shit complicated and borderline unusable multi-monitor support.

  32. Re:How long till RedHat poaches another Canonical by KugelKurt · · Score: 2

    Making significant headway with Mir, it probably won't be long till Red Hat hires this Canonical developer out from under them to put a kibosh on the project.

    Significant headway? This is just X11 and Mir side by side using XMir. Something like this is possible with Wayland since at least a year, maybe even since 2011. For proof of running X11 applications under Wayland via XWayland see the YouTube channel: https://www.youtube.com/user/waylandweston/videos

  33. Re:Hello by raxx7 · · Score: 3, Insightful

    Err, no.
    DRI get X out of the way a lot, but there still areas for improvement.

    Besides using DRI for rendering (or doing it client side), once done rendering a frame, the X client needs to notify the X server so it can notify the X window manager so it can do it's job and notify the X server again so the frame can actually finally show up on screen on the correct place.
    And while in theory an X server could do this very quickly and efficienty, the real X.org server is quite slow.

    Clients also need to talk to the X server over other things like object property manipulation.
    Once more, in theory an X server could handle this quickly and efficiently, the real X.org server is quite slow.

    (And full screen does help, as there's less of this going on).

    All in all, Wayland won't get you higher frame rates in Portal. But it will make your desktop smoother, with less CPU/GPU usage.

  34. Re:Hello by AvitarX · · Score: 2

    Wayland specifically isn't just about getting out of the way to speed up rendering, but to throw out old bad assumptions that cause ugliness in the brief time rendering does take to catch up.

    Resizing a window is bad in Windows XP and before, worse in X, and excellent in OS X, it's not the rendering speed, it's the ugliness as the rendering catches up (random flickers, fills with gray, or old textrures off the top of my head).

    --
    Wow, sent an e-mail as suggested when clicking on "use classic" banner, and got a fast response that addressed my msg