Re: Spice backend for Weston

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Thanks for your interest.
> [resending to the list, Юрий, please reply to this message]
> 
> Hi,
> 
> Shvedov Yury píše v Po 29. 04. 2013 v 16:37 +0400:  
> > Hello.
> > 
> > As part of my course work, I've developed spice backend for Weston
> > (the reference implementation of Wayland compositor).   
> 
> Nice!
>   
> > Currently this uses
> > Wayland's pixman-based renderer, and shares rendered frames over
> > spice protocol.   
> 
> Have you looked into possibility of rendering & sending of each buffer
> (is it the correct term?) and sending them to the client independently
> so that final compositing could be deferred to the client?
> 
> IMO that approach has the biggest potential of b/w saving for use
> cases such as window move or "pop-up window appears and it's
> dismissed".  

Yes, I thought about that. As I wrote, there is no optimization for now
and it is my course work. So I don't exactly know what I will do with
back-end, but it will be in the summer or autumn.

In two words, I think, I'll need to write my own renderer what will
manage weston's surfaces by itself.

>   
> > With my backend, it is possible to communicate with wayland
> > desktop using spice client.
> > 
> > Current implementation is proof-of-concept only. Only shm buffers
> > are supported, and no attempt is made to optimize bandwidth.
> > Performance is expectedly bad. The first goal was just to make it
> > working, and now it works - at least if client and server are on
> > the same physical host.
> > 
> > In future, I plan to utilize GL both for rendering and calculating 
> > difference between frames. With this approach I hope to get both 
> > full-functional desktop and minimize server and bandwidth
> > requirements.
> >   
> 
> That sounds like something that John A. Sullivan III would
> appreciate. :)
> 
> David
>   
> > My code is available at
> > https://github.com/ein-shved/compositor-spice.git
> > 
> > Comments and/or bugfixes are greatly appreciated.
> > 
> > P.S.
> > I know that recently RDP backend was added to Weston.
> > I was not aware of that while working on my backend.
> > I hope it will be possible to share effort with that project to
> > build better remote wayland solutions.
> > _______________________________________________
> > Spice-devel mailing list
> > Spice-devel@xxxxxxxxxxxxxxxxxxxxx
> > http://lists.freedesktop.org/mailman/listinfo/spice-devel  
>   

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]