[Spice-devel] Trouble with lossy compression
Christophe Fergeau
cfergeau at redhat.com
Mon Jul 11 07:47:50 UTC 2016
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20160711/f9449d25/attachment-0001.sig>
More information about the Spice-devel
mailing list