[Spice-devel] Trouble with lossy compression
Adriano Moura
adriano.lols at gmail.com
Tue Jul 12 01:15:56 UTC 2016
2016-07-11 4:47 GMT-03:00 Christophe Fergeau <cfergeau at redhat.com>:
>
> Hey,
>
> On Sun, Jul 10, 2016 at 11:00:46PM -0300, Adriano Moura wrote:
> > I've been trying to use a virtual machine over wi-fi but I'm having
trouble
> > activating the lossy compression method in spice. I can reach about
50mbps
> > but that does not cut with lossless compression while playing a video.
I've
> > tried all command switches for qemu related to spice compression
methods,
> > but no such luck. Here is an excerpt of the machine's xml config:
> >
> > <graphics type='spice' autoport='yes' listen='0.0.0.0'>
> > <listen type='address' address='0.0.0.0'/>
> > </graphics>
> > [...]
> > <qemu:commandline>
> > <qemu:arg value='-spice'/>
> > <qemu:arg
> >
value='image-compression=auto-glz,streaming-video=all,jpeg-wan-compression=always,zlib-glz-wan-compression=auto,playback-compression=on'/>
> > </qemu:commandline>
> >
> > Tried different values and checked if qemu's process is carrying those
> > arguments. (it did)
>
> libvirt has 'native' support for these arguments, see
> https://libvirt.org/formatdomain.html#elementsGraphics , I'd recommend
> using these XML nodes rather than trying to force things through
> qemu:arg.
>
> Christophe
Thanks, that did solve my problem! I remember landing on that page but for
some reason I only checked the other sections related to spice.
Adriano
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20160711/612d5fa0/attachment.html>
More information about the Spice-devel
mailing list