I found 2 issues:
- with vmware VGA the server surface and the client desktop size are out of
sync for some time
at a resolution change. the server surface gets updates for x coordinates that
are out of bound
for the client.
- the max width of the client (2360) is not dividable by 16
(VNC_DIRTY_PIXELS_PER_BIT).
I will try to fix this in ui/vnc but we should definetly look for the root
cause.
Peter
On 17.03.2014 15:10, Serge Hallyn wrote:
It does happen then as well (I suppose), but after X is done setting
up, it happens every time I try to connect.
Quoting Peter Lieven ([email protected]):
Serge,
can you confirm this happens at a resolution change?
Peter
On 17.03.2014 14:44, Gerd Hoffmann wrote:
On Fr, 2014-03-14 at 11:06 -0500, Serge Hallyn wrote:
Hi,
upstream git HEAD appears to have regressed with -vga vmware -vnc.
If I run
./qemu-system-x86_64 -enable-kvm -vnc :1 -m 1024 -cdrom
~/trusty-desktop-amd64.iso -vga vmware
then tightvncviewer gives me:
Connected to RFB server, using protocol version 3.8
No authentication needed
Authentication successful
Desktop name "QEMU"
VNC server default format:
32 bits per pixel.
Least significant byte first in each pixel.
True colour: max red 255 green 255 blue 255, shift red 16 green 8
blue 0
Using default colormap which is TrueColor. Pixel format:
32 bits per pixel.
Least significant byte first in each pixel.
True colour: max red 255 green 255 blue 255, shift red 16
green 8 blue 0
Same machine: preferring raw encoding
Rect too large: 16x4 at (2352, 1766)
gvncviewer simply says 'Disconnected from server'.
It works fine if I don't use -vga vmware.
I bisected it to commit 12b316d: ui/vnc: optimize dirty bitmap tracking
Peter, that is yours, any idea what this is?
cheers,
Gerd
--
Mit freundlichen Grüßen
Peter Lieven
...........................................................
KAMP Netzwerkdienste GmbH
Vestische Str. 89-91 | 46117 Oberhausen
Tel: +49 (0) 208.89 402-50 | Fax: +49 (0) 208.89 402-40
[email protected] | http://www.kamp.de
Geschäftsführer: Heiner Lante | Michael Lante
Amtsgericht Duisburg | HRB Nr. 12154
USt-Id-Nr.: DE 120607556
...........................................................