Potential problem with mga driver and DualHead...
Marcin Giedz
marcin.giedz at eulerhermes.pl
Wed Sep 1 06:13:42 PDT 2004
Hello all,
Today I've been trying to run X.org (from CVS - downloaded yestarday
31.08 and compiled on Debian Sarge with kernel 2.6.8.1(compiled from
sources)) with Matrox G550 and DualHead in such configuration: VGA (from
Matrox) to VGA to one LCD NEC, DVI (from Matrox) via DVI->VGA converter
to VGA LCD NEC - so I don't need mga_hal_drv.o. Below I attach my
xorg.conf file:
Section "ServerLayout"
Identifier "X.org Configured"
Screen "Display 1" LeftOf "Display 2"
# Screen "Display 1"
Screen "Display 2"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
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/TTF/"
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 "extmod"
Load "glx"
Load "dri"
Load "dbe"
Load "record"
Load "xtrap"
Load "type1"
Load "freetype"
EndSection
Section "ServerFlags"
Option "Xinerama"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/mouse"
EndSection
Section "Monitor"
Identifier "Display 1"
VendorName "NEC"
ModelName "LCD1880SX"
Option "DPMS"
EndSection
Section "Monitor"
Identifier "Display 2"
VendorName "NEC"
ModelName "LCD1880SX"
Option "DPMS"
EndSection
Section "Device"
Identifier "MATROX CARD 1"
Driver "mga"
VendorName "Matrox"
BoardName "Matrox Millennium G550 DualHead"
# Option "DPMS"
# Option "DigitalScreen1" "on"
BusID "PCI:1:0:0"
Screen 0
Option "Rotate" "CCW"
EndSection
Section "Device"
Identifier "MATROX CARD 2"
Driver "mga"
VendorName "Matrox"
BoardName "Matrox Millennium G550 DualHead"
# Option "DPMS"
# Option "DigitalScreen2" "on"
BusID "PCI:1:0:0"
Screen 1
Option "Rotate" "CCW"
EndSection
Section "Screen"
Identifier "Display 1"
Device "MATROX CARD 1"
Monitor "Display 1"
DefaultDepth 24
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "Screen"
Identifier "Display 2"
Device "MATROX CARD 2"
Monitor "Display 2"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
If I run xinit only one monitor (first) works OK, the second one is
disabled. If I comment #Screen "Display 1" LeftOf "Display 2"
and # Screen "Display 2" and uncomment Screen "Display 1" and rerun
xinit two monitors work OK but I have the same on them - the same
desktop. So I kill X.org uncomment Screen "Display 1" LeftOf "Display 2"
and Screen "Display 2" and comment #Screen "Display 1" and once again
run xinit - two monitors work OK and I have one desktop (xinerama works
OK). Next if I quit the X.org and run xinit again - it works OK as
previus but if I reboot my linux the situation repeats - I need comment
and uncomment ........ after that two monitors works OK.
I checked this xorg.conf on XFree4.4.0 and theres is NO SUCH problem. On
XFree4.4.0 it works OK from the begining.
Could please check it.
BR,
Marcin Giedz
More information about the xorg
mailing list