On Wed, 28 Oct 2026 16:32:04 -0600, Dax Kelson <[email protected]> wrote: > Fix a race in the VNC server that corrupts a client's display output > (the client keeps stale pixels because their update is never sent), or > stops updating a client entirely, when the display surface is switched > while an update for that client is queued but not yet encoded. > > virtio-gpu guests with a double-buffering compositor (GNOME/mutter on > Wayland) switch surfaces on every frame, so they hit it in normal use: > fast scrolling in a terminal leaves scattered 16-pixel slivers of old > text that stay until the client reconnects. A reproducer (a > page-flipping virtio-gpu guest plus a VNC/QMP harness) loses updates in > 35 of 150 four-client cycles on master, and in none with this patch. > > [...]
Reviewed-by: Marc-André Lureau <[email protected]> -- Marc-André Lureau <[email protected]>
