Received: from eggs.gnu.org ([140.186.70.92]:32783) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QPVjA-0003Yj-Dx for qemu-devel@nongnu.org; Thu, 26 May 2011 04:15:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QPVj9-0001ZN-Kz for qemu-devel@nongnu.org; Thu, 26 May 2011 04:15:32 -0400 Received: from mx1.redhat.com ([209.132.183.28]:46380) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QPVj9-0001ZC-Cj for qemu-devel@nongnu.org; Thu, 26 May 2011 04:15:31 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p4Q8FUcX022831 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 26 May 2011 04:15:30 -0400 Date: Thu, 26 May 2011 11:15:25 +0300 From: Alon Levy Message-ID: <20110526081525.GQ31654@playa.tlv.redhat.com> References: <1306331629-31041-1-git-send-email-alevy@redhat.com> <4DDD0CCB.2000005@redhat.com> <20110525143358.GI31654@playa.tlv.redhat.com> <4DDDF819.5030809@redhat.com> <20110526071126.GP31654@playa.tlv.redhat.com> <4DDE04E6.7000408@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4DDE04E6.7000408@redhat.com> Subject: Re: [Qemu-devel] [RFC] reduce reported VGA framebuffer to 8 MiB List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: qemu-devel@nongnu.org On Thu, May 26, 2011 at 09:44:38AM +0200, Gerd Hoffmann wrote: > Hi, > > >>Which qemu version? Which seabios& vgabios version? > > > >qemu is the spice v36 branch with some unrelated patches. > >seabios + vgabios upstream (seabios with 0x9000000 size hack). > > > >I can retest with qemu upstream. > > Hmm, same here. > > >> > >>Windows xp booting in 4bit usually indicates VBE doesn't work at > >>all, trying to enable vesafb in linux fails too then. > > > >VBE is working fine - attached are the VBE calls made in three cases: > > * -vga std > > * -vga qxl with the normal 64 MB framebuffer. > > * -vga qxl with 8 MB framebuffer (reported) (it's identical to the first) > > > >Note that this is all without the qxl driver working, but just with a windows xp install > >with no qxl drivers. > > Same here, works fine. XP with SP3 btw, maybe this makes a difference. > Can you try to boot linux with vga=0x314? tested tinycore, looks like it sets VBE correctly without my patch, to a 16 bit color mode, right after boot: VBE: write index=0x3 val=0x10 VBE: write index=0x1 val=0x320 VBE: write index=0x2 val=0x258 VBE: write index=0x5 val=0x0 VBE: write index=0x4 val=0x41 And later Xvesa sets a 24bit color mode: VBE: write index=0x3 val=0x18 VBE: write index=0x1 val=0x400 VBE: write index=0x2 val=0x300 VBE: write index=0x5 val=0x0 VBE: write index=0x4 val=0x41 And this is all while reporting the whole 64 MiB VBE: read index=0xa val=0x400 But this just means linux handles it fine. I don't have a non SP3 handy but I'll try to get one to test later. Not a really pressing issue. > > cheers, > Gerd > >