Hacker News new | past | comments | ask | show | jobs | submit login
Wayland's X11 support is ready (An Experimental GNOME Shell Running On Wayland) (phoronix.com)
73 points by p4bl0 on April 6, 2012 | hide | past | favorite | 28 comments



This is great news. Last August there was an article on Phoronix about KDE hoping to migrate to Wayland for SC 4.9:

http://www.phoronix.com/scan.php?page=article&item=wayla...

Hopefully in 2-3 months, when SC 4.9 is slated for release, we'll have KDE on Wayland. X is aging and is not very lightweight. Wayland brings some nice innovations, like eliminating the need to switch between VTs to differentiate X sessions.

The FAQ is also worth reading:

http://wayland.freedesktop.org/faq.html


> Wayland brings some nice innovations, like eliminating the need to switch between VTs to differentiate X sessions.

Innovations like these (if not needing to switch VTs even counts as an innovation) pale in comparison to innovations like network transparency, which will be missing at first and eventually present but crippled in Wayland.

The ability to ssh to another system, launch a GUI app, and have it display on the system you're SSHing from has always set Unix+X apart from Windows and Mac OS. I can't believe this is being tossed aside so you can have cross-fades and rotating cubes when switching between sessions.

It's true that network transparency will be possible with Wayland, but it will be some sort of VNC-like pixel scraping approach, which has never worked as well as native X forwarding. Network transparency will be a second-class citizen in Wayland.

See http://tech.slashdot.org/comments.pl?sid=2699657&cid=391... for some more disturbing problems with Wayland.


"The ability to ssh to another system, launch a GUI app, and have it display on the system you're SSHing from has always set Unix+X apart from Windows and Mac OS."

I agree wholeheartedly.

"I can't believe this is being tossed aside so you can have cross-fades and rotating cubes when switching between sessions."

I think you're ignoring most of the motives for Wayland development.

"It's true that network transparency will be possible with Wayland, but it will be some sort of VNC-like pixel scraping approach, which has never worked as well as native X forwarding."

I disagree. For example, xpra (http://xpra.org/) ships images across the wire and works much better for me than X11 forwarding over both local and remote links.

"Network transparency will be a second-class citizen in Wayland."

Just because it's not a part of the core protocol doesn't mean it won't be developed and work well. As the phoronix article says, it is under development right now.

"See [snip] for some more disturbing problems with Wayland."

That looks like trolling. A better link might be http://www.h-online.com/open/features/Wayland-Beyond-X-14320...


> I think you're ignoring most of the motives for Wayland development.

I know there are other motives, but it's largely about getting more pretty rendering and the fact that X has a lot of baggage. Also, I'm still shocked that the only reason on their FAQ under "Is wayland replacing the X server?" is that VT switching is "horrible."

> I disagree. For example, xpra (http://xpra.org/) ships images across the wire and works much better for me than X11 forwarding over both local and remote links.

xpra is faster for me over remote links, but native X is superior on local links, in speed, simplicity, and also robustness. X11 forwarding is super-simple and rock-solid; xpra is awkward to set up and is rather flaky. I fear that since network transparency is not a core, high-priority feature of Wayland, it will end up having a "second-class" feel like xpra does. Just because network transparency is under development right now doesn't mean it will be good. Their FAQ says it's not a high priority feature, and I've read several mailing list posts from developers that agree with that sentiment.

> That looks like trolling. A better link might be http://www.h-online.com/open/features/Wayland-Beyond-X-14320....

My link may portray Wayland in a negative light, but only insofar as yours portrays it in a positive light.


It's true that network transparency will be possible with Wayland, but it will be some sort of VNC-like pixel scraping approach, which has never worked as well as native X forwarding.

OTOH, the Sun Labs SLIM project (that became Sun Ray) found that pixel-scraping was comparable or faster than X11. http://labs.oracle.com/features/tenyears/volcd/papers/Nrthcu... (Of course NX is much better than vanilla X11, but there has also been research in screen compression since SLIM.)


I'll have to disagree with you here. VNC is already faster for me than X11 and has the considerable advantage of letting me interact with my desktop, not with just a single client.

For the case of network-delivered applications, we have webapps - the unholy misappropriation of HTML and JavaScript glued together to kind-of sort-of work like an actual application. It's the worst kind of remote application, except all the others.

Don't get me wrong - I don't see the point of wayland at all, but I have also never benefited from X's remote windowing capabilities.


I don't get what you mean, because your desktop is just an X11 app, which you can remote by just running gnome-session or whatever your favorite desktop is. I do this all the time.


That creates a new session, it doesn't connect you to an existing one, or let you share that session with others.


Well ... yeah ... you said "desktop" (as opposed to just starting "a single client", was the context). I guess you meant "existing desktop session". I don't see "existing desktop session" as the obvious alternative of "single client".


I hope wayland will deliver a smoother experience than X and work better with hardware accelerated drivers etc.

Mac OS and Windows also have remote access solutions available which seem to be perfectly serviceable for people that need it.

It seems silly to architect the entire graphics server around network transparency when it's not a hugely used feature compared to compositing etc.


The ability to ssh to another system, launch a GUI app, and have it display on the system you're SSHing from

When was the last time you've actually done that?


Twenty minutes ago. Here's a list of actual uses that I have personally done in the last week.

I have large (64 core, 256 gigs of ram) servers in a university data center, and a lab full of small atom machines.

I can run matlab without a gui, but still have graphs etc pop open when I need one.

Yesterday I ran a remote Firefox on a machine in the same room so that I could play sound on attached speakers, but still view the video locally, on my laptop.

Sometimes I need to run expensive applications on a big machine, but from the comfort of my home or office. X11 forwarding is pretty nice for that.

I run headless Linux VMs on my mac, and ssh to them, running them natively displayed on my laptop. Sure, I could use whatever VMware gives me to display apps, but X11 works better.

It's got plenty of valid use cases, and that's just ones for me.


I also do this quite often.

Network security admins allow only a port 22 binary connection to an inner enclave of protected machines, protected by firewall. I need to admin those machines, sometimes with gui apps. ssh -X to the rescue.


Sounds rather contrived to me...

Why do you need X11-apps from multiple(?!) local linux VMs on your desktop?

What GUI-app other than matlab do you need to run remotely?


Why do you get to say that what he does is contrived? What makes your usage patterns any less "contrived" than his?


Well, why should I not say when it sounds contrived to me?

Exporting X11 windows from multiple VMs on localhost? X11 forwarding Firefox to access remote speakers? Seriously?

Yes, there are niche scenarios where nerds still use X11 for useful hacks like that (myself included), but the discussion is about the future display architecture for the proverbial linux desktop.

X11 has been a ball on a chain here for a really long time now. Use-cases such as "too lazy to open a matlab pool" or "splice firefox audio" are not exactly a convincing counterweight.

I'll gladly trade in my ability to run a remote gnuplot every once in a blue moon for a desktop experience remotely comparable to OSX or Windows.


Unless you are claiming that he is lying, I don't think that contrived means what you think it means.


Perhaps we have a different interpretation. I meant to say I find his use-cases rather obscure because e.g. X11-forwarding a Firefox is not exactly my idea of a sane answer to the question "how do I forward audio to remote speakers?".

Bringing these examples up as scenarios that must be considered in the design of the future linux display system seems... well, contrived to me.


His examples were not contrived, they were actual examples of times that mcpherrinm recently used X11 forwarding (unless you are claiming that he lied). If you want to say that his use cases are obscure, strange, or niche enough to not merit consideration, that's fine, but "contrived" doesn't mean any of those things.


Everyone in my research group works remotely on computers that are either across campus or across the country. There are some simple visualization programs that work great over X11 and allow for us to view our data easier than having to copy files locally to run a visualization program.


I also do this on a very regular basis. But anyway, the thing is X client/server architecture allows a lot of flexibility. It is a very very strange idea to remove modularity from a system. (Especially when it was introduced decades ago.)


I wasn't familiar with Wayland; the Wikipedia article about it seems remarkably good:

http://en.wikipedia.org/wiki/Wayland_(display_server_protoco...


Interesting, but does Phoronix have some sort of editorial policy against every linking to primary sources?


I think he's actually reporting live from the whatever summit, so there's not much to link to. Generally Phoronix is much better than the mainstream tech press about linking.


In my experice it is terrible at linking. They used to post commit messages from git and changelogs from announcements in mailing lists as their own original content without linking to the source. Without understanding the meaning of many words in the text they were quoting without attribution. I make a decision to never click on a link to phoronix after this happened a number of times.


Yeah, I'm torn on Phoronix. They're a terribly SEO-me-harder experience in a lot of ways (40% ad content on the page, nine-page articles, scraped junk mixed in with the good stuff). That said, their authentic reporting (especially on graphics stuff) is generally among the best available in open source focused blogs. I read them.


Phoronix is disappointing in many ways, but I have to give them some credit- they're the only ones trawling the mailing lists and commit logs for linux graphics news. If they had an RSS feed that only syndicated those stories, I would read them.


The Phoronix editor just recorded and uploaded video of the talk; that's original content.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: