Конфиг:xorg.conf-twinview-clone

Материал из Linux Wiki
Перейти к навигацииПерейти к поиску

настройка xorg.conf для дублирования (части) изображения через S-video выход:

Карта - VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX/MX 400] (rev b2) Монитор - разрешение 1600x900, подключен через D-sub, телевизор - разрешение 800x600, подключен через s-video.

Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	RgbPath      "/etc/X11/rgb"
	ModulePath   "/usr/lib/xorg/modules"
	FontPath     "/usr/share/fonts/X11/misc"
	FontPath     "/usr/share/fonts/X11/cyrillic"
	FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
	FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
	FontPath     "/usr/share/fonts/X11/Type1"
	FontPath     "/usr/share/fonts/X11/100dpi"
	FontPath     "/usr/share/fonts/X11/75dpi"
	FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
#	Load  "record"
#	Load  "xtrap"
	Load	"glx"
#	Load	"GLcore"
#	Load  "dbe"
#	Load	"dri"
	Load  "extmod"
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      440   250     # mm
#        DisplaySize      333	187     # mm
        Identifier   "Monitor0"
        VendorName   "BNQ"
        ModelName    "BenQ G2020HD"
        HorizSync    24.0 - 83.0
        VertRefresh  50.0 - 76.0
        Option      "DPMS"
EndSection


Section "Device"
	Identifier  "Card0"
	Driver	"nvidia"
	VendorName  "nVidia Corporation"
	BoardName   "NV5M64 [RIVA TNT2 Model 64/Model 64 Pro]"
	BusID       "PCI:1:0:0"
#       полный список опций см. по ссылке ниже
	Option      "Coolbits"	"1"
	Option      "AddARGBGLXVisuals"	"true"
	Option      "TripleBuffer"	"false"
	Option     "UseEdidDpi" "true"
	Option		"NoLogo"
	Option		"CursorShadow" "on"
	Option		"TwinView" # включаем режим twinview
	Option		"TwinViewOrientation" "Clone" # изображение должно клонироваться
	Option		"ConnectedMonitor" "TV, CRT" # подключенные мониторы
#	Option		"MetaModes" "1024x768, 800x600"
	Option		"MetaModes" "1600x900, 800x600"
        Option "SecondMonitorHorizSync" "30-50"
        Option "SecondMonitorVertRefresh" "60"
	Option		"TVStandard" "PAL-B"
	Option		"TVOutFormat" "SVIDEO"	
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
    DefaultDepth    24
	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


Section "Extensions"
	Option      "Composite"	"enable"
#	Option      "RENDER"	"disable"
EndSection

Ссылки

Nvidia X Config Options