First Wayland Release: Wayland 0.85 With Weston
Phoronix: First Wayland Release: Wayland 0.85 With Weston
Kristian Høgsberg has just announced Wayland 0.85 and Weston 0.85, which mark the first official releases of Wayland and its reference compositor, respectively...
This is AMAZING, thanks so much developers for your great and hard work. Linux will finally shine now with its graphics.
Sounds like its time for some benchmarks!
Originally Posted by phoronix
Its too bad Owen's xcomp becnhmark is, well, X specific. That is designed to stress compositors (I'm also guessing its the reason Mutter has improved so much).
Are the Wayland graphics CPU emulated?
I'm asking cause Wayland runs on top of EGL/ES2.0 which (at least with the nouveau drivers) runs on the CPU. Hence the whole shebang might be software rasterized.
Also, I hope new Wayland releases won't happen too seldom and with huge changes (like it took X.org once like 1.5 years to ship a new version but which after a few years went back to normal release schedules).
Last edited by cl333r; 02-09-2012 at 07:13 PM.
First, let's talk about Weston, not Wayland, to avoid confusion. Wayland does not require anything from graphics, not GL, not EGL, not even a GPU. Weston has the requirements and supporting features you are interested in.
Originally Posted by cl333r
I think you are perhaps doing something wrong with Nouveau, it should offer hardware accelerated GL flavours via EGL just as it does for desktop GL via glX. People have reported getting Weston to run on Nouveau, also without X.
Weston does not affect the graphics driver capabilities in any way, nor force software rendering. All the hardware specific graphics acceleration magic is in the various parts of Mesa. If you can hardware-accelerate anything that uses EGL, also Weston is accelerated, regardless of the Weston backend in use (X, DRM, Wayland, ...).
And if you really want to, you can also configure Mesa to use software rendering, say, llvmpipe. But all the hardware drivers should be usable. If they for any reason are not, that is a problem in Mesa.
Liam, to benchmark anything, you first need to come up with a relevant benchmark program, that measures an interesting thing. That may be hard, because Wayland is designed to be, and Weston is on DRM, inherently synchronized to monitor vblank. You simply cannot update the screen faster than your monitor shows it.
Originally Posted by pq__
That's why I mentioned Owen Taylor's xcomp benchmark as it is designed to stress compositors (well, it works for non-compositors, as well as pure offscreen, but that was the use case).
It uses two parameters: 1)create a number of xterms (called depth, IIRC), 2)set number of surfaces to alpha blend together (called load, again, IIRC).
That covers exactly what a pure compositor does. The only problem with it is that it requires (required? perhaps it has been updated) X.
The fact that weston uses vsync is fine, since that is a pretty common feature of modern compositors. The interesting thing to measure is seeing at what point the compositor can no longer supply the front buffer (I assume weston is at least supporting double buffering) in time for a screen update. Owen's stress test lets us do that by adding stuff to draw.
Right now, of course, we only have the weston compositor for wayland, but before long mutter, kwin, xfwm, enlightment's wm, and I would GUESS compiz (though it wouldn't surprise we to see compiz dropped instead of updated to be wayland compliant). Still, if we ported xcomp over to wayland we could get a rough idea of wayland's ability to scale (assuming weston isn't a hacked together piece of proof of concept, but I don't think that is the case).
Thanks for explaining it, it does give some ideas on what could be benchmarked.
Originally Posted by liam
Weston was just a proof-of-concept, but it is now developing into a reference implementation.
anyone knows whats the status of important apps on Wayland (ie Firefox Chrome etc) ??
we know the toolkits work
Firefox and Chrome have their own Toolkits. But the Chrome team is already working on Wayland support afaik.
Originally Posted by 89c51