Two months ago I successfully configured a two headed Dell machine
running RedHat7.1, on two Viewsonic VG181b flat panel display screens using
one Dual output Matrox Millennium G450 PCI.

    Then, one month ago, I successfully configured a four headed Eternal
Graphics machine running RedHat7.1, with 4 Matrox Millennium G200-SD PCI
cards and 4 Sampo Tech Alphascan. 912S CRT Monitors.

    Now I'm trying some thing new, actually a combination of my two past
success's. I have an Eternal Graphics machine which has a Intel L440GX+
motherboard, with dual 500MHz processors and 512MB of memory, exactly like
the four headed Eternal Graphics machine referred to above. In it I have two
Matrox Millennium G450 PCI cards (PCI:3:0:0 and PCI:4:0:0), like the one
used in the two headed Dell. Attached to those cards are 3 Sampo Tech
Alphascan. 912S CRT Monitors, again like the four headed machine. I have the
third monitor connected to the same port that came up as screen0 on the
first card. Unfortunately, I'm experiencing some problems.

    I figured this would be easy. I copied over my config file from the two
headed one, added another line to the Server Layout ("Screen2" Above
"Screen1") then I added another Monitor section (Above), another Device
section (Card2), and another Screen section (Screen2). Of course I modified
the HorizSync and VertRefresh rates in the Monitor sections to match the
Sampo Monitor's specifications and I changed the BusID's in the Device
sections to match the PCI addresses of the two cards in this box. I've
included the XF86Config-4 file at the end of this message for reference...

    This seems like it should work, but....

    First indication of trouble is in the log file /var/log/XFree86.0.log:

(II) Primary Device is: PCI 03:00:0
(WW) MGA: No matching Device section for instance (BusID PCI:4:0:0) found

    When in fact as you can see in the XF86Config file below I *DO* have a
Device section for BusID "PCI:4:0:0", but the above error, I believe,
results in the following:

(II) Setting vga for screen 0.
(II) Setting vga for screen 1.
(II) Loading sub module "vgahw"

    As you can see screen 2 is never set.

    Comparing the log files between the two headed and four headed machines
that work and the three headed machine that doesn't work,  I noticed one
major glaring omission. In the two headed and four headed machines that
works I see the following messages:

(II) Loading sub module "mga_hal"
(II) LoadModule: "mga_hal"
(II) Loading /usr/X11R6/lib/modules/drivers/mga_hal_drv.o
(II) Module mga_hal: vendor="The XFree86 Project"
        compiled for 4.0.3, module version = 1.0.0
        ABI class: XFree86 Video Driver, version 0.3
(II) MGA(0): Matrox HAL module used

    I get no such messages in the three headed one that doesn't work. The
file /usr/X11R6/lib/modules/drivers/mga_hal_drv.0 is there, it does exist.
The file has the same size, ownership's and permission as the other systems,
but XFree86 never loads it? It doesn't even appear to attempt to load it? It
isn't even mentioned in the log file ANYWHERE?

    The most disturbing part though, is that the two screens that it does
configure don't work. Screen0 just displays a fuzzy gray screen with evenly
spaces black dashed lines across it and screen1 remains blank.

    I have a theory (don't laugh). Since the G450 has a analog connector and
a DVI connector (with an optional analog adapter) I have to assume it is DVI
capable. Maybe the  second "a" in the mga_hal module stands for "analog" and
forces the card to produce analog video output. Since XFree86 is not loading
that module, maybe the card is sending a DVI signal to the analog monitor,
thus producing the fuzzy gray screen & the dashed lines. And since screen1
is connected to the analog port (without any DVI adapter) it displays
nothing. What do you think?

    First do you think my theory is right and if so how do I get that "hal"
module to load? And second, How do I get XFree86 to "see" the second card's
device in the config file?

    (Before you suggest it, I should tell you that I tried just configuring
two screens on the one card, then just configuring one screen, and finally
configuring one screen on each card, with similar results, No "hal" module
loaded and a fuzzy gray screen0, or both screens go blank. I should also
note that screen0 shows all relevant boot-up text messages normally and can
be used in text mode when the machine is in run level 3. It only goes gray
when  XFree86 is running.)

    Here's my config file:

> cat  /etc/X11/XF86Config-4

# XFree86 4.0 configuration generated by Xconfigurator

Section  "ServerLayout"
        Identifier "Layout"
        Option "Xinerama" "on"
        Screen "Screen0" LeftOf "Screen1"
        Screen "Screen1"
        Screen "Screen2" Above "Screen1"
        InputDevice "Mouse0" "CorePointer"
        InputDevice "Keyboard0" "CoreKeyboard"
EndSection

# By default, Red Hat Linux 6.0 and later use xfs

Section "Files"
        FontPath "unix/:7100"
EndSection

# Module loading section

Section "Module"
        Load  "dbe"             # Double-buffering
        Load  "GLcore"          # OpenGL support
        Load  "dri"             # Direct rendering infrastructure
        Load  "glx"             # OpenGL X protocol interface
        Load  "extmod"          # Misc. required extensions
        Load  "v4l"             # Video4Linux
        # Load  "pex5"          # PHIGS for X 3D environment (obsolete)
        # Load  "record"        # X event recorder
        # Load  "xie"           # X Image Extension (obsolete)
        # You only need the following two modules if you do not use xfs.
        # Load  "freetype"       # TrueType font handler
        # Load  "type1"         # Adobe Type 1 font handler
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "keyboard"
        Option      "XkbLayout" "us"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Device" "/dev/mouse"
        Option      "Protocol" "IMPS/2"
        Option      "Emulate3Buttons" "off"
        Option      "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
        Identifier "Left"
        HorizSync 30 - 82
        VertRefresh 50 - 75
        Option "dpms"
EndSection
Section "Monitor"
        Identifier "Right"
        HorizSync 30 - 82
        VertRefresh 50 - 75
        Option "dpms"
EndSection
Section "Monitor"
        Identifier "Above"
        HorizSync 30 - 82
        VertRefresh 50 - 75
        Option "dpms"
EndSection

Section "Device"
        Identifier "Matrox|MGA G450 DualHead"
        Driver "mga"
        BoardName "Unknown"
EndSection

Section "Device"
        Identifier "Card0"
        Driver "mga"
        BusID "PCI:3:0:0"
        Screen 0
EndSection
Section "Device"
        Identifier "Card1"
        Driver "mga"
        BusID "PCI:3:0:0"
        Screen 1
EndSection
Section "Device"
        Identifier "Card2"
        Driver "mga"
        BusID "PCI:4:0:0"
        Screen 2
EndSection

Section "Screen"
        Identifier "Screen0"
        Device "Card0"
        Monitor "Left"
        DefaultDepth 16
        Subsection "Display"
                Depth 16
                Modes "1400x1050" "1280x1024" "800x600"
        EndSubSection
EndSection
Section "Screen"
        Identifier "Screen1"
        Device "Card1"
        Monitor "Right"
        DefaultDepth 16
        Subsection "Display"
                Depth 16
                Modes "1400x1050" "1280x1024" "800x600"
        EndSubSection
EndSection
Section "Screen"
        Identifier "Screen2"
        Device "Card2"
        Monitor "Above"
        DefaultDepth 16
        Subsection "Display"
                Depth 16
                Modes "1400x1050" "1280x1024" "800x600"
        EndSubSection
EndSection

Section "DRI"
        Mode 0666
EndSection


Thanks in advance for any advice you might be able to provide. (Wow, sorry
this turned out to be such a long mail file. Sorry if it jammed up anyone's
mailbox.)

James Fitzmaurice
D0 Online Systems Manager
Fermi National Accelerator Laboratory
(630) 840-4011
[EMAIL PROTECTED]

UNIX is very user friendly, It's just very particular about who it makes
friends with.


_______________________________________________
Newbie mailing list
[EMAIL PROTECTED]
*** To unsubscribe , or change message options, see:
http://XFree86.Org/mailman/listinfo/newbie

Reply via email to