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

Tips: How to config dual monitors with XFree86 4.0.1



 
    
How to config dual monitors with XFree86 4.0.1:

We have two video card: 

1) Matrox Millennium G200 SDRAM 8MB video memory (PCI)
2) STB Nvirda Velocity 128 with 8MB video memory (AGP)

Steps:

1) set PCI video card as primary video in SYSTEM BIOS

2) generate XFree86cfg file by "xf86cfg":

[terrence@igloo terrence]$ which xf86cfg
/usr/X11R6/bin/xf86cfg

[terrence@igloo terrence]$ rpm -qf /usr/X11R6/bin/xf86cfg
XFree86-xf86cfg-4.0.1-0.36

[terrence@igloo terrence]$ cat /etc/X11/XF86Config

Section "ServerLayout"
	Identifier     "Simple Layout"
	# Screen         "Screen 1" 0 0
	# Screen      0  "Screen 2" 0 0
	Screen         "Dell Screen" 0 0
	Screen		   "Sun Screen" RightOf "Dell Screen"
	InputDevice    "Mouse1" "CorePointer"
	InputDevice    "Keyboard1" "CoreKeyboard"
EndSection

Section "Files"
	RgbPath      "/usr/X11R6/lib/X11/rgb"
	# FontPath     "/usr/X11R6/lib/X11/fonts/local/"
	FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
	FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
	# FontPath	 "tcp/localhost:7100"	
	FontPath	 "unix/:-1"	
	FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
	# FontPath     "/usr/X11R6/lib/X11/fonts/Speedo/"
	FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
EndSection

Section "Module"
	Load  "dbe"
	SubSection "extmod"
		Option "omit xfree86-dga"
	EndSubSection
	Load  "type1"
	Load  "freetype"
EndSection

Section "InputDevice"
	Identifier  "Keyboard1"
	Driver      "Keyboard"
	Option      "AutoRepeat" "500 30"
	Option      "XkbRules" "xfree86"
	Option      "XkbModel" "dell101"
	Option      "XkbLayout" "us"
	Option      "XkbCompat" ""
EndSection

Section "InputDevice"
	Identifier  "Mouse1"
	Driver      "mouse"
	Option      "Protocol" "PS/2"
	Option      "Device" "/dev/mouse"
EndSection

Section "Monitor"
	Identifier   "SUN Monitor"
	HorizSync    30.0 - 95.0
	VertRefresh  60.0 - 150.0

	# 1600x1200 @ 70 Hz, 87.50 kHz hsync
	Modeline "1600x1200"  185    1600 1664 1856 2160  1200 1201 1204 1250 -HSync -VSync
EndSection

Section "Monitor"
	Identifier   "Dell Monitor"
	HorizSync    30.0 - 95.0
	VertRefresh  60.0 - 150.0
EndSection

Section "Device"
	Identifier  "Matrox Millennium G200 SD 8MB"
	Driver      "mga"
	VideoRam    8192
	# BusID       "PCI:0:16:0"
EndSection

Section "Device"
	Identifier  "STB Velocity 128"
	Driver      "nv"
	ChipSet     "RIVA128"
	Card        "STB Velocity 128"
	ChipId      0x0
	ChipRev     0x0
	BusID       "PCI:1:0:0"
	IRQ         0
EndSection

Section "Screen"
	Identifier "Dell Screen"
	Device     "Matrox Millennium G200 SD 8MB"
	Monitor    "Dell Monitor"
	DefaultDepth     24
	SubSection "Display"
		Depth     8
		Modes "1600x1200"
	EndSubSection
	SubSection "Display"
		Depth     16
		Modes "1600x1200"
	EndSubSection
	SubSection "Display"
		Depth     24
		Modes "1600x1200"
	EndSubSection
EndSection

Section "Screen"
	Identifier "SUN Screen"
	Device     "STB Velocity 128"
	Monitor    "SUN Monitor"
	DefaultDepth     24
	SubSection "Display"
		Depth     8
		Modes "1600x1200"
	EndSubSection
	SubSection "Display"
		Depth     16
		Modes "1600x1200"
	EndSubSection
	SubSection "Display"
		Depth     24
			Modes "1600x1200"
		EndSubSection
	EndSection

	Section "DRI"
	EndSection



Google