Wayland 1.2.0 Released With Weston
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."
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.
AntiFA: An abbreviation for Anti First Amendment.
since I'm using X11 ;-(
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.
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?
10 PRINT CHR$(205.5+RND(1)); : GOTO 10
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
The same presentation is also on YouTube:
https://www.youtube.com/watch?v=RIctzAQOe44
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%
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.
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.
Yes. Specify the x11-backend.so when starting Weston and it runs on top of X.
Maw! Fire up the karma burner!
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 slow.
SJW n. One who posts facts.
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 for certain things so that the client can cache them reliably.
The NX people have essentially shown that this is indeed possible and the NX extended protocol seems to be one of the best remote graphical displays to use over a WAN.
2. People can't code X11 protocol for toffee. A classic example is making heavy use of XInternAtom as a synchronus call. In fact Keith Packard himself uses that as a reason for X11 having problems. If you need 100 atoms, you have to wait for 100 round trips.
Interestingly though in the protocol this is not a synchronus call. The newer XCB binding actually has it as an asynchronus call and in fact one of the first examples in the XCB documentation is how to get all your atoms in a single round trip.
Xlib (not X11) is substantially at fault. The correct thing (implementing a new C binding, namely XCB) has been done. However, even with Xlib, toolkit authors seem to love working under the assumption that they're working locally and misuse the protocol in all sorts of bad ways, making round trips where none are necessary.
SJW n. One who posts facts.