[Spice-devel] Working seamless mode

Uri Lublin uril at redhat.com
Mon Jan 11 10:43:35 UTC 2021


On 1/10/21 6:50 PM, Roland Baudin wrote:
> Hi Jakub,
> 
> thanks for your detailed answer. I understand there may issues with 
> Wayland, but IMHO the vast majority of Linux users don't use Wayland yet 
> (too many problems!). So I still think your work is very useful. I use 
> the seamless mode at home and at work in Ubuntu 20.04 and it works very 
> nicely.
> 
> But I understand it's difficult to maintain theses patches and make them 
> evolve.
> 
> Have a nice day,
> RB

Hi,

Please do send your patches to the list.
The best way is with git send-email, but attachments
also work. Prefix patch subject with the component
it belongs to (for example [spice-gtk]).

Alternatively, if you prefer, you can create an issue
on gitlab.freedesktop.com, as Jakub suggested, and
add the the patches there.

Maybe your patches will not be maintained, but
by sharing them, others can try a better
seamless-mode and maybe even improve it further.

Thanks,
     Uri.

> 
> 
> 
> Le 06/01/2021 à 12:48, Jakub Janku a écrit :
>> Hi,
>>
>> On Sat, Jan 2, 2021 at 9:49 AM Roland Baudin <roland65 at free.fr> wrote:
>>> Hi,
>>>
>>> perhaps this is not the right place for this request? Could you give me
>>> some place where I can post this request?
>> This is the right place, I believe. Alternatively, you could open a
>> new issue here:
>> https://gitlab.freedesktop.org/spice/spice-protocol/-/issues
>>
>> But to be honest, I wouldn't expect anyone to take it up anytime soon.
>>
>> I don't know how these patches have aged since the time I published them,
>> but I assume that there will be some issues with Wayland (both on the 
>> client
>> and guest side).
>>
>> The main problem is probably the design itself.
>>
>> spice-gkt/virt-viewer shows a single fullscreen window that is
>> partially transparent
>> (in the areas where there's no guest window). This results in a poor 
>> integration
>> with the client's system -- what you'd want is to have a new window in
>> the client for each
>> window/application on the guest and separate drawing contexts for each 
>> app.
>> The original thread goes into more detail on the issues, I think.
>>
>> So the patches would probably require a lot of further work, or
>> complete rewrite.
>> I would be happy to have this feature as well, but the chances are
>> imho slim, sorry.
>>
>> Regards,
>> Jakub
>>
>>> Thanks a lot,
>>> RB
>>>
>>>
>>> Le 31/12/2020 à 10:42, Roland Baudin a écrit :
>>>> Hi there,
>>>>
>>>> for my own purpose, I have ported the seamless mode patches written by
>>>> Jakub Janků, Ondřej Holý and Lukáš Venhoda (see
>>>> https://www.spinics.net/lists/spice-devel/msg30177.html) to Ubuntu 
>>>> 20.04.
>>>>
>>>> I have also hacked the virt-viewer gtk app to allow easily entering
>>>> and leaving seamless mode. This is a very convenient way to work with
>>>> the VM in Ubuntu. It's probably not difficult to do the same with
>>>> virt-manager but alas I'm not a Python programmer.
>>>>
>>>> So, I have a set of packages for Ubuntu 20.04 and installation of
>>>> these packages is very simple. In the Windows VM, it is also required
>>>> to replace the vdagent and vdservice programs by the patched ones.
>>>> This is not difficult, but it's a manual process for now.
>>>>
>>>> Everything works well (but there are probably issues I didn't see,
>>>> possibly with multiple screens) and I think this could be a major
>>>> improvement to the kvm/qemu user experience in Linux.
>>>>
>>>> However, I don't have time (and skills) to maintain these packages and
>>>> patches. I have two other open source projects (Xfe and TexMaths) and
>>>> a full time job...
>>>>
>>>> So, I'm asking here if someone is interestedto get this work and
>>>> maintain it? I could give you my packages (the patches are in the
>>>> source packages) and a little explanation to start.
>>>>
>>>> I'd be happy if the community could build something useful upon this
>>>> work.
>>>>
>>>> If someone is interested, how can I send the files? Mail attachment to
>>>> this list? Google drive?
>>>>
>>>> Thanks for andy answer and have a nice day,
>>>>
>>>> RB
>>>>
>>>>
>>>>
>>> _______________________________________________
>>> Spice-devel mailing list
>>> Spice-devel at lists.freedesktop.org
>>> https://lists.freedesktop.org/mailman/listinfo/spice-devel
> 
> 
> _______________________________________________
> 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