From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36790) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPZ2P-0007Ic-7i for qemu-devel@nongnu.org; Mon, 17 Mar 2014 11:01:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WPZ2I-0001zN-6R for qemu-devel@nongnu.org; Mon, 17 Mar 2014 11:01:12 -0400 Received: from ssl.dlhnet.de ([82.141.21.42]:58917) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPZ2H-0001zC-V6 for qemu-devel@nongnu.org; Mon, 17 Mar 2014 11:01:06 -0400 Message-ID: <53270E30.4080400@dlhnet.de> Date: Mon, 17 Mar 2014 16:01:04 +0100 From: Peter Lieven MIME-Version: 1.0 References: <20140314160616.GA16438@sergelap> <1395063841.5663.9.camel@nilsson.home.kraxel.org> <53270033.4080100@kamp.de> <20140317141012.GE7725@sergelap> In-Reply-To: <20140317141012.GE7725@sergelap> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] vnc regression with -vga vmware List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Serge Hallyn , Peter Lieven Cc: Doug Smythies , Gerd Hoffmann , qemu-devel@nongnu.org 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_PI= XELS_PER_BIT). I will try to fix this in ui/vnc but we should definetly look for the roo= t 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 (pl@kamp.de): >> 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-de= sktop-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 track= ing >>> Peter, that is yours, any idea what this is? >>> >>> cheers, >>> Gerd >>> >>> >> >> --=20 >> >> Mit freundlichen Gr=FC=DFen >> >> 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 >> pl@kamp.de | http://www.kamp.de >> >> Gesch=E4ftsf=FChrer: Heiner Lante | Michael Lante >> Amtsgericht Duisburg | HRB Nr. 12154 >> USt-Id-Nr.: DE 120607556 >> >> ........................................................... >>