GNOME Bugzilla – Bug 702926
Heuristics for detecting client-side caching (ncache) in x11vnc
Last modified: 2021-05-26 09:25:52 UTC
Created attachment 247578 [details] [review] patch x11vnc ncache heuristics first draft x11vnc has a client-side caching protocol, which is described in: http://www.karlrunge.com/x11vnc/faq.html#faq-client-caching It is compatible to most vnc clients, but in order to make use of it, the client needs to be able to crop the vnc frame buffer to the real screen size. This patch implements some heuristics to correctly crop screen size, * if scaling is enabled, and * the height of the frame buffer is much larger than the width of the frame buffer. the number of ncache is found by finding the server-side aspect ratio minimizes the cost function: (h * AspectRatio) / w - (int) (h * AspectRatio / w) Three aspect ratios are tried: 4 / 3, 16 / 9 and 16 / 10. There should be a configuration flag to disable this, which is not included in this patch. It was developed based on the 3.4.2 tag (current version in Fedora 17), but applies cleanly (compilation untested) to the master.
*** Bug 702927 has been marked as a duplicate of this bug. ***
*** Bug 702929 has been marked as a duplicate of this bug. ***
*** Bug 702930 has been marked as a duplicate of this bug. ***
*** Bug 702932 has been marked as a duplicate of this bug. ***
*** Bug 702940 has been marked as a duplicate of this bug. ***
*** Bug 702939 has been marked as a duplicate of this bug. ***
*** Bug 702938 has been marked as a duplicate of this bug. ***
*** Bug 702937 has been marked as a duplicate of this bug. ***
*** Bug 702936 has been marked as a duplicate of this bug. ***
*** Bug 702935 has been marked as a duplicate of this bug. ***
*** Bug 702934 has been marked as a duplicate of this bug. ***
*** Bug 702933 has been marked as a duplicate of this bug. ***
Sorry Andre, I was receiving a lot of 504 gateway timeout errors!
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version of Vinagre, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new enhancement request ticket at https://gitlab.gnome.org/GNOME/vinagre/-/issues/ Thank you for your understanding and your help.