From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Walrond Subject: Re: Dual screen framebuffer development advice Date: Mon, 22 Nov 2004 21:35:55 +0000 Message-ID: <200411222135.55027.andrew@walrond.org> References: <200406191455.56574.andrew@walrond.org> <200406200425.48378.adaplas@hotpop.com> Reply-To: linux-fbdev-devel@lists.sourceforge.net Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1CWLr1-0001wl-5M for linux-fbdev-devel@lists.sourceforge.net; Mon, 22 Nov 2004 13:36:11 -0800 Received: from [62.24.231.113] (helo=cenedra.walrond.org) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.41) id 1CWLqy-0003lV-KA for linux-fbdev-devel@lists.sourceforge.net; Mon, 22 Nov 2004 13:36:11 -0800 In-Reply-To: <200406200425.48378.adaplas@hotpop.com> Content-Disposition: inline Sender: linux-fbdev-devel-admin@lists.sourceforge.net Errors-To: linux-fbdev-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii" To: linux-fbdev-devel@lists.sourceforge.net, adaplas@pol.net I asked this a few months ago: On Saturday 19 Jun 2004 21:25, Antonino A. Daplas wrote: > On Saturday 19 June 2004 21:55, Andrew Walrond wrote: > > I need to setup a machine to develop a framebuffer based application. I'd > > like to use two graphics devices; The first an ati agp chipset on the > > motherboard which will run X11 with X11's ati driver, the second a PCI > > card running a fb driver and displaying my framebuffer application. > > > > Is this possible/sensible? > > Sure, it's possible and actually not hard to do. Just make sure that the > driver of your primary card is fbdev, and the secondary X11. X happens to > do a fine job of initializing non-primary cards whereas fbdev is mostly > restricted to cards initialized by the firmware. > I've got this working nicely now. I have a recent agp nvidia card and an old pci matrox millenium in this dual opteron machine running 64bit linux. I boot into a console on the matrox using the built-in matroxfb driver, then startx which runs on the nvidia card using the nv driver. I can then work on my fb application in X, viewing the output on the second monitor via the matrox card. Nice! > Note: You wont' be able to see both displays simultaneously, switching from > one blanks the other. If you do want multi-seat, see the Ruby project of > linuxconsole. > This is wrong; I can indeed see both displays simultaneously :) The matrox fb is pretty slow (being on a pci bus); it can only manage 5fps at 1600x1200-16bpp. The rivafb is much faster (36fps) so I might try switching roles (X on matrox, fb on nvidia) at some point. I think X might accelerate the matrox card quite well enough for running xemacs etc. Andrew Walrond ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/