The 'networking overhead' of X11 is almost nill. That and VNC sucks huge donkey dick when compared to X11 networking. NX is pretty cool, but advancements in toolkits are helping out X a lot (ignoring the fact that NX requires X Windows anyways...).
People have this misconception that X is slow because it has to go through some sort of networking stack, which entirely misinformed.
When using X locally your going over 'fast unix sockets' which is a very low overhead form of IPC and is plenty fast. As fast as anything you'd get for standardized multi process communication on any other platform. There is definitely some overhead associated with X, but it's not the performance killer people are making it out to be.
X is slow, not because of the networking, but because Linux graphics drivers suck. Fixing the Linux drivers is what is necessary for Wayland to work properly _at_all_... and is also the same exact thing that will make your X server much faster.
X is bloated, not because of the networking, but because the stupid thing has been around for decades and decades and has been the victim of a combination of bad corporate policies and a software license that discourages code sharing. That is where the 'bloat' comes from. It's called 'legacy overhead'.
It has much less to do with the networking then the fact that it's designed to be backwards compatible with all the Unix/Linux graphic software made in the past 15 years (or so).
----------------------------
THAT and Wayland and X are not mutually exclusive.
YOU CAN HAVE BOTH.
With Wayland and composited desktops you will have a X server that renders windows off-screen and then are composited together on the Wayland managed display.
Therefore you do not have to give up X networking to use Wayland.
I don't know if they have this setup yet, but it is certainly in the cards since nobody in their right mind will sacrifice application compatibility for a minor boost in performance.
So if Wayland is to make any headway it will end up supporting X in some manner, most likely through composition. Either that or Wayland will die.
-------------------------------
Oh and Gallium is compatible with both. Which is the point of having Gallium.
With Gallium you can support multiple APIs (relatively) easily by adding another state tracker. So this way we can get rid of having to have separate drivers for 2D and 3D and be able to support lots of other APIs like GL shading, OpenCL, vector rendering, graphics acceleration, and so on and so forth.
So with Gallium you can have a Wayland state tracker running along side of a X11/EXA/Xrender state tracker and have both. So your wayland display gets accelerated and your X apps get accelerated at the same time.



Reply With Quote