xorg.conf

Stara konfiguracja serwera X dla karty matrox i nvidia oraz 17'' monitora CRT.

____MATROX G400____

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

Section "Files"
	RgbPath      "/usr/lib/X11/rgb"
	ModulePath   "/usr/lib/modules"



	FontPath     "/usr/share/fonts/CID/"

	FontPath    "/usr/share/fonts/misc:unscaled"
	FontPath    "/usr/share/fonts/Type1"
	FontPath    "/usr/share/fonts/TTF"
  	FontPath    "/usr/share/fonts/corefonts"
   	FontPath    "/usr/share/fonts/freefont"
   	FontPath    "/usr/share/fonts/sharefonts"
   	FontPath    "/usr/share/fonts/terminus"
   	FontPath    "/usr/share/fonts/ttf-bitstream-vera"
   	FontPath    "/usr/share/fonts/unifont"
   	FontPath    "/usr/share/fonts/75dpi:unscaled"
   	FontPath    "/usr/share/fonts/100dpi:unscaled"
   	FontPath    "/usr/share/fonts/artwiz"


EndSection

Section "Module"
	Load  "extmod"
	Load  "dri"
	Load  "dbe"
	Load  "record"
	Load  "xtrap"
	Load  "glx"
	Load  "type1"
	Load  "freetype"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"

	Option	"XkbModel"	"pc104"
	Option	"XkbLayout"	"pl"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"

	Option	    "Protocol" "IMPS/2"
	Option	    "Device" "/dev/input/mice"
	#	Option	"Buttons"	"5"
	Option	"ZAxisMapping"	"4 5"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"

	HorizSync	27-92
	Vertrefresh	50-160

#Modeline  "1152x864@85" 121.00 1152 1168 1400 1560 864 870 882 910
EndSection

Section "Device"
	Identifier  "Card0"
	Driver      "mga"
	VendorName  "Matrox Graphics, Inc."
	BoardName   "MGA G400 AGP"
	BusID       "PCI:2:0:0"

	Option	"AGPMode"	"4"
	Option	"NoHal"		"True"
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
		Modes	"1152x864" "1024x768" "800x600"
	EndSubSection
EndSection

Section "DRI"
	Mode	0666
EndSection

____GeForce 6200____

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

#	Option         "AIGLX" "true"
EndSection

Section "Files"
	FontPath    "/usr/share/fonts/misc:unscaled"
	FontPath    "/usr/share/fonts/Type1"
	FontPath    "/usr/share/fonts/TTF"
	FontPath    "/usr/share/fonts/corefonts"
	FontPath    "/usr/share/fonts/freefont"
	FontPath    "/usr/share/fonts/sharefonts"
	FontPath    "/usr/share/fonts/terminus"
	FontPath    "/usr/share/fonts/ttf-bitstream-vera"
	FontPath    "/usr/share/fonts/unifont"
	FontPath    "/usr/share/fonts/75dpi:unscaled"
	FontPath    "/usr/share/fonts/100dpi:unscaled"
	FontPath    "/usr/share/fonts/artwiz"

EndSection

Section "Module"
	Load  "xtrap"
	Load  "record"
#	Load  "dri"
	Load  "glx"
	Load  "dbe"
	SubSection  "extmod"
	      Option    "omit xfree86-dga"
	EndSubSection
	Load  "freetype"
	Load  "type1"
#	Load  "v4l"
EndSection

Section "Extensions"
        Option      "Composite"   "enable"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option	"XkbRules"	"xorg"
	Option	"XkbModel"	"pc105"
	Option	"XkbLayout"	"pl"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"

	Option	    "Protocol" "IMPS/2"
	# Option	    "Protocol" "auto"
	# Option	    "Device" "/dev/mouse"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5 6 7"
#	Option	    "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"

	HorizSync	27-92
	Vertrefresh	50-160

	DisplaySize	304 228
#Modeline "1152x864@85" 121.00 1152 1168 1400 1560 864 870 882 910

EndSection

Section "Device"
	Identifier  "Card0"
	Driver      "nvidia"
	VendorName  "Nvidia Geforce 6200"
	VideoRam     262144
	Option	    "NoLogo"	"true"

	Option      "RenderAccel" "true"
	Option      "AllowGLXWithComposite" "true"
	Option	    "AddARGBGLXVisuals" "true"

#	Option      "XAANoOffscreenPixmaps" "true"
#        Option      "DRI"     "true"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"

	DefaultDepth 24

	Option      "RenderAccel" "true"
	Option      "AllowGLXWithComposite" "true"
	Option	    "AddARGBGLXVisuals" "true"


	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
		Modes	"1152x864" "1024x768" "800x600"
	EndSubSection
EndSection



#Section "DRI"
#    	Group	0
#	Mode	0666
#EndSection