Re: [Spice-devel] Is it possible to put spice channels into different threads?

2020-06-15 Thread
nyway, if you look at channel-webdav.c and vmcstream.c, you >should hopefully get a better idea. > >Cheers, >Jakub > >On Mon, Jun 15, 2020 at 12:52 PM 陈炤 wrote: >> >> Hi, >> >> After debugging, I think my problem is probably not accociated with >> coopera

Re: [Spice-devel] Is it possible to put spice channels into different threads?

2020-06-15 Thread
ng data, send data will be added to tcp buffer but will not be sent out. So I think send event will be affected by receive event, then I guess using different thread would help. Could you please correct me if I’m wrong? BR Don 在 2020-06-12 20:03:30,"Marc-André Lureau"

Re: [Spice-devel] Is it possible to put spice channels into different threads?

2020-06-13 Thread
在 2020-06-12 20:03:30,"Marc-André Lureau" 写道: Hi On Fri, Jun 12, 2020 at 12:57 PM 陈炤 wrote: Hi, Spice-gtk is now using co-routine to handle different channel connections. When a channel is handling data, other channels would have to wait, rather than handling synchronously.

Re: [Spice-devel] Is it possible to put spice channels into different threads?

2020-06-13 Thread
on 在 2020-06-12 20:03:30,"Marc-André Lureau" 写道: Hi On Fri, Jun 12, 2020 at 12:57 PM 陈炤 wrote: Hi, Spice-gtk is now using co-routine to handle different channel connections. When a channel is handling data, other channels would have to wait, rather than handling sy

Re: [Spice-devel] Is it possible to put spice channels into different threads?

2020-06-12 Thread
correct me if I’m wrong? BR Don 在 2020-06-12 20:03:30,"Marc-André Lureau" 写道: Hi On Fri, Jun 12, 2020 at 12:57 PM 陈炤 wrote: Hi, Spice-gtk is now using co-routine to handle different channel connections. When a channel is handling data, other channels would have to wait, r

[Spice-devel] Is it possible to put spice channels into different threads?

2020-06-12 Thread
Hi, Spice-gtk is now using co-routine to handle different channel connections. When a channel is handling data, other channels would have to wait, rather than handling synchronously. That would bring us following issues: 1. If some less important channels (like usb channels) are transfering b

[Spice-devel] Video stream low performance on raspberry pi while using h264

2019-02-22 Thread
Hi, I am testing video stream on raspberry pi. My spice-gtk version is 0.34 and spice server is 0.14, video encode type is h264. On raspberry pi I use omxh264dec as hardware accelerated decoder. When I play video on VM, the video looks fine if the video is set to default size, but if the vi

Re: [Spice-devel] Why does spice server keep sending streaming data while video is not being played?

2019-02-15 Thread
Thanks for your answer! I changed to another player and the issus was gone. At 2019-02-14 17:44:46, "Uri Lublin" wrote: >On 2/14/19 4:40 AM, 陈炤 wrote: >> Hi, >> >> My spice server is 0.14.1 and gtk is master in the repository. >> >> I was tes

Re: [Spice-devel] Why does spice server keep sending streaming data while video is not being played?

2019-02-15 Thread
Yes, my player cause this. I changed my player to another one and the issue was gone. Thanks a lot! At 2019-02-14 17:36:26, "Frediano Ziglio" wrote: Hi, My spice server is 0.14.1 and gtk is master in the repository. I was testing video stream. I set video-streaming to "filter" and pl

[Spice-devel] Why does spice server keep sending streaming data while video is not being played?

2019-02-13 Thread
Hi, My spice server is 0.14.1 and gtk is master in the repository. I was testing video stream. I set video-streaming to "filter" and played a .mp4 file. The CPU usage of the gtk is about 180%. When I pause the video, theoretically the stream should be destroyed and no data sould be sent, but

Re: [Spice-devel] spice server can not print info log

2019-01-22 Thread
spice_debug or spice_warning, but when I changed it to spice_info, it printed nothing. BR Don At 2019-01-22 20:43:50, "Christophe Fergeau" wrote: >Hey, > >On Tue, Jan 22, 2019 at 03:26:37PM +0800, 陈炤 wrote: >> I browsed the `spice-common` code, it seems that in orde

[Spice-devel] spice server can not print info log

2019-01-21 Thread
Hi, I browsed the `spice-common` code, it seems that in order to print debug code, G_MESSAGES_DEBUG is needed, so I set G_MESSAGES_DEBUG=all. The debug log can be printed, but the info log is missing. Actually, only debug and warning log can be printed. Does anyone have the same issue? BR Don_

Re: [Spice-devel] What algorithm does SPICE server use in video stream detection?

2019-01-15 Thread
Hi Christophe, Thank you for your answer! BR, Don At 2019-01-15 21:54:36, "Christophe Fergeau" wrote: >Hey, > >On Thu, Jan 10, 2019 at 03:03:05PM +0800, 陈炤 wrote: >> Hi, >> >> >> >> I read the spice server code, and find that the

[Spice-devel] What algorithm does SPICE server use in video stream detection?

2019-01-09 Thread
Hi, I read the spice server code, and find that the video stream detection code is in server/spice-bitmap-utils.c. func bitmap_get_graduality_level will calculate a score, and the GRADUALITY is set based on the score. So what's the meaning of this score, and what algorithm does it use to cal

[Spice-devel] Does SPICE have a solution on video redirection(or passthrough)?

2018-12-25 Thread
Hi, Does SPICE have a solution to capture video stream, and pass-through it to the client? I want this feature for these reasons: 1. Currently SPICE render video on server side, which would consume CPU of the server. If the video can be rendered on just client side, the server could save much

Re: [Spice-devel] Can libspice be moved into guest os(virtual machine)?

2018-12-17 Thread
Hi Christophe, Thanks for your information, and that helps a lot. I will download this project to have a deeper look. BR Don At 2018-12-17 17:21:57, "Christophe Fergeau" wrote: >Hey, > >On Mon, Dec 17, 2018 at 10:37:02AM +0800, 陈炤 wrote: >> Below is h

[Spice-devel] Can libspice be moved into guest os(virtual machine)?

2018-12-16 Thread
Hi, Below is how SPICE handles commands: For some reason I want to move the lipspice code into guest OS(rather than in qemu), and the structure would look like: Is that possible? BR Don ___ Spice-devel mailing list Spice-devel@lists.freedesk