On Tue, May 15, 2018 at 9:58 AM, Nick Couchman <[email protected]> wrote:

> On Wed, Apr 11, 2018 at 10:22 AM, JimL <[email protected]> wrote:
>
>> Hi,
>>
>> Is it possible to increase the frame rate received through WebSocket in
>> VNC
>> session?
>>
>> For example, in TurboVNC, in case of low network, I can adjust the image
>> compression level to increase my frame rate. Is this possible through
>> Guacamole? Is it also possible to disable any image compression on
>> Guacamole
>> to give lossless image output?
>>
>
> Guacamole currently lacks the settings for compression to be able to do
> this within the Guacamole Client interface; however, it can be done in
> source code.  If you find such settings useful, you can open a JIRA issue
> and request it as a feature.  However, compression is generally only a
> problem if your system is either CPU or memory-bound, so if you're not
> seeing excessive CPU utilization or memory problems, disabling it may not
> make any difference.
>

In fact, disabling compression would likely result in the framerate being
unusably low. Increasing the amount of data that has to be processed
client-side is not likely to improve performance. Improving the heuristic
selection of compression algorithm and/or the efficiency with which that
compression is applied likely would, though.

Currently, Guacamole should already do a pretty decent job of deciding
whether PNG or JPEG / WebP is appropriate for given updates based on a
quick heuristic judgement of content and update frequency. I have some
experimental changes which go a bit further than that, adjusting the lossy
compression quality based on client processing lag:

https://github.com/mike-jumper/guacamole-server/tree/dynamic-quality

- Mike

Reply via email to