xorg.conf и 2 монитора

Есть 2 одинаковых монитора, видеокарта matrox g450 с vga и dvi выходами.
Установил драйвера xf86-video-mga и поставил openbox.
Нужно расширить один рабочий стол на второй монитор.

Файл xorg.conf (до настроек, т.е. xorg.conf.new):
Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
	ModulePath   "/usr/lib/xorg/modules"
	FontPath     "/usr/share/fonts/misc/"
	FontPath     "/usr/share/fonts/TTF/"
	FontPath     "/usr/share/fonts/OTF/"
	FontPath     "/usr/share/fonts/Type1/"
	FontPath     "/usr/share/fonts/100dpi/"
	FontPath     "/usr/share/fonts/75dpi/"
EndSection
Section "Module"
	Load  "extmod"
	Load  "glx"
	Load  "record"
	Load  "dri2"
	Load  "dri"
	Load  "dbe"
EndSection
Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
EndSection
Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
	#DisplaySize	  340   270	# mm
	Identifier   "Monitor0"
	VendorName   "DEL"
	ModelName    "DELL E178FP"
	HorizSync    31.0 - 80.0
	VertRefresh  56.0 - 75.0
	Option	    "DPMS"
EndSection
Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "SWcursor"           	# [<bool>]
        #Option     "HWcursor"           	# [<bool>]
        #Option     "PciRetry"           	# [<bool>]
        #Option     "SyncOnGreen"        	# [<bool>]
        #Option     "NoAccel"            	# [<bool>]
        #Option     "ShowCache"          	# [<bool>]
        #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"      	# [<str>]
        #Option     "Monitor2VRefresh"   	# [<str>]
        #Option     "Monitor2Position"   	# [<str>]
        #Option     "MetaModes"          	# [<str>]
        #Option     "OldDmaInit"         	# [<bool>]
        #Option     "ForcePciDma"        	# [<bool>]
        #Option     "AccelMethod"        	# [<str>]
        #Option     "KVM"                	# [<bool>]
	Identifier  "Card0"
	Driver      "mga"
	BusID       "PCI:3:0:0"
EndSection
Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

Сейчас картинка дублируется на обоих мониторах. Гуглил, настраивал, но не заработало.
Заранее спасибо.
Здесь были?
https://wiki.archlinux.org/index.php/Xo … ual_screen
zersaa
Здесь были?
https://wiki.archlinux.org/index.php/Xo … ual_screen
Спасибо, вики смотрел, но как-то пропустил.
Что-то не получается…
xorg.conf:
Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0"
	Screen      1  "Screen1" LeftOf "Screen0"
	Option         "Xinerama" "1"
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
	ModulePath   "/usr/lib/xorg/modules"
	FontPath     "/usr/share/fonts/misc/"
	FontPath     "/usr/share/fonts/TTF/"
	FontPath     "/usr/share/fonts/OTF/"
	FontPath     "/usr/share/fonts/Type1/"
	FontPath     "/usr/share/fonts/100dpi/"
	FontPath     "/usr/share/fonts/75dpi/"
EndSection
Section "Module"
	Load  "extmod"
	Load  "glx"
	Load  "record"
	Load  "dri2"
	Load  "dri"
	Load  "dbe"
EndSection
Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
EndSection
Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
	#DisplaySize	  340   270	# mm
	Identifier   "Monitor0"
	Option         "Enable" "true"
	VendorName   "DEL"
	ModelName    "DELL E178FP"
	HorizSync    31.0 - 80.0
	VertRefresh  56.0 - 75.0
	Option	    "DPMS"
EndSection
Section "Monitor"
        #DisplaySize      340   270     # mm
        Identifier   "Monitor1"
	Option         "Enable" "true"
        VendorName   "DEL"
        ModelName    "DELL E178FP"
        HorizSync    31.0 - 80.0
        VertRefresh  56.0 - 75.0
        Option      "DPMS"
EndSection
Section "Device"
	Identifier  "Device0"
	Driver      "mga"
	Screen      1
	BusID       "PCI:3:0:0"
EndSection
Section "Device"
        Identifier  "Device1"
        Driver      "mga"
        Screen      1
        BusID       "PCI:3:0:0"
EndSection
Section "Screen"
	Identifier "Screen0"
	Device     "Device0"
	Monitor    "Monitor0"
	DefaultDepth    24
	Option     "TwinView" "0"
	SubSection "Display"
		Depth     24
		Modes          "1280x1024_60.00"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Depth     24
                Modes          "1280x1024_60.00"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Depth     24
                #Modes          "1280x1024_60.00"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Depth     24
                Modes          "1280x1024_60.00"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Depth     24
                #Modes          "1280x1024_60.00"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Depth     24
                Modes          "1280x1024_60.00"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection
Section "Screen"
        Identifier "Screen1"
        Device     "Device1"
        Monitor    "Monitor1"
        DefaultDepth    24
        Option     "TwinView" "0"
        SubSection "Display"
                Depth     24
                Modes          "1280x1024_60.00"
                Viewport   0 0
                Depth     1
        EndSubSection
        SubSection "Display"
                Depth     24
                Modes          "1280x1024_60.00"
                Viewport   0 0
                Depth     4
        EndSubSection
        SubSection "Display"
                Depth     24
                Modes          "1280x1024_75.00"
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection "Display"
                Depth     24
                Modes          "1280x1024_60.00"
                Viewport   0 0
                Depth     15
        EndSubSection
        SubSection "Display"
                Depth     24
                #Modes          "1280x1024_60.00"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Depth     24
                Modes          "1280x1024_60.00"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection

На обоих монитора табличка с надпись, что оптимальное разрешение 1280x1024@60.00
src="https://lh5.googleusercontent.com/-U4P4BOHVOis/TtXKN2r01GI/AAAAAAAAAH0/3FxuKkEYk9w/s480/%2525D0%2525B7%2525D0%2525B0%2525D0%2525B3%2525D1%252580%2525D1%252583%2525D0%2525B6%2525D0%2525B5ss%2525D0%2525BD%2525D0%2525BD%2525D0%2525BE%2525D0%2525B5.jpg">
А поковыряться с xrandr в Вашем случае не подойдет? Все на ходу можно настраивать. А уж потом забить, если захочется, все нужное в конфиги. А можно просто xrandr с нужными опциями в rc.local прописать.
2 Komonec

/offtop
Вау, неужели dell 1905fp?
у меня такой же ;)
 
Зарегистрироваться или войдите чтобы оставить сообщение.