[Spice-devel] Now available: x11spice utility
Jeremy White
jwhite at codeweavers.com
Mon Dec 5 15:22:56 UTC 2016
On 12/04/2016 09:11 AM, Snir Sheriber wrote:
> Hi,
>
> I've tried your x11spice utility , works well!
Great!
>
> We were thinking about doing something similar for Wayland, have you
> thought how it can be done under Wayland? basically the main difference
> is getting the post-compositor-buffer/damages, isn't it?
I'm afraid that I haven't put any real thought into Wayland; I did try
to construct it so that it could theoretically lend itself to other
display systems.
>
> Any comments or suggestions are welcomed
In theory, the bulk of the work should involve abstracting the
display.[ch] logic to have an xcb flavor, and a wayland flavor.
I do see that I used some xcb code for input related stuff in session.c;
that would probably need to be abstracted as well.
I also just pushed a batch of changes I'd been sitting on. You probably
want to do a git pull before you start any work.
Cheers,
Jeremy
>
> Thanks
>
>
> On 08/03/2016 12:24 AM, Jeremy White wrote:
>> Hi folks,
>>
>> I've gone ahead and built an x11spice utility as discussed here:
>> https://lists.freedesktop.org/archives/spice-devel/2016-March/027747.html
>>
>> The source code is here (at least for now):
>> https://github.com/jwhite66/x11spice
>>
>> Essentially, this adds the ability to export a running Xorg session
>> using Spice. It is loosely modeled after the excellent x11vnc utility,
>> although it ended up being an entirely new code base.
>>
>> While I've been working on it for a while, it should be considered early
>> release quality. For example, I don't know how it works on multi head
>> monitors. I also haven't used it for any sustained period of time.
>>
>> The README has build and usage instructions, but it's pretty much just:
>> ./configure && make
>> src/x11spice --generate-password
>>
>> I'd be grateful if folks gave it a try; feedback is greatly appreciated.
>>
>> One result: I don't know if I'll ever be able to get performance to
>> match that of the qxl driver. There are a number of cases (e.g. x11perf
>> with small circles) that prove hard to optimize for. So right now, this
>> is useful for exporting a desktop; it is not yet (and perhaps never will
>> be) a replacement for the qxl driver.
>>
>> Cheers,
>>
>> Jeremy
>> _______________________________________________
>> Spice-devel mailing list
>> Spice-devel at lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/spice-devel
>
More information about the Spice-devel
mailing list