From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:49933) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKPDd-0003xE-P0 for qemu-devel@nongnu.org; Tue, 26 Mar 2013 04:26:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UKPDc-0001if-AS for qemu-devel@nongnu.org; Tue, 26 Mar 2013 04:26:57 -0400 Received: from mout.web.de ([212.227.17.12]:58969) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKPDb-0001iI-Ic for qemu-devel@nongnu.org; Tue, 26 Mar 2013 04:26:56 -0400 Message-ID: <51515BC6.2000203@web.de> Date: Tue, 26 Mar 2013 09:26:46 +0100 From: Jan Kiszka MIME-Version: 1.0 References: <1363084369-27517-1-git-send-email-kraxel@redhat.com> <1363084369-27517-17-git-send-email-kraxel@redhat.com> <515001C2.7080201@web.de> <51500302.6040506@redhat.com> <515003E5.7000809@web.de> <5150091D.9070209@redhat.com> <51500A99.7020902@web.de> <51500D49.5030202@redhat.com> <51500D8F.6050604@web.de> <51501473.3010608@redhat.com> <51501991.2080204@web.de> <51501D75.2090902@redhat.com> <51501F2A.9000802@web.de> <51502027.5030108@web.de> <515028D0.1000408@redhat.com> <5150572D.6090201@gmail.com> <5150B3F0.3080003@redhat.com> In-Reply-To: <5150B3F0.3080003@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="----enig2PDIWXIXPQVVRPLQBSCKU" Subject: Re: [Qemu-devel] [PATCH 16/18] console: stop using DisplayState in gfx hardware emulation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: Igor Mitsyanko , qemu-devel@nongnu.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2PDIWXIXPQVVRPLQBSCKU Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 2013-03-25 21:30, Gerd Hoffmann wrote: > On 03/25/13 14:56, Igor Mitsyanko wrote: >> On 03/25/2013 02:37 PM, Gerd Hoffmann wrote: >>> >>>> Hi, >>>> >>>> [5425.580115] displaysurface_create_from surface=3D0x7ff315d3df40, >>>>> 800x600, bpp 16, bswap 0 [5425.580257] displaysurface_free >>>>> surface=3D0x7ff3158c33b0 >>>>> >>>> >>>> This is vga=3D0x314 >>>> >>>> Looks like we have some funky interaction between vga and vmware. >>>> >>>> I'll go dig. Meanwhile you can try vga=3D0x315 (800x600x24) or >>>> vga=3Dnormal (textmode), that has a high chance to workaround this. >>>> >>>> cheers, >>>> Gerd >>>> >>> >>> >> >> Couldn't it be because wred, wgreen and wblue were removed? It seems = like >> it was a workaround for some pre-existing problem, is it ok that you >> removed them but left depth and bypp intact? >=20 > No, it is not, and yes, this is where the inconsistency comes from. We= > read wred+wgreen+wblue directly from the surface whereas depth is cache= d > in the vmware vga state struct. Patch attached. Not fully tested yet.= Unfortunately, this doesn't change the picture (except for the expected "vmsvga_value_read: Bad register 1c"). The 0x315 workaround does indeed work. Jan ------enig2PDIWXIXPQVVRPLQBSCKU Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlFRW8oACgkQitSsb3rl5xTl+ACfaAT3OJE+VOjFKDmLxKHHfIns Dd0An0lOfMN2d28GwvqESR88iszXZrRz =/clK -----END PGP SIGNATURE----- ------enig2PDIWXIXPQVVRPLQBSCKU--