Re: [SPAM] Re: QUIC Image Decompression Method takes much time

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Pavel,

    Thanks for your quick reply.

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.

Regards,
Ritesh Prajapati,
System Level Solutions (India) Pvt.Ltd.

On Monday 11 January 2016 02:14 PM, Pavel Grunt wrote:
Hi,

On Mon, 2016-01-11 at 12:17 +0530, Ritesh Prajapati wrote:
Hi,

Currently, I am working and porting Android Kitkat 4.4.2 on All-
winner A20 Soc board with following hardware and software details.
A20 Allwinner SoC
1 GB RAM
8 GB NAND MMC
Linux Kernel Version 3.4.39
Malli 400 GPU
Android Kitkat Version 4.4.2
SPICE GTK Version 0.22
This is 2 years old, please try something more recent. There were some
updates to image compression like the lz4 image compression support
(v0.27), the ability to change the compression from the client (v0.30).
These improvements require the spice server v0.12.6.
I have configured and installed Linux Virtual Manager in one Ubuntu
Desktop 14.04 Linux System to configure and run SPICE Server on it.
Then, I have developed one Android based application which is used to
configure SPICE Client settings and to start SPICE Client for
connecting with SPICE Server which is running on Ubuntu Desktop
System.

After connecting to SPICE Server from SPICE Client, I have started
one video sample which is stored in Ubuntu Desktop System on which
SPICE Server is running.

Now, The issue is that the Video Sample which is streamed on A20
board is too much slow compare to playing it in normal mode using
video player.

So, I have tried to debug SPICE Client code on A20 board and found
that it takes around 300 to 400 millisecond in
QUIC_UNCOMPRESS_RGB(prefix, type) with prefix as 32 and type is RGB32
to uncompress and decode one display frame which is coming from SPICE
Server.

I have also observed that SPICE Client is using QUIC Image
decompression method to uncompress compressed Image Frame.

So, Does anyone has idea or solution to decrease time in QUIC Image
De-compression Method or any alternative De-compression Method which
is faster than QUIC Mode?
The fastest is without compression. You can try to change the
compression in the qemu commandline using image-
compression=[auto_glz|auto_lz|quic|glz|lz|off] and see what is the
fastest on A20.

e.g.:
qemu-kvm -spice port=5900,disable-ticketing,image-compression=off

Or if you use the latest spice server and spice-gtk you can change the
image-compression from the client using its '--spice-preferred-
compression'

Regards,
Pavel

--
Regards,
Ritesh Prajapati,
System Level Solutions (India) Pvt.Ltd.
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel


_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]