From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:35611) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TTurK-00015S-T0 for qemu-devel@nongnu.org; Thu, 01 Nov 2012 09:31:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TTurF-0005PW-Km for qemu-devel@nongnu.org; Thu, 01 Nov 2012 09:30:58 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37318) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TTurF-0005OH-8f for qemu-devel@nongnu.org; Thu, 01 Nov 2012 09:30:53 -0400 Message-ID: <5092797B.5090403@redhat.com> Date: Thu, 01 Nov 2012 14:30:35 +0100 From: Gerd Hoffmann MIME-Version: 1.0 References: <1331201626-23402-1-git-send-email-kraxel@redhat.com> <20121019103515.GA30341@dhcp-192-168-178-175.profitbricks.localdomain> In-Reply-To: <20121019103515.GA30341@dhcp-192-168-178-175.profitbricks.localdomain> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] add bochs dispi interface framebuffer driver List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Vasilis Liaskovitis Cc: linux-fbdev@vger.kernel.org, qemu-devel@nongnu.org On 10/19/12 12:35, Vasilis Liaskovitis wrote: > Hi, > > On Thu, Mar 08, 2012 at 11:13:46AM +0100, Gerd Hoffmann wrote: >> This patchs adds a frame buffer driver for (virtual/emulated) vga cards >> implementing the bochs dispi interface. Supported hardware are the >> bochs vga card with vbe extension and the qemu standard vga. >> >> The driver uses a fixed depth of 32bpp. Otherwise it supports the full >> (but small) feature set of the bochs dispi interface: Resolution >> switching and display panning. It is tweaked to maximize fbcon speed, >> so you'll get the comfort of the framebuffer console in kvm guests >> without performance penalty. > > I am testing this driver with qemu-kvm-1.2 or qemu-kvm master (commit) > and "-std vga". The driver works fine in general. > > When I test a guest that runs X (ubuntu-12.04 desktop amd64), sometimes parts of > the screen and keyboard input is mixed between the X terminal and fbconsole > terminals. This happens only on the initial X11 login (right after boot or > reboot) and only sometimes. Only with bochsfb or with vesafb (+ fbdev xorg driver) too? > Xorg driver used is fbdev (i can send xorg log), not sure if another driver > should be used/implemented for the bochsfb. Yes, that one is fine. > CONFIG_FB_BOCHS=m > CONFIG_FB_VESA=y > # CONFIG_FB_EFI is not set > > Should FB_VESA be turned to "not set" for this test? (it's not tristate in Kconfig) > > Btw (slightly off-topic) are other framebuffer drivers suitable for the > standard qemu vga-pci device? Would vesafb or uvesafb work? Never tried uvesafb. vesafb will work too, but run with a fixed resolution. bochsfb allows you to change the display resolution at runtime using fbset. fbcon is faster too because bochsfb supports display panning. Latest version of the patch is here: http://www.kraxel.org/cgit/linux/commit/?h=bochsfb cheers, Gerd