LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 12-05-2008, 12:21 PM   #1
phantom_cyph
Senior Member
 
Registered: Feb 2007
Location: My HDD...
Distribution: WinXP for designing, Linux for life.
Posts: 2,329
Blog Entries: 1

Rep: Reputation: 47
Post Matrox g550 dualhead w/xinerama


I started a thread a while ago trying to get my Matrox g550 card to use Xinerama. I gave up on it after a while then met another guy who needed help last night with his on #slackware. So, I took my configuration files, and the ones he found, and mixed them up a bit to get a working config.

The only problem right now is that my Screen0 is stuck in 1024x768 like my Screen1. Screen0 is a 19" LCD capable of 1440x900 at a depth of 24 (limited by the Matrox card). Screen1 is a 15" CRT monitor that has a max depth of 16. Thus, I set the LCD to 16 or else Xinerama will refuse to work.

If you have 2 of the same monitors this should not be a problem for you, just copy one of the "Screen" sections and change the Identifier, Device, and Monitor accordingly. I'm leaving it with this bug because, frankly, I don't really need dual screens (unless I get another 19" )

Here is the xorg.conf for all to see and copy:
Code:
# **********************************************************************
# Module section -- this  section  is used to specify
# which dynamically loadable modules to load.
# **********************************************************************

Section "Module"
    Load        "dbe"  	# Double buffer extension
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection
    Load        "type1"
    Load        "freetype"
    Load       "glx"
EndSection

# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"
    RgbPath	"/usr/share/X11/rgb"
    FontPath   "/usr/share/fonts/local/"
    FontPath   "/usr/share/fonts/misc/"
    FontPath   "/usr/share/fonts/OTF/"
    FontPath   "/usr/share/fonts/TTF/"
    FontPath   "/usr/share/fonts/Type1/"
    FontPath   "/usr/share/fonts/CID/"
    FontPath   "/usr/share/fonts/Speedo/"
    FontPath   "/usr/share/fonts/75dpi/:unscaled"
    FontPath   "/usr/share/fonts/100dpi/:unscaled"
    FontPath   "/usr/share/fonts/75dpi/"
    FontPath   "/usr/share/fonts/100dpi/"
    FontPath   "/usr/share/fonts/cyrillic/"
EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"
    Option "Xinerama" "on"
EndSection

# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"
    Identifier	"Keyboard1"
    Driver	"kbd"
EndSection

# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"
    Identifier	"Mouse1"
    Driver	"mouse"
    Option "Protocol"    "IMPS/2"
    Option "Device"      "/dev/mouse"
EndSection

# **********************************************************************
# Monitor section
# **********************************************************************

Section "Monitor" # 19" Hanns-G LCD 
    Identifier  "Monitor0"
    Option	"DPMS"
EndSection

Section "Monitor" # 15" CyberVision C50 CRT
    Identifier  "Monitor1"
    HorizSync   31.5 - 50.0
    VertRefresh 40-90
EndSection

# **********************************************************************
# Graphics device section
# **********************************************************************

Section "Device"
    Identifier    "Matrox0"
    Driver        "mga"
    BusID          "PCI:1:0:0"    #check this with lspci
    Screen 0
EndSection

Section "Device"
    Identifier    "Matrox1"
    Driver        "mga"
    BusID          "PCI:1:0:0"    #check this with lspci
    Screen 1
EndSection

# **********************************************************************
# Screen sections
# **********************************************************************

Section "Screen"
    Identifier  "Screen 0"
    Device      "Matrox0"
    Monitor    "Monitor0"
    DefaultDepth 16    #Depth level for both screens must be equal
    Subsection "Display"
        Depth      16
        Modes      "1440x900" "1152x864" "1024x768" "800x600" "640x480"
    EndSubsection
    #Subsection "Display"
    #   Depth      24
    #   Modes      "1440x900" "1152x864" "1024x768" "800x600" "640x480"
    #EndSubsection
EndSection

Section "Screen"
    Identifier  "Screen 1"
    Device      "Matrox1"
    Monitor    "Monitor1"
    DefaultDepth 16
    Subsection "Display"
        Depth      16
        Modes      "1024x768" "800x600" "640x480"
    EndSubsection 
    #Subsection "Display"
    #  Depth      24
    #  Modes      "1024x768" "800x600" "640x480"
    #EndSubsection
EndSection

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

Section "ServerLayout"
  Identifier  "Simple Layout"
  Screen      "Screen 0" RightOf "Screen 1"
  Screen      "Screen 1"
  InputDevice "Mouse1" "CorePointer"
  InputDevice "Keyboard1" "CoreKeyboard"
EndSection
If you know how to fix the resolution problem, let me know. I'll try it, and if it works I'll copy the entire file on here again..

Last edited by phantom_cyph; 12-05-2008 at 12:23 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Matrox G550 Dualhead Problem t0bias Linux - Desktop 0 09-27-2007 04:52 AM
G550 dualhead Gerard_2009 Linux - Hardware 10 05-25-2007 05:42 PM
matrox g550 pci-e UnWorldly Linux - Hardware 0 04-20-2006 06:00 PM
Mandrake 10 Matrox G550 rmichalczyk Linux - Hardware 0 04-07-2004 07:35 AM
G550 Dualhead Mdk 9.1 MaxPioneer Linux - Hardware 3 05-20-2003 01:17 PM


All times are GMT -5. The time now is 06:15 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration