Wayland, a New X Server For Linux
An anonymous reader writes "Phoronix has a new article out on Wayland: A New X Server For Linux. One of Red Hat's engineers has started writing a new X11 server around today's needs and to eliminate the cruft that has been in this critical piece of free software for more than a decade. This new server is called Wayland and it is designed with newer hardware features like kernel mode-setting and a kernel memory manager for graphics. Wayland is also dramatically simpler to target for in development. A compositing manager is embedded into the Wayland server and ensures 'every frame is perfect' according to the project's leader."
...spell the death-knell of X-based graphics drivers? Does this mean that such drivers will finally be folded into pure kernel modules with no fancy wrappers required? Does that also mean that we can eliminate X as a dependency for playing video games, and using Linux in multimedia or kiosk environments?
Javascript + Nintendo DSi = DSiCade
While I'm a firm believer in "If it ain't broke, don't fix it", I think it is good to see Red Hat developers (or any developers) looking to future needs and being allowed to devote development time towards those needs.
Xorg isn't broken for most users right now, but planning and creating alternatives is a good idea.
For including Wayland in Ubuntu:
http://brainstorm.ubuntu.com/idea/15205/
It is dangerous to be right when the government is wrong.
eliminate the cruft
ABOUT F'ING TIME.
X has been a case study in How Not to Write Software for twenty years now. Once upon a time, it was a pretty cool experimental software project. But for twenty years now, there have been exactly two kinds of X development:
A) Throw a layer on top of it to make it useable for normal people
B) Throw another driver underneath it to make it just barely work on your particular hardware.
Project A is fine until someone has to get beyond your little layer, in which case it's .xinitrc hell. Project B is just treading water, postponing the day that we all realize this indispensable software tool is a gigantic house of cards headed for collapse.
Probably some XFree86 dudes are reading this. Let me just tell you I appreciate your diligence in the nightmare of a job you've set yourself to, but the time has come. Take off and nuke the site from orbit. It's the only way to be sure.
Xorg isn't broken for most users right now, but planning and creating alternatives is a good idea.
In a sense I think it really is... Admittedly, not necessarily in a way that everybody would notice, as you said - but still...
What X is good at, basically, is putting simple UIs over a network. For instance, I can run XEmacs remotely over the internet, and performance is decent.
Presently, this feature of X is being under-utilized. We're using a network-transparent protocol for the display server, but most people aren't running apps from remote hosts, and applications aren't being written with this in mind.
Basically, for all the overhead associated with something like X to be worthwhile then one of a few possible conditions must be satisfied. Either applications must be designed such that they work efficiently over the network with the present limitations in the display protocol, or the display protocol must be enhanced or altered such that today's applications can run reasonably well over a network link.
Running X apps over an internet link versus a LAN is an extreme case, admittedly - but nevertheless, an old Athena app can do it, while the simplest of GTK or QT apps can have a real problem with it...
Bow-ties are cool.
The article describes this as a "new X server". However it quotes the author of said program pretty much implying this is some kind of a new, non-X video interface. He talks about "porting" GTK+ from X, and about writing native applications for it and a "new, rootless X server" in order to be able to run X apps. All things that would not be necessary if this were an X server.
In other words, this is not an X server.
Shuttleworth said he is going to pay devs to work on major upstream projects. He should focus on this. For one, it would affect both KDE and Gnome users, and it would solve a major problem with Linux. If he really wants Linux to compete with OS X in terms of interface, he should focus on the X Server first.
That being said, I hope Novell chips in some dev support, and that the KDE, Gnome, QT and GTK+ devs all chime on what they'd like to see changed.
http://blindscribblings.com - Tasty pop-culture in conceptual fashion.
X is an application. *And* a server. On OS X as well. And under *nix, and even under Windows (when you add an X server to it.)
Woosh!
X is an application on OS X (and yes, it's a server, too), but it's not the graphics server. It uses Apple's graphics server to do its magic, like any other application.
That's what the original poster was referring to -- it's time to move beyond X11 as the graphics server, and just let it be like any other application that can push bits to the screen.
It was done long ago.
...or NEXTSTEP from 1989 onwards. :)
you had me at #!
We went through the same thing when switching to X.org from XFree86. When will nVidia support it? When will ATi support it? When will my driver be ported?
Why is X dealing directly with the drivers anyway? Why isn't there a thin graphics layer in Linux, like a framebuffer that supports acceleration? Write X to that. Then you can switch your X or use whatever GUI you want and you hardware still works. Freedom to choose, right? The mantra of Open Source?
I remember a bunch of very promising GUIs coming up in the early 2000s that really struggled without enough drivers. "The source is open, just port the thousands of drivers!" yeah sure.
boldly going forward, 'cause we can't find reverse
IIRC, Y was not based on a composited architecture, so by today's standards it sucks. It might have made a nice successor to X back in the BeOS days, though.
No, what should have been done a long time ago is to scrap X and use Sun's NeWS. They demo'd it in the 80s and it fixes a lot of problems in any X(/Y).
Oh well.
Need Mercedes parts ?
That's actually a great point.
It's particularly annoying if you have some intermittent problems with, say, the mouse disappearing and the only way to recover is to restart X. Being able to restart X without killing all the clients would change such a problem from "completely ruins my entire user experience" to "mildly annoying".
HAND.
When it was good, it was very very good, but when it was bad, well, it was a windowing system written in Postscript that let you pass pieces of Postscript code back and forth between client and server to get things done, which could be appallingly insecure and buggy. (The fix for this was that Gosling later wrote Java with things he'd learned from NeWS.) (Postscript is essentially FORTH souped up with font knowledge, but it's good enough to handle objects in.)
Postscript means that WYSIWYG, really, rendered however you'd like. The terminal emulator, for instance, used Postscript, rendered at screen resolutions, and if you needed to print it, it rendered them at printer resolutions, or if you iconized a terminal window, that just set to font size to 1 point / 1 pixel, and you could still see any interactions happening in the icon. My boss was around 60, and constantly switching pairs of glasses if he needed to talk to somebody and also read his computer screen. We set his psterm default to 24-point font, and everything was Just Bigger, and he could just read it without messing around. Mouse tracking worked well, because you could make the tracking happen down in the server without the extra round-trip to the client, so if you had a slow network connection it was ok - you were passing data across the link, not pictures of the mouse, etc.
Bill Stewart
New Fast-Compression-only CPR http://preview.tinyurl.com/dy575ks
a single distro gaining popularity will be instrumental for standardizing what is expected of Linux for introduction into a larger market
the flaws in your biased & self interested statement are manifest. manifest and hilarious.
first off, i dont see what advantage linux has by gaining a larger market. will these corporate interest invest time and code into linux? will they provide free support to end users? will the people joining your standardized Linux gain anything from the homogenized OS they've switched to?
second, how will standardization improve linux's marketability? to what extend to we enforce homogenization? do we enforce a single wm on all users? do we enforce a single office suite? a single programming language?
third, how do you plan to tell everyone they must work on the same thing? do you think everyone will willingly conform to the standard patterns you wish to impose and stop working on the things they think are cool?
Linux's only strength is that it grants developers an open environment to develop novel new things. all I see in your desire is a self interested bid to crush out the free spirited developer spirit and to replace it with something tooled to replace commercial operating systems with something free, for your own good. honestly I dont think you or your desires contribute anything useful to the linux community, in fact I think the desire to make Linux conform to the expectations of the "typical" desktop has been the worst mistake the Linux movement.
Boy are you wrong, NoMachine _is_ X! They just use very clever compression schemes to make it usable over slow connections. http://en.wikipedia.org/wiki/NX_technology
VNC, Remote Desktop, Citrix etc are just kludgey ways to get X-like remoteness for systems that were never meant for it and it's noticeable because they come with severe limitations.
And for Gnome and KDE being "monstrosities" I don't know where you got that idea from, their respective developers seem to be pretty pleased with them. And Qt, which is one of KDE's pillars, is widely seen as one of the most powerful and easiest to use GUI toolkits. Ah, yes, it's cross-platform as well, which seem to defeat your "broken foundation" statement.
I think he means the administrative overhead of X11 protocol management is not the bottleneck, so it may as well be written in Python. The mathematically intensive and low-level parts, which are only part of the overall code base, can remain C. I don't necessarily agree, as this would increase latency for protocol handling, which really adds up.
This is a common pattern in modern software development - very simple, mechanical C code wrapped by high level, elegant Python (or your scripting language of choice). You get 99% of the performance of pure C with 1/100th the development time. I've done the same in high-performance scientific computing projects with great success.
Sam ty sig.
Open an explorer window in Windows. Resize it. Notice the flicker and rendering artifacts. Open a Nautilus window in GNOME. Resize it. Notice the horrible flicker and rendering artifacts. This is without compositing. With it, you get other artifacts.
It doesn't matter what program or what machine you are using. You can compare the same thing using Firefox in Windows and Linux. A much slower Windows machine produces redraws with far fewer artifacts than a high-end Linux box. Since Windows does it better, the must be something wrong with X.
Football Odds
Ah, insult the people. A sure sign of a strong technical argument.
Correlation is not causation. How's that go?
xlsatoms | wc -c gives 14746. That's a whole 14KILO bytes permenantly taken up by atoms.
It's an information leak.
Er, it's a graphics system.
Used to create a user interface. User interfaces should have audio, and support video capture, etc.
It has the overhead of packing/unpacking data into structs. Huh? Doesn't any API have this problem?
No, not the ones that aren't network protocols. Most APIs pass their data as parameters, in registers, or as pointers.
ICCCM is complex and not that great. On the other hand, with the years of hindsight, large sections (some quite interesting) have dropped completely
ICCCM only exists because X11 has no thought to actual applications interacting with each other.
Lots of unused (even at the time) primitives like jaggy lines and circles designed for 1-bit displays.
I don't consider myself old, but I've used X11 running on 1 bit displays. They were cheap and so some universities ahd them in significant quantities. I'm pretty sure it's not possible to draw a smooth line or circle on a 1 bit display, but if you know how, feel free to revolutionise display technology.
The problem is they are still jaggy on N-bit displays. That's why nobody uses them.
Your list is, so far rather uninformed. Have you ever programmed with XLib or examined the X protocol? Are you just regurgitating one of the more peculiar slashdot memes?
Says you. I've programmed in Xlib directly, including talking the protocol in binary for one project (where Xlib was too large to use). I've used Xt, Motif, and then also the newer toolkits of course. I've also hacked on the server source a little bit (not open source).
198?-1983: V
1983-1984: W Window System
1984-1986: X1 - x10
1987-2008: X11
2008: Wayland?
Sorry, but I won't use it unless it is called X12 or Y.
Free unix account: freeshell.org