|
|
Subscribe / Log in / New account

Wayland 1.7.0 - remote access?

Wayland 1.7.0 - remote access?

Posted Feb 19, 2015 17:00 UTC (Thu) by mathstuf (subscriber, #69389)
In reply to: Wayland 1.7.0 - remote access? by daniels
Parent article: Wayland 1.7.0

I thought Wayland clients didn't know where they were mapped within the entire screen, so pushing the pixels over a network for an already started app shouldn't be impossible without client knowledge (at least as far as I understand). More intelligent awareness can come later; I just don't like apps being jailed to the monitor at work if the snow keeps me at home for a day.


to post comments

Wayland 1.7.0 - remote access?

Posted Feb 19, 2015 17:12 UTC (Thu) by daniels (subscriber, #16193) [Link] (3 responses)

If you're moving to another machine, you're not going to retain your on-screen position (not least because they might well be different layouts/resolutions). If it's about restoring state within the same session or session type, then that can be handled by an opaque session-state cookie which the application and compositor negotiate between them to save and restore, which represents the state the compositor is retaining for that client.

If it's just about pushing pixels though: the client is the one doing the rendering, so it already _knows_ what pixels are on the screen. So nothing required there.

Wayland 1.7.0 - remote access?

Posted Feb 20, 2015 20:27 UTC (Fri) by Wol (subscriber, #4433) [Link] (2 responses)

As I understand it, the Wayland window belongs to the local display. So the remote app shouldn't give a monkeys about "on screen position", it just cares about the relative co-ordinates inside the window.

aiui, this functionality has been explicitly designed to be possible with Wayland - there is no implementation because none of the devs consider it personally desirable, so they haven't done it. When someone steps up to the plate, it won't be that hard.

Cheers,
Wol

Wayland 1.7.0 - remote access?

Posted Feb 23, 2015 4:36 UTC (Mon) by mathstuf (subscriber, #69389) [Link]

FWIW, I'm pretty sure daniels is a Wayland developer :) . Anyways, for now I'd be satisfied with just pixels; more complicated stuff can come later.

Wayland 1.7.0 - remote access?

Posted Feb 26, 2015 18:34 UTC (Thu) by daniels (subscriber, #16193) [Link]

> aiui, this functionality has been explicitly designed to be possible with Wayland - there is no implementation because none of the devs consider it personally desirable, so they haven't done it.

There's been an implementation floating around for the last 18 months or so, but no-one has taken it up and finished it. This implements a hybrid/proxy model, where the client always sees a local compositor, which proxies all requests through to the remote compositor. It's had some pretty impressive results thanks to some nice compression / change detection: http://people.freedesktop.org/~krh/rolling-hash/

http://people.freedesktop.org/~krh/weston/log/?h=remote


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