configurare X con due monitor

Enrico M. enricom a teppisti.it
Sab 16 Maggio 2009 16:51:21 CEST


Ho la necessitÓ di collegare un monitor al mio notebook
Ho attaccato il monitor tramite il classico cavo vga e mi sono cimentato con 
la configurazione di X
L'obiettivo Ŕ avere due monitor con risoluzioni diverse (il pannello lcd del 
notebook a 1024x768 ed il monitor esterno a 1440x900), non importa se in 
modalitÓ clone oppure no.
Fondamelmente ho bisogno di vederci su le stesse cose che si vedono sul 
pannello lcd del notebook, ma se mi devo spostare va bene lo stesso
Sul mio notebook Ŕ presente una ati radeon 7500, che funziona tramite driver 
radeon non proprietario
Il risultato non Ŕ proprio deludente, ma neanche incoraggiante
Sul monitor esterno viene proiettato il mio desktop, in maniera identica a 
quanto avviene sul pannello lcd, alla stessa identica risoluzione, che non Ŕ 
quello che volevo.
Inoltre, se do in pasto un filmato a mplayer, sul pannello lcd lo vedo, mentre 
sul monitor esterno no: l'area visiva di mplayer Ŕ tutta di colore verde.
Vi allego il mio xorg.conf
Son due giorni che ci sbatto la testa
Grazie
-------------- parte successiva --------------
Section "ServerLayout"
	Identifier  "Dual-Monitor"
    	Screen     "Screen0" LeftOf "Screen1"
#    	Screen     "Screen1" 
#	Identifier     "X.org Configured"
#	Screen        "Screen0" 
#	Screen      1	"Screen1"
#	Screen        "Screen1" RightOf "Screen0"
	InputDevice    "Mouse0" "CorePointer"
#	InputDevice	"Synaptics_Touchpad" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
#	Option	"Clone"	"true"
EndSection


Section "Files"
	RgbPath      "/usr/local/share/X11/rgb"
	ModulePath   "/usr/local/lib/xorg/modules"
	FontPath     "/usr/local/lib/X11/fonts/misc/"
	FontPath     "/usr/local/lib/X11/fonts/TTF/"
	FontPath     "/usr/local/lib/X11/fonts/OTF"
	FontPath     "/usr/local/lib/X11/fonts/Type1/"
	FontPath     "/usr/local/lib/X11/fonts/100dpi/"
	FontPath     "/usr/local/lib/X11/fonts/75dpi/"
	FontPath     "/usr/local/lib/X11/fonts/corefonts/"
EndSection

Section "Module"
	Load  "GLcore"
	Load  "dbe"
	Load  "dri"
	Load  "extmod"
	Load  "glx"
	Load  "record"
	Load  "xtrap"
	Load  "freetype"
	Load  "type1"
#	Load  "radeon"
#	Load  "drm"
	Load  "ddc"
	Load  "bitmap"
	Load  "int10"
	Load  "vbe"
#	Load  "synaptics"
	
	SubSection "extmod"
		Option "omit xfree86-dga"
	EndSubSection

EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option	    "XkbRules" "xorg"
	Option	    "XkbModel" "thinkpadintl"
	Option	    "XkbLayout" "it"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "Auto"
	Option	    "Device" "/dev/sysmouse"
#	Option	    "Buttons"	"7"
	Option	    "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
	Identifier	"Synaptics_Touchpad"
	Driver	"synaptics"
	Option	"Device"	"/dev/psm0"
	Option	"Protocol"	"psm"
	Option	"LeftEdge"	"1700"
	Option	"RightEdge"	"5300"
	Option	"TopEdge"	"1700"
	Option	"BottomEdge"	"4200"
	Option	"FingerLow"	"25"
	Option	"FingerHigh"	"30"
	Option	"MaxTapTime"	"180"
	Option	"MaxTapMove"	"220"
	Option	"VertScrollDelta"	"100"
	Option	"HorizScrollDelta"	"100"
	Option	"MinSpeed"	"0.06"
	Option	"MaxSpeed"	"0.06"
	Option	"AccelFactor"	"0.0010"
	Option	"ScrollButtonRepeat"	"100"
	Option	"UpDownScrolling"	"on"
	Option	"UpDownRepeat"		"on"
	Option	"LeftRightScrolling"	"on"
	Option	"LeftRightRepeat"	"on"
	Option	"SHMConfig"		"on"
	Option	"UseShm"		"true"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
 ### Comment all HorizSync and VertRefresh values to use DDC:
	HorizSync    28 - 49
	VertRefresh  43 - 72
	Option	"DPMS"		"true"
EndSection

Section "Monitor"
	Identifier	"Monitor1"
	VendorName	"Philips"
	ModelName	"190CW"
	HorizSync	33 - 83
	VertRefresh	56 - 76
	Option	"DPMS"	"true"
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     "NoAccel"            	# [<bool>]
        #Option     "SWcursor"           	# [<bool>]
        #Option     "Dac6Bit"            	# [<bool>]
        #Option     "Dac8Bit"            	# [<bool>]
        #Option     "BusType"            	# [<str>]
        #Option     "CPPIOMode"          	# [<bool>]
        #Option     "CPusecTimeout"      	# <i>
        #Option     "AGPMode"            	# <i>
        #Option     "AGPFastWrite"       	# [<bool>]
        #Option     "AGPSize"            	# <i>
        #Option     "GARTSize"           	# <i>
        #Option     "RingSize"           	# <i>
        #Option     "BufferSize"         	# <i>
        #Option     "EnableDepthMoves"   	# [<bool>]
        #Option     "EnablePageFlip"     	# [<bool>]
        #Option     "NoBackBuffer"       	# [<bool>]
        #Option     "DMAForXv"           	# [<bool>]
        #Option     "FBTexPercent"       	# <i>
        #Option     "DepthBits"          	# <i>
        #Option     "AccelDFS"           	# [<bool>]
        #Option     "PanelOff"           	# [<bool>]
        #Option     "DDCMode"            	# [<bool>]
        #Option     "MonitorLayout"      	# [<str>]
        #Option     "IgnoreEDID"         	# [<bool>]
        #Option     "UseFBDev"           	# [<bool>]
        #Option     "MergedFB"           	# [<bool>]
        #Option     "CRT2HSync"          	# [<str>]
        #Option     "CRT2VRefresh"       	# [<str>]
        #Option     "CRT2Position"       	# [<str>]
        #Option     "MetaModes"          	# [<str>]
        #Option     "MergedDPI"          	# [<str>]
        #Option     "MergedXinerama"     	# [<bool>]
        #Option     "MergedXineramaCRT2IsScreen0" 	# [<bool>]
        #Option     "MergedNonRectangular" 	# [<bool>]
        #Option     "MergedMouseRestriction" 	# [<bool>]
        #Option     "DisplayPriority"    	# [<str>]
        #Option     "PanelSize"          	# [<str>]
        #Option     "ForceMinDotClock"   	# <freq>
        #Option     "ColorTiling"        	# [<bool>]
        #Option     "VideoKey"           	# <i>
        #Option     "RageTheatreCrystal" 	# <i>
        #Option     "RageTheatreTunerPort" 	# <i>
        #Option     "RageTheatreCompositePort" 	# <i>
        #Option     "RageTheatreSVideoPort" 	# <i>
        #Option     "TunerType"          	# <i>
        #Option     "RageTheatreMicrocPath" 	# <str>
        #Option     "RageTheatreMicrocType" 	# <str>
        #Option     "RenderAccel"        	# [<bool>]
        #Option     "SubPixelOrder"      	# [<str>]
        #Option     "ShowCache"          	# [<bool>]
        #Option     "DynamicClocks"      	# [<bool>]
        #Option     "BIOSHotkeys"        	# [<bool>]
        #Option     "VGAAccess"          	# [<bool>]
        #Option     "ReverseDDC"         	# [<bool>]
        #Option     "LVDSProbePLL"       	# [<bool>]
        #Option     "AccelMethod"        	# <str>
        #Option     "ConstantDPI"        	# [<bool>]
	Identifier  "Card0"
	Driver      "radeon"
	VendorName  "ATI Technologies Inc"
	BoardName   "Radeon Mobility M7 LW [Radeon Mobility 7500]"
	BusID       "PCI:1:0:0"
	Option		"RenderAccel"		"true"
	Option		"AccelMethod"		"XAA"
	Option		"AGPMode"		"4"
	Option		"AGPFastWrite"		"true"
	Option		"EnablePageFlip"	"1"
	Option		"ColorTiling"		"1"
	Option		"UseIngternalAGPGART"	"no"
	Option		"backingstore"		"true"
	Option		"AllowGLXWithComposite"	"true"
	Option		"DynamicClocks"		"on"
	Option		"DDCMode"		"true"
	Option		"MergedFB"		"true"
	Option		"MergedXinerama"	"true"
	Option		"DRI"			"true"
	Option		"XAANoOffscreenPixmaps"	"true"
	Option		"IgnoreLidStatus"	"false"
#	Option		"MonitorLayout"	"LCD, CRT"
	Option		"MetaModes"	"1024x768-1440x900"
#	Option		"MetaModes"	"1440x900-1024x768"
	Option		"MergedXineramaCRT2IsScreen0"	"false"
# 	Option		"CRT2Position"	"RightOf"
	Screen		0
EndSection

Section "Device"
	Identifier  "Card1"
        Driver      "radeon"
        VendorName  "ATI Technologies Inc"
        BoardName   "Radeon Mobility M7 LW [Radeon Mobility 7500]"
        BusID       "PCI:1:0:0"
        Option          "RenderAccel"           "true"
        Option          "AccelMethod"           "XAA"
        Option          "AGPMode"               "4"
        Option          "AGPFastWrite"          "true"
        Option          "EnablePageFlip"        "1"
        Option          "ColorTiling"           "1"
        Option          "UseIngternalAGPGART"   "no"
        Option          "backingstore"          "true"
        Option          "AllowGLXWithComposite" "true"
        Option          "DynamicClocks"         "on"
        Option          "DDCMode"               "true"
        Option          "MergedFB"              "true"
	Option		"MergedXinerama"	"true"
        Option          "DRI"                   "true"
        Option          "XAANoOffscreenPixmaps" "true"
	Option		"IgnoreLidStatus"	"false"
#	Option		"MetaModes"	"1024x768-1440x900"
	Option		"MetaModes"	"1440x900-1024x768"
	Option		"MergedXineramaCRT2IsScreen0"	"false"
#	Option "MonitorLayout" "LCD, CRT"
#	Option "CRT2Hsync" "33-83"
#	Option "CRT2VRefresh" "56-76"
#	Option "OverlayOnCRTC2" "true"
#	Option "CRT2Position" "RightOf"
#	Option "MetaModes" "1024x768-1440x900"
#	Option "MergedXineramaCRT2IsScreen0" "true"
	Screen		1
EndSection


Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	DefaultDepth	16
	SubSection "Display"
		Viewport   0 0
		Depth     1
		Modes		"1024x768"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
		Modes		"1024x768"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
		Modes		"1024x768"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
		Modes		"1024x768"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
		Modes		"1024x768"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes 		"1024x768"
	EndSubSection
EndSection

Section "Screen"
	Identifier "Screen1"
        Device     "Card1"
        Monitor    "Monitor1"
        DefaultDepth    24
        SubSection "Display"
                Viewport   0 0
                Depth     1
                Modes           "1440x900"
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
                Modes           "1440x900"
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
                Modes           "1440x900"
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
                Modes           "1440x900"
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
                Modes           "1440x900"
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes           "1440x900"
        EndSubSection
EndSection


Section "DRI"
	Mode	0666
EndSection



Maggiori informazioni sulla lista Aiuto