[mythtv-users] Re:Pundit XF86Config??

Steve Davidson buzzdat1 at comcast.net
Sat Jul 12 16:11:28 EDT 2003


Not seeing anything terribly obvious (in an initial pass), but here's my
XF86Config file that I know works on the Pundit.  Give it a shot...

BTW, a nice nugget of info: exporting QT_XFT=1 in /etc/profile (or
wherever appropriate for your dist) gives you nice antialised truetype
fonts for all QT apps (*If* the Xft extensions are enabled AND your X
driver supports the RENDER extensions); see
http://www.openbsd.org/faq/truetype.html for more info...

== Steve
-------------- next part --------------
# XF86Config-4 example (generic)

# See other examples for Dual Head mode and Merged Framebuffer mode

# ----------- This stuff needs to be adapted to your machine ------------

Section "Files"
	FontPath	"/usr/X11R6/lib/X11/fonts/misc:unscaled"
	FontPath	"/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/X11R6/lib/X11/fonts/misc"
#	FontPath	"/usr/lib/X11/fonts/Type1"
#	FontPath	"/usr/lib/X11/fonts/Speedo"
	FontPath	"/usr/X11R6/lib/X11/fonts/75dpi"
EndSection

Section "ServerFlags"
	Option "AllowMouseOpenFail"
	Option "noPM"
	Option "BlankTime"   "99999"
	Option "StandbyTime" "99999"
	Option "SuspendTime" "99999"
	Option "OffTime"     "99999"
EndSection

Section "Module"
	Load	"GLcore"
	Load	"dbe"
	Load	"dri"
	Load	"extmod"
	Load	"glx"
#	Load	"pex5"
	Load	"record"
#	Load	"xie"
	Load	"type1"
	Load	"xtt"
	Load	"speedo"
	Load	"freetype"
	Load	"bitmap"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"keyboard"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xfree86"
	Option		"XkbModel"	"pc104"
	Option		"XkbLayout"	"de"
	Option 		"XkbVariant" 	"nodeadkeys"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/psaux"
	Option		"Protocol"		"PS/2"
	Option		"Emulate3Buttons"	"true"
	Option		"ZAxisMapping"		"4 5"
EndSection

Section "InputDevice"
	Identifier	"USB Mouse"
	Driver		"mouse"
	Option		"SendCoreEvents"	"true"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
	Option		"Emulate3Buttons"	"true"
	Option		"ZAxisMapping"		"4 5"
EndSection

# ----------------- End of machine specific stuff ------------------------

# ----------------------------------------------------------
# MONITOR section
# ----------------------------------------------------------
# This section contains data for monitor configuration.

# The data in the Monitor section is only used for CRT1 (VGA),
# and will be ignored for CRT2 (unless CRT2 is a secondary VGA).
# If you only run with CRT2 (such as on laptops without an external
# monitor connected), you should place same sane values here anyway,
# in order to keep the X server from deleting modes from the list.

Section "Monitor"
	Identifier   "Generic|Generic LCD Panel"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
	VertRefresh  50-75
	HorizSync    30-90
EndSection

# ----------------------------------------------------------
# DEVICE section 
# ----------------------------------------------------------
# This section contains configuration data of the video card.

Section "Device"
        Driver     "sis"
        Identifier "SiS 651"
        VendorName "SiS"
	BoardName  "651"
	
# Option "HWCursor"
# Use hardware or software cursor ("HWCursor" / "SWCursor")
        Option     "HWcursor"
       
# Option "NoAccel"
# Setting this option will disable 2D/3D accellerators (and Xv).
       #Option     "NoAccel"
       
# Option "ForceCRT2Type":
# This option selects the CRT2 output device type and is only useful
# on systems containing a video bridge (such as most laptops).
# Available options are:
# "TV"   (if TV connector present), 
# "LCD"  alias "DVI-D" (if LCD panel present), 
# "VGA"  alias "DVI-A" (secondary VGA; use this only if your machine 
#        has a secondary VGA connector or a DVI-I connector
#        The VGA plug on your laptop is CRT1!)
# "NONE" (this will switch off CRT2). You might want to use "NONE" for 
#        using higher resolutions than your LCD panel supports when 
#        connected to an external VGA. 
# "COMPOSITE" (30x bridge only) Force TV to use cvbs connector
# "SVIDEO"    (30x bridge only) Force TV to use SVHS connector
# "SCART"     (30x bridge only) Force TV to use SCART connector
Option "ForceCRT2Type" "SVIDEO"
       
# Option "MaxXFBMem":
# Only useful on 300 series! YOU DON'T NEED THIS ON 315/550/650/740
# This option limits the amount of memory X uses for its framebuffer.
# Its purpose is to avoid a clash between X and DRI/DRM/sisfb as regards
# memory management.
# The SiS kernel framebuffer driver (sisfb) is responsible for memory
# management for DRI. It will install a video memory heap at 
#   - 12 MB (=12288 KB) if more than 16MB of video RAM available,
#   -  8 MB (=8192 KB) if between 8 an 16MB if video RAM available,
#   -  4 MB (=4096 KB) if less than 8 MB of video RAM available.
# Other amounts can be specified with sisfb's "mem" parameter.
# If this option is set, X only uses the specified amount of memory for
# its screen and its off-screen buffers.
# Limiting X to use only a small part of RAM therefore avoids that
# the kernel framebuffer (and a DRI application using the sisfb's
# memory pool) overwrites X's screen and off-screen memory.
# When setting MaxXFBMem to "8192", memory will be used according 
# to the following figure:
# 0-------8------16------24------32------40------48--------56-------64MB
# XXXXXXXX
#         FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
# (X=memory used by X, F=memory used by sisfb and thus DRI)
# If DRI is disabled and the framebuffer driver is not loaded, this option 
# can and should be left out.
	Option      "MaxXFBMem" "12288"

# Option "TVStandard"
# Can be "NTSC" or "PAL". On some machines with a 30x/B/LV bridge as well
# as on machines with a Chrontel 7019/7020, also
# "PALM" (for PAL used in Brasil) or "PALN" (PAL used in Argentina)
# Normally, this will be autodetected acoording to the BIOS setting.
#	Option "TVStandard" "PAL"

Option "XvDefaultBrightness" "-50"

# Option "XvOnCRT2"
# Only useful on machines with SiS315, 650 or 740 and only if both CRT1 and
# CRT2 are available and connected.
# Setting this to "TRUE" will show the Xv video overlay on CRT2, "FALSE" will
# show the overlay on CRT1.
# This can be changed by the Xv property "XV_SWITCHCRT".
Option "XvOnCRT2" "FALSE"

# Option "CHTVOvercan"
# Only useful on machines with a Chrontel TV encoder
# Setting this to "TRUE" will use overscan modes (larger image on the TV)
# Normally this is autodetected according to the BIOS setting.
# 	Option "CHTVOverscan" "TRUE"

# Option "CHTVSuperOverscan"
# Only useful on machines with a 700x TV encoder. Not for 701x encoders!
# Only useful if TV standard is PAL
# Setting this to "true" will force the driver to use a TV mode which is even
# larger than the normal overscan mode. This option overrules the CHTVOverscan
# option. Setting it to "FALSE" will make the driver to fall back on the
# normal overscan setting (BIOS selection or, if set, the CHTVOverscan setting)
#	Option "CHTVSuperOverscan" "TRUE"

# Option "CHTVContrast"
# Only useful on machines with Chrontel TV encoder
# This option accepts numerical values from 0 to 15 and it adjust the contrast
# of the TV image.
# 	Option "CHTVContrast" "10"

# Option "SISTVAntiFlicker"
# Only useful on machines with SiS30x/B/LV video bridge
# This option allows adjusting the bridge's anti flicker engine. It accepts
# "OFF", "LOW", "MED", "HIGH" and "ADAPTIVE"
	Option "SISTVAntiFlicker" "ADAPTIVE"

# Option "SISTVSaturation"
# Only useful on machines with SiS30x/B/LV video bridge
# This option allows tuning the color saturation of the TV image. It accepts
# values from 0 to 15.
#	Option "SISTVSaturation" "15"

# Option "TVXPosOffset"
# Useful on machines with SiS6326+TV, Chrontel 700x TV encoder or SiS video
# bridge.
# This option allows adjusting the TV image's horizontal position. It accepts
# values from -32 to 32 (on the 6326 -16 to 16)
#	Option "TVXPosOffset" "8"

# Option "TVYPosOffset"
# Like TVXPosOffset, but for vertical adjustments.
# 	Option "TVYPosOffset" "-3"

# Please see www.winischhofer.net/linuxsisvga.shtml for more information

EndSection

# ----------------------------------------------------------
# SCREEN section
# ----------------------------------------------------------
# This section defines the available resulutions and depths.
# If you disable CRT2 (by setting ForceCRT2Type to "NONE"),
# you can use higher resolutions than the LCD panel supports.

Section "Screen"
	Identifier "screen1"
	Device     "SiS 651"
	Monitor    "Generic|Generic LCD Panel"
	DefaultDepth 16
	SubSection "Display"
		Depth     16
		Modes     "640x480"
	EndSubSection
	SubSection "Display"
		Depth     8
		Modes     "640x480"
	EndSubSection
	SubSection "Display"
		Depth     24
		Modes     "640x480"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"screen1"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
	InputDevice	"USB Mouse"
EndSection

Section "DRI"
	Mode	0666
EndSection

# end of XF86Config


More information about the mythtv-users mailing list