Xorg.conf for i815 graphics card

From LinuxReviews
Jump to navigationJump to search

The following configuration file for the Intel i815 graphics card was created in 2008 for the X server and Intel graphics driver. It was used on a machine with the Intel i815 and a CRT at that time.

Please be aware that this configuration file from 2008 is no longer appropriate for modern X servers. It should be updated but we no longer have any i815 technology nor do we have any CRT monitors.

Section "ServerLayout"
        Identifier     "The Great Xiando(tm) xorg setup for P3/i815"
	Screen		"OnBoardConnectedMonitor" 
	InputDevice    "Mouse0" "CorePointer"
        InputDevice    "USB Mice" "SendCoreEvents
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
## Local / remote font server, TCP
#	FontPath	"tcp/127.0.0.1:7100"
## Local font server, unix sockets
#       FontPath        "unix/:-1"
# Local font directories, no font server is (ab)used
	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/freefonts"
	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"
## May optionally be enabled
#	RgbPath	"/usr/share/X11/rgb"
EndSection

Section "Module"
	Load "dcc"
	Load "dbe"
	Load "record"
	Load "type1"
	Load "freetype"
	Load "dri"
	Load "glx"
	Load "extmod"
	Load "int10"
	Load "vbe"
	SubSection "extmod"
		Option "omit xfree86-dga"
	EndSubSection
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
	Option	"XkbModel"	"pc105"
        # Norwegian keyboard layout
	Option	"XkbLayout"	"no"
EndSection


Section "InputDevice"
	Identifier	"Mouse0"
	Driver		"mouse"
	Option		"Device"	"/dev/input/mice"
	Option		"Protocol"	"PS/2"
# Client has old two-button mouse.
	Option		"Emulate3Buttons"       "yes"
# Enable this if/when client is mind-controlled into
# buying new mouse using secret MKULTRA-based xiando(tm)
# subliminal mind-control method
#	Option		"ZAxisMapping"          "4 5"
#	Option		"Buttons"               "5"
#	InputDevice "USB Mice" "SendCoreEvents"
EndSection

## Works with most USB mice and touchpads
# This allows clients new USB mouse to work instantly
# after being mindcontrolled into buying one
Section "InputDevice"
	Identifier "USB Mice"
	Option "Protocol" "auto"
	Option "Emulate3Buttons"       "no"
	Option "Device" "/dev/usbmouse"
	Driver "mouse"
EndSection

Section "Monitor"
	Identifier   "CRT-Monitor"
        VendorName   "Compaq"
        ModelName    "910A"
	Option       "DPMS" "on"
	Option	     "dcc" "on"
EndSection

 
Section "Device"
	Identifier   "onboardi815"
        VendorName   "Intel Corporation"
        BoardName    "Intel Corporation 82815 CGC"
	Driver 		"i810"
	BusID		"PCI:0:2:0"
	Option		"SWCursor"	"on"
	Option		"DPMS"		"on"
	Option		"dcc"		"on"
## i815 shares memory with the system, this is system memory
## not RAM on the video chip (which has none)
#	VideoRAM	24576
	VideoRAM	65536
	Option		"XvMCSurfaces"	"6"
	Option		"int10"		"on"
	Option		"PageFlip"	"on"
	# Important, screen gets corrupted without this
        Option      "XaaNoOffscreenPixmaps"

	## It is safe to use ScanlineCPUToScreenColorExpand
	#Option "XaaNoScanlineCPUToScreenColorExpand" "true"

	## X freezes on startup if XaaNoSolidFillRect is enabled...
	#Option "XaaNoSolidFillRect" "true"

	## Many windows have rendering errors if this is false and DRI
	## is enabled. However, XaaNoOffscreenPixmaps also fixes this
	## problem and seems to give a less performance decrease than
	## XaaNoScreenToScreenCopy
	# Option "XaaNoScreenToScreenCopy" "true"

	## Involvement with XaaNoMono8x8PatternFillRect is not required
	#Option "XaaNoMono8x8PatternFillRect" "true"


EndSection
	


Section "Screen"
	Identifier   "OnBoardConnectedMonitor"
        Device       "onboardi815"
        Monitor      "CRT-Monitor"
	## Using 16 as depth is EXTREMELY important, specially
	## because i815 can ONLY do DRI in 16 bit depth.
	DefaultDepth	16

	Subsection "Display"
		Depth 16
		Modes "1600x1200" "1248x1024" "1024x768" "800x600" "640x480"
	EndSubsection

	Subsection "Display"
		Depth 24
                Modes "1600x1200" "1248x1024" "1024x768" "800x600" "640x480"
	EndSubsection

        Subsection "Display"
                Depth 32
                Modes "1600x1200" "1248x1024" "1024x768" "800x600" "640x480"
        EndSubsection

EndSection

Section "DRI"
	Mode 0666
EndSection

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