<div dir="ltr">Hi, I go on the website with another browser (chrome) but i don't think that it can change the result and the qxl driver is installed on the VM.<br>I don't know how to get the size of the stream created, can you explain me? <br>
The test that i made is: open the excel file, in full screen, and going up an down quickly (same test on website). I put log on mjpeg_encoder and stream functions, to observe this stream creation. It takes about 10 seconds to launch a stream detection.<br>
<br>Thanks,<br>Matilde</div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/7/12 Yonit Halperin <span dir="ltr"><<a href="mailto:yhalperi@redhat.com" target="_blank">yhalperi@redhat.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<div class="im"><br>
On 07/02/2013 10:47 AM, Matilde Yanez wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
<br>
<br>
<br>
2013/7/2 Yonit Halperin <<a href="mailto:yhalperi@redhat.com" target="_blank">yhalperi@redhat.com</a> <mailto:<a href="mailto:yhalperi@redhat.com" target="_blank">yhalperi@redhat.com</a>>><br>
<br>
On 07/02/2013 10:22 AM, Matilde Yanez wrote:<br>
<br>
<br>
Hi,<br>
thanks for answers.<br>
<br>
2013/7/2 Yonit Halperin <<a href="mailto:yhalperi@redhat.com" target="_blank">yhalperi@redhat.com</a><br></div>
<mailto:<a href="mailto:yhalperi@redhat.com" target="_blank">yhalperi@redhat.com</a>> <mailto:<a href="mailto:yhalperi@redhat.com" target="_blank">yhalperi@redhat.com</a><div><div class="h5"><br>
<mailto:<a href="mailto:yhalperi@redhat.com" target="_blank">yhalperi@redhat.com</a>>>><br>
<br>
<br>
Hi,<br>
<br>
On 07/01/2013 04:27 AM, Matilde Yanez wrote:<br>
<br>
Hello,<br>
<br>
I need some information about video detection, on VM.<br>
When I am on web pages, or documents, with images the<br>
VM seems<br>
to detect<br>
video and start the mjpeg_encoder process.<br>
Thus, the display is slows down.<br>
<br>
What vm are you using? We encountered such behaviour with<br>
gnome-shell, due to high frequency updates of regions over the<br>
primary surface.<br>
<br>
<br>
On CentOs and Windows VMs, indeed with high frequency updates of<br>
regions<br>
it considers that is video. Such as large Excel documents or web<br>
page<br>
with many images. Adding log I can see that spice server starts<br>
stream,<br>
and does the same treatment as video.<br>
<br>
Have you used the default setting of streaming-video<br>
(streaming-video=filter), or did you use streaming-video=on? Can you<br>
send me an example document and the Microsoft Office version you are<br>
using?<br>
<br>
<br>
Using the default setting of streaming-video, scroling on<br>
"<a href="http://www.lemonde.fr/" target="_blank">http://www.lemonde.fr/</a>" for exemple.<br>
The Microsoft version is <a href="tel:14.0.4730.1010" value="+14047301010" target="_blank">14.0.4730.1010</a> (Office Professional Plus 2010).<br>
</div></div></blockquote>
I couldn't reproduce your experience. I browsed the website (with IE), and the excel file you gave me, and didn't observe video streams that are being created. Is it possible that the qxl driver is not installed?<br>
What are the sizes of the video streams that are being created?<br>
<br>
Cheers,<br>
Yonit.<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
<br>
<br>
<br>
With argument streaming-video=off, the CPU consomation<br>
goes up.<br>
<br>
This is unexpected. On which guest scenarios?<br>
<br>
<br>
When I play a movie, with default "streaming-video" arguments, on<br>
windows VM, I am around 60% of CPU consomation of VM's qemu process<br>
("top" command), and with "streaming-video=off" I am around 120%.<br>
Due to all images that are send to refresh client display?<br>
<br>
Ok, it is expected for movie playback. I thought you meant that it<br>
happens for the document browsing.<br>
<br>
Increasing the value of<br></div>
"RED_STREAM_FRAMES_START_____<u></u>CONDITION",<div><div class="h5"><br>
<br>
does not<br>
launch the video detection on these documents and keep<br>
fluidity on<br>
videos and documents<br>
<br>
How can i make difference between real video, and<br>
documents with<br>
images?<br>
<br>
I'm afraid there is no simple answer for this<br>
(1) Why does the driver send frequent updates? Does the<br>
rectangles<br>
that are being updated really change? Can it be prevented<br>
on the<br>
driver side?<br>
(2) If the area that is being refreshed doesn't change<br>
much, we can<br>
apply a quick comparison of sampled regions of 2 successive<br>
"frames", and if most of the pixels stay the same, we won't<br>
consider<br>
those "frames" as part of a video stream. (for such<br>
scenarios we<br>
would also like to improve and employ the GLZ encoding, or<br>
change<br>
our caching mechanism, to be applied on slices of bitmaps)<br>
<br>
<br>
I think I will investigate on the 2nd point.<br>
<br>
On what part of the spice-server code can i make<br>
changes?<br>
<br>
Code that is related to video streams is located in<br>
red_worker.c, in<br>
routines with "stream|upgrade" in their names.<br>
<br>
<br>
Thanks,<br>
Matilde.<br>
<br>
Regards,<br>
Yonit.<br>
<br>
<br>
Matilde.<br>
<br></div></div>
______________________________<u></u>_____________________<br>
Spice-devel mailing list<br>
Spice-devel@lists.freedesktop.<u></u>____org<br>
<mailto:<a href="mailto:Spice-devel@lists." target="_blank">Spice-devel@lists.</a>__<a href="http://freedesktop.org" target="_blank">fr<u></u>eedesktop.org</a><br>
<mailto:<a href="mailto:Spice-devel@lists.freedesktop.org" target="_blank">Spice-devel@lists.<u></u>freedesktop.org</a>>><br>
<a href="http://lists.freedesktop.org/____mailman/listinfo/spice-devel" target="_blank">http://lists.freedesktop.org/_<u></u>___mailman/listinfo/spice-<u></u>devel</a><br>
<<a href="http://lists.freedesktop.org/__mailman/listinfo/spice-devel" target="_blank">http://lists.freedesktop.org/<u></u>__mailman/listinfo/spice-devel</a><u></u>><br>
<br>
<<a href="http://lists.freedesktop.org/__mailman/listinfo/spice-devel" target="_blank">http://lists.freedesktop.org/<u></u>__mailman/listinfo/spice-devel</a><br>
<<a href="http://lists.freedesktop.org/mailman/listinfo/spice-devel" target="_blank">http://lists.freedesktop.org/<u></u>mailman/listinfo/spice-devel</a>>><br>
<br>
<br>
<br>
<br>
<br>
</blockquote>
<br>
</blockquote></div><br></div>