[lug] X11 Matrox Millennium G450 Dual Head Card

Gregg Phillips phillips at fsl.noaa.gov
Wed Jun 20 11:09:14 MDT 2001


David,

Performance is good on the two-head Matrox systems. We have not yet
done any formal timing tests, but informally it seems to perform well.

We are using "xinerama" with some success. We added a few lines to
the user's .cshrc to start X with this option, to wit:

# Start X if it's not up already
set XID=`ps -eaf | grep -v grep | grep 'X11/X' | awk '{print $1}'`
if ("$XID" != "") then
  exit
else
  startx -- +xinerama
endif


Dual-Headed Linux Workstation Setup
-----------------------------------

Currently, we've set up three different dual-headed Linux workstations
with the following hardware and X configurations:

1) Dell Precision 420 (#1)
- dual 733 MHz processors
- 512 MB memory; 512 MB swap
- one Sony Trinitron UltraScan P1110 monitor
- one HP A4033A monitor -- and sync adaptor
- Matrox Millennium G450 32MB AGP graphics card
- Operating System -- Red Hat 7.1
- XFree86 configuration:
(/etc/X11/XFConfig-4)
# XFree86 4.0 configuration generated by Xconfigurator

Section "ServerLayout"
        Identifier "DualHead"
        Screen      0  "Screen0" 0 0
        Screen      1  "Screen1" RightOf "Screen0"
#       Screen      1  "Screen1" LeftOf "Screen0"
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "ServerFlags"
        Option "Xinerama" "ON"
EndSection

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

Section "Files"
        FontPath "unix/:7100"
        RgbPath  "/usr/X11R6/lib/X11/rgb"
        ModulePath  "/usr/X11R6/lib/modules"
        FontPath  "/usr/X11R6/lib/X11/fonts/misc"
        FontPath  "/usr/X11R6/lib/X11/fonts/Speedo"
        FontPath  "/usr/X11R6/lib/X11/fonts/Type1"
        FontPath  "/usr/X11R6/lib/X11/fonts/CID"
        FontPath  "/usr/X11R6/lib/X11/fonts/75dpi"
        FontPath  "/usr/X11R6/lib/X11/fonts/100dpi"
EndSection

# This loads all the modules...

Section "Module"
        Load  "GLcore"
        Load  "dbe"
#        Load  "dri"
        Load  "extmod"
        Load  "fbdevhw"
        Load  "glx"
        Load  "pex5"
        Load  "record"
        Load  "xie"
        Load  "v4l"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "keyboard"
        Option      "XkbLayout" "us"
        Option  "XkbRules"      "xfree86"
        Option  "XkbModel"      "pc101"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Device" "/dev/psaux"
        Option      "Protocol" "PS/2"
        Option      "Emulate3Buttons" "no"
        Option      "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
        Identifier "Dell P1110"
        VendorName "Unknown"
        ModelName  "Unknown"
        HorizSync  20-85
        VertRefresh 50-120
#       Option "DPMS"
EndSection

Section "Monitor"
        Identifier "HP A4033A"
        VendorName "Unknown"
        ModelName "Unknown"
        HorizSync  20-85
        VertRefresh 50-120
EndSection

Section "Device"
        Identifier "G450-0"
        Driver "mga"
        Screen 0
        #VideoRam 32768
        Option "SWcursor"
        Option "NoDDC"
        BusID "PCI:1:0:0"
EndSection

Section "Device"
        Identifier "G450-1"
        Driver "mga"
        Screen 1
        #VideoRam 32768
        Option "SWcursor"
        Option "NoDDC"
        BusID "PCI:1:0:0"
EndSection



Section "Screen"
        Identifier "Screen0"
        Device "G450-0"
        Monitor "Dell P1110"
        DefaultDepth 24
        Subsection "Display"
                Depth 24
                Modes "1280x1024"
        EndSubSection
EndSection


Section "Screen"
        Identifier "Screen1"
        Device "G450-1"
        Monitor "HP A4033A"
        DefaultDepth 24
        Subsection "Display"
                Depth 24
                Modes "1280x1024"
        EndSubSection
EndSection


Section "DRI"
EndSection


2) Dell Precision 420 (#2)
- dual 933 MHz processors
- 1000 MB memory; 2000 MB swap
- one Sony Trinitron UltraScan P1110 monitor
- one HP A4331D monitor
- Matrox Millenium G450 32MB AGP graphics card
- Operating System -- Red Hat 7.0
- XFree86 configuration:
(/etc/X11/XF86Config-4)
# XFree86 4.0 configuration generated by Xconfigurator

Section "ServerLayout"
        Identifier "XFree86 Configured"

#        Screen "Screen 1" RightOf "Screen 2"
#        Screen "Screen 2"

        # Screen <screen_num> "screen_id" <position information>
        #
        Screen "Screen 1" LeftOf "Screen 2"
        Screen "Screen 2"

#        Screen "Screen 1"

#       Option  "Xinerama"

        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"

EndSection

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

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

# This loads all the modules...

Section "Module"
        Load  "GLcore"
        Load  "dbe"
#        Load  "dri"
        Load  "extmod"
        Load  "glx"
        Load  "pex5"
        Load  "record"
        Load  "xie"
        Load  "v4l"
EndSection

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

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

Section "Monitor"
        Identifier "DELL P1110"
        VendorName "Unknown"
        ModelName  "Unknown"
        HorizSync 30 - 121
        VertRefresh 48 - 90
EndSection

Section "Monitor"
    Identifier "HP A4331D"
        VendorName "Unknown"
        ModelName  "Unknown"
        HorizSync 30 - 121
        VertRefresh 48 - 80
EndSection

Section "Device"
        Identifier "G400_0"
        Driver "mga"
        BusID  "PCI:1:0:0"
        Screen  0
#       BoardName "Unknown"
EndSection

Section "Device"
        Identifier "G400_1"
        Driver "mga"
        BusID  "PCI:1:0:0"
        Screen  1
#       BoardName "Unknown"
EndSection

Section "Screen"
        Identifier "Screen 1"
        Device "G400_0"
        Monitor "DELL P1110"
#               Monitor "HP A4331D"
        DefaultDepth 24
        Subsection "Display"
                Depth 32
                Modes "1280x1024"
        EndSubSection

        Subsection "Display"
                Depth 24
                Modes "1280x1024"
        EndSubSection
        Subsection "Display"
                Depth 16
                Modes "1280x1024"
        EndSubSection
        Subsection "Display"
                Depth 8
                Modes "1280x1024"
        EndSubSection
EndSection

Section "Screen"
        Identifier "Screen 2"
        Device "G400_1"
#        Monitor "DELL P1110"
        Monitor "HP A4331D"
        DefaultDepth 24
        Subsection "Display"
                Depth 32
                Modes "1280x1024"
        EndSubSection
Subsection "Display"
                Depth 24
                Modes "1280x1024"
        EndSubSection
        Subsection "Display"
                Depth 16
                Modes "1280x1024"
        EndSubSection
        Subsection "Display"
                Depth 8
                Modes "1280x1024"
        EndSubSection
EndSection

Section "DRI"
EndSection


3) Dell Precision 410 (#3)
- dual 500 MHz processors
- 512 MB memory; 512 MB swap
- two HP A4033A monitors -- and two sync adaptors
- two Titan Graphics Reactor 32MB PCI graphics cards
- Operating System -- Red Hat 7.1
- Xfree86 configuration:
(/etc/X11/XF86Config-4)
# XFree86 4.0 configuration generated by Xconfigurator

Section "ServerLayout"
        Identifier "XFree86 Configured"
        Screen      0  "Screen0" 0 0
        Screen      1  "Screen1" RightOf "Screen0"
#       Screen      1  "Screen1" LeftOf "Screen0"
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "ServerFlags"
        Option "Xinerama" "ON"
EndSection

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

Section "Files"
        FontPath "unix/:7100"
        RgbPath  "/usr/X11R6/lib/X11/rgb"
        ModulePath  "/usr/X11R6/lib/modules"
        FontPath  "/usr/X11R6/lib/X11/fonts/misc"
        FontPath  "/usr/X11R6/lib/X11/fonts/Speedo"
        FontPath  "/usr/X11R6/lib/X11/fonts/Type1"
        FontPath  "/usr/X11R6/lib/X11/fonts/CID"
        FontPath  "/usr/X11R6/lib/X11/fonts/75dpi"
        FontPath  "/usr/X11R6/lib/X11/fonts/100dpi"
EndSection

# This loads all the modules...

Section "Module"
        Load  "GLcore"
        Load  "dbe"
        Load  "dri"
        Load  "extmod"
        Load  "fbdevhw"
        Load  "glx"
        Load  "pex5"
        Load  "record"
        Load  "xie"
        Load  "v4l"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "keyboard"
        Option      "XkbLayout" "us"
        Option  "XkbRules"      "xfree86"
        Option  "XkbModel"      "pc101"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Device" "/dev/psaux"
        Option      "Protocol" "PS/2"
        Option      "Emulate3Buttons" "no"
        Option      "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
        Identifier "Monitor0"
        VendorName "Unknown"
        ModelName  "Unknown"
        HorizSync  20-85
        VertRefresh 50-120
#       Option "DPMS"
EndSection

Section "Monitor"
        Identifier "Monitor1"
        VendorName "Unknown"
        ModelName "Unknown"
        HorizSync  20-85
        VertRefresh 50-120
EndSection

Section "Device"
        Identifier "Card0"
        Driver "glint"
        Option "SWcursor"
        Option "NoDDC"
        VendorName "3Dlabs"
        BoardName "GLINT Permedia 3"
        BusID "PCI:0:13:0"
EndSection

Section "Device"
        Identifier "Card1"
        Driver "glint"
        Option "SWcursor"
        Option "NoDDC"
        VendorName "3Dlabs"
        BoardName "GLINT Permedia 3"
        BusID "PCI:0:14:0"
EndSection


Section "Screen"
        Identifier "Screen0"
        Device "Card0"
        Monitor "Monitor0"
        DefaultDepth 24
        Subsection "Display"
                Depth 24
                Modes "1280x1024"
        EndSubSection
EndSection


Section "Screen"
        Identifier "Screen1"
        Device "Card1"
        Monitor "Monitor1"
        DefaultDepth 24
        Subsection "Display"
                Depth 24
                Modes "1280x1024"
        EndSubSection
EndSection


Section "DRI"
EndSection



Notes:

- The HP A4033A monitor won't work without a sync adaptor. The A4033A
  has a 6 pin connector which needs a 6 pin to 15 pin adaptor attached
  before it can successfully be plugged into a PC graphics card.

- Sync adaptors can be purchased from Software Integrators for ~$50.

- The graphics cards that we're currently using for dual-headed displays
  are the Matrox Millennium G450 and the Titan Graphics Reactor made by
  Software Integrators.

- The second dual-headed configuration (#2,) To get it to work properly
    /etc/inittab must be modified:
   id:3:initdefault:
  And X must be started with the following command:
   startx -- +xinerama

- The third dual-headed configuration (#3) uses two X servers, one
  for each display and the Enlightenment window manager. It doesn't
  use a desktop environment, e.g., gnome or kde. Again, the /etc/inittab
  has been modified to bring up the system at run level 3. To
  initiate X issue the following command:
   startx

Please note, all of this work was done by one of our Systems Administrators,
Randy Wood. I am just passing on the info. he documented. I hope this helps.

Regards,

Gregg Phillips
Lead Systems Administrator
Forecast Systems Lab.
phillips at fsl.noaa.gov



David Novotny wrote:

> Howdy,
>          I can't seem to get my Matrox Millennium G450 Dual Head (32MB)
> video card to work under X11.  I have tried the setup for the G400 and the
> "standard" SVGA gives relatively poor performance.  I am running debian
> with the LINUX 2.2.17 kernel
>
> Any ideas?
>
> David Novotny
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++
> David R. Novotny
> National Institute of Standards and Technology
> RF Technology Division
> RF Fields Group
> M/S 813.02                  Phone: (303) 497-3168
> 325 Broadway                FAX:   (303) 497-6665
> Boulder, CO 80305-3328      email: novotny at boulder.nist.gov
>
> http://www.boulder.nist.gov/div813/rffields/
>
> The world is full of givers and takers -
>    The takers eat better; but, the givers sleep better.
>
>      --- Excerpt from a Chinese Fortune Cookie
>
> Any opinions or statements, faulty as they probably are,
> are mine(usually) and do not reflect anyone else's
> (especially my employer's).
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug




More information about the LUG mailing list