[Spice-devel] KVM-SPICE: View youtube videos smoothly
Oscar Segarra
oscar.segarra at gmail.com
Fri Mar 17 08:39:01 UTC 2017
Hi,
I attach logs of virt-manager.
I'd like to add that virt-viewer look work correctly.
2017-03-17 9:04 GMT+01:00 Pavel Grunt <pgrunt at redhat.com>:
> On Fri, 2017-03-17 at 01:40 +0100, Oscar Segarra wrote:
> > Hi Pavel,
> >
> > I have installed the latest nightly build but I have not seen any
> > difference to adjust spice options:
> >
>
> The options to enable streaming are not there, use `virsh edit` as
> mentioned earlier
>
> if the vm is in the user session
>
> $ virsh edit VM
> for system session
>
> $ virsh -c qemu:///system edit VM
>
> if you are talking about the options to change video encoder, they are
> in spicy - install package spice-gtk-tools
>
> and use it in similar way to remote-viewer
>
> $ spicy
>
> or
>
> $ spice --uri spice://host:port
>
>
> >
> >
> > I have not experienced any performance improvement... Just, from the
> > virt-manager I'm not able to see my windows 10 desktop (it is
> > completely black) XS
> Interesting, try running SPICE_DEBUG=1 virt-manager --debug
> and post the output (preferable do a bug report)
>
> >
> > Am I looking at the correct place?
>
> >
> >
> >
> > From Remote Viewer I can see the desktop as usual (I'm upgrading
> > windows):
> >
> >
> >
> > May I revert the spice install in order to make my virt-manager work
> > properly again?
>
> Downgrading should help, but we would really welcome a bug report
> (providing rpm versions of virt-manager and spice packages) in order
> to fix the bug.
>
>
> Thanks,
> Pavel
> >
> > Thanks a lot.
> >
> >
> > 2017-03-09 13:24 GMT+01:00 Oscar Segarra <oscar.segarra at gmail.com>:
> > > 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 gmai
> > > > l.com>
> > > > > > :
> > > > > > > Hi,
> > > > > > >
> > > > > > > After some research, I have been able to install a newer
> > > > version
> > > > > > > from:
> > > > > > >
> > > > > > > https://fedorapeople.org/groups/virt/virtio-win/direct-dow
> > > > nloads
> > > > > > > /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-binari
> > > > es
> > > > > > > >
> > > > > > > > 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 re
> > > > dhat.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/20170317/24ee82d4/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: virt-manager.log
Type: application/octet-stream
Size: 32401 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20170317/24ee82d4/attachment-0001.obj>
More information about the Spice-devel
mailing list