[Spice-devel] KVM-SPICE: View youtube videos smoothly
Oscar Segarra
oscar.segarra at gmail.com
Thu Mar 9 12:24:01 UTC 2017
Hi Pavel,
Yes, in my configuration I have already set:
vram: 64MB
streaming mode='filter' <-- I have tested with 'all" as well with the same
results
image compression='auto_glz'
When I connect through the Internet or from my home wi-fi (54Mbps) In the
logs I can see "LOW BANDWITH" detected, and the video performance is really
bad.
Thanks a lot.
2017-03-09 13:14 GMT+01:00 Pavel Grunt <pgrunt at redhat.com>:
> On Thu, 2017-03-09 at 06:43 -0500, Frediano Ziglio wrote:
> >
> >
> > It's not a small addition. Usually wifi has a much higher latency
> > then wired lan. For comparison on lan usually you
> > have 2-4 ms latency while on wifi 80-100 ms unless you have powerful
> > and quite idle network infrastructure
> > (but still higher than wired).
> >
> > Unfortunately currently the protocol implementation is quite latency
> > dependent.
> >
> > I don't think the latency here is an issue if you are using a recent
> > encoder (here some client
> > guy should help on how to know the encoder used).
>
> Since you are on el7 system you can test our nightly builds:
> https://copr.fedorainfracloud.org/coprs/g/spice/nightly/
> which provides ability to switch the video encoder in spicy (package
> spice-gtk-tools) under Options menu.
>
> Your vm needs to have the video streaming enabled (set to 'filter' or
> 'all').
>
> (virsh edit VM ; and add <streaming mode='all'/> to graphics node)
>
> Also check if the image compression is turned on (ideally set to glz)
>
> Pavel
>
> > Sorry, was meaning bandwidth in the above sentence.
> >
> > About the lag recently we detected another issue in the protocol
> > implementation, hope
> > we can tune and fix it in a short period.
> >
> > Frediano
> >
> >
> > I'd like to add that the connection is via wi-fi (54Mbps).
> >
> > Is it enough for spice videos?
> >
> > thanks a lot.
> >
> > 2017-03-08 19:14 GMT+01:00 Oscar Segarra <oscar.segarra at gmail.com>:
> > > Hi,
> > >
> > > Youtuve videos from virt-manager (locally) has an acceptable
> > > bejaviour... but If I try to connect from the LAN, the behaviour
> > > is not acceptable... the sound goes much faster than the image.
> > >
> > > I have increased the video memory up to 64MB but I have not
> > > experienced any improvement.
> > >
> > > Is there any way to diagnose this lag problems?
> > >
> > > Thanks a lot.
> > >
> > > 2017-03-03 22:45 GMT+01:00 Oscar Segarra <oscar.segarra at gmail.com>
> > > :
> > > > Hi,
> > > >
> > > > After some research, I have been able to install a newer version
> > > > from:
> > > >
> > > > https://fedorapeople.org/groups/virt/virtio-win/direct-downloads
> > > > /archive-virtio/virtio-win-0.1.133-1/
> > > >
> > > > Now, Video has experienced a nice improvement... but sound still
> > > > "hangs"...
> > > >
> > > > Is there any advice to customize sound?
> > > >
> > > > Thanks a lot.
> > > >
> > > > 2017-03-03 21:45 GMT+01:00 Pavel Grunt <pgrunt at redhat.com>:
> > > > > On Fri, 2017-03-03 at 20:19 +0100, Oscar Segarra wrote:
> > > > > > I must say the version is weird.
> > > > > > It is the version that comes with 2K8. I have not been able
> > > > > to find
> > > > > > the W10 qxl driver... ¿Can you paste the link?
> > > > > >
> > > > > It is on our page
> > > > > https://www.spice-space.org/download.html#windows-binaries
> > > > >
> > > > > Windows QXL-WDDM-DOD driver
> > > > >
> > > > > > Beside that which versions (kvm, spice) are you using? Are
> > > > > you using
> > > > > > a recent viewer?
> > > > > >
> > > > > > qemu-kvm.x86_64 10:1.5.3-126.el7
> > > > >
> > > > > > @base
> > > > > > qemu-kvm-common.x86_64 10:1.5.3-126.el7
> > > > > >
> > > > > > spice-glib.x86_64 0.31-6.el7
> > > > >
> > > > > > @base
> > > > > > spice-gtk3.x86_64 0.31-6.el7
> > > > >
> > > > > > @base
> > > > > > spice-protocol.noarch 0.12.11-1.el7
> > > > >
> > > > > > @base
> > > > > > spice-server.x86_64 0.12.4-19.el7
> > > > >
> > > > > > @base
> > > > > >
> > > > > > Regarding to the viewer version:
> > > > > >
> > > > > > remote-viewer.exe version 5.0-256
> > > > > >
> > > > > > Thanks a lot!
> > > > > >
> > > > > >
> > > > > > 2017-03-03 18:04 GMT+01:00 Frediano Ziglio <fziglio at redhat.c
> > > > > om>:
> > > > > > > Hi,
> > > > > > >
> > > > > > > In my environment I have a W10 guest running on a centos 7
> > > > > KVM
> > > > > > > host.
> > > > > > >
> > > > > > > I have installed the following QXL Video driver:
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > But when I try to see (on LAN) a youtube video, it doesn't
> > > > > play
> > > > > > > smoothly, even video and sound stops for a while and
> > > > > continues a
> > > > > > > little bit later. It looks I can see the video rendering
> > > > > as i can
> > > > > > > see a the half of one frame and the half of the following
> > > > > frame on
> > > > > > > the same "image".
> > > > > > >
> > > > > > > If I minimize the internet explorer (or chrome) to the
> > > > > task-bar
> > > > > > > image and sound goes better (not the perfect).
> > > > > > >
> > > > > > > ¿Is there any advice to improve video and sound experience
> > > > > in KVM
> > > > > > > with spice?
> > > > > > >
> > > > > > > Thanks a lot,
> > > > > > >
> > > > > > > I must say the version is weird.
> > > > > > > We released a Windows 10 driver not much ago.
> > > > > > > Beside that which versions (kvm, spice) are you using? Are
> > > > > you
> > > > > > > using a recent viewer?
> > > > > > > New versions implements different code which requires less
> > > > > > > bandwidth (should not
> > > > > > > be a big problem with LAN but you would make sure).
> > > > > > >
> > > > > > > Frediano
> > > > > > >
> > > > > > >
> >
> > _______________________________________________
> > Spice-devel mailing list
> > Spice-devel at lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/spice-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20170309/ffd9eeb0/attachment.html>
More information about the Spice-devel
mailing list