<div dir="ltr">I'm sorry that I misled you.<br><div>The guest OS is windows 7 so that I cannot use virgl.</div><div>I got the configuration from <a href="http://libvirt.org">libvirt.org</a> and I don't know which configuration will work for me, so I pasted all in the mail.</div><div><br></div><div>Do you mean the default configuration the best suited for my case?</div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-02-27 0:58 GMT+08:00 Uri Lublin <span dir="ltr"><<a href="mailto:uril@redhat.com" target="_blank">uril@redhat.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 02/23/2017 09:43 AM, John Y. wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I learned that video and image compression can be chosen server<br>
initiation from <a href="https://www.spice-space.org/spice-user-manual.html" rel="noreferrer" target="_blank">https://www.spice-space.org/sp<wbr>ice-user-manual.html</a>.<br>
How can I change the configuration for the compression ?<br>
<br>
I want to play 720p video smoothly in the guest(some loss or distortion<br>
does not matter).<br>
What is the best configuration for me?<br>
<br>
I got that I can change option of graphics in libvirt like:<br>
<graphics type='spice' port='-1' tlsPort='-1' autoport='yes'><br>
  <channel name='main' mode='secure'/><br>
  <channel name='record' mode='insecure'/><br>
  <image compression='auto_glz'/><br>
  <streaming mode='filter'/><br>
  <clipboard copypaste='no'/><br>
  <mouse mode='client'/><br>
  <filetransfer enable='no'/><br>
  <gl enable='yes' rendernode='/dev/dri/by-path/p<wbr>ci-0000:00:02.0-render'/><br>
</graphics><br>
<br>
Which option should I change ?<br>
<br>
Can I also customize more parameter about the vga(such as fps, bitrate<br>
...) ?<br>
<br>
Regards,<br>
John<br>
</blockquote>
<br>
<br></div></div>
Hi John,<br>
<br>
What is the guest OS?<br>
<br>
According to your configuration above, I assume you are<br>
running the VM locally on your workstation.<br>
Also I see you are trying to use virgl (gl enable=yes)<br>
If this is the case, for Linux guests, you need not to worry about<br>
image/video compression.<br>
Just make sure you are using virtio-vga and that the<br>
given 'rendernode' is correct and accessible,<br>
and that you have new enough qemu-kvm/spice-server and<br>
remote-viewer or virt-manager.<br>
<br>
Regards,<br>
    Uri.<br>
<br>
</blockquote></div><br></div>