Closed Floessie closed 2 years ago
Please try to identify the flaky component by using another server, then another client :-)
@bk138 Using tightvncserver on the RasPi doesn't show the problem.
Server log:
21/08/20 09:30:03 Xvnc version TightVNC-1.3.9
21/08/20 09:30:03 Copyright (C) 2000-2007 TightVNC Group
21/08/20 09:30:03 Copyright (C) 1999 AT&T Laboratories Cambridge
21/08/20 09:30:03 All Rights Reserved.
21/08/20 09:30:03 See http://www.tightvnc.com/ for information on TightVNC
21/08/20 09:30:03 Desktop name 'X' (raspberrypi:1)
21/08/20 09:30:03 Protocol versions supported: 3.3, 3.7, 3.8, 3.7t, 3.8t
21/08/20 09:30:03 Listening for VNC connections on TCP port 5901
Font directory '/usr/share/fonts/X11/Type1/' not found - ignoring
Font directory '/usr/share/fonts/X11/75dpi/' not found - ignoring
xrdb: No such file or directory
xrdb: can't open file '/root/.Xresources'
21/08/20 09:30:45 Got connection from client 10.3.1.1
21/08/20 09:30:45 Using protocol version 3.8
21/08/20 09:30:48 Full-control authentication passed by 10.3.1.1
21/08/20 09:30:48 Pixel format for client 10.3.1.1:
21/08/20 09:30:48 32 bpp, depth 24, little endian
21/08/20 09:30:48 true colour: max r 255 g 255 b 255, shift r 16 g 8 b 0
21/08/20 09:30:48 no translation needed
21/08/20 09:30:48 Using tight encoding for client 10.3.1.1
21/08/20 09:30:48 rfbProcessClientNormalMessage: ignoring unknown encoding 16
21/08/20 09:30:48 rfbProcessClientNormalMessage: ignoring unknown encoding 9
21/08/20 09:30:48 rfbProcessClientNormalMessage: ignoring unknown encoding -65527
21/08/20 09:30:48 Using compression level 3 for client 10.3.1.1
21/08/20 09:30:48 Using image quality level 5 for client 10.3.1.1
21/08/20 09:30:48 rfbProcessClientNormalMessage: ignoring unknown encoding -131072
21/08/20 09:30:48 rfbProcessClientNormalMessage: ignoring unknown encoding -223
21/08/20 09:30:48 Enabling LastRect protocol extension for client 10.3.1.1
21/08/20 09:30:48 rfbProcessClientNormalMessage: ignoring unknown encoding -131071
21/08/20 09:30:48 rfbProcessClientNormalMessage: ignoring unknown encoding -131070
21/08/20 09:30:48 rfbProcessClientNormalMessage: ignoring unknown encoding -131069
21/08/20 09:30:48 rfbProcessClientNormalMessage: ignoring unknown encoding -309
21/08/20 09:30:48 Pixel format for client 10.3.1.1:
21/08/20 09:30:48 32 bpp, depth 24, little endian
21/08/20 09:30:48 true colour: max r 255 g 255 b 255, shift r 16 g 8 b 0
21/08/20 09:30:48 no translation needed
21/08/20 09:30:48 Using tight encoding for client 10.3.1.1
21/08/20 09:30:48 rfbProcessClientNormalMessage: ignoring unknown encoding 16
21/08/20 09:30:48 rfbProcessClientNormalMessage: ignoring unknown encoding 9
21/08/20 09:30:48 rfbProcessClientNormalMessage: ignoring unknown encoding -65527
21/08/20 09:30:48 Using compression level 3 for client 10.3.1.1
21/08/20 09:30:48 Using image quality level 5 for client 10.3.1.1
21/08/20 09:30:48 rfbProcessClientNormalMessage: ignoring unknown encoding -131072
21/08/20 09:30:48 rfbProcessClientNormalMessage: ignoring unknown encoding -223
21/08/20 09:30:48 Enabling LastRect protocol extension for client 10.3.1.1
21/08/20 09:30:48 rfbProcessClientNormalMessage: ignoring unknown encoding -131071
21/08/20 09:30:48 rfbProcessClientNormalMessage: ignoring unknown encoding -131070
21/08/20 09:30:48 rfbProcessClientNormalMessage: ignoring unknown encoding -131069
21/08/20 09:30:48 rfbProcessClientNormalMessage: ignoring unknown encoding -309
21/08/20 09:31:30 Client 10.3.1.1 gone
21/08/20 09:31:30 Statistics:
21/08/20 09:31:30 key events received 18, pointer events 1051
21/08/20 09:31:30 framebuffer updates 1044, rectangles 3415, bytes 558407
21/08/20 09:31:30 LastRect markers 12, bytes 144
21/08/20 09:31:30 copyRect rectangles 311, bytes 4976
21/08/20 09:31:30 tight rectangles 3092, bytes 553287
21/08/20 09:31:30 raw bytes equivalent 10717756, compression ratio 19.371061
So,
HTH, Flössie
Dear libvncserver team,
I was playing with libvncclient in Qt when I stumbled upon a problem with
tight
encoding on a RasPi 2 (Model B) server. At first, I thought the problem was with my wrapper, but I can also reproduce it using theSDLvncviewer
example from the currentmaster
branch.Whenever moving the mouse cursor on the target over sharp edges or rather quickly, artifacts appear in the client window:
The server on the RasPi is this:
Client output:
Server output:
tight
in the client fixes the problem.xtightvncviewer
doesn't show the problem.Server output with
xtightvncviewer
connecting:I'm puzzled if this is a server or client problem. I can help debugging the client side.
Thanks, Flössie