Re: [Spice-devel] Questions about experimental Spice compositor rebase

2016-03-31 Thread Christophe Fergeau
Hey, On Sun, Feb 28, 2016 at 03:36:58PM +0100, Fabio Fantoni wrote: > > I did fast build tests, I fixed one my mistake in Makefile.am and after I > had this error: > >src/spice/weston_basic_event_loop.h:27:31: fatal error: weston/compositor.h: > >No such file or directory > I fixed with this eve

Re: [Spice-devel] Questions about experimental Spice compositor rebase

2016-03-24 Thread Yury Shvedov
Yes, this is the most significant problem of this project. I do not have time at all now. All I can to do now is to suggest you to try put the line to the repaint function I wrote you some time ago and put an debug output about the damage argument. You will see then how does it affects to the

Re: [Spice-devel] Questions about experimental Spice compositor rebase

2016-03-24 Thread Fabio Fantoni
Il 24/03/2016 17:13, Yury Shvedov ha scritto: Fabio, can you please explain me, why do you continue performance testing the thing what already known to have an awful performance and the way of fixing that? You right, I must try to do significant changes instead (probably following rdp composi

Re: [Spice-devel] Questions about experimental Spice compositor rebase

2016-03-24 Thread Yury Shvedov
Fabio, can you please explain me, why do you continue performance testing the thing what already known to have an awful performance and the way of fixing that? On 03/24/2016 07:08 PM, Fabio Fantoni wrote: Il 24/03/2016 16:47, Yury Shvedov ha scritto: Hi! Very thank you, but we know and alrea

Re: [Spice-devel] Questions about experimental Spice compositor rebase

2016-03-24 Thread Fabio Fantoni
Il 24/03/2016 16:47, Yury Shvedov ha scritto: Hi! Very thank you, but we know and already fixed that =) On 03/24/2016 06:40 PM, Christophe Fergeau wrote: Hey, On Sun, Feb 28, 2016 at 03:36:58PM +0100, Fabio Fantoni wrote: I did fast build tests, I fixed one my mistake in Makefile.am and afte

Re: [Spice-devel] Questions about experimental Spice compositor rebase

2016-03-24 Thread Yury Shvedov
Hi! Very thank you, but we know and already fixed that =) On 03/24/2016 06:40 PM, Christophe Fergeau wrote: Hey, On Sun, Feb 28, 2016 at 03:36:58PM +0100, Fabio Fantoni wrote: I did fast build tests, I fixed one my mistake in Makefile.am and after I had this error: src/spice/weston_basic_eve

Re: Questions about experimental Spice compositor rebase

2016-03-22 Thread Yury Shvedov
Hi, Fabio. Unfortunately, I haven't time for this at all. On 03/21/2016 12:59 AM, Fabio Fantoni wrote: I unfortunately had short time also this weekend. I tried to search a more efficient way to limit fps send to spice (instead of adding another buffer like xspice) and probably I found someth

Re: Questions about experimental Spice compositor rebase

2016-03-20 Thread Fabio Fantoni
Il 14/03/2016 00:09, Fabio Fantoni ha scritto: Il 12/03/2016 23:13, Fabio Fantoni ha scritto: Il 10/03/2016 22:58, Yury Shvedov ha scritto: On 03/10/2016 06:04 PM, Fabio Fantoni wrote: In recent years have done too little programming and mymemory is bad lately. About the performance problem

Re: Questions about experimental Spice compositor rebase

2016-03-13 Thread Fabio Fantoni
Il 12/03/2016 23:13, Fabio Fantoni ha scritto: Il 10/03/2016 22:58, Yury Shvedov ha scritto: On 03/10/2016 06:04 PM, Fabio Fantoni wrote: In recent years have done too little programming and mymemory is bad lately. About the performance problem I remember something like a big problem also i

Re: Questions about experimental Spice compositor rebase

2016-03-12 Thread Fabio Fantoni
Il 10/03/2016 22:58, Yury Shvedov ha scritto: On 03/10/2016 06:04 PM, Fabio Fantoni wrote: In recent years have done too little programming and mymemory is bad lately. About the performance problem I remember something like a big problem also in xspice that seems improved a lot with deferred

Re: Questions about experimental Spice compositor rebase

2016-03-10 Thread Yury Shvedov
On 03/10/2016 06:04 PM, Fabio Fantoni wrote: In recent years have done too little programming and mymemory is bad lately. About the performance problem I remember something like a big problem also in xspice that seems improved a lot with deferred fps: https://lists.freedesktop.org/archives/spi

Re: Questions about experimental Spice compositor rebase

2016-03-10 Thread Fabio Fantoni
Il 09/03/2016 20:32, Yury Shvedov ha scritto: Hi, Fabio! Sorry for long silence. Kind regards Yury Shvedov On 03/07/2016 12:12 AM, Fabio Fantoni wrote: Il 06/03/2016 13:25, Yury Shvedov ha scritto: Hi, Fabio! I made 3 new commits. First one updates code to work with new Spice API. Here, as I t

Re: Questions about experimental Spice compositor rebase

2016-03-09 Thread Yury Shvedov
Hi, Fabio! Sorry for long silence. Kind regards Yury Shvedov On 03/07/2016 12:12 AM, Fabio Fantoni wrote: Il 06/03/2016 13:25, Yury Shvedov ha scritto: Hi, Fabio! I made 3 new commits. First one updates code to work with new Spice API. Here, as I think, must be Spice version check if for exam

Re: Questions about experimental Spice compositor rebase

2016-03-06 Thread Fabio Fantoni
Il 06/03/2016 13:25, Yury Shvedov ha scritto: Hi, Fabio! I made 3 new commits. First one updates code to work with new Spice API. Here, as I think, must be Spice version check if for example in Debian 8 it less than 0.11. Debian 8 have spice-server 0.12.5, debian 7 with backports have 0.12.4,

Re: Questions about experimental Spice compositor rebase

2016-03-06 Thread Yury Shvedov
Hi, Fabio! I made 3 new commits. First one updates code to work with new Spice API. Here, as I think, must be Spice version check if for example in Debian 8 it less than 0.11. Second one is regarding your remarks. I hurried too much with editing your commits. I'm sorry. So I left your logic b

Re: Questions about experimental Spice compositor rebase

2016-03-04 Thread Fabio Fantoni
Il 04/03/2016 08:10, Yury Shvedov ha scritto: On 03/03/2016 09:08 PM, Fabio Fantoni wrote: 2016-03-03 20:17 GMT+01:00 Юрий Шведов >: Ok, I understood why did you do so, and now I see, where did you take the code. The reason, why I change that is to rem

Re: Questions about experimental Spice compositor rebase

2016-03-03 Thread Yury Shvedov
On 03/03/2016 09:08 PM, Fabio Fantoni wrote: 2016-03-03 20:17 GMT+01:00 Юрий Шведов >: Ok, I understood why did you do so, and now I see, where did you take the code. The reason, why I change that is to remove unnecessary macro parce_name, which can

Re: Questions about experimental Spice compositor rebase

2016-03-03 Thread Fabio Fantoni
2016-03-03 20:17 GMT+01:00 Юрий Шведов : > Ok, I understood why did you do so, and now I see, where did you take the > code. > > The reason, why I change that is to remove unnecessary macro parce_name, > which can be replaced by inline function, and merge two functions to one > with the same funct

Re: Questions about experimental Spice compositor rebase

2016-03-03 Thread Юрий Шведов
Ok, I understood why did you do so, and now I see, where did you take the code. The reason, why I change that is to remove unnecessary macro parce_name, which can be replaced by inline function, and merge two functions to one with the same functionality and code reduce. But my mistake isthet I f

Re: Questions about experimental Spice compositor rebase

2016-03-03 Thread Fabio Fantoni
2016-03-03 18:57 GMT+01:00 Yury Shvedov : > I cherry-picked your commits to my repo > with some > modifications. Take a look if you want =). > I saw your change, compression option I think should be image compression or similar because

Re: Questions about experimental Spice compositor rebase

2016-03-03 Thread Yury Shvedov
I cherry-picked your commits to my repo with some modifications. Take a look if you want =). On 03/03/2016 05:23 PM, Fabio Fantoni wrote: Il 03/03/2016 17:03, Yury Shvedov ha scritto: On 03/03/2016 04:40 PM, Fabio Fantoni wrote:

Re: Questions about experimental Spice compositor rebase

2016-03-03 Thread Fabio Fantoni
Il 03/03/2016 17:03, Yury Shvedov ha scritto: On 03/03/2016 04:40 PM, Fabio Fantoni wrote: host and port parameter are working, added also in documentation Perfect! Thank you! It is not a problemfor me, I do it quickly. Ok, it is up to you. I did very fast some small commits: https://githu

Re: Questions about experimental Spice compositor rebase

2016-03-03 Thread Yury Shvedov
On 03/03/2016 04:40 PM, Fabio Fantoni wrote: host and port parameter are working, added also in documentation Perfect! Thank you! It is not a problemfor me, I do it quickly. Ok, it is up to you. I did very fast some small commits: https://github.com/Fantu/compositor-spice/commits/rebase/spi

Re: Questions about experimental Spice compositor rebase

2016-03-03 Thread Fabio Fantoni
Il 01/03/2016 17:16, Yury Shvedov ha scritto: On 03/01/2016 04:56 PM, Fabio Fantoni wrote: Il 29/02/2016 21:51, Yury Shvedov ha scritto: Hi, Fabio! I managed to compile and run compositor-spice with the latest weston master branch. See last commit

Re: Questions about experimental Spice compositor rebase

2016-03-01 Thread Yury Shvedov
On 03/01/2016 04:56 PM, Fabio Fantoni wrote: Il 29/02/2016 21:51, Yury Shvedov ha scritto: Hi, Fabio! I managed to compile and run compositor-spice with the latest weston master branch. See last commit

Re: Questions about experimental Spice compositor rebase

2016-03-01 Thread Fabio Fantoni
Il 29/02/2016 21:51, Yury Shvedov ha scritto: Hi, Fabio! I managed to compile and run compositor-spice with the latest weston master branch. See last commit . Here, how I did it: export PREFIX=$HO

Re: Questions about experimental Spice compositor rebase

2016-03-01 Thread Pekka Paalanen
On Mon, 29 Feb 2016 17:07:23 +0100 Yury Shvedov wrote: > On 02/29/2016 04:39 PM, Fabio Fantoni wrote: > > Usually I keep do rebase of my patches (with git rebase -i) and other > > patches in development to test always queued to upstream commits to > > make it easier and faster update them, hav

Re: Questions about experimental Spice compositor rebase

2016-02-29 Thread timofonic timofonic
I don't want to break the great development workflow. I'm just a lurker with some questions. What are the differences and potential advantages of the SPICE protocol against others (RDP, Xpra, NX, VNC)? I see there's possibilities like audio recording/playing, usb device sharing, share folders. Wh

Re: Questions about experimental Spice compositor rebase

2016-02-29 Thread Yury Shvedov
Hi, Fabio! I managed to compile and run compositor-spice with the latest weston master branch. See last commit . Here, how I did it: export PREFIX=$HOME/usr #setup prefix variable. You can choose a

Re: Questions about experimental Spice compositor rebase

2016-02-29 Thread Yury Shvedov
On 02/29/2016 04:39 PM, Fabio Fantoni wrote: Il 29/02/2016 16:01, Yury Shvedov ha scritto: Unfortunately, it is bit complex for me, to understand what are you trying to do and why do you dancing with diff's instead of just simple merge. Sorry for my bad english. Don't worry, your English i

Re: Questions about experimental Spice compositor rebase

2016-02-29 Thread Fabio Fantoni
Il 29/02/2016 16:01, Yury Shvedov ha scritto: Unfortunately, it is bit complex for me, to understand what are you trying to do and why do you dancing with diff's instead of just simple merge. Sorry for my bad english. As you not rebase all your commits on top is difficult find all your change

Re: Questions about experimental Spice compositor rebase

2016-02-29 Thread Yury Shvedov
Unfortunately, it is bit complex for me, to understand what are you trying to do and why do you dancing with diff's instead of just simple merge. Anyway, I gave you an edit-access to my repository. If you want, you can work with it directly on your own branch. I hope, this will make things si

Re: Questions about experimental Spice compositor rebase

2016-02-29 Thread Fabio Fantoni
Il 29/02/2016 12:26, Yury Shvedov ha scritto: Hi, Fabio! Take look at my latest commit It now merged with latest master version and successfully compiles with ./configure --enable-spice-compositor. But unfortunately it doesn't work due to new spice API. I hope, this evening it will!. Thanks

Re: Questions about experimental Spice compositor rebase

2016-02-29 Thread Yury Shvedov
Hi, Fabio! Take look at my latest commit It now merged with latest master version and successfully compiles with ./configure --enable-spice-compositor. But unfortunately it doesn't work due to new spice API. I hope, this evening it will!. On 02/29/2016 12:22 PM, Daniel Stone wrote: Hi Fabio,

Re: Questions about experimental Spice compositor rebase

2016-02-29 Thread Daniel Stone
Hi Fabio, On 27 February 2016 at 18:02, Fabio Fantoni wrote: > Hi, long time ago I saw an interesting project for weston, the spice > compositor: > https://github.com/ein-shved/compositor-spice > It is now abandoned because the developer has been involved in another > project. > As no other has c

Re: Questions about experimental Spice compositor rebase

2016-02-28 Thread Yury Shvedov
Hi, Fabio! Your patient interest to this project make me to perform the attempt to continue it. Now, I'm trying another way. 1. Compile old sources (old weston) with new version of spice and wayland - done 2. Make it work if possible 3. Compile with new version of weston (perform merge) 4.

Re: Questions about experimental Spice compositor rebase

2016-02-28 Thread Fabio Fantoni
Il 27/02/2016 19:02, Fabio Fantoni ha scritto: Hi, long time ago I saw an interesting project for weston, the spice compositor: https://github.com/ein-shved/compositor-spice It is now abandoned because the developer has been involved in another project. As no other has continued it, despite m

Questions about experimental Spice compositor rebase

2016-02-27 Thread Fabio Fantoni
Hi, long time ago I saw an interesting project for weston, the spice compositor: https://github.com/ein-shved/compositor-spice It is now abandoned because the developer has been involved in another project. As no other has continued it, despite my low knowledge and time I would try to update, t