G550 dual-head problems

Eric Ekong eric at unixtechs.org
Fri Jul 1 22:19:28 GMT 2005


Here is my working config, before I upgraded to the parhelia...

attached...

Eric
* Benjamin Thelen <bt at ccgis.de> [050630 09:48]:
> 
> Hi List,
> 
> I really would appreciate your help, because I ran out of ideas!
> 
> Basically dual-head works, but only with a little workaround:
> If I start X, with the xorg.conf I attached, the second monitor simply 
> isn't activated, although the desktop is expanded to the second monitor! 
> I first have to comment out "Screen 0" and "Screen 1" within both 
> 'Section "Device"' for Card0 and Card1. If I then start X, the second 
> monitor is activated in cloning mode. After "reaktivating" the "Screen 
> 0" and "Screen 1" entries, which I just have commented out, dual-head works.
> 
> Do you have an idea what is wrong in my xorg.conf? I "played" around for 
> example with commenting out "Xinerama", removing the second 'Section 
> "Device"' for Card1, but without success.
> 
> 
> Kind Regards,
> Benjamin

> Section "ServerLayout"
> 	Identifier     "Dual-Monitor"
> 	Screen      0  "Screen0"
> 	Screen      1  "Screen1" RightOf "Screen0"
> 	InputDevice    "Mouse0" "CorePointer"
> 	InputDevice    "Keyboard0" "CoreKeyboard"
> #	Option "Clone" "off"
> EndSection
> 
> 
> Section "ServerFlags"
> 	Option "Xinerama" "true"
> 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/"
> 	#FontPath    "/usr/X11R6/lib/X11/fonts/Speedo/"
> 	FontPath    "/usr/X11R6/lib/X11/fonts/URW/"
> 	FontPath    "/usr/local/share/fonts/"
> 	FontPath    "/usr/X11R6/lib/X11/fonts/"
> 	#FontPath    "/usr/local/share/fonts/override/"
> 	FontPath    "/usr/X11R6/lib/X11/fonts/bitstream-vera/"
> 	#FontPath    "/usr/X11R6/lib/X11/fonts/cyrillic/"
> 	#FontPath    "/usr/X11R6/lib/X11/fonts/latin2/"
> 	#FontPath    "/usr/X11R6/lib/X11/fonts/local/"
> 	#FontPath    "/usr/X11R6/lib/X11/fonts/PEX/"
> 	FontPath    "/usr/X11R6/lib/X11/fonts/TrueType/"
> 	#FontPath    "/usr/X11R6/lib/X11/fonts/latin2/100dpi/"
> 	#FontPath    "/usr/X11R6/lib/X11/fonts/latin2/75dpi/"
> EndSection
> 
> Section "Module"
> 	Load  "extmod"
> 	Load  "glx"
> 	#Load  "dri"
> 	Load  "dbe"
> 	Load  "record"
> 	Load  "xtrap"
> 	Load  "type1"
> 	Load  "freetype"
> 	#Load  "speedo"
> EndSection
> 
> Section "InputDevice"
> 	Identifier  "Keyboard0"
> 	Driver      "kbd"
> 	Option "XkbModel" "pc105"
>         Option "XkbLayout" "de"
>         Option "XkbVariant" "nodeadkeys"
> EndSection
> 
> Section "InputDevice"
> 	Identifier  "Mouse0"
> 	Driver      "mouse"
> 	Option	    "Protocol" "auto"
> 	Option	    "Device" "/dev/sysmouse"
> 	Option      "ZAxisMapping" "4 5"
> EndSection
> 
> 
> Section "Monitor"
> 	##DisplaySize	  400   300	# mm
> 	#Identifier   "Monitor0"
> 	#VendorName   "IVM"
> 	#ModelName    "2140"
> 	Option	      "DPMS"
> 	Identifier    "Monitor0"
>         VendorName    "IIyama"
>         ModelName     "A201HT"
> 	HorizSync     30-130
> 	VertRefresh   50-160
> EndSection
> 
> Section "Monitor"
>         Identifier    "Monitor1"
>         VendorName    "IIyama"
>         ModelName     "A201HT"
>         HorizSync     30-130
>         VertRefresh   50-160
>         Option        "DPMS"
> EndSection
> 
> Section "Device"
>         ### Available Driver options are:-
>         ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
>         ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
>         ### [arg]: arg optional
>         #Option     "SWcursor"           	# [<bool>]
>         #Option     "HWcursor"           	# [<bool>]
>         #Option     "PciRetry"           	# [<bool>]
>         #Option     "SyncOnGreen"        	# [<bool>]
>         #Option     "NoAccel"            	# [<bool>]
>         #Option     "ShowCache"          	# [<bool>]
>         #Option     "Overlay"            	# [<str>]
>         #Option     "MGASDRAM"           	# [<bool>]
>         #Option     "ShadowFB"           	# [<bool>]
>         #Option     "UseFBDev"           	# [<bool>]
>         #Option     "ColorKey"           	# <i>
>         #Option     "SetMclk"            	# <freq>
>         #Option     "OverclockMem"       	# [<bool>]
>         #Option     "VideoKey"           	# <i>
>         #Option     "Rotate"             	# [<str>]
>         #Option     "TexturedVideo"      	# [<bool>]
>         #Option     "Crtc2Half"          	# [<bool>]
>         #Option     "Crtc2Ram"           	# <i>
>         #Option     "Int10"              	# [<bool>]
>         #Option     "AGPMode"            	# <i>
>         #Option     "AGPSize"            	# <i>
>         #Option     "DigitalScreen1"     	# [<bool>]
>         #Option     "DigitalScreen2"     	# [<bool>]
>         #Option     "TV"                 	# [<bool>]
>         #Option     "TVStandard"         	# [<str>]
>         #Option     "CableType"          	# [<str>]
>         #Option     "NoHal"              	# [<bool>]
>         #Option     "SwappedHead"        	# [<bool>]
>         #Option     "DRI"                	# [<bool>]
>         #Option     "MergedFB"           	# [<bool>]
>         #Option     "Monitor2HSync"      	30-130# [<str>]
>         #Option     "Monitor2VRefresh"   	50-160# [<str>]
>         #Option     "Monitor2Position"   	right# [<str>]
>         #Option     "MetaModes"          	# [<str>]
> 	Identifier  "Card0"
> 	Driver      "mga"
> 	VendorName  "Matrox Graphics, Inc."
> 	BoardName   "MGA G550 AGP"
> 	BusID       "PCI:1:0:0"
> 	Screen	    0
> EndSection
> 
> Section "Device"
> 	Identifier  "Card1"
>         Driver      "mga"
>         VendorName  "Matrox Graphics, Inc."
>         BoardName   "MGA G550 AGP"
>         BusID       "PCI:1:0:0"
> 	Screen	    1
> EndSection
> 
> 
> Section "Screen"
> 	Identifier "Screen0"
> 	Device     "Card0"
> 	Monitor    "Monitor0"
> 	DefaultDepth 16
> 	Subsection "Display"
>         	Depth       8
>         	Modes       "640x480" "800x600" "1024x768" "1280x1024"
>         	ViewPort    0 0
>     	EndSubsection
>     	Subsection "Display"
>         	Depth       16
>         	Modes       "1280x1024" "1024x768" "800x600" "640x480"
>         	ViewPort    0 0
>     	EndSubsection
>     	Subsection "Display"
>         	Depth       24
>         	Modes       "640x480" "800x600" "1024x768" "1280x1024"
>         	ViewPort    0 0
>     	EndSubsection
> EndSection
> 
> Section "Screen"
>         Identifier "Screen1"
>         Device     "Card1"
>         Monitor    "Monitor1"
>         DefaultDepth 16
>         Subsection "Display"
>                 Depth       8
>                 Modes       "640x480" "800x600" "1024x768" "1280x1024"
>                 ViewPort    0 0
>         EndSubsection
>         Subsection "Display"
>                 Depth       16
>                 Modes       "1280x1024" "1024x768" "800x600" "640x480"
>                 ViewPort    0 0
>         EndSubsection
>         Subsection "Display"
>                 Depth       24
>                 Modes       "640x480" "800x600" "1024x768" "1280x1024"
>                 ViewPort    0 0
>         EndSubsection
> EndSection
> 

> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


-- 
=======================================================
Eric I. Ekong                        eric at unixtechs.org
FreeBSD - The Power to Serve     http://www.freebsd.org           
K Desktop Environment on FreeBSD http://freebsd.kde.org           
=======================================================

Laws of Serendipity:

        (1) In order to discover anything, you must be looking for
            something.
        (2) If you wish to make an improved product, you must already
            be engaged in making an inferior one.

-------------- next part --------------
Section "ServerLayout"
	Identifier     "Layout0"
	Screen      0  "Screen 0" 0 0
	Screen         "Screen 1" LeftOf "Screen 0"
	InputDevice    "Microsoft_Natural" "CoreKeyboard"
	InputDevice    "Microsoft Intellimouse Explorer" "CorePointer"
	Option	    "Xinerama"
EndSection

Section "Files"
	FontPath     "/usr/X11R6/lib/X11/fonts/misc"
	FontPath     "/usr/X11R6/lib/X11/fonts/Type1"
	FontPath     "/usr/X11R6/lib/X11/fonts/100dpi"
	FontPath     "/usr/X11R6/lib/X11/fonts/75dpi"
	FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
	FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
	FontPath     "/usr/X11R6/lib/X11/fonts/cyrillic"
	FontPath     "/usr/X11R6/lib/X11/fonts/URW"
	FontPath     "/usr/X11R6/lib/X11/fonts/freefont"
	FontPath     "/usr/X11R6/lib/X11/fonts/misc"
	FontPath     "/usr/X11R6/lib/X11/fonts/TrueType"
	FontPath     "/usr/X11R6/lib/X11/fonts/TTF"
EndSection

Section "Module"
	Load  "xie"
	Load  "pex5"
	Load  "glx"
	Load  "dri"
	Load  "dbe"
	Load  "record"
	Load  "extmod"
	Load  "type1"
	Load  "freetype"
	Load  "ddc"
	Load  "GLcore"
	Load  "vbe"
	Load  "xie"
	Load  "bitmap"
	Load  "int10"
EndSection

Section "InputDevice"
	Identifier  "Microsoft Intellimouse Explorer"
	Driver      "mouse"
	Option	    "Protocol" "Auto"
	Option	    "Device" "/dev/sysmouse"
	Option	    "Buttons" "5"
	Option	    "ZAxisMapping" "4 5"
	Option	    "Resolution" "1600"
	Option	    "CursorShadow" "True"
EndSection

Section "InputDevice"
	Identifier  "Microsoft_Natural"
	Driver      "keyboard"
	Option	    "AutoRepeat"  "500 30"
	Option	    "XkbModel" "pc105"
	Option	    "XkbLayout" "us"
	Option	    "XkbRules" "xfree86"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "ViewSonic 17GA-2"
	ModelName    "ViewSonic"
	HorizSync    30.0 - 69.0
	VertRefresh  50.0 - 160.0
	Option	    "dpms"
EndSection

Section "Monitor"
	Identifier   "Monitor1"
	VendorName   "ViewSonic 17GA-2"
	ModelName    "ViewSonic"
	HorizSync    30.0 - 69.0
	VertRefresh  50.0 - 160.0
	Option	    "dpms"
EndSection

Section "Device"
	Identifier  "G550_0"
	Driver      "mga"
	VideoRam    32768
	Option	    "SWcursor"	"True"
	Option	    "HWcursor"	"False"
	Option	    "AGPMode"	"4"
	Option	    "DRI"	"True"
	BusID       "PCI:2:0:0"
	Option      "DPMS"  "on"
	Screen	    0
EndSection

Section "Device"
	Identifier  "G550_1"
	Driver	    "mga"
	VideoRam    32768
	Option	    "SWcursor"	"True"
	Option	    "HWcursor"	"False"
	Option	    "AGPMode"	"4"
	Option	    "DRI"	"True"
	BusID       "PCI:2:0:0"
	Option      "DPMS"  "on"
	Screen      1
EndSection

Section "Screen"
	Identifier "Screen 0"
	Device     "G550_0"
	Monitor    "monitor0"
	DefaultDepth     24
	SubSection "Display"
		Depth     8
		Modes    "1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     16
		Modes    "1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     24
		Modes    "1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "Screen"
	Identifier "Screen 1"
	Device     "G550_1"
	Monitor    "monitor1"
	DefaultDepth     24
	SubSection "Display"
		Depth     8
		Modes    "1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     16
		Modes    "1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth     24
		Modes    "1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "DRI"
#	Group 438
	Mode         0666
EndSection



More information about the freebsd-questions mailing list