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

55 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 kthreadd · · Score: 2

      It could also be argued that you should jump to Wayland because X does not support it.

    2. Re:Good! by adolf · · Score: 2

      No. *I* don't support Wayland.

      That X also does not support Wayland is just win-win.

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

    4. Re:Good! by reikae · · Score: 2

      As much as I'd like to see GNU/Linux succeed on the desktop, my experience has been similar. How much of it is X's fault though, that I don't know. My guess is not much actually, but I'm curious if anyone knows better.

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

    6. Re:Good! by TechyImmigrant · · Score: 2, Interesting

      Some of us grew up on Sun BSD you insensitive clod.
      sysv init scripts are a new fangled mess.

      --
      I should use this sig to advertise my book ISBN-13 : 978-1501515132.
    7. 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 ?

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

    9. Re:Good! by chris.alex.thomas · · Score: 2

      yeah, I agree, I'm pretty sure somebody is working out how to make wayland network transparent, somebody must be, the writing is on the wall and somebody somewhere is thinking:

      "dammit! in a year, my xclock will stop working, I have to make wayland network transparent!!"

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

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

    11. Re:Good! by chris.alex.thomas · · Score: 2

      as interesting as it is, it's not really the point.

      the point is, in the 21st century, we don't need to deal with this anymore, we can do better, so lets do that, it might not have 100% of the features the old system has, but it might be possible over time to implement those features in a more sane way, with better knowledge and tools that what they had in the 80's when they built this system.

      that x is so old, badly designed and hacky that it actually curtails people from using it, preferring to hide away in the toolkits and never touch x directly, just means that x is in fact irrelevant and for most people, they won't even know x is gone, cause the toolkits will just make them unaware of that.

      so, lets support them cleaning the house, we'll be left with a better architecture, better performance (even more than in your graphs) cause surely deleting a bunch of this crap and making a cleaner, better structure will result in memory and performance improvements.

      thats the point, not that compared to windows, we're doing ok, it's about being compared to ourself, it's a shit job, lets try again

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

    13. 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.
    14. Re:Good! by adolf · · Score: 2

      X is dead?

      *looks around*

      Gosh, it sure doesn't look like it.

      [citation needed]

    15. Re:Good! by denmarkw00t · · Score: 2

      Baahhh. I liked it up until

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

      That's weird, because I have ElementaryOS running on my server at home, and from my workplace Mac or my home-use Ubuntu ThinkPad, I can:

      ssh -X -C [host] -l [user]

      and I'm good to go. Start firing up xterm, pgadmin, chrome, or anything else on the server just fine, even from work. Sure, chrome gets sluggish over that distance, but it's not really something I'd use often. Other programs though run perfectly fine and are useable considering it's a home-based cable hookup running whoknowswhere out to my office.

    16. 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
    17. Re:Good! by cyber-vandal · · Score: 2

      I had Windows XP on my netbook and it was sluggish and shit and took an eternity to boot up. (K|L|X)ubuntu all perform far better on the same hardware.

    18. Re:Good! by peppepz · · Score: 2

      X powers every single Linux-based desktop in use today. It was fast and lean enough to run on Nokia's smartphones. How exactly isn't X working?

    19. Re: Good! by fast+turtle · · Score: 2

      As a Gentoo user, I call BS because I use Alsa and foget Pulse/Jack/Flavor of the Month as it does audio mixing and has for over 5 years (hell I was using Alsa and mixing inputs in 2003. Sylpheed could play its notification sound while I had music playing in the background while working on an Open Office doc in fluxbox. Didn't have to many problems once it was setup.

      As someone else stated, the god damn cavemen have taken over and created all sorts of shite that isn't compatible. Simply put, smack em down hard, throw away their crap and take whats good and include it in Alsa instead of reinventing the fucking wheel! Make alsa do what you want instead of insisting they're idiots but no, it's the same fucking "Lone Wolf" syndrome that seems to infect developers and companies - Not Invented Here. Shoot them and put them out of our misery right now and start over.

      --
      Mod me up/Mod me down: I wont frown as I've no crown
    20. Re: Good! by Lisias · · Score: 2

      considering wayland hasn't even been completed yet, I would say you're comparing them prematurely, with the clean design, it'll be far easier to extend and improve the system whereas now, only a certain number of greybeards can do it without any reprocussions.

      If Wayland is not finished yet, and then we can't make educated guesses about it viability, how in hell we should decide to adopt or to dump it?

      This is supposed to be a engineering field. Faith is another department, I'm right?

      I need metrics. I need measurements. I need benchmarks.

      The (few) ones I'm geeting tells me that X.org is not he best thing over the Earth, but does its job, does it faster than GDI/Quartz, and even does more than GDI/Quartz. Why should I migrate to Wayland?

      --
      Lisias@Earth.SolarSystem.OrionArm.MilkyWay.Local.Virgo.Universe.org
    21. Re:Good! by Lennie · · Score: 2

      To be honest I don't really believe in Phoronix benchmarks all that much ;-)

      --
      New things are always on the horizon
    22. Re: Good! by fast+turtle · · Score: 2

      As a business owner using PXE to boot our smart clients (no local storage), I say "Fuck Network Transparency" it's not a consideration. What I need is a Windowing system that's 30-50 percent smaller then what X offers today due to local bandwidth needs.

      We switched to the PXE setup in order for single sign-on and regulatory reasons. It simplifies things having everything within our control (no local storage means only have to backup a single system - storage server). It also means less employee downtime when a computer dies for any reason. Simply move/swap in a replacement and they've only lost a few minutes of work. Yes it was a PITA getting shit setup but now that it works, we're damn happy though as stated, give us something that's 30-50 percent smaller and faster and we'd be even happier since we would then be able to add employees instead of spending on LAN upgrades to support it.

      --
      Mod me up/Mod me down: I wont frown as I've no crown
    23. Re:Good! by Anonymous Coward · · Score: 2, Informative

      How to use remote X over ssh:

      1. Do not configure the X server to refuse to forward X11 connections (i.e. it will work unless you broke it yourself).
      2. Have the "xauth" command installed on both sides (it is by default, but you might be someone who broke it yourself...)
      3. ssh -X user@target "libreoffce" (for example).

      Done. And it will just work.

    24. Re: Good! by Rutulian · · Score: 2

      That's almost, but not entirely, true. ALSA had kernel-level software mixing (dmix) that any application written to use ALSA could benefit from. As long as I used 100% ALSA applications, it worked fine. The problem was, as you say, not all applications would support ALSA. They would use OSS and rely on the bridge device between /dev/dsp and the /dev/alsa devices as a compatibility layer. The mixing would still work if you were using 1 OSS application and 10 ALSA applications, but not if you were using 2 OSS applications. The solution was a higher level sound-mixing daemon that could abstract the hardware layer away from the applications. Again, the problems as you state were incompatible daemons between KDE and GNOME, until finally PulseAudio comes along which does two things. It abstracts the hardware much further (ex: it supports network sounds devices), and it hooks into everything (OSS, ALSA, ESD, artsD, Phonon), so any application written to use any sound subsystem will go through PulseAudio first. I'm not sure PulseAudio is the best solution, it has issues with latency and so forth. But getting all disparate software projects to agree on a single sound subsystem is harder, so it was never done. I believe there were a few attempts to get either ESD or artsD into a Freedesktop spec, but that never went anywhere.

    25. Re: Good! by lister+king+of+smeg · · Score: 2

      Really I was playing portal and team fortress 2 yesterday on a linux laptop yesterday and watching netflix just fine with x. Android not using x is because they are using an entirely different stack than desktop Linux not just the display server the tool chain is different the utilities are different the only thing the same is the kernel and that has been tweaked. Hell most android apps arn't even interfacing with the unixy bit underneath just the java based vm. Androids success has nothing to do with not having x. It has to do with being pushed by the largest internet company on the planet, being open, using the most popular language, and giving an alternative to IOS. its not about lack of x that happens to just be a side issue.

      --
      ---Saying gnome 3 is better than windows 8 not so much a compliment as it is damning with light praise.
    26. Re:Good! by thegarbz · · Score: 2

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

      No you don't. You use X's ability to send bitmaps to a remote display. X hasn't been network transparent for a LONG time. The way an application is rendered locally compared to remotely is fundamentally different. There's no transparency at all anymore because the protocols used for network transparency don't work with any modern hardware acceleration. X hasn't been network transparent since DRI started getting wide spread use.

      In your case you're not actually interested in network transparency at all. You're interested in the ability to run an app on a remote display. In which case you should really be looking forward to Wayland + RDP which will give you a great boost in speed and responsiveness and yet still work exactly the same.

    27. Re: Good! by forkazoo · · Score: 2

      instead, they ran rampant and now we have a bullshit system which even on my system, sometimes fails...chrome doesnt play audio, firefox does...no idea why...although getting my HDMI tv to play sound on fedora was interesting, the eventual solution was I had to edit a file in /usr/share and add a :0 to the end of one of the parameters...I have no idea why....in linux mint it was fixed and I never had to do it...but weird shit like this seems to happen all the time...

      Despite my best efforts, with Chrome on Ubuntu, Some YouTube videos will play out of one sound card, and some videos will play out of another. I think it's Flash vs. HTML5 being used for different videos. Seriously, it's the most bewildering user experience to have to randomly switch between my USB headphones and my analog headphones. Getting bluetooth audio working reliably is just a lost cause. Skype used to work. I apparently broke it in the course of trying to fix other things. 10 years professional experience as a UNIX admin, and I can't figure out how to make Youtube work without wearing two different headphones. It's sort of fucked.

    28. Re:Good! by auzy · · Score: 2

      Interestingly, Daniel Stone touches on Network Transparency in his presentation on: www.youtube.com/watch?v=RIctzAQOe44

      Basically though:
      * Network transparency is pretty sketchy these days anyway because of DRI2/SHM
      * Network communication on X11 actually has a lot of bottlenecks which causes it to perform very poorly.
      * VNC will perform significantly better in Wayland than X11 (due to a different design). I agree that VNC on X11 is a disaster, however, there are fast VNC like protocols on other platforms that do perform well..

      Also nobody is saying dump X11 entirely (distros can still use X11), however, there are so many silly bottlenecks in Wayland (Chrome wasted 0.5 secs on startup for him doing redundant stuff such as filling the window with grey). Daniel's argument is VERY persuasive, and the argument promoting X11 seems to be based on what people THINK is the case, not what is ACTUALLY the case.

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

    30. Re:Good! by jbolden · · Score: 2

      I don't know why there isn't more progress. I wouldn't read too much into it. They have good people. X has been a mess since the break from the old XFree86. I don't have a clue how to count who is active and how active they are. For example Sam Spilsbury (inventor of Compiz) has been active on Wayland for the last 6 months. So they have a fair impression.

      If I had to guess I don't get the impression that the Wayland devs care much about getting a version out that runs for non-developers right now. They are breaking APIs left and right even for basic toolkits while adding advanced features. It is an open source project so they don't have to ship. They want Wayland to be awesome, they don't really care if Wayland is now or not.

  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. Re:stop developing x and support wayland instead by Anonymous Coward · · Score: 2, Insightful

    X11 is not dead. As you point out, the "next-game challengers" have yet to prove themselves viable. If you want to be relevant today you support the technology that actually exists.

  4. 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. Re:or, do the opposite by fnj · · Score: 2

      And he could argue that you are selfishly trying to make everyone take a step over a precipice; a step that is absolutely not necessary. Perhaps if you could explain why Wayland finds it necessary to discard features users have found so helpful, then we could think about evaluating the rest of the issue.

    5. Re:or, do the opposite by ThePhilips · · Score: 2

      You and your friends are a tiny fraction of the overall number of X users. You are insignificant in the face of our needs.

      Not true.

      The not "tiny fraction of the overall" desktop users are migrating in droves to tablets/etc.

      Last time I checked neither Android, iOS nor Windows 8 employ X or Wayland.

      That is kind of the problem with the change Wayland brings: the people who need it most in two 2-5 years time would be 90% on tablets.

      The only notable exception is the SteamOS and gaming. But it, if it lives on, would be guaranteed to be a fork, living in its own universe. And that's the only place where I see any kind of potential for Wayland.

      And that leaves us with the same set of people who started with *NIX 40 years, Linux 20 years ago: engineers. Engineers do not need Wayland. Engineers need a tool and they need the most flexible most configurable tool possible. Not shiny animated buttons or wobbly windows.

      --
      All hope abandon ye who enter here.
  5. 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)

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

    2. Re:How well does XWayland work? by Anonymous Coward · · Score: 2, Insightful

      it's because they've realised your solution was bullshit and everybody is moving to the more standard, generally accepted one.

      Name one standard graphics system used by more than one operating system. I only know of one, and that is X11. Everything else is people saying I don't like this particular detail about X11. Then they go and invent their own system. That way you end up with something, which is not only incompatible with everything else, it is also inferior to X11 in at least one area. Of course that reduces the chances that somebody else will pick up your new "standard", but making those competitors to X11 proprietary of course also helps ensure it will never become the new standard.

      If you want cross OS compatibility and network transparency, X11 is still the only game in town. If you want to beat X11, it is not enough to be better than X11 in places where X11 isn't the best system around, you also have to be at least as good as X11 in areas where X11 does the best. I have seen Xorg work much better than the first X11 systems I worked with, so it definitely is possible to improve the system and remain backward compatible.

      I don't know if Wayland will be backward compatible with X11, since I haven't tried it yet. But I can tell you this much, that it has to be, if they want me as a user.

    3. Re:How well does XWayland work? by Mr+Thinly+Sliced · · Score: 2

      > You know none of that stuff is in wayland either?

      Yep, I was replying to GPs assertion that OSX has to catch up to X11.

      > Also what's wrong with X event handling? You can select() on the events just like any others.

      Have you ever written a real X protocol application or used one? Xedit, for example. The code is a mess of anachronisms (events targeted to sub-windows - if you are using them - modern toolkits don't now, excessively verbose error handling due to the historical cruft in the protocol etc) that haven't been brought into the 20th century due to the backwards compatibility needed.

      Now you can say "yes, but these days everyone uses toolkit ##" - and you'd be correct, and you'd be using the toolkits abstraction on top of the X protocol and events. It gets messier when you want to add a sub-window with a GL or YUV surface. Now you're dealing with X, Toolkit ##, XGL and GL.

      > Also, I've touched on OSX video handling. This is not a high point of OSX. Decoding a video and getting at the pixels is far, far better under ffmpeg than OSX.

      Back when I moved onto OSX it took me about three days to get a custom screen + audio capture program up and running (with live preview) - something I was unable to getting working under X/ffmpeg and ALSA/pulseaudio without frame drops and synchronisation problems after many days of going grey. Feel free to blame it on my programming skill - but I found Apple's documented examples far easier to use as a base. Even using the ffmpeg binary alone with X11 capture and alsa/jack had frame drops and stalls in capture.

      Perhaps this is a case of "better the library you know"? For me the OSX video handling is great and simple to use. Were you using the Objective-C bindings or talking C?

  7. "slowest" - not by tota · · Score: 2

    It's good enough for valve to base its console on (and not wayland), it's also good enough for me (FWIW) in that it works and at this point wayland does not as it is nowhere near feature parity with X11.
    And when comparing X11 vs wayland for a simple desktop: wayland loses every single benchmark.

    --
    TODO: 753) write sig.
    1. Re:"slowest" - not by serviscope_minor · · Score: 2

      And when comparing X11 vs wayland for a simple desktop: wayland loses every single benchmark.

      but don't you understand? It's legacy, man, LEGACY!!! And back in 1987 it made my sun 3/60 go slow and I do not forget and I do not forgive. Besides, I can't spare the 20 MHz now any more than I could then.

      --
      SJW n. One who posts facts.
  8. Re:Reply to Comment by chris.alex.thomas · · Score: 2

    then you're using slow equipment, or you're eyes are broken in some way

  9. Now is the time for more than the status quo by Your+Average+Joe · · Score: 2

    When Citrix came out with ICA that should have been an indication where remote display tech should be headed, then we have Microsoft doing RDP and now the king pin is VMware with PCoIP. What we need is a way to remote a whole computer and not just the graphics. Why?

    ALL USERS want the following:
    1) Remote sound
    2) Remote USB
    3) Video Acceleration between a client and server

    Why so that simple web pages with Flash content do not suck. And so that all this crappy USB stuff that end users have purchased can work on a remote session.

    --
    Your Average Joe
  10. 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.

    1. Re:In a country far away and long ago.... by Mr+Thinly+Sliced · · Score: 2

      Friends, Country Men (and Women)!

      This propaganda is exactly that which the Royalists would have you believe - without telling the complete story of waste and unsightliness they would foist upon us once again should we believe their lies!

      Our royalist friend has failed to mention that under the Kings rule, some houses would remain half painted for a full day! It was due to the King having only limited time with which to grant delegation powers to the Minister of Composition who was powerless to get painting done without the Kings intervention.

      Perhaps our royalist friend would also like to explain the excessive bureaucracy surrounding simple requests like even paint colors? Every simple request had to pass the Kings desk.

      I for one would also like an explanation for the massive expense of maintaining a whole legion of Royally Approved color choosers that could only choose baroque antique color schemes that nobody wanted or commissioned.

      No my Friends, the Royalists have but one agenda - to return us to the times of half painted houses and top heavy bureaucracy that punctuated our time as a Monarchy.

  11. 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!

  12. Re:America will not roll over by _Shad0w_ · · Score: 2

    Yeah and even we don't use it any more. Well, not all of it anyway.

    --

    Yeah, I had a sig once; I got bored of it.

  13. Re:Reply to Comment by fnj · · Score: 2

    With respect, I believe you utterly miss the point. GP is right. While the desktop is animating uselessly, it is not doing anything useful. That is the definition of sluggish.

    It has nothing whatever to do with "slow equipment". It has to do with waiting, however briefly, for bullshit eye candy with no purpose whatsoever. There is a class of users who perceive the time delay from clicking "open", until the window is fully opened and responsive, and who find anything that increases this delay a step backward.

    We do realize that with the absurd oversupply of CPU and GPU power in recent desktops and laptops, this delay is completely a deliberate visual artifact, and that it does not mean the available power is being taxed. But while the time of the GMA 950 and processors of 1/10 or less the power found now is past, the principle is still valid. It should not require a vast profusion of transistors using 10 times as much power as should be necessary, just to draw a desktop.

    As long as every last vestige of these "desktop effects" can be turned off in a straightforward manner, I have no objection to the Mars Bars being there for such people as want to subsist on them.

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

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