LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxQuestions.org Member Success Stories
User Name
Password
LinuxQuestions.org Member Success Stories Just spent four hours configuring your favorite program? Just figured out a Linux problem that has been stumping you for months?
Post your Linux Success Stories here.

Notices


Reply
  Search this Thread
Old 05-27-2003, 07:24 PM   #1
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
Matrox G550, TNT Riva, Multi-head X THREE monitors


This was a raging beast to set up, and I'm still twinking around the config some, but I finally got a tri-head working with the G550 Dual Head Matrox card and an old Nvidia driver TNT RIVA. XFree86 4.3.0, and the Matrox 2.1 driver set (for X 4.2.1, just copied them in )

For academic value, and maybe so someone doesn't get a headache for 3 days like I did, here's the whole of the XF86Config file... the last one anyway, of about 12.

Code:
bash-2.05b# cat XF86Config-ALL3HEADS
Section "ServerLayout"
        Identifier     "Matrox PowerDesk configured."
        Screen      0  "Display Merged" 0 0
        Screen      1  "ScreenNV" RightOf "Display Merged"
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
        Option         "xinerama" "on"
EndSection
 
Section "Files"
        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
 
Section "Module"
        Load  "record"
        Load  "extmod"
        Load  "dbe"
        Load  "glx"
        Load  "xtrap"
        Load  "type1"
        Load  "speedo"
        Load  "dri"
EndSection
 
Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "keyboard"
EndSection
 
Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/mouse"
EndSection
 
Section "Monitor"
        Identifier   "Display 1"
        VendorName   "MAG"
        ModelName    "986FS"
        HorizSync    30.0 - 86.0
        VertRefresh  50.0 - 160.0
        Option       "DPMS"
EndSection
 
Section "Monitor"
        Identifier   "Display 2"
        VendorName   "SAM"
        ModelName    "4f26"
        HorizSync    30.0 - 86.0
        VertRefresh  50.0 - 160.0
        Option       "DPMS"
EndSection
 
Section "Monitor"
        Identifier   "Display Merged"
        VendorName   "SAM"
        ModelName    "4f26"
        HorizSync    30.0 - 86.0
        VertRefresh  50.0 - 160.0
        Option       "DPMS"
EndSection
 
Section "Monitor"
        Identifier   "DisplayNV"
        VendorName   "SAM"
        ModelName    "4f26"
        HorizSync    30.0 - 86.0
        VertRefresh  50.0 - 160.0
        Option       "DPMS"
EndSection
 
Section "Device"
        Identifier  "MATROX CARD 1"
        Driver      "mga"
        VendorName  "Matrox Graphics, Inc."
        BoardName   "MGA G550 AGP"
        Option      "hw cursor" "off"
        BusID       "PCI:1:0:0"
EndSection
 
Section "Device"
        Identifier  "MATROX CARD 2"
        Driver      "mga"
        VendorName  "Matrox Graphics, Inc."
        BoardName   "MGA G550 AGP"
        Option      "hw cursor" "off"
        BusID       "PCI:1:0:0"
        Screen      1
EndSection
 
Section "Device"
        Identifier  "Card2"
        Driver      "nv"
        VendorName  "nVidia Corporation"
        BoardName   "NV4 [RIVA TNT]"
        Option      "hw cursor" "off"
        BusID       "PCI:0:11:0"
EndSection
 
Section "Screen"
        Identifier "Display 1"
        Device     "MATROX CARD 1"
        Monitor    "Display 1"
        DefaultDepth     16
        SubSection "Display"
                Depth     16
                Modes    "1280x1024"
        EndSubSection
        SubSection "Display"
                Depth     24
        EndSubSection
EndSection
 
Section "Screen"
        Identifier "Display 2"
        Device     "MATROX CARD 2"
        Monitor    "Display 2"
        DefaultDepth     16
        SubSection "Display"
                Depth     16
                Modes    "1280x1024"
        EndSubSection
        SubSection "Display"
                Depth     24
        EndSubSection
EndSection
 
Section "Screen"
        Identifier "Display Merged"
        Device     "MATROX CARD 1"
        Monitor    "Display Merged"
        DefaultDepth     16
        Option      "Monitor2Position" "RightOf"
        Option      "MetaModes" "1280x1024-1280x1024 1280x1024 "
        Option      "Monitor2HSync" "30.0-86.0 "
        Option      "Monitor2VRefresh" "50.0-160.0 "
        Option      "MergedFB"
        SubSection "Display"
                Virtual   2560 1024
                Depth     16
                Modes    "1280x1024"
        EndSubSection
        SubSection "Display"
                Virtual   2560 1024
                Depth     24
        EndSubSection
EndSection
 
Section "Screen"
        Identifier "ScreenNV"
        Device     "Card2"
        Monitor    "DisplayNV"
        DefaultDepth      16
        SubSection "Display"
                Virtual   1280 1024
                Depth     16
                Modes    "1280x1024"
        EndSubSection
        SubSection "Display"
                Virtual   1280 1024
                Depth     24
                Modes    "1280x1024"
        EndSubSection
EndSection
 
Section "DRI"
EndSection
That's a bit of a beast. I had to merge the Matrox displays otherwise I kept getting annoying artifacting and an unusable display out of the 2nd head on the Matrox card.

Cheers,

Finegan
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to install Riva TNT drivers Fabricate Linux - Newbie 2 09-08-2005 04:57 PM
nvidia RIVA TNT and kernel 2.6.12 Lallo Slackware 3 07-09-2005 06:42 PM
Redhat 8 dual head w/ MAtrox G550 & G450 amigokewl Linux - Newbie 3 08-23-2004 09:15 AM
Mandrake 10 Matrox G550 rmichalczyk Linux - Hardware 0 04-07-2004 07:35 AM
x86 Solaris 9 XSun and Matrox G550 dual-head... one head down, one to go. finegan Solaris / OpenSolaris 4 03-11-2003 12:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxQuestions.org Member Success Stories

All times are GMT -5. The time now is 12:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration