Subject: Re: multiple video cards?
To: None <netbsd-help@netbsd.org>
From: James K. Lowden <jklowden@schemamania.org>
List: netbsd-help
Date: 10/29/2002 03:02:29
On Tue, 29 Oct 2002 18:31:44 +1100, Charlie Allom <charlie@rubberduck.com>
wrote:
> Hi,
>
> is it possible to run 2 monitors from 2 different PCI video cards?
[...]
> pci0 at mainbus0 bus 0: configuration mode 1
> pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
> pchb0 at pci0 dev 0 function 0
> pchb0: Intel 82845 Host (rev. 0x03)
> agp0 at pchb0: aperture at 0xf8000000, size 0x4000000
> ppb0 at pci0 dev 1 function 0: Intel 82845 AGP (rev. 0x03)
> pci1 at ppb0 bus 1
> pci1: i/o space, memory space enabled
> vga1 at pci1 dev 0 function 0: Nvidia Corporation Vanta (rev. 0x15)
> wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
> wsmux1: connecting to wsdisplay0
> ppb1 at pci0 dev 30 function 0: Intel 82801BA Hub-to-PCI Bridge (rev.
> 0x12) pci2 at ppb1 bus 2
> pci2: i/o space, memory space enabled
> S3 ViRGE/DX (VGA display, revision 0x01) at pci2 dev 4 function 0 not
> configured^^ does this need tweaking? I can't find any reference in the
> GENERIC conf, but I know this card works by itself.
I'll venture a guess, no better.
I bet GENERIC probes for one video device. I would assume NetBSD would
happily handle a variety of devices willy-nilly, but you'd have to "nail
down" the configuration.
vga1 at pci1 dev 0 function 0
vga2 at pci2 dev 4 function 0
approximately. Or even perhaps:
vga1 at pci? dev ? function ?
vga2 at pci? dev ? function ?
Worth a go, if your a custom kernel kinda guy. Of course, I may be all
wet. Even if that works, there would be other ramifications for, say,
wsdisplay, for example.
HTH.
--jkl