LWN.net Logo

LCA: The ways of Wayland

LCA: The ways of Wayland

Posted Feb 14, 2013 0:09 UTC (Thu) by khim (subscriber, #9252)
In reply to: LCA: The ways of Wayland by virtex
Parent article: LCA: The ways of Wayland

On the subject of remote displays, I've long thought the best way to handle remote applications is, rather than copying bitmaps back and forth, is to handle it at the toolkit level.

Sure, that's doable. I'm pretty sure some programs will allow you to do that. Probably the same percentage of them which allow you do connect to the new X server on the fly (as emacs can do).

For all other uses there will be need to do something different.

In a way, it would work similar to some of the web 2.0 applications out there, but without all the client-side javascript. Granted, this is all just a thought experiment, but it would be interesting to see if something like this is possible.

You already explained why it works just fine and will continue to work or why it fails and will continue to fail (depending on your viewpoint). Applications which need this today are already implemented this way with a web 2.0. Applications which don't need that will not have that because... well, they don't need it. It's like an OpenBSD support: something you can to your program but which will be broken all the time without anyone noticing or caring.

I don't really see why do you think it'll be a problem to achieve acceptable speed with a bitmaps and a compression: if you have slowly changing stuff on your screen then delta-algorithms will work fine and if you have something like 3D shooter you'll need to send huge amount of data anyway. The only case where I can imagine substantial loss is with videoplayers: if you send pre-compressed stream (which was compressed using state-of-the-art-algorithms which need insane computation requirements of course it'll be more efficient then if you'll compress these same frames on-the-fly), but this is such a narrow use case I doubt we need optimize for it (or, alternatively, it may be good idea to provide sensible bypass for it because it's extremely narrow but quite common case).


(Log in to post comments)

LCA: The ways of Wayland

Posted Feb 14, 2013 9:05 UTC (Thu) by michaeljt (subscriber, #39183) [Link]

>> On the subject of remote displays, I've long thought the best way to handle remote applications is, rather than copying bitmaps back and forth, is to handle it at the toolkit level.

> Sure, that's doable. I'm pretty sure some programs will allow you to do that. Probably the same percentage of them which allow you do connect to the new X server on the fly (as emacs can do).

If you count web applications then there are probably more of them around than that.

LCA: The ways of Wayland

Posted Feb 14, 2013 9:06 UTC (Thu) by michaeljt (subscriber, #39183) [Link]

Oh dear, next time I will read to the end of a comment before answering.

LCA: The ways of Wayland

Posted Feb 15, 2013 9:38 UTC (Fri) by Lennie (subscriber, #49641) [Link]

Supposedly Spice can already recognize previously compressed content and will not try to compress it again.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds