-
-
Notifications
You must be signed in to change notification settings - Fork 171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wayland server backend #387
Comments
More links:
|
Recent discussion on wayland-devel with links:
|
New wiki: Wayland Remoting. It looks nowhere near ready yet. |
This would also solve #510 See:
|
Note: it is already possible to use a wayland server as an X11 vfb for xpra. ie: based on #1656#comment:12 with weston:
|
As per Wayland misconceptions debunked: Things like sending pixel buffers to the compositor are already abstracted on Wayland and a network-backed implementation could be easily made.. I'm not sure it is really that easy: the handling of pixel buffers is just one small part of what we do. |
We're in the same boat as barrier, though there are now virtual device methods? wlroots based VNC server and the protocols it uses virtual_keyboard_unstable_v1 and wlr_virtual_pointer_unstable_v1 |
This is for a secondary virtual screen, but maybe the code to use is the same? synergy: wlr-synergy-client.c |
Hi it's been quite short time I have been using Xpra and html client. I would like to explore more on wayland side and wanted to launch html5 client on wayland. Is it supported by current xpra ? Any information will be appropriated. |
Assuming that you mean running wayland applications via xpra. Not yet, no. Sorry. |
OBS Studio on Wayland: And wlroots seems to have a virtual pointer: |
r-c-f/waynergy#16 mentions libei https://gitlab.freedesktop.org/libinput/libei being examined for use with the barrier project: blog post here https://who-t.blogspot.com/2021/08/libei-status-update.html . A post on the goals of libei is here https://lists.freedesktop.org/archives/wayland-devel/2020-July/041556.html |
More wayland limitations recorded here: #3322 (comment) |
One more: Isolating Xwayland in a VM: In Wayland, things are not so simple. I have so far found no less than four separate Wayland protocols for copying text |
I'm rather surprised that Waypipe wasn't mentioned already? I've been using in place of X11 forwarding for a few years now, with a lot of success (it tends to work better with apps such as web browsers IMO), the only thing it lacks is an xpra-like session management where you can disconnect and reconnect. |
@MayeulC we have But that's not what I had in mind for a wayland server, I want a seamless server, not a desktop session. |
@totaam I only see reference to In case it's a confusion, the two names are unfortunately relatively close, but Waypipe does not implement a full Wayland server, but it's almost there, as it keeps track of allocated buffers to efficiently send the difference. |
@MayeulC my bad, I meant |
Hmm, I see, what is the issue for cross-platform support with waypipe? Endianess? Code portability? The fact that it relies on a Wayland compositor on the client-side? If the latter, I don't think it would be that complex to run a Wayland compositor on Windows and other platforms (famous last words). Though I can see how that differs from the initial goal, making Waypipe a less appealing solution. I guess I more-or-less answered my own answer, but both writing a Wayland "server-side" for xpra, and a compositor back-end seem to be quite similar goals, and Waypipe's serializing could be re-purposed. Edit: my pipe-dream would be to add a "compositor handover" Wayland protocol, to be able to detach windows and attach them to another compositor: suddenly take over all your windows, and send them remotely, or use a "synergy-style" interaction to "move" windows (in fact, just the display, as buffers are then sent to another compositor: wayvnc, xpra, or Waypipe; to be sent off) from one computer to another. |
Looks like if we want to have a Wayland seamless server (and at this point, I'm still really not sure that's a good idea since so many things are missing from Wayland, because hand-waving reasons) then we may want something like VKMS |
I'm curious, what kind of things do you still see missing from wayland? |
@ShadowJonathan I can't list them all here, it would take too long and that alone is a worrying sign. The main one is the lack of window placement - and even this PR is not going to be in the core protocol, assuming it ever gets merged in a usable form which is far from guaranteed at this point. Also: #3721 For xpra, handling X11 windows via Wayland means losing a number of protocols and features, for very little gain. If you scour the links above, you will find that anyone that dares question the direction that Wayland is taking is immediately branded a Wayland-hater, or they will be told that they don't understand what they're doing and then be lectured on how they should be doing it (haha!), or that they need to spend X man-years fixing software that works perfectly well now. |
Some links that may be useful:
|
We should be able to plug into wayland and provide remote access for it.
Reading this freerdp implementation, it doesn't look too hard.
The main difficulty may be in glueing the C api with our (mostly) python server code.
What makes this now more interesting than before is the availability of sub-surfaces - which would allow us to get YUV data for window's sub-regions (like an embedded video player in a browser), without effort.
The text was updated successfully, but these errors were encountered: