<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi Pavel,<br>
      <br>
          I have upgraded spice protocol to <b>0.12.10 </b>and spice
      server to <b>0.12.6 </b>which are latest and stable release into
      Ubuntu Host Machine on which spice server is running. Then, I have
      checked with older spice gtk version <b>0.22 </b>with QUIC Image
      Decompression Method on my A20 board which does not impact any on
      speed perspective.<br>
      <br>
          Now, I am planning to apply patch for LZ4 image
      compression/decompression support on my A20 board and will let you
      know the result as soon as possible.<br>
      <br>
      <br>
      <u><b>Questions:-<br>
          <br>
        </b></u>    Do I need to add option like image-compression=lz4
      to enable LZ4 image compression/decompression method while running
      virtual manager(kvm) at spice server side? What is default image
      compression/decompression method in latest spice server 0.12.6 if
      we do not add any image-compression option while running virtual
      manager(kvm) on spice server side?<br>
      <br>
      <pre class="moz-signature" cols="72">Regards,
Ritesh Prajapati,
System Level Solutions (India) Pvt.Ltd.
</pre>
      On Monday 11 January 2016 02:30 PM, Ritesh Prajapati wrote:<br>
    </div>
    <blockquote cite="mid:56936F41.70402@slscorp.com" type="cite">Hi
      Pavel,
      <br>
      <br>
          Thanks for your quick reply.
      <br>
      <br>
          I will try to upgrade SPICE GTK Firmware or apply patch of lz4
      image compression/decompression support on my A20 SoC board and
      SPICE Server 0.12.6 on my Ubuntu Host System. I will let you know
      the result that it speeds up image decompression process or not
      after testing it on my A20 board.
      <br>
      <br>
      Regards,
      <br>
      Ritesh Prajapati,
      <br>
      System Level Solutions (India) Pvt.Ltd.
      <br>
      <br>
      On Monday 11 January 2016 02:14 PM, Pavel Grunt wrote:
      <br>
      <blockquote type="cite">Hi,
        <br>
        <br>
        On Mon, 2016-01-11 at 12:17 +0530, Ritesh Prajapati wrote:
        <br>
        <blockquote type="cite">Hi,
          <br>
          <br>
          Currently, I am working and porting Android Kitkat 4.4.2 on
          All-
          <br>
          winner A20 Soc board with following hardware and software
          details.
          <br>
          A20 Allwinner SoC
          <br>
          1 GB RAM
          <br>
          8 GB NAND MMC
          <br>
          Linux Kernel Version 3.4.39
          <br>
          Malli 400 GPU
          <br>
          Android Kitkat Version 4.4.2
          <br>
          SPICE GTK Version 0.22
          <br>
        </blockquote>
        This is 2 years old, please try something more recent. There
        were some
        <br>
        updates to image compression like the lz4 image compression
        support
        <br>
        (v0.27), the ability to change the compression from the client
        (v0.30).
        <br>
        These improvements require the spice server v0.12.6.
        <br>
        <blockquote type="cite">I have configured and installed Linux
          Virtual Manager in one Ubuntu
          <br>
          Desktop 14.04 Linux System to configure and run SPICE Server
          on it.
          <br>
          Then, I have developed one Android based application which is
          used to
          <br>
          configure SPICE Client settings and to start SPICE Client for
          <br>
          connecting with SPICE Server which is running on Ubuntu
          Desktop
          <br>
          System.
          <br>
          <br>
          After connecting to SPICE Server from SPICE Client, I have
          started
          <br>
          one video sample which is stored in Ubuntu Desktop System on
          which
          <br>
          SPICE Server is running.
          <br>
          <br>
          Now, The issue is that the Video Sample which is streamed on
          A20
          <br>
          board is too much slow compare to playing it in normal mode
          using
          <br>
          video player.
          <br>
          <br>
          So, I have tried to debug SPICE Client code on A20 board and
          found
          <br>
          that it takes around 300 to 400 millisecond in
          <br>
          QUIC_UNCOMPRESS_RGB(prefix, type) with prefix as 32 and type
          is RGB32
          <br>
          to uncompress and decode one display frame which is coming
          from SPICE
          <br>
          Server.
          <br>
          <br>
          I have also observed that SPICE Client is using QUIC Image
          <br>
          decompression method to uncompress compressed Image Frame.
          <br>
          <br>
          So, Does anyone has idea or solution to decrease time in QUIC
          Image
          <br>
          De-compression Method or any alternative De-compression Method
          which
          <br>
          is faster than QUIC Mode?
          <br>
        </blockquote>
        The fastest is without compression. You can try to change the
        <br>
        compression in the qemu commandline using image-
        <br>
        compression=[auto_glz|auto_lz|quic|glz|lz|off] and see what is
        the
        <br>
        fastest on A20.
        <br>
        <br>
        e.g.:
        <br>
        qemu-kvm -spice
        port=5900,disable-ticketing,image-compression=off
        <br>
        <br>
        Or if you use the latest spice server and spice-gtk you can
        change the
        <br>
        image-compression from the client using its '--spice-preferred-
        <br>
        compression'
        <br>
        <br>
        Regards,
        <br>
        Pavel
        <br>
        <blockquote type="cite">
          <br>
          -- <br>
          Regards,
          <br>
          Ritesh Prajapati,
          <br>
          System Level Solutions (India) Pvt.Ltd.
          <br>
          _______________________________________________
          <br>
          Spice-devel mailing list
          <br>
          <a class="moz-txt-link-abbreviated" href="mailto:Spice-devel@lists.freedesktop.org">Spice-devel@lists.freedesktop.org</a>
          <br>
          <a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/spice-devel">http://lists.freedesktop.org/mailman/listinfo/spice-devel</a>
          <br>
        </blockquote>
      </blockquote>
      <br>
    </blockquote>
    <br>
  </body>
</html>