phantom_cyph |
12-05-2008 12:21 PM |
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" :D)
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..
|