From: Anthony Liguori <anthony@codemonkey.ws>
To: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Sensible VNC encodings
Date: Wed, 21 May 2008 08:36:02 -0500 [thread overview]
Message-ID: <48342542.4070205@codemonkey.ws> (raw)
In-Reply-To: <alpine.DEB.1.00.0805211411590.30431@racer>
Johannes Schindelin wrote:
> Hi,
>
> On Wed, 21 May 2008, Anthony Liguori wrote:
>
>
>> Johannes Schindelin wrote:
>>
>>
>>> On Tue, 20 May 2008, Anthony Liguori wrote:
>>>
>>> Clearly, you have never waited one minute for a full screen update
>>> from a machine half around the planet.
>>>
>>> That is what happens here with hextile + an compressed SSH tunnel,
>>> just in case you thought this was pure speculation.
>>>
>>> It is pretty obvious why, too: generic compression, such as SSH's,
>>> will never outperform specialized compression, such as tight
>>> compression.
>>>
>> Tight uses zlib compression in combination with a palette mechanism.
>> Hextile is a palette mechanism so adding zlib compression to it (via
>> ssh) makes it pretty comparable to Tight.
>>
>
> I'm awfully short on time, so this is only a hint to the explanation:
>
> Tight compression can fall back to a Jpeg scheme which is lossy. You
> obviously did not know that, and obviously this is what I have to use to
> make VNC usable.
>
I clearly did seeing that I implemented Tight compression support in
gtk-vnc. The jpeg compression is optional and requires the use of
additional pseudo-encodings to activate it.
I really don't like the idea of using a lossy encoding though. I think
you would find that the builtin VNC + compression over SSH does better
than Tight + jpeg because of the fact that in the builtin VNC server, we
reduce the size of the update regions before encoding. libvncserver
always has to operate at scanline granularities so it's update regions
are much larger.
Regards,
Anthony Liguori
> Hth,
> Dscho
>
>
next prev parent reply other threads:[~2008-05-21 13:36 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-21 1:20 [Qemu-devel] Sensible VNC encodings Johannes Schindelin
2008-05-21 2:09 ` Anthony Liguori
2008-05-21 8:12 ` Johannes Schindelin
2008-05-21 13:06 ` Anthony Liguori
2008-05-21 13:14 ` Johannes Schindelin
2008-05-21 13:36 ` Anthony Liguori [this message]
2008-05-21 13:45 ` Jamie Lokier
2008-05-21 13:51 ` Anthony Liguori
2008-05-21 5:55 ` Alexander Graf
2008-05-21 8:08 ` Johannes Schindelin
2008-05-21 13:02 ` Daniel P. Berrange
2008-05-21 13:10 ` Johannes Schindelin
2008-05-21 13:47 ` Anthony Liguori
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48342542.4070205@codemonkey.ws \
--to=anthony@codemonkey.ws \
--cc=Johannes.Schindelin@gmx.de \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).