[PATCH 0/4] ui: improve precision of VNC desktop resizing

Daniel P. Berrangé posted 4 patches 3 years, 1 month ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20210311182957.486939-1-berrange@redhat.com
Test checkpatch passed
ui/trace-events | 16 ++++++++++++++++
ui/vnc-jobs.c   | 44 ++++++++++++++++++++++++++++++++++++++++----
ui/vnc.c        | 48 ++++++++++++++++++++++++++++++++++++++++--------
ui/vnc.h        |  1 +
4 files changed, 97 insertions(+), 12 deletions(-)
[PATCH 0/4] ui: improve precision of VNC desktop resizing
Posted by Daniel P. Berrangé 3 years, 1 month ago
Currently when resizing the VNC desktop we get a thin black bar down the
right hand side of the screen 93% of the time, because the VNC server
rounds up the display to a multiple of 16. This series solves this
problem by fixing the separation between the server surface dimensions
(which are important for dirty bitmap tracking) and the client desktop
size (which is what the client actually renders).

Daniel P. Berrangé (4):
  ui: add more trace points for VNC client/server messages
  ui: avoid sending framebuffer updates outside client desktop bounds
  ui: use client width/height in WMVi message
  ui: honour the actual guest display dimensions without rounding

 ui/trace-events | 16 ++++++++++++++++
 ui/vnc-jobs.c   | 44 ++++++++++++++++++++++++++++++++++++++++----
 ui/vnc.c        | 48 ++++++++++++++++++++++++++++++++++++++++--------
 ui/vnc.h        |  1 +
 4 files changed, 97 insertions(+), 12 deletions(-)

-- 
2.29.2



Re: [PATCH 0/4] ui: improve precision of VNC desktop resizing
Posted by Gerd Hoffmann 3 years, 1 month ago
On Thu, Mar 11, 2021 at 06:29:53PM +0000, Daniel P. Berrangé wrote:
> Currently when resizing the VNC desktop we get a thin black bar down the
> right hand side of the screen 93% of the time, because the VNC server
> rounds up the display to a multiple of 16. This series solves this
> problem by fixing the separation between the server surface dimensions
> (which are important for dirty bitmap tracking) and the client desktop
> size (which is what the client actually renders).
> 
> Daniel P. Berrangé (4):
>   ui: add more trace points for VNC client/server messages
>   ui: avoid sending framebuffer updates outside client desktop bounds
>   ui: use client width/height in WMVi message
>   ui: honour the actual guest display dimensions without rounding

Added to ui patch queue.

thanks,
  Gerd