trihead setup with matrox cards

bruno schwander bruno at
Fri Jan 28 18:39:57 PST 2005

Hi all,

I am trying to get a tri-head configuration to work on freebsd. I have a
matrox G400 dualhead (AGP) and a matrox mystique (PCI). I already had the
G400 working for a while, I just want to add the mystique. Here is the
error given in XFree86.log :

(II) MGA: driver for Matrox chipsets: mga2064w, mga1064sg, mga2164w,
        mga2164w AGP, mgag100, mgag100 PCI, mgag200, mgag200 PCI, mgag400,
(II) Primary Device is: PCI 01:00:0
(WW) MGA: No matching Device section for instance (BusID PCI:0:13:0) found
(--) Chipset mgag400 found
(--) Chipset mgag400 found
(--) Chipset mga1064sg found
(II) resource ranges after xf86ClaimFixedResources() call:

obviously, the mystique is found (mga1064sg)
-scanpci and pciconf (and the dmesg output) show that the matrox G400
(AGP) is on PCI 1:0:0, and the mystique on PCI 0:13:0

none2 at pci0:13:0:        class=0x030000 card=0x1000102b chip=0x051a102b
rev=0x03 hdr=0x00
    vendor   = 'Matrox Electronic Systems Ltd.'
    device   = 'MGA 1064SG Hurricane/Cyclone 64-bit graphics chip'
    class    = display
    subclass = VGA
drm0 at pci1:0:0:  class=0x030000 card=0x0641102b chip=0x0525102b rev=0x82
    vendor   = 'Matrox Electronic Systems Ltd.'
    device   = 'MGA G450 Dual Head Chip of G450 graphics card'
    class    = display
    subclass = VGA

and XFree86.log shows also:
(--) PCI: (0:13:0) Matrox MGA 1064SG rev 3, Mem @ 0xe1000000/23,
0xde000000/14, 0xdd800000/23, BIOS @ 0xe0ff0000/1
(--) PCI:*(1:0:0) Matrox MGA G400 AGP rev 130, Mem @ 0xe2000000/25,
0xe0000000/14, 0xdf800000/23, BIOS @ 0xe1fe000

So, it is pretty clear I have the right config.

Why does it claim to have no matching device section for "instance (BusID
PCI:0:13:0)" ??

I have this in my XF86Config:

# each head of the G400
Section "Device"
    Identifier  "matrox-0"
    Driver      "mga"
    VideoRam    32768
    BusID       "PCI:1:0:0"
    Screen      0

Section "Device"
    Identifier  "matrox-1"
    Driver      "mga"
    VideoRam    32768
    BusID       "PCI:1:0:0"
    Screen      1

# the matrox mystique
Section "Device"
    Identifier  "matrox-2"
    Driver      "mga"
    VideoRam    4096
    BusID       "PCI:0:13:0"
    Screen      2

I am puzzled. Anybody with a similar setup, or trihead experience, please
let me know, Id' really like to get this mystique running along the g400.
I can provide XF86Config and log files, I did not want to post all that.



More information about the freebsd-x11 mailing list