]> git.proxmox.com Git - mirror_novnc.git/commit
Changed the default compression level to 2
authorAlexander E. Patrakov <patrakov@gmail.com>
Thu, 29 Dec 2016 12:56:59 +0000 (17:56 +0500)
committerAlexander E. Patrakov <patrakov@gmail.com>
Thu, 29 Dec 2016 13:22:31 +0000 (18:22 +0500)
commita124c8eab248d5cca094e97d2f73f7651db355f5
treef02887d868089d58243b278523082d0f74f65b49
parent558544364cf0d1f91d18b3a5768db8c8292f7ff6
Changed the default compression level to 2

The old default was to ask for the maximum compression level. This
is against the recommendations in libvncserver/tight.c due to excessive
CPU load. It also causes Vino 3.8.1 (still shipped with Ubuntu 16.04
LTS) to prefer the blurry JPEG compression too much - e.g. red text on
the default background in MATE terminal becomes almost unreadable.

The new default is the recommended compression level for low-color
workloads, according to libvncserver source. Also, it is the maximum
compression level that doesn't trigger the Vino bug with red text in
most cases.

Fixes issue #737.
core/rfb.js