XFree86 4.0 Multihead and Two Matrox Millenium 2 Cards under RedHat 5.2

XFree86 4.0 Multihead and Two Matrox Millenium 2 Cards under RedHat 5.2

Post by Don Shelb » Mon, 03 Apr 2000 05:00:00



Dear all,

I am trying to get my system to work with multihead under xfree 4.0 and
RedHat 5.2 kernel 2.0.36.

So I downloaded Xfree86 4.0 and after MUCHO fiddling got it to work
with one matrox millenium 2 installed.  The XFree86 -configure wouldn't
work properly with both cards installed.

XFree86 -configure liked it with just one card installed.

Once I got it to work with one card, I put the other card in and added
the
relevant bits to /etc/X11/XF86Config to do the multihead serverlayout.

Methinks the problem lies with the PCI enumeration.

I got multiple displays
working flawlessly with windows 98 the first time.  The BIOS assigns
both
cards the same IRQ (11) and instead of leaving both cards on the BIOS
assignments,
windows 98 puts the secondary Millenium 2 onto IRQ 5.

One matrox millenium 2 gets IRQ 11 and all the proper assignments,
the other gets an invalid IRQ of 255, and a memory address of 0x0 which
I think
means invalid.

No matter what IRQ I assign to the second millenium 2, (I've tried IRQ
5,10,11)
I always get the same results, an IRQ 255.

BTW, there are 4 PCI cards in my system (Netgear FA310TX, 2 x Matrox
millenium 2,
and and Aureal 8810 soundcard)

===============================================
Under RH 5.2, /proc/pci reports this:

PCI devices found: (irrelevant bits snipped out)

MATROX MILLENIUM #1

  Bus  0, device  10, function  0:
    VGA compatible controller: Matrox Millennium II (rev 0).
      Medium devsel.  Fast back-to-back capable.  IRQ 11.  Master
Capable.  Latency=64.
      Prefetchable 32 bit memory at 0xfd000000.
      Non-prefetchable 32 bit memory at 0xfedfc000.
      Non-prefetchable 32 bit memory at 0xfe000000.

MATROX MILLENIUM #2

  Bus  0, device   6, function  0:
    VGA compatible controller: Matrox Millennium II (rev 0).
      Medium devsel.  Fast back-to-back capable.  IRQ 255.  Master
Capable.  Latency=64.
      Prefetchable 32 bit memory at 0x0.

==================================================
XFree86 -scanpci reports this:

Probing for PCI devices (Bus:Device:Function)

(0:0:0) Intel 82439
(0:6:0) Matrox unknown card (0x2003) using a Matrox MGA 2164W
(0:7:0) unknown card (0x1385/0x1100) using a Digital DC21140 10/100 Mb/s
Ethernet
(0:10:0) Matrox unknown card (0x051b) using a Matrox MGA 2164W
(0:12:0) unknown card (0x12eb/0x0003) using an unknown
chipset(0x12eb/0x0003)
(0:15:0) Intel 82371 pci-isa bridge
(0:15:1) Intel 82371 bus-master IDE controller

======================================================

running startx gives me:

XFree86 Version 4.0 / X Window System
(protocol Version 11, revision 0, vendor release 6400)
Release Date: 8 March 2000
Operating System: Linux 2.0.36 i586 [ELF]
Module Loader present
(==) ServerLayout "XFree86 Configured"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Monitor0"
(**) |   |-->Device "Matrox MGA 2164W"
(**) |-->Screen "Screen1" (1)
(**) |   |-->Monitor "Monitor0"
(**) |   |-->Device "Matrox MGA 2164W 2"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"

****snip****

(==) MGA(1): Depth 8, (==) framebuffer bpp 8
(==) MGA(1): Default visual is PseudoColor
(--) MGA(1): Chipset: "mga2164w"
(==) MGA(1): Using HW cursor
(EE) MGA(1): No valid FB address in PCI config space

seems to not be getting an address for the framebuffer in PCI
configuration...

Any ideas?

Thanks,

Don