Slashdot Mirror


Wayland 1.5 Released

An anonymous reader writes "Wayland 1.5 has been released, along with Weston Compositor 1.5. Wayland/Weston 1.5 carry many new user features, with a new libinput back-end, XWayland support, a full-screen shell, and many other changes. This release is particularly important as Fedora 21 will run on GNOME Wayland and X.Org Server 1.16 will be released this summer with integrated XWayland support."

16 of 179 comments (clear)

  1. Re:Will it really go the pulseaudio way? by Microlith · · Score: 5, Informative

    Wayland is critically important, which is why (unlike Pulseaudio) it hasn't already been rolled out yet. Qt has integrated it, Gnome has, KDE is porting KWin to implement it. There have been fairly few technical criticisms, the only one I've seen made with any muster has been network transparency - but even that could be solved rather easily given the way Wayland works with framebuffers.

    On the flip side, Xorg has you dragging around unused cruft and the way it interfaces with the kernel forces some possible security holes be left open, holes that Wayland will fix.

  2. Re:Wayland is nothing until by blackpaw · · Score: 4, Insightful

    Oddly enough X gets along fine with crap remote display support.

  3. Re:Will it really go the pulseaudio way? by Microlith · · Score: 5, Insightful

    It's highly likely that Wayland's remote display will beat X. Virtually none of the features (remote drawing) that X provided over the network are used today (line/polygon drawing) and tool kits like Qt/GTK+ have you shipping framebuffers across the network, something built around manipulating frame buffers should be able to stream them over the network, individually, to a compositor on your system.

  4. Re:Wayland is nothing until by martas · · Score: 3, Insightful

    You're right. That's why nobody uses Windows or OSX.

  5. Re:Wayland is nothing until by UltraZelda64 · · Score: 4, Insightful

    Have fun watching YouTube in Lynx.

    I personally make a distinction between "using" and "administering" a machine, and as a user, I tend to run X11 (these days often with a tiling window manager). When I want to perform some administrative tasks, I'll often just run a terminal emulator within that environment. Face it, while great for many things, the command line--especially in its raw, no-X11 form, is pretty limited in many areas from the point of view of a typical user.

    Don't get me wrong though; I'll often use wget instead of Firefox to download files, do basic file system operations in a terminal, even play an occasional podcast in mplayer. But really, it is not optimal to use the CLI 100% for everyday use for semi-normal people.

  6. Re:Will it really go the pulseaudio way? by Tailhook · · Score: 5, Informative

    RDP protocol support was merged into Wayland over a year ago. Wayland's original developer prototyped a remote display implementation almost two years go, before 1.0 was released. This is in addition to XWayland already providing an X server to host legacy X apps.

    Wayland will have good remote display. The peanut gallery rant-fests around here not withstanding.

    Anyhow. Now you know. If I'm wrong get a refund.

    --
    Maw! Fire up the karma burner!
  7. Re:Will it really go the pulseaudio way? by dbc · · Score: 4, Insightful

    First, why are you using a GUI in such a situation?

    Robots don't have displays. It's really difficult to get your work done if your monitor keeps skittering away across the lab. Visualization tools for various pieces of robot state are much better than text dumps -- not surprisingly. Display across the WiFi network is a requirement. Also, all the generic basic tools need to run in a headless environment.

    But robots aren't the only embedded environment where Linux is popular. Again, with those it is nice to be able to display to a large monitor for development work, even though the device might have a small display of it's own.

    Second, X11 is not going away immediately, and no one expects it to. Qt and GTK+ will remain compatible with X11 for some time to come precisely because of this. And you'll still be able to access those remote X applications via XWayland.

    And that is what we will no doubt do when the time comes.

  8. Re:I hate FPs like this. by wonkey_monkey · · Score: 4, Insightful

    Slashdot is not "news for the Linux world," and even if it was, not everyone in "Linux world" is so deeply involved as to keep up to date on every developing piece of software.

    All a summary writer has to do is drop in a brief, casual couple of words about what (roughly) it is, and those who need informing are slightly better informed, while those who are already informed don't notice and aren't offended.

    Ever notice how the BBC will often refer to "US President Barack Obama," or drop in a reference to the team a famous footballer player plays for, even though one would think those would both be widely known facts among the readership of such articles? Chances are, you didn't notice and didn't care.

    --
    systemd is Roko's Basilisk.
  9. Re:Will it really go the pulseaudio way? by DrXym · · Score: 5, Informative

    There is already a reference RDP implementation in Weston. So to answer your question, it's happened already.

  10. Re:Will it really go the pulseaudio way? by DrXym · · Score: 3, Informative
    Wayland is the protocol that clients talk with the compositor, not the compositor itself. The reference compositor Weston already implements an RDP server and does so in a remarkably small amount of source code.

    As for it's performance, it will be no worse than X (or Xvnc) on modern apps because as everyone has stated, most modern apps are pushing pixmaps around anyway. If anything performance has the potential to be better because the remoting protocol can be asynchronous (unlike X) and the server doesn't have a handful of X and extensions processes with all their context switches to worry about.

  11. Re:Will it really go the pulseaudio way? by thegarbz · · Score: 4, Insightful

    No one is asking for feature refunds. They are simply bitching about users who demand every piece of software be 100% feature complete the moment it's first alpha team is announced and then continue to spew crap about it long through the development process.

    Yes Firefox has abandoned geeks in favour of more simple users, well guess what there are many other packages out there that de-crappify the interface. Funnily enough that is EXACTLY the stance Wayland developers have taken from the very start. Design a flexible light weight modern protocol that does away with X's cruft and offloads stuff to the client. The users demand remote. Well if it matters that much to that many then the compositor can be written to support that. That is the flexibility that is missing from X.

    The attitude was fine early on, but seeing every other bloody post on slashdot spewing the same crap, even after the Wayland team have announced remote desktop is possible, and even after the Wayland team have demonstrated code that does that, what do you think the answer is going to be?

  12. Re:Will it really go the pulseaudio way? by Beck_Neard · · Score: 3, Interesting

    I've built a few open source projects and been heavily criticized for my design choices but you know what? I agree with this. A lot of developers are too stubborn to make changes and it drives people away then they wonder why no one is using their project anymore.

    But the flipside is true too. A lot of the time 'flaws' are actually sober and sane design choices which you have to get into the internals of the system to understand. People often don't get this and then bitch and moan about why something hasn't been done the way they like.

    The Wayland devs seem pretty sober and sane so far, and I think they've made a lot of nice design choices. The problem of displaying graphics on a PC is an inherently ugly problem (and X is an ugly piece of software which visibly reflects that). If they can make it just a little bit better, it will be worth the wait, in my opinion.

    --
    A fool and his hard drive are soon parted.
  13. Re:Will it really go the pulseaudio way? by paulatz · · Score: 3, Insightful

    I've had to remote Firefox too,

    You're doing it wrong! Just set up an ssh tunnel and tell firefox to use it as sock proxy. This works seamlessly

    --
    this post contain no useful information, no need to mod it down
  14. Re:Clipboards? by serviscope_minor · · Score: 5, Informative

    Clipboard? It's a framebuffer with a compositor on top. Clipboards are a client problem (as are many other things).

    Well, no, it's not. It's also a keyboard and mouse input system.

    It also deals with copy and paste and drag and drop:

    http://lwn.net/Articles/491509...

    Because it's a windowing system and it turns out that just a compositor alone isn't enough (who knew, eh?). It's also interesting. Apparently Wayland implements passing of data by just passing a file descriptor, apparently instead of reimplementing 10 pages of ICCCM grot. The thing about the 10 pages of ICCCM grot is it's really REALLY well specified and a random person from the internet can come along, read the ICCCM, grok it (yes, I have actually implemented copy/paste and XDnD from the specs) and get it working. It's not that hard.

    The wayland one seems poorly specified by comparison. For example they don't specify teeny-tiny details liekl whether the FD must be seekable, for example. So, do you have to write a local file, or can you pass a socket? Who knows! It's really easy to have a short, simple spec when it's full of ambiguity and people haven't had 26 years to beat it into a definitive, unambiguous state. Anyway, I digress.

    Now do you get why the "X sux" stuff from Wayland fanboys is annoying?

    Yes, but it's more annoying when it comes from the Wayland author FUDmonsters who understand X11 and yet still make silly claims about it. For example, from the link above, Packard claims:

    X was created before there was MIME or Unicode, so there are many pages expended in the X specifications to do things that are more easily handled with MIME types and UTF-8 these days. For cut-and-paste and drag-and-drop, Wayland uses MIME-labeled UTF-8 encoded objects.

    Well, that sounds all like OMG X sucks we need MIME and UTF-8. Well the thing is, in order to list types from a copy/paste transfer, applications exchange a string (i.e. atom) with the type name(s) available. And guess what? Almost everything these days except for plain text is exchanged using MIME types. If the MIME-type specifies UTF-8, then the data will be in UTF-8 format. So basically, X names types with a string, just like MIME, and MIME works *perfectly* without modifying or respecifying anything.

    You can verify this easily: download and install a copy/paste debugger/sniffer and look at the list of types available that programs offer.

    The ICCCM also specifies a few (non-MIME) types that you might like to support, such as TEXT, which maps perfectly on to text/plain and is all of 1/2 a line to implement (if(typeAtom == TEXT || typeAtom == textPlainAtom)...). And X11 sends arbitrary data (including NULs) because it represents data as data+length not a string, so you can exchange anything, such as UTF8.

    Anyway, KP implies that that doesn't work with X11 copy and paste, whereas in truth it works perfectly and without any faff or hacking.

    Wayland is designed to be something different to X with different goals.

    Not so much. It's designed to replace X wholesale. It does windowing, compositing, input, copy/paste/DnD, and a bit opf inter client communication.

    Those of us that "want to run software from 1996" are made fun of in Wayland presentations,

    Yeah us with our legacy programs. From stroustrup:

    "Legacy code" often differs from its suggested alternative by actually working and scaling.

    Meanwhile, I shall keep using legacy programs productively. XTerm works amazingly well, still. gvim works great---though I find I sometimes have to compile it with GTK disabled and with XAW (seriously WTF??) support because GTK can't seem to get its shit in order with fonts and everytime ubuntu updates itself/reboots, the font size changes. Xfig is old but works really well within its domain for producing simple, effective figures.

    etc etc blah blah.

    I also use some more modern programs too. And they all w

    --
    SJW n. One who posts facts.
  15. Re:Will it really go the pulseaudio way? by TheRaven64 · · Score: 3, Informative

    Multi-second lag on X sounds like misuse of the protocol. Unfortunately, this is largely the fault of Xlib. The X11 protocol was carefully designed to be asynchronous, but then they wrapped the whole thin in a synchronous C API. This means that you end up sending a small amount of data to the server then blocking while you wait for the reply. Used correctly, you'd send all of the display updates sequentially, get the updates as the arrive, and later handle any errors that appear. Similarly, input events would be handled as they arrived, rather than synchronising everything. Unfortunately, although XCB fixes this, most toolkits are designed around the synchronous model so they don't really take advantage of it.

    --
    I am TheRaven on Soylent News
  16. No GTK2 by Blaskowicz · · Score: 3, Interesting

    That's nice but what you describe is for GTK3, and not GTK2. Seems like the latter is still used a lot, and frankly GTK3 has gone rogue, deleting features, adding ones only Gnome developers will use etc.
    Developers of applications run away from it and migrations from GTK2 to GTK3 seldom made (though there are dual mode GTK2/GTK3 applications where you can select the UI).

    Recently with GTK 3.10 they removed icons in menus and the highlighting of letters to help you with keyboard navigation (e.g. Alt-F opens File menu). It's the Slashdot Beta of the toolkit world.