[Spice-devel] proxmox spice - control video and audio compression

Uri Lublin uril at redhat.com
Tue Sep 10 11:31:54 UTC 2019


On 9/10/19 3:28 AM, Rafael de Almeida wrote:
> Hello,
> 
> We use x2go and chrome remote desktop for VDI on the virtual machines 
> that are on proxmox.
> 
> We recently started using spice to access webcam through weaker 
> computers (dualcore processors) that don't support good quality video 
> conferencing.
> 
> 
> Everything is working perfectly (audio and image), but I believe there 
> has been a high compression in the spice that causes a slight delay in 
> sending video and audio.
> 
> The network has hardly any more significant use even with video sending.
> 
> How can I control compression? How do I deduce or disable compression in 
> vm proxmox?
> 

Hi,

You can use qemu-kvm -spice option to set the following options:
  * image-compression=[auto_glz|auto_lz|quic|glz|lz|off]
  * jpeg-wan-compression=[auto|never|always]
  * zlib-glz-wan-compression=[auto|never|always]
  * streaming-video=[off|all|filter]

See man qemu-kvm for more information.
You can start by setting all these options to 'off'.

See libvirt documentation about domain xml for setting these
options when running the VM via libvirt.

Hope that helps,
     Uri.


More information about the Spice-devel mailing list