Re: Second Screen for Wobbling

From: Dr. Guenter Schmidt (gsc@bruker.de)
Date: Fri Aug 23 2002 - 01:52:09 PDT


"by way of BUM " wrote:

> For two of our SGI-installations we had bought rather expensive
> video splitters to drive the second screen. With our new 700 MHz
> system with a LINUX (Red Hat 7.1) PC and a Matrox G450
> graphical card, we learned, that this card has two graphical ports,
> thus an additional screen could, in principle, be driven without
> additional costs.
>
> The question is only how to tell the system what it should do.
> There is a configuration file XF86Config-4 and we use a pixel size of
> 1280x1024 with 8 bit color depth.
>

Matrox has a very nice tool 'mgapdesk' wich allows the the Configuration
of
the DualHead graphic cards G450 and G550. You can select between
        Single Display
        DualHead Multi-Display
        DualHead Clone

There are some caveats wich may give problems with the 8,24 Overlay
mode:
'Load dri' and 'Option Xinerama' must be disabled and 'Option
XkbDisable'
 enabled.

Here is a working /etc/X11/XF86Config-4 file configured with mgapdesk.
The only changes had been the additional line
        Option "XkbDisable"
because the first login screen after the changes did not allow to type
anything,
while the mouse was working. But with 'Ctrl+Alt+F1' you may login into
a text console and have a look at '/var/log/XFree86.0.log' which shows
an error XKEYBOARD extension could not be loaded.

==================== cut here ================================
Section "ServerLayout"
        Identifier "Matrox PowerDesk configured."
        Screen "Display 1" 0 0
        Screen "Display 2" 0 0
        InputDevice "Keyboard0" "CoreKeyboard"
        InputDevice "Mouse0" "CorePointer"
EndSection

Section "Files"
        RgbPath "/usr/X11R6/lib/X11/rgb"
        FontPath "unix/:7100"
EndSection

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

Section "ServerFlags"
        Option "Xinerama"
EndSection

Section "InputDevice"
        Identifier "Keyboard0"
        Driver "keyboard"
        Option "XkbRules" "xfree86"
        Option "XkbModel" "pc105"
        Option "XkbLayout" "us"
        Option "XkbVariant" "nodeadkeys"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
        Option "XkbDisable"
EndSection

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

Section "Monitor"
        Identifier "Display 1"
        VendorName "Monitor Vendor"
        ModelName "Monitor Model"
        HorizSync 24.5 - 80.0
        VertRefresh 55.0 - 86.0
        ModeLine "1400x1050" 129.0 1400 1464 1656 1960 1050 1051 1054 1100
+hsync +vsync
        ModeLine "1400x1050" 151.0 1400 1464 1656 1960 1050 1051 1054 1100
+hsync +vsync
        ModeLine "1400x1050" 162.0 1400 1464 1656 1960 1050 1051 1054 1100
+hsync +vsync
        ModeLine "1400x1050" 184.0 1400 1464 1656 1960 1050 1051 1054 1100
+hsync +vsync
EndSection

Section "Monitor"
        Identifier "Display 2"
        VendorName "Monitor Vendor"
        ModelName "Monitor Model"
        HorizSync 24.5 - 86.0
        VertRefresh 55.0 - 160.0
        ModeLine "1400x1050" 129.0 1400 1464 1656 1960 1050 1051 1054 1100
+hsync +vsync
        ModeLine "1400x1050" 151.0 1400 1464 1656 1960 1050 1051 1054 1100
+hsync +vsync
        ModeLine "1400x1050" 162.0 1400 1464 1656 1960 1050 1051 1054 1100
+hsync +vsync
        ModeLine "1400x1050" 184.0 1400 1464 1656 1960 1050 1051 1054 1100
+hsync +vsync
EndSection

Section "Device"
        Identifier "MATROX CARD 1"
        Driver "mga"
        VendorName "Matrox"
        BoardName "Millennium G450"
        Option "AGPMode4x" "on"
        Option "Overlay" "8,24"
        BusID "PCI:1:0:0"
EndSection

Section "Device"
        Identifier "MATROX CARD 2"
        Driver "mga"
        Option "AGPMode4x" "on"
        Option "Overlay" "8,24"
        BusID "PCI:1:0:0"
        Screen 1
EndSection

Section "Screen"
        Identifier "Display 1"
        Device "MATROX CARD 1"
        Monitor "Display 1"
        DefaultDepth 24
        SubSection "Display"
                Depth 24
                Modes "1280x1024" "1024x768" "800x600"
        EndSubSection
        SubSection "Display"
                Depth 16
                Modes "1280x1024" "1024x768" "800x600"
        EndSubSection
        SubSection "Display"
                Depth 8
                Modes "1280x1024" "1024x768" "800x600"
        EndSubSection
EndSection

Section "Screen"
        Identifier "Display 2"
        Device "MATROX CARD 2"
        Monitor "Display 2"
        DefaultDepth 24
        SubSection "Display"
                Depth 24
                Modes "1280x1024" "1024x768" "800x600"
        EndSubSection
        SubSection "Display"
                Depth 16
                Modes "1280x1024" "1024x768" "800x600"
        EndSubSection
        SubSection "Display"
                Depth 8
                Modes "1280x1024" "1024x768" "800x600"
        EndSubSection
EndSection

Section "DRI"
        Mode 0666
EndSection
==================== cut here ================================

Best Regards
Günter

-- 
Dr. Günter Schmidt                 | Bruker BioSpin GmbH  
                                   | NMR Software Department
E-Mail: Guenter.Schmidt@Bruker.DE  | Silberstreifen       
Phone: +49 721 5161-443 / Fax:-480 | D-76287 Rheinstetten



This archive was generated by hypermail 2b29 : Tue Dec 17 2002 - 01:04:24 PST