Slashdot Mirror


X.Org Server 1.15 Brings DRI3, Lacks XWayland Support

An anonymous reader writes "A belated holiday gift for Linux users is the X.Org Server 1.15 'Egg Nog' release. X.Org Server 1.15 presents new features including DRI3 — a big update to their rendering model — a rewrite of the GLX windowing system code, support for Mesa Mega Drivers, and many bug fixes plus polishing. The release, though, goes without any mainline support for XWayland to ease the adoption of the Wayland Display Server while maintaining legacy X11 application support."

22 of 340 comments (clear)

  1. Good! by adolf · · Score: 4, Funny

    Yet another good reason to disparage Wayland: Not even X supports it.

    1. Re:Good! by adolf · · Score: 5, Interesting

      No. I just like network-transparent applications. It was one of the main draws that I had toward Linux almost 20 years ago, and is why I still use it today.

      (My home Linux boxen are all headless, and they can stay that way for all I care. If I want to run something graphical, it's trivial with X.)

      (And no: VNC is more of a problem than it is a solution.)

    2. Re:Good! by jimshatt · · Score: 4, Insightful

      Why is this modded Troll? I also use X's network transparency on a daily basis, and I think it's a good point.

    3. Re: Good! by Anonymous Coward · · Score: 4, Insightful

      Wayland!

      The same group of Prople behind

      Gnome3
      Pulseaudio
      Systemd
      Journald
      Alienating Udev
      Alienating 95% of their Userbase

      If you all have so much problems with the ideology of Unix then why do you use a Unix based System. Why don't you move on and create your shabby world elsewhere ? Without causing more damage to ours ?

    4. Re:Good! by chris.alex.thomas · · Score: 4, Insightful

      my knowledge might go a little deeper than yours because I had an interest in computer graphics many years ago. Although I've not got a perfect understanding, I'm probably more right than wrong (or somebody here will tell me otherwise and we can both learn a thing or two).

      but ultimately, the way that people write high performance graphics stacks now favours compositing and graphics cards require to do a lot of direct accesses in order to make that happen as fast as possible, you have a region of memory and it's mapped to a location somewhere in the gpu memory and you just blast it with data, you can't have too many processes in the middle here, so thats why we need a DRM (direct rendering manager) to basically give x a direct path to the graphics hardware without having to go through the cpu or the kernel etc, as little as possible anyway.

      Anytime you have to context switch, you lose time, which hits performance hard, so everything is like cleared out the way and the software and hardware almost talk directly to each other, which doesn't really happen with any other software, writing files, accessing network, computing data, almost always goes through the cpu and the kernel and for graphics applications which render megabytes of data per second, this is just awful and dramatically kills the performance. The retina display on an ipad is 2560 x 1600, so at 24/32 bit colour, each complete frame is 11-15MB, imagine 60 of those? Easily 600 - 900 MB per second. All of that data is being transferred from the system to the gpu every second the display is on, so it's a huge amount of data. Of course, you can reduce this by using gpu memory buffers and "damages" to know which surfaces need to be re-rendered (i.e. rendered and transferred again cause the display information inside them changed)

      However, this kind of "direct, get out of my way, let me speak to the manager" way of thinking doesn't really fit with the linux way of doing things, everything is integrated, the x protocol isn't really to blame, but the only reason for people wanting to keep x alive is because of the protocol, it is basically a way to draw pixels, lines, primatives, AND their favourite, abstract everything across a network so software can be anywhere and X will solve how to display it. EXCEPT IT DOESNT SOLVE IT!! Even when you want to network x, you have to manually setup a bunch of configuration on both machines to get it to work, it doesn't work by magic, or autoconfiguration, cause nobody cares enough to do it, evidently, cause even now you have to manually do this, 20 years later.....what a bullshit system....

      Of course, then you get to the lower levels and a whole bunch of compromises come into effect, nobody agreed on even the most basic things, fonts, oh lets make a font server, which will never work properly because of all the compromises made for that and it'll only work in certain circumstances....

      It really is the most bullshit, fucking stupid system ever created and people seem to be so stubbornly ignorant and stupid they refuse to kill it, cause I dunno, it's really hard to understand, you see some of the hatred for wayland from these people are you are just so flabbergasted by it, you can't even start to reason, why would you keep x alive? it's almost like it's their child, they wouldn't care if it had three arms, ate other babies and urinated acid and used it as a weapon, they STILL wouldn't kill it....or even contain it...cause it's their baby....Thats the kind of logic you're going up against if you talk to these idiots...

      But it's such an ugly, nasty, knarly mess of bullshit and compromises that NO DESKTOP UI TOOLKIT USES IT, Qt, Gtk and Wx for example, pretty much just request a drawing rectangle and then do everything themselves, completely sidestepping x, but if you looked at the x protocol and especially a "unix haters" entry on the subject and know something about computers and/or programming, you'd understand why people want to kill it so badly.

      Take a look at this and then try eval

    5. Re: Good! by Anonymous Coward · · Score: 5, Insightful

      No, what you are doing is migrating one of Windows primary shortcomings into Linux.

    6. Re:Good! by adolf · · Score: 4, Informative

      Really? Lots of configuration?

      Last time I ran an X11 application remotely, I used SSH with X forwarding with a simple command line. Worked great. (Flawless, I might say.)

      Last time I ran a multi-headed X box (where multi-head == "two or more independent monitors+keyboards+mice, each with their own root window and window manager"), the configuration wasn't trivial, but it wasn't hard either. And once it was done, any X11 "server" could connect to this "client" and run any program over 100-mbps Ethernet. (Look, ma! A terminal server! Hot-desking! Remote access! THE CLOUD! Buzzword-bingo on the end of a 20-year-old carrot!)

      And it doesn't much matter when the "last time" was, since the methods haven't changed a bit over the past decade or two.

      These are things that other graphical systems cannot do. And they are the reasons why X, or perhaps X11, is still important.

      Those who do not understand X, are doomed to recreate it. Badly.

    7. Re:Good! by zixxt · · Score: 4, Informative

      No. I just like network-transparent applications. It was one of the main draws that I had toward Linux almost 20 years ago, and is why I still use it today.

      (My home Linux boxen are all headless, and they can stay that way for all I care. If I want to run something graphical, it's trivial with X.)

      (And no: VNC is more of a problem than it is a solution.)

      Modern X(org,server.. et.el) really is not network transparent unless you are just talking about TWM mixed in with a xclock or an xterm, most modern apps and even window managers that are built on top of modern gui toolkits and/or extensions are not compatible with the basic X library which makes X network transparent. Most of what makes X tick now and days will not scale over the average network and you will be left with a lame ass system if you try. As such if you want to use your modern desktop environment over a network prepared to and plan to pull your hair out because you are relying on such outdated tech norms.

      Wayland is the future and the way forwards fellow *inx junkies.

      --
      ---- GENERATION 26: The first time you see this, copy it into your sig on any forum and add 1 to the generation.
    8. Re: Good! by TheRaven64 · · Score: 5, Interesting

      I really don't understand the reason for pulseaudio in the first place, I heard that when wanting to change and modify their sound system in (was it?) freebsd? they just updated the audio driver, they didnt include some ridiculously slow, horrible to setup daemon to do it

      There's a lot of history involved. OSS was originally contributed to Linux under the GPL, then to *BSD under the BSDL. It was maintained in both, but then the original author took it commercial. FreeBSD just forked the last BSDL version and kept maintaining compatibility with new versions. Linux ripped it out and replaced it with the Advanced Linux Sound Architecture (ALSA).

      One of the drawbacks with early OSS was that you had a single /dev/dsp and so only one application could play sound at once. With ALSA, you still only had one /dev/dsp, but if your card did hardware mixing, and you rewrite your applications to use ALSA, then you could get mixing. Unfortunately, most things weren't rewritten to use ASLA and most cheap cards back then didn't do hardware mixing, so userspace sound daemons started appearing. Unfortunately, GNOME and KDE each had their own (incompatible) ones. Meanwhile, FreeBSD just implemented in-kernel sound mixing.

      Over 10 years ago, this was why I switched to FreeBSD. I wanted XMMS to play music and my KDE IM client and GNOME mail client to be able to make notification bings, and maybe have a game in the foreground playing sound. This was trivial with FreeBSD, impossible with Linux. Now, it's possible with Linux, but only by requiring every single audio-playing app (or, at least, library) to be rewritten with the Linux fad-of-the-day API. This underlines the philosophical difference between FreeBSD and Linux, and is why I remain a FreeBSD user.

      --
      I am TheRaven on Soylent News
    9. Re:Good! by thegarbz · · Score: 3, Insightful

      Running something over the network and being "network transparent" are two different things.

      In the case of transparency the application should can have no knowledge of whether it is rendered locally, or remotely. It just sends draw commands and those commands end up somewhere.

      Unfortunately most of the drawing commands in X do not work over the network basically meaning that X is no longer network transparent. For any which don't there's a compatibility layer where they are converted to bitmaps and sent over the network, which is not much different from the normal way a modern app renders on X, just bitmaps.

      The point is X is not network transparent, and using it on the network is essentially like using VNC except without any compression. You actually have the worst of all worlds while the users somehow still think things are like they were in the 90s. Ever since DRI and similar technologies X has not been the same, and there's no reason why the move to Wayland + RDP can't be far better than what we have now and what everyone appears to be championing as a "core" feature of X without realising it doesn't actually work like that.

  2. Its not obvious to me that XWayland and X should by Anonymous Coward · · Score: 3, Insightful

    Its not obvious to me that XWayland and X should be merged. XWayland is a compatibility layer for Wayland, and the only things in needs to support is the published interface. Changes to the rendering model may well be irrelevant, as XWayland would render through the Wayland display layer anyway.

  3. or, do the opposite by dltaylor · · Score: 5, Insightful

    If all of the competent people working on Wayland would stop wasting time on it and improve the X server, think how much better it might be.

    Wayland lacks absolutely necessary features (true "over the net" and root window access, for example) for a significant number of applications and users. Until it has those, even if only through X emulation, it is simply not ready for use by me, and a lot of people like me.

    1. Re:or, do the opposite by Jah-Wren+Ryel · · Score: 4, Insightful

      It's selfish of you to inflict your view of the world

      WTF?

      He's done nothing more than you have - post to slashdot. Get off your high horse.

      --
      When information is power, privacy is freedom.
    2. Re:or, do the opposite by serviscope_minor · · Score: 5, Insightful

      You are insignificant in the face of our needs.

      Back in the olden days of the Windows versus Linux flamewars--when it still mattered and OSX didn't exist, this was exactly the sort of arguments the Windows people used to make about Linux features.

      Then the attitude was hackish and anything you could do seemed reasonable/fun/cool because, why insult what another user wants to do? It's their system after all. That sort of attitude was why a lot of us came to Linux and OSS in the first place.

      It's sad to see that "begone you insignificant peon" is now infiltating the OSS culture. Please leave. Regardless of the merits of this particular fight, your attitude is total poison. Take it somewhere it can't do any damage.

      --
      SJW n. One who posts facts.
    3. Re:or, do the opposite by DarkOx · · Score: 4, Insightful

      Wow such stunning lack of vision. You and a bunch of other people latched on to this network transparency is to pricey a feature conception back in the late 90's and just can't let it go.

      Let me clue you in. In Computing everything that is old is new again. We move back and fourth between centralization and decentralization. The current direction of things is toward centralization again. Just listen to people who keep saying cloud, PC over IP, and visualization. Then consider all the tablet and not quite designed to be a standalone machine hardware/software stacks being sold.

      Windows got a leg up from being on the right spot of the curve at the right time. They built a comparatively simple localized talk directly to the hardware display solution during the decentralization trend. That served very well in the late 90's and early 2000's when everyone was focused on doing CAD and playing video games on their desktops. The hardware has gotten faster and the work around hacked into X.org have allowed it to mostly keep up though. Now the fact is the X.org model is broken too, modern toolkits are not using the drawing primatives and spend most of their time doing what amounts to pushing bitmaps around which does not offer really great network transparency. X.org needs a major rework; X11 was a solution for a slightly different set of problems than we have today, but just because it might not be the right specific solution now, does not be something else automatically is or that the fundamental concepts behind X are wrong.

      Network transparency is NOT a misfeature and its NOT a niche use case.

      Citrix and others are falling all over themselves right now trying to figure out how to export a rich application experiences from Microsoft's shitty non network transparent desktop and server platform backed by powerful hardware to Apple, and Microsoft's shitty tablet platforms. Xenprise is all about application network transparency; because people can't/don't want to try and deal with local storage and computation on their tablets.

      If you want the UNIX/Linux world to enjoy the sort of success Windows did in the 95-2005 years its about catering to the centralization, decentralization cycle and having a modern ( ie not X11, but maybe an X12) display solution that is hardware independent, portable, and network transparent absolutely is the thing to do. Plan for 2015 - 2025 rather than trying to implement the ideas and compromises of 1995. Wayland and Mir are backward looking.

      --
      Repeal the 17th Amendment TODAY! Also Please Read http://www.gnu.org/philosophy/right-to-read.html
  4. CAN WE STOP LINKING TO PHORONIX? by Anonymous Coward · · Score: 3, Insightful

    It is asking too much for a link to *official* sources? (Hint: http://lists.x.org/archives/xorg-announce/2013-December/002384.html)

  5. How well does XWayland work? by Anonymous Coward · · Score: 3, Interesting

    Having seen terrible X compatibility layers for Mac OS X and Windows, I have got to ask if I should expect XWayland to be better? Integration between applications talking the X protocol and applications talking a proprietary protocol has been ranging from terrible to nonexistent. Some implementations have taken the approach of creating a window inside which all X applications are rendered. This has potential for great compatibility among the X applications, but they are demoted to second class citizens, with no chance of integrating with anything happening outside that window. Others have been rendering X applications each in a separate window. But usually they still cannot see windows opened by applications talking the proprietary protocol, and thus cannot interact with them. Secondly that design has a tendency to treat windows opened by an X application I just started as if it was just one more window opened by another X application, which was already running. For example on Windows, that causes new windows to be opened behind existing windows instead of in front.

    The lack of X has been the main technical drawback Mac OS X has been having compared to Linux. I'd much rather see Mac OS X catch up with Linux than for Linux to go down to the level of Mac OS X.

    1. Re:How well does XWayland work? by Mr+Thinly+Sliced · · Score: 4, Insightful

      > Having seen terrible X compatibility layers for Mac OS X and Windows

      The OSX X (XQuartz) implementation _is_ xorg-server (currently 1.14.4) - you know, the one used on Linux (with certain OSX specific tweaks to allow non-root mode)

      The problems you mention with interoperability are largely down to the core windowing systems being vastly different models. We can argue about which model is correct but the interoperability problems are a side effect of different models - not evidence of a particular model being bad.

      I'm not convinced from your descriptions here you quite understand the complexity of the interactions.

      > The lack of X has been the main technical drawback Mac OS X has been
      > having compared to Linux.
      > I'd much rather see Mac OS X catch up with Linux than for Linux to go down
      > to the level of Mac OS X.

      OSX has vsync based updates, sensible event handling and lots of core library stuff (like the AVFramework) that makes it a pleasure to program compared to XWindows.

      The Linux desktop _needs_ to get off X. It's an outdated behemoth with a model that is way out of date. Now you could say "well let's update the model then".

      Sure, you can do that. And when you do that, you get Wayland.

  6. In a country far away and long ago.... by hlub · · Score: 5, Insightful

    In a country long ago and far away there lived the good King X the eleventh.

    He had a lot of ministers, the most important of which had become the minister of Composition. His job was to have peoples houses painted. If you wanted your house painted, you would have to ask the King. Every day the king would spend long hours with the minister of Composition, who would know all the houses in the country, had an exact knowledge of the Royal Paint Budget, and could call in the painters.

    Although almost everyone lived in the capital called Localhost the King would sometimes travel around the country and kindly hear peoples paint requests. Every night the King would return to his palace, talk to the minister of Composition, and then decide whether you could have your house painted, and when.

    Then on a dark winter's night, a group of grumpy people thought how much more efficient it would be if everyone would talk to the minister of Composition directly. Thus the Wayland Conspiracy was born. The next day, at daybreak, they deposed the good King and made the minister of Composition the head of state: president Compositor. To cater for the few people in remote villages they re-appointed the King as secratary to the president: the Secretary for Remote Villages. He would still travel around the country (albeit in a suit, and without his crown). He would still talk to president Compositor every night, like in the old days.

    The press in other counties, like Windonia and Applestan, were very positive: finally this backward country had a modern government. Now its poor inhabitants could have the same beautiful colored houses they had. Welcome to the modern world!

    The people in the country itself didn't notice a lot of difference, however. In the old days things took a little longer, but not everyone needs his house painted every day. Many still called the Secretary for Remote Villages "King", especially in the countryside.

    But the people in Windonia and Applestan were very satisfied: they always had felt that their geovernment was superior, and the Wayland revolution had proved their point.

    The King just smiled.

  7. Wow, the idiot is strong in this one. by Anonymous Coward · · Score: 5, Insightful

    When something running under Wine runs faster with that translation than it does under windows, you cannot claim that the windowing system in X is slower and degrading performance of Linux compared to Windows.

    It's taken as a matter of faith that this network transparency MUST be making it slow.

    Merely because it is "obvious" that if something is flexible, it MUST be slower!

  8. Daniel Stone core X.o dev on what's wrong with X by caseih · · Score: 5, Informative

    I believe he's still part of X.org anyway, but he's working exclusively on Wayland.

    For everyone that disparages Wayland without really understanding anything about Wayland, which seems to be most everyone, I highly recommend listening to this talk by a core X.org developer:

    http://www.youtube.com/watch?v=RIctzAQOe44

    TL;DR points:
    - X11 is no longer "network transparent" and hasn't been so in a long time, due to reliance on DRI, Xrender, Xvideo, etc.
    - X11 is already used in a manner that is similar to Wayland but with a very poor inter-process communication layer and synchronization issues, with most of X11's core bypassed (server-side fonts, drawing APIs, etc).
    - X11 when used remotely is already like VNC, but very poor at it. Lots of round-trips, etc, all to show bitmaps.

    In the end, there are a few things I need from Wayland, and I think they will be there in the end:
    - app-based network transparency, not just remote desktop
    - middle click paste. Maybe done with a virtual frame buffer and rdp to ship the final rendering across the wire.
    - customizable focus policy (focus follows mouse, click to raise)
    - user replaceable window/composite managers

    I suspect we'll lose a few features that very few people use such as using a remote window manager to manage windows on a local server. For example, running Xming on Windows, and then running metacity or even twm on my remote linux machine. A full remote desktop would probably be the way to go here with wayland. And faster.

  9. Re:Can we have a discussion - not a slagging match by raxx7 · · Score: 4, Informative

    No, this is Slashdot, you can't have a serious discussion.
    It's full of idiots who don't like shiny new things, idiots who adore shiny new things and both types of idiots love to shout at each other.

    Ok. Seriously.
    Wayland is a new architecture for the Linux graphics stack.
    It merges the role of the display server and the window manager/compositor into one piece, called the Wayland compositor.
    It is envisioned that writing a Wayland compositor is not more complicated than writing a X window manager/compositor.
    Buttet point: We will not have A Wayland compositor, but serveral of them to choose from: Weston, Enlightenment, Mutter/Gnome Shell, KWin.
    This is made possible because a) Linux now has a proper graphic driver stack and b) the Wayland protocol is much simpler.

    The new model and the simplified protocol will allow
    A) better control of the input (keyboard, mice). Currently, the X window manager/compositor do not have absolute control about the input. Besides posing some security risks, it makes it hard to implement some behaviors sanely. Things as simple as being able to mute the sound when you have a full screen application running are hard to do.
    Wayland compositors, of course, get all the input and then they forward them to applications as they see fit.

    B) better performance (except OpenGL full screen applications which already mostly bypass X). This will come from a number of place.
    - Reduced number of rountrips (W app/W compositor/kernel instead of X app/X server/X compositor/X compositor/kernel).
    - Better implementation (the X.org server isn't the fastest cookie in the world, but the protocol is so complex it's hard to do better)
    - On embedded platforms (phones, tablets, Raspberri Pi) the compositor can be written to exploit hardware compositing capabilites (there's no good way to expose it though the X server).

    Additionally, the Wayland protocol fixes several issues, some of which could be fixed with more extensions, some need breaking.
    - Artifacts/tearing. X doesn't specify when the data sent by applications is drawn on the screen, so sometimes you get artifacts as the server or compositor draw the contents of a window in the middle of an application drawing. Wayland fixes this by making every frame perfect.
    - Saner input model. The currently used X input extensions are too complicated (by the authors own admission), as they need to maintain backward compatibility with the X Core input model.
    - Saner dynamic reconfiguration (resolution, orientation). Again, by authors admission, XRandR is too complicated.
    - Binding versioning. Currently, if you have an application built upon components who support different versions of an extension (ie, input), it's a russian roulette on how it will pan out.

    Bullet point: despite all the drama going on on Slashdot and other sites, the simple truth is that the majority, if not all, of the developers who actually put in time and effort to maintain and upgrade the X.org server, the X window managers we use, the application toolkits, etc seem convinced Wayland is the way forward and are putting in the time and effort needed to make it happen.

    Wayland is not network transparent. And despite the drama, that's OK. Nobody cares about network transparency.
    People (including me) do care about having rootless remote applications. We care to have something that works at least as well as "ssh -X".
    For the short/medium term, Wayland desktops will run a X compatibility server (XWayland) and most Wayland capable applications will have a X fallback mode. So "ssh -X" will just keep working.
    For a longer term solution, when we get Wayland only applications, we'll need to implement something like NX or Xpra for Wayland. Which is OK too, because for many of us, it's better than running X over the network.
    Despite the capabilities of the X protocol, most X applications are in fact too bandwidth intensive and latency sensitive to run remotely outside LANs. And their developers can't be arsed to do it otherwise. That's why we use things like NX and Xpra in the first place.