Bug 4099

Summary: multihead pci busid mismatch; instance not found; hexadecimal confusion?
Product: xorg Reporter: Frank Ch. Eigler <fche>
Component: Server/GeneralAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED NOTABUG QA Contact:
Severity: normal    
Priority: high    
Version: 6.8.2   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Frank Ch. Eigler 2005-08-15 10:58:47 UTC
My machine has several PCI video cards.  linux lspci says:

00:10.0 VGA compatible controller: Matrox Graphics, Inc. MGA 2164W [Millennium II]
00:12.0 VGA compatible controller: Matrox Graphics, Inc. MGA 2164W [Millennium II]
00:14.0 VGA compatible controller: Matrox Graphics, Inc. MGA 2164W [Millennium II]

The last one is the bios primary card.

Former versions of xorg/xfree86 were able to talk to all of them in one xinerama
session.  Trying to recreate  6.8.2. xorg.conf configuration from scratch is
failing to find the second and third cards.  Xorg.log says this in excerpts:

(II) PCI: 00:10:0: chip 102b,051b card 102b,0300 rev 00 class 03,00,00 hdr 00
(II) PCI: 00:12:0: chip 102b,051b card 102b,0300 rev 00 class 03,00,00 hdr 00
(II) PCI: 00:14:0: chip 102b,051b card 102b,0300 rev 00 class 03,00,00 hdr 00

(--) PCI: (0:16:0) Matrox Graphics, Inc. MGA 2164W [Millennium II] rev 0, Mem @
0xf8000000/24, 0xfebf0000/14, 0xfd000000/23, BIOS @ 0xfebb0000/16
(--) PCI: (0:18:0) Matrox Graphics, Inc. MGA 2164W [Millennium II] rev 0, Mem @
0xf9000000/24, 0xfebf4000/14, 0xfd800000/23, BIOS @ 0xfebc0000/16
(--) PCI:*(0:20:0) Matrox Graphics, Inc. MGA 2164W [Millennium II] rev 0, Mem @
0xfa000000/24, 0xfebfc000/14, 0xfe000000/23, BIOS @ 0xfebe0000/16

(II) Primary Device is: PCI 00:14:0
(WW) MGA: No matching Device section for instance (BusID PCI:0:16:0) found
(WW) MGA: No matching Device section for instance (BusID PCI:0:18:0) found

Note how the card number is sometimes printed in hex and sometimes in decimal.

In the xorg.conf file, I found no workable way of referring to the second and
third video cards by any PCI BUSID, to enable a multiheaded display.  (Variants
included PCI:0:16:0, PCI:0:10:0, PCI:0:0x10:0).
Comment 1 Frank Ch. Eigler 2005-08-25 10:29:27 UTC
Using the decimal busids, and avoiding "Screen N" declarations eventually made
it all work.  Sorry for the noise.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.