2016-07-11 4:47 GMT-03:00 Christophe Fergeau <cfergeau@xxxxxxxxxx>:
>
> 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
>
> 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
_______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel