[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Dual Display on a Laptop?



If it can help anyone, I also have a config for my TV.
My videocard is a nVidia and I use their module.
I put the raw config. I don't like to delete lines, comments are good for 
future references...
Section "ServerLayout"
	Identifier	"Default"
	Screen		0 "Screen0" 0 0	
#	InputDevice	"Mouse1" "CorePointer"
	InputDevice	"Mouse0" "CorePointer"
	InputDevice "Mouse1" "SendCoreEvents"
	InputDevice "Mouse2" "SendCoreEvents"
#	InputDevice	"Mouse2" "CorePointer"
	InputDevice	"Keyboard0" "CoreKeyboard"
EndSection

Section "ServerLayout"
	Identifier	"DualHome"
	Screen       	"Screen0" 0 0	
	Screen       	"Screen1" RightOf "Screen0" 
	InputDevice	"Mouse0" "CorePointer"
	InputDevice	"Mouse1" "SendCoreEvents"
	InputDevice "Mouse2" "SendCoreEvents"
	InputDevice	"Keyboard0" "CoreKeyboard"
EndSection

Section "ServerLayout"
	Identifier	"Dual8D"
	Screen      "Screen0" 0 0	
	Screen      "Screen2" RightOf "Screen0" 
	InputDevice	"Mouse0" "CorePointer"
	InputDevice "Mouse1" "SendCoreEvents"
	InputDevice "Mouse2" "SendCoreEvents"
	InputDevice	"Keyboard0" "CoreKeyboard"
EndSection

Section "ServerLayout"
	Identifier "TV"
	Screen 0 "Screen TV" 0 0
	InputDevice "Mouse1" "CorePointer"
	InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	ModulePath	"/usr/X11R6/lib/modules"
	RgbPath		"/usr/X11R6/lib/X11/rgb"
        FontPath	"/usr/X11R6/lib/X11/fonts/msttf"
	FontPath	"/usr/X11R6/lib/X11/fonts/misc:unscaled"
        #FontPath	"/usr/X11R6/lib/X11/fonts/Speedo:unscaled"
        FontPath	"/usr/X11R6/lib/X11/fonts/Type1:unscaled"
        FontPath	"/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
        #FontPath	"/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
        #FontPath	"/usr/X11R6/lib/X11/fonts/encodings:unscaled"
        #FontPath	"/usr/X11R6/lib/X11/fonts/encodings/large:unscaled"
EndSection

Section "Module"
	Load	"glx"
#	Load	"record"
	Load	"extmod"
	Load	"type1"
	Load	"dbe"
	Load	"v4l"
	#Load	"xie"
	Load	"xaa"
	#Load	"xtt"
	Load	"freetype"
EndSection

Section "InputDevice"
	Identifier	"Keyboard0"
	Driver		"keyboard"
	Option		"AutoRepeat"	"250 30"
	Option		"XkbModel"	"pc104"
	Option		"XkbRules"	"xfree86"
	Option		"XkbLayout"	"us"
EndSection

Section "InputDevice"
	Identifier	"Mouse0"
	Driver		"mouse"
	Option		"Protocol" "GlidePointPS/2"
	Option		"Device" "/dev/input/mouse0"
#	Option		"Device" "/dev/input/mice"
	Option		"Emulate3Buttons" "on"
EndSection

Section "InputDevice"
    Identifier      "Mouse1"
    Driver          "mouse"
    Option          "Protocol" "IMPS/2"
    Option          "Device"   "/dev/input/mouse2"
#    Option          "Device"   "/dev/input/mouse1"
 #  Option          "Device"   "/dev/psaux"
	Option		"ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
	Identifier	"Mouse2"
	Driver		"mouse"
	Option		"Protocol" "GlidePointPS/2"
	Option		"Device" "/dev/psaux"
	Option		"Emulate3Buttons" "on"
EndSection

Section "Monitor"
	Identifier	"Monitor0"
	VendorName	"Dell"
	ModelName	"Dell 1400x1050"
	#HorizSync	31.5-110
	#VertRefresh	28-90
        #Modeline        "1400x1050" 110 1400 1400 1648 1776 1050 1050 1053 1067
	#ModeLine	"1400x1050" 125.04 1400 1464 1784 1912 1050 1052 1064 1090 #60Hz
	DisplaySize	305 229
	HorizSync	31.5-90.0
	VertRefresh	59.0-75.0
	Modeline	"1400x1050"  129   1400 1464 1656 1960 1050 1051 1054 1100 +HSync +VSync
	Option		"dpms"
EndSection

Section "Monitor"
	Identifier "DX15F"
	VendorName "MagInnovision"
	ModelName  "DX15F"
	HorizSync 30-64
	VertRefresh 50-100
EndSection

Section "Monitor"
	Identifier "G90m"
	VendorName "ViewSonic"
	ModelName  "G90m"
	DisplaySize	386 290
	HorizSync 30-97
	VertRefresh 50-160
EndSection

Section "Monitor"
	Identifier "TV"
	VendorName "Unknown"
	ModelName  "Unknown"
	HorizSync 30-50
	VertRefresh 60
EndSection

Section "Device"
	Identifier	"Card0"
	Driver		"nvidia"
	#Driver		"nv"
	VendorName	"NVidia"
	BoardName	"GeForce 2 Go"
	BusID		"PCI:1:0:0"
        Option		"IgnoreEDID"	"1"
	Option          "NvAgp" "2"
	Option		"NoLogo"	"1"
	Option		"FlatPanel"
	Option		"TwinView"	"false"
	Screen		0
EndSection

Section "Device"
	Identifier	"Card1"
	Driver		"nvidia"
	#Driver		"nv"
	VendorName	"NVidia"
	BoardName	"GeForce 2 Go"
	BusID		"PCI:1:0:0"
        #Option		"IgnoreEDID"	"1"
	#Option          "NvAgp" "2"
	#Option		"NoLogo"	"1"
	Option		"TwinView"	"false"
	Screen		1
EndSection

Section "Screen"
	DefaultDepth	24
	Identifier	"Screen0"
	Device		"Card0"
	Monitor		"Monitor0"
	SubSection "Display"
		Depth	16
		Modes	"1400x1050" "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection

        Subsection "Display"
                Depth   24
                Modes   "1400x1050" "1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "Screen"
	Identifier	"Screen1"
	Device		"Card1"
	Monitor		"DX15F"
	DefaultDepth	24
	SubSection "Display"
		Depth	16
		Modes	"1024x768" "800x600" "640x480"
        EndSubSection

        Subsection "Display"
                Depth   24
                Modes   "1024x768" "800x600" "640x480"
	EndSubSection
	Option "ConnectedMonitor" "CRT"
EndSection

Section "Screen"
	Identifier	"Screen2"
	Device		"Card1"
	Monitor		"G90m"
	DefaultDepth	24
	SubSection "Display"
		Depth	16
		Modes	"1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection

        Subsection "Display"
                Depth   24
                Modes   "1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
	Option "ConnectedMonitor" "CRT"
EndSection

Section "Screen"
	Identifier "Screen TV"
	Device "Card0"
	Monitor "TV"
	DefaultDepth 24
	Subsection "Display"
		Depth 24
		#Modes "800x600"
		Modes "640x480"
	EndSubSection
	Option "TVStandard" "NTSC-M"
	Option "ConnectedMonitor" "TV"
	Option "TVOutFormat" "COMPOSITE"
#	Option "TVOutFormat" "SVIDEO"
EndSection

Section "DRI"
	Group "video"
	Mode 0660
EndSection

Reply to: