


Wayland 1.2.0 Released With Weston 122
An anonymous reader writes "Wayland 1.2 & Weston 1.2 have been released. Features of this quarterly update to the X.Org/Mir display competitor is support for color management, a new input method framework, a Raspberry Pi renderer/back-end, HiDPI output scaling, multi-seat improvements, and various other changes for this next-generation Linux desktop display protocol and compositor."
Looks good! (Score:5, Interesting)
Wayland & Weston are coming along pretty well and we are seeing increased adoption in both GTK+/QT toolkits and in desktops with upcoming versions of KDE.
One area where the developers need to go out and evangelize is on the front of EGL for proprietary drivers. Yes it's great that Intel's open source drivers (and to a lesser extend the open-source AMD & Nvidia drivers) have EGL support, but both AMD & Nvidia need to be convinced that EGL is important to their upcoming proprietary drivers too.
The irony here is that Mir, which is is seen as a huge competitor to Wayland, could end up helping Wayland enourmously since Canonical doesn't seem to be afraid to pick up a phone and call people at AMD/Nvidia to talk about updating the drivers.
Re: (Score:2)
Re: (Score:2)
"The irony here is that Mir, which is is seen as a huge competitor to Wayland, could end up helping Wayland enourmously since Canonical doesn't seem to be afraid to pick up a phone and call people at AMD/Nvidia to talk about updating the drivers."
Well, no, Canonical is not afraid to print loud press releases about how they're talking to AMD/NVIDIA, couched as confusingly as possible to make it sound like AMD/NVIDIA are already confirmed riders on the Mir train. It's a publicity exercise. I'm sure the Waylan
Re: (Score:2)
The irony here is that Mir, which is is seen as a huge competitor to Wayland, could end up helping Wayland enourmously since Canonical doesn't seem to be afraid to pick up a phone and call people at AMD/Nvidia to talk about updating the drivers.
Take a minute or five and browse nvidia.com.
What you'll discover is that for GPGPU business NVidia officially only supports the latest OS releases by three companies: MS Windows Server, Red Hat Enterprise Linux, and SUSE Linux Enterprise Server.
What you won't find is official support for Ubuntu 12.04 LTS.
And while it's a pretty safe bet that RHEL 7 won't support Wayland (it's said to be based on Fedora 19), it's certain RHEL 8 will support it and NVidia will support RHEL 8. The chances are high that NVidia
third post! (Score:5, Funny)
Re: (Score:1)
The client/server model is not a Wayland problem.
From presentations I've seen from the developers the talking points I've heard are:
* X11's client/server protocol has lots of round-trips that make remote applications respond slowly.
* X11 has a client/server model but newer toolkits end up transferring bitmaps over the wire and in this case the RDP/vnc is better or at least no worse.
* If an X11-like client/server protocol is desired the toolkits are in a better position to implement something X11-like that s
Re: (Score:2)
Client / Server is fundamental to thin clients.
There's a vnc/rdp client is about as thin as you get. Wayland compositors can do this. What else is needed?
Re: (Score:2)
Absolutely it is. Being able to control round trips is fundamental to thin clients working on a WAN as opposed to a LAN environment.
Re: (Score:2)
At least you have a clean client/server model instead of riding the short bus to MS Clippy / iOS / autocorrect (/ ShowView / automatic gearbox) land.
And you couldn't implement Clippy and auto-correct in an X11 desktop or desktop atop another "clean" client/server window system? (And if "iOS" refers to any of the various sins ascribed to iOS, what about them couldn't be implemented in an X11 interface?)
Re: (Score:2)
iOS uses some very low level hardware based systems that don't work with X11. X11 for example doesn't allow for an h.264 movie as a graphical primitive with its own hardware based rendering system that can't go back and forth between buffers. Similarly for the camera.
More importantly the ram requirements would be a substantial problem. 1.2m per screen with 3 screens for layers with 60 ftps. Double that up again for the extra X11 buffers and you are out of ram already before you have any code. Which mea
Re: (Score:2)
iOS uses some very low level hardware based systems that don't work with X11. X11 for example doesn't allow for an h.264 movie as a graphical primitive with its own hardware based rendering system that can't go back and forth between buffers. Similarly for the camera.
More importantly the ram requirements would be a substantial problem. 1.2m per screen with 3 screens for layers with 60 ftps. Double that up again for the extra X11 buffers and you are out of ram already before you have any code. Which means you either have to finish your screen computations twice as fast or not use X11's buffering strategy.
I wasn't saying "why couldn't X11 be used for iOS?", I was saying "which of the various sins ascribed to iOS couldn't be done atop X11?", with "the various sins ascribed to iOS" referring to the "ZOMG IT DOESN'T DO MULTITASKING"/"ZOMG IT HAS DRM"/"ZOMG ONLY APPLE-APPROVED APPS CAN RUN ON IT"/"ZOMG IT DOESN'T LET APPS DO XXX" stuff that shows up here. The poster to whom I replied spoke of "MS Clippy / iOS / autocorrect (/ ShowView / automatic gearbox) land", in which context "iOS" sounds as if it's referrin
Re: (Score:2)
And Canonical, Ubuntu, Gnome3 , Wayland... it's all coming from that same bunch of mock-educated retards with the same fucked up "KISS"/Apple mindset.
Please offer evidence (rather than a rant) that Wayland is "coming from that same bunch of mock-educated retards with the same fucked up "KISS"/Apple mindset".
Wrong Summary (Score:2, Informative)
Wayland ist not a Xorg/Mir competitor, as mir is not affiliated in any way with xorg. Wayland is the planned successor of Xorg, while Mir is some Ubuntu project.
Re: (Score:2)
Re: Wrong Summary (Score:1)
I read that thing about "rigid protocol vs api" from shuttleworth's blog, and I still can't figure out how it isn't complete bullshit.
Re: (Score:1, Interesting)
Except it's complete bullshit. Read the announcement: Wayland 1.2.0 now provides a stable server API (it already provided a stable client API since 1.0.0) as well as a rigid protocol. Everything, everything, that has been said about Mir being better then Wayland is Grade-A Pure Bullshit. Also, Mir will lose because nobody else is ever going to use it. Wayland: all Linux distros except Ubuntu (including all commerically supported distros like SLE and RHEL). Mir: only Ubuntu. Hell, even the Ubuntu derivatives
Many advantages to Mir (Score:2)
The other advantage is that Canonnical can cock it up without affecting anyone else.
Re: (Score:2)
Wayland is the planned successor of Xorg, while Mir is some Ubuntu project.
Given the client-side success of Ubuntu and OEM support for Ubuntu, Mir can't and shouldn't be casually dismissed.
Re: (Score:2)
okay, now you justed outed yourself, that you're just a troll.
Re: (Score:2)
because you're not understanding the posting.
Mir IS a competitor, as i said in my posting. But it is not Xorg/Mir vs Wayland, but Xorg/Wayland vs. Mir. Wayland will be a successor of Xorg, while Mir is a totally different Project. Of course, Wayland is no X11+1, but a different project, too. But the developers now seem to agree, that Wayland is a good software to replace X11, while Mir is Ubuntu's NIH-Project.
any decent tiling WMs? (Score:3)
Is Weston the only choice, or is there anything vaguely analogous to i3 or dwm in terms of how windows are laid out and managed?
Re:any decent tiling WMs? (Score:5, Informative)
Yes and no.
Weston is only a reference implementation of a Wayland compositor.
Wayland developers don't expect it actually to be used by normal users.
Instead, they expect others to implement their own Wayland compositors, as it should not be any harder than writing a similar X Window Manager.
That is what the Gnome, KDE and Enlightmenment people plan to do, convert their current X compositors (gnome shell, kwin, e) into Wayland compositors.
So, eventually, you might get a dwm Wayland equivalent. But it doesn't exist yet.
Re: (Score:2)
GTK+ and Qt already have Wayland compositors, AIUI.
Re: (Score:2)
From what I've heard, window managers are much harder to write for Wayland than for X11 but there is an expectation there will be several in a few years. It isn't going to be like X11 though where you can create a basic window manager as a classroom assignment.
Re: (Score:2)
Weston is a replacement for Xorg; it's the reference implementation for Wayland, NOT a window manager.
The Real Story Behind Wayland and X.org (Score:2, Informative)
Daniel Stone made a great presentation explaining various problems with X11 that Wayland tries to fix:
http://mirror.linux.org.au/linux.conf.au/2013/ogv/The_real_story_behind_Wayland_and_X.ogv [linux.org.au]
The same presentation is also on YouTube:
https://www.youtube.com/watch?v=RIctzAQOe44 [youtube.com]
Re: (Score:2)
Good video link by the AC. Worth checking out.
Re:The Real Story Behind Wayland and X.org (Score:4, Informative)
What I did manage to grasp from his talk is that the basic X design which he claims is terrible has remained for the most part while their fantastic new designs for things like XInput keep getting obsoleted one after the other. That he does not like the fact that X11 has a lot of extensions so his answer is to rewrite it. What will eventually happen if he ever has success is Wayland will get a lot of cruft as well.
I also noticed he gave no demos of Wayland at all. He isn't even eating his own dogfood. At least the original X designers actually created it to solve a problem they had and they actually used it.
His model of doing everything using pixmaps is also probably going to be a problem if displays keep going to higher resolutions as is happening recently. In that case you may spend a lot less bandwidth sending draw calls rather than the pixmaps.
I also disagree about the claim that VNC is good enough.
Re: (Score:3)
What I'd like to see built as a replacement for X11's network abstractions, is a sandboxed VM running on top of the display server, passing arbitrary messages back and forth with the remote application.
For example, take the llvm based pNaCl sandbox that the google Chrome team are building. Expose wayland API's for updating and displaying window pixmaps, and receiving input.
Then you could port the widget libraries from a UI toolkit to run directly in this VM without imposing any limits to creativity and fu
Re: (Score:2)
Sockets - been there since before the first official release.
Is ssh what you are looking for? X thinks it's all local and ssh feeds the remote stuff to and from the local display, using those sockets that have been in there for years.
Re: (Score:2)
Try reading the whole comment before posting.
Re: (Score:2)
Re: (Score:2)
Sure, use RDP instead of X11. It gives a reasonable display, with minimal latency between the client and server, and reasonably minimal complexity. Now try bouncing your network connection off the moon. Did I really hit that button? It doesn't look like it has changed.
What you really want is a local process to animate the button push. But locking you into using a motif style X11 button limits future innovation. And what about other kinds of user feedback?
Web browsers have thrived for many types of applica
Re:The Real Story Behind Wayland and X.org (Score:4, Insightful)
What I did manage to grasp from his talk is that the basic X design which he claims is terrible has remained for the most part
What has remained are the parts that you really can't replace without ceasing to be X11, he goes to great lengths to explain how toolkits, compositors and extensions all try to work around it. It's the reason they want to replace X11 with Weston, not the other way around.
while their fantastic new designs for things like XInput keep getting obsoleted one after the other.
Or as others would call it, getting new features. Do I smell a case of WORKS4ME? Didn't need it, don't want it so nobody else should either, X11 is just fine the way it is.
I also noticed he gave no demos of Wayland at all. He isn't even eating his own dogfood.
It was a presentation not a demo, don't pretend you can't find demos on YouTube... There are even LiveCDs so you can try it yourself.
His model of doing everything using pixmaps is also probably going to be a problem if displays keep going to higher resolutions as is happening recently. In that case you may spend a lot less bandwidth sending draw calls rather than the pixmaps.
Which would be relevant if anybody was using X as a drawing library, but nobody does that anymore. There is OpenGL pass-through with GLX, but the final image acts like a pixmap to the X server and I assume there will be something similar with Wayland, in fact as I understand it that's the only way Wayland will work as it has no drawing routines of its own.
Re: (Score:2)
The basic design for X... not really. The basic design for X does a great job of solving the problem of solving the problem of how to distribute workload on a LAN when servers can do the complex graphics while clients can't. That's not the situation anywhere. Motif is not the way things are done. Everyone is constantly trying to get around the basic design for X because they want to shift workload from the servers (X-Client) to the client (X-Server). So no I don't think the basic design has lasted.
A
Re: (Score:2)
Which is misleading because it uses the X hardware drivers.
Re: (Score:1, Interesting)
Actually, your observation is misleading. Graphics drivers on Linux have been using a lot of Linux features for a long time to improve performance, implement modern features, and handle hardware management in the kernel, where it belongs. No rule says that code can then only be used by X. They are Linux drivers, not X drivers.
Re: (Score:2)
Which reminds me - a major drawback of Wayland is it is designed around some features that only exist in linux and not in other versions of *nix. Whether that will be corrected later (as happened when gnome started the same way) or not remains to be seen.
Re: (Score:2)
Wayland already has a FreeBSD port in progress for the last 5 months.
Re: (Score:2, Interesting)
Re: (Score:1)
Re: (Score:2, Informative)
Will those "X sux and wayland is the answer" put up some numbers (they don't even have to good ones just something to show future promise) or shut up?
Sometimes when you're fiddling with context menus too much, you manage to lock up the X server completely -- all you can do is move the mouse pointer, which at this point mostly points north-east or has turned into a cross.
Whenever an X client is somehow busy, does something bad or hogs up resources, the whole server freezes, sometimes periodically for half a second every two seconds or so. You can see it e.g. during graphically intensive redraws, or when Chrome loads several tabs simultaneously -- all th
Re: (Score:2)
Re:Benchmarks please (Score:4, Interesting)
Sure.
Speed of light 186,282 miles per second .0683 seconds
Speed that a human can detect jitter of an icon tracing a finger 1/100th of a second
size of the earth 26k miles
circumference of the earth 24,901
fastest possible a round trip can occur from the worst 2 spots on the earth assuming 0 latency beyond the speed of light:
or the earth is about 7x too big for X11 to work.
Chance of us being able to fix either the speed of light or the size of the earth 0%
Re: (Score:2)
sorry .0683 seconds is for a one way trip. Round trip is double that. i.e. earth is 13.5x too big.
Re: (Score:2)
Re: (Score:2)
X11 is permanently unfixable. That's not a minor issue. A grown up is going to tell you that latencies over the public internet is worse than that and with QoS becoming more important and mobile latencies are likely to increase over the next generation.
Re: (Score:2)
Re: (Score:2)
So far
you've claimed there is no non-Linux solution when there has been one since Feb
you didn't know about benchmarks
you didn't know about them finishing the port of FreeRDP
I'd say you might want to change you tone about who doesn't know stuff about X or Wayland.
Re: (Score:2)
I still don't know - hence the SUBJECT HEADING, and instead of pointing me somewhere where I can find out you go on with joking rubbish (totally irrelevant to a local display) about the speed of light and the size of the earth implying that networking in general is useless.
If I knew about Wayland I wouldn't be asking about it. What pisses me off is if anyone who has a clue about Wayland is replying they are hiding their clue very well.
So then, how about proving you are mor
Re: (Score:2)
Re: (Score:2)
Seriously, how the hell is the parent post a troll.
These articles are always full of X sux trolls. How is asking for some evidence trolling?
Re: (Score:2)
The poster is pretty well known to dismiss good answers he's gotten over the years.
The problems with X11 start at things like the number of round trips the client and server have to engage in. Anyone can watch the protocol chat back and forth in RAM and them imagine that they were on a connection with 100ms, 200ms latency....
It isn't hard to do the math for some of these bad cases:
150 round trips x 200 ms latency = 3 seconds till the window gets finished drawing.
Anyone who has used X11 over a WAN has seen
Re: (Score:3)
The problems with X11 start at things like the number of round trips the client and server have to engage in.
If we're talking about WAN network connections, then yes. For local stuff, people still complain about X being slow, but the data just doesn't support it.
150 round trips x 200 ms latency = 3 seconds till the window gets finished drawing.
X is a bit chatty. There seem to be several reasons.
1. The protocol itself is a bit too chatty. This could be improved greatly if the server could push out events fo
Re: (Score:2)
I agree with you X11 in theory could be designed to work better with WANs. I also agree that NX has somewhat demonstrated that. Your comment about toolkit authors focusing on locally is interesting. But I don't think that unusual. I think ultimately though that
a) Local
b) LAN
c) WAN
require often opposite optimizations. If Wayland takes over the local case X11, freed from having to worry about local at all might be able to become a far better WAN protocol. I just think it is unlikely that what works w
Re: (Score:2)
I wish these guys would learn about the software they are pushing instead of just parroting something they've heard second hand.
Can I run Wayland on top of X11? (Score:2)
Is it possible to run a Wayland display server in a big full-screen window on X11? That would be a fairly easy way to test wayland out and develop using the wayland GTK or Qt libraries. One huge advantage to this would be that I don't need to wait for driver support. As long as X11 had a driver, I'd be good to go. Since Wayland would be writing through (presumably) openGL to a full screen window, none of X11's asynchronous speed problems would be noticeable; waylands renderings within the window would al
Re: (Score:3)
X11 runs on top of Wayland. I imagine you might be able to run Wayland on X11 by creating a fake screen but it could be brutally slow. Pretty much, yes you have to wait for driver support.
Re: (Score:3)
X11 runs on top of Wayland.
X11 can run top of Wayland. It doesn't necessarily.
I imagine you might be able to run Wayland on X11 by creating a fake screen but it could be brutally slow
If you do it badly, sure.
Wayland wants the world to be a collection of draw buffers (i.e. one per window more or less). There's no reason you couldn't simply have one X11 window for each Wayland window. Given it's all GL all the way down and X11 supports pretty much the fastest 3D graphics so far, I don't see why it would be
Re: (Score:2)
I guess that's true. If you wrote a protocol so that each Wayland client believed it was talking to a Wayland compositor while really that was code running on the X-Server, and the X-Server took information from the X-compositor and transformed it into Wayland-compositor messages it would be possible to do that. That's a lot of work though.
I don't think anyone is doing it. So the answer is that's man years that no one intends to spend.
Re: (Score:1)
Weston will launch fullscreen on X11 which may given you what you want. ./weston --fullscreen
There's a build script for Wayland here which builds it under Debian:
http://www.chaosreigns.com/wayland/buildscript/
I believe arch linux has an AUP for Wayland and Debian sid has binaries for the most recent versions.
Re: (Score:3)
Yes. Specify the x11-backend.so when starting Weston and it runs on top of X.
Re: (Score:2)
Yes you can run Wayland inside an X window. It does this automatically if $DISPLAY is set when wayland is run. This is in fact the only way I have gotten it to work. It is certainly a requirement for Wayland development right now. I have two monitors and I just run it fullscreen in one of the monitors, with the launching terminal in the other one so I can see error messages.
For me it uses the X shm interface to transfer the pixmaps from Wayland to X (I believe it may just transfer a single image that corres
Remoteability question restated (Score:5, Interesting)
Here's a very simple question with hopefully no wiggle room: Suppose I have two Linux boxes, each running Wayland. They do not run X11 in any form or fashion. I am on the console of one of them and in Wayland. Can I start a terminal emulator, ssh over to the other box, issue a command that starts some graphical program (which uses only Wayland coding, no X11), and expect that program's window to show up on the first box? Assume that ssh has already been modified to allow for this sort of thing. If this cannot be done, what prevents it from being done? I have yet received no complete answer for this.
Re: (Score:3, Informative)
Wayland is going to be implementing some like RDP to handle this. Wayland natively does not handle this. So if your question is in terms of "Wayland as it is likely to exist" then likely you will be able to do it. If your question is "Wayland by itself with none of the supporting ecosystem" no. On the other hand normal screen sharing stuff like VNC would work.
What prevents it from being done is that Wayland applications share their graphical and application buffer. You can't pull it apart without vir
Re: (Score:1)
Thanks. This is the most direct answer I've gotten so far. A followup: How much work has been done on that part of the supporting ecosystem to support remoting?
Re: (Score:2)
Lots of experiments and some of the initial testing, more or less a functioning prototype. My opinion is the functional version will be in the next version of KDE/GNOME: KDE 5 and GNOME 4 and that's if all goes reasonably well.
Re: (Score:2)
Re: (Score:2)
sure the port of FreeRDP by Kristian Høgsberg into Wayland is much more recent.
http://lists.freedesktop.org/archives/wayland-devel/2013-March/007740.html [freedesktop.org]
Re: (Score:2)
I'd better spell it out (Score:2)
Re: (Score:2)
http://www.phoronix.com/scan.php?page=article&item=ubuntu_xmir_benchmark&num=3 [phoronix.com]
Can someone with a clue reply instead? (Score:2)
Were you hoping I would not follow the link and you could tell yourself you had won some sort of childish mass debate game? Until now you had me half considering you may know what you are writing about. Can someone with a clue reply instead in?
Re: (Score:2)
Because it is the same approach and Mir is further along. Wayland isn't at the benchmarking phase yet they are still getting stuff to work at all.
What is your damage? Why it works in theory is clear. Microsoft, Apple and early systems show how well it works in practice. Mir proves it works well in practice for Unix. You want good quality benchmarks of well know Unix apps running on both X11 and Wayland wait till 2016 or so.
Re: (Score:2)
"Because it is the same approach and Mir is further along. Wayland isn't at the benchmarking phase yet they are still getting stuff to work at all."
Um. No. Phoronix benchmarked XMir. XWayland, which is precisely the same thing for Wayland, has existed in usable form for months or years.
Re: (Score:2)
No it most definitely is not. Why are you lying?
Re: (Score:2)
That would be my guess to you have a genuinely useful remote system rather than cool proof of concepts.
Re: (Score:2)
AFAIK, RDP lets you see the entire remote screen, not the windows of a single program. There's a big difference. Imagine GIMP; with xorg+ssh you get 4 floating windows. With RDP, you have a the remote desktop with 4 windows inside of it. You can't stack remote and local windows as freely.
Re: (Score:2)
That depends on the application. The applications has to be able to accept RDP as a shell and then the "alternative shell" commend from Windows allows it to open in RDP as a single applications.
\Unix programs using RDP, even today, have never had that problem because they expect to run in different shells. So until GNOME apps absolutely positively won't run in anything but Gnome, or KDE apps absolutely won't run in anything but KDE we should be fine.
Re: (Score:2)
AFAIK, RDP lets you see the entire remote screen, not the windows of a single program.
https://github.com/FreeRDP/FreeRDP/wiki/RemoteApp [github.com]
Re: (Score:2)
Re: (Score:2)
What you are asking for is called Network Transparency. In Wayland and Mir it is being sacrificed for the sake of looking prettier.
If by "looking prettier" you mean anything more fancy than monochrome rectangles, then yes. However anything more fancy than monochrome rectangles isn't network transparent on X11 either. See https://www.youtube.com/watch?v=RIctzAQOe44 [youtube.com] for details.
Benchmarks (Score:2)