[mythtv-users] Editing the XF86Config-4 File

Paul Andreassen paulx at andreassen.com.au
Fri Jun 10 02:44:25 UTC 2005


On Fri, 10 Jun 2005 04:32 am, Mat Kyne wrote:
> I am hoping someone else out there is using a Debian based system and has a
> little experiance with the XF86Config-4 file. But first some background.

See the inserted comments.

> Section "Module"
>
> # This loads the DBE extension module.
>
>     Load        "dbe"  	# Double buffer extension
>
> # This loads the miscellaneous extensions module, and disables
> # initialisation of the XFree86-DGA extension within that module.
>     SubSection  "extmod"
>       Option    "omit xfree86-dga"   # don't initialise the DGA extension
>     EndSubSection
>
> # This loads the Type1 and FreeType font modules
>     Load        "type1"
>     Load        "speedo"
> #    Load        "freetype"
> #    Load        "xtt"
>
> # This loads the GLX module
>     Load       "glx"
> # This loads the DRI module
>     Load       "dri"
		The "dri" module shouldn't be loaded with the nvidia driver.
>
> EndSection
>
> # **********************************************************************
> # Input devices
> # **********************************************************************
>
> # **********************************************************************
> # Core keyboard's InputDevice section
> # **********************************************************************
>
> Section "InputDevice"
>
>     Identifier	"Keyboard1"
>     Driver	"Keyboard"
>
> # For most OSs the protocol can be omitted (it defaults to "Standard").
> # When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
> # uncomment the following line.
>
> #    Option     "Protocol"      "Xqueue"
>
>     Option "AutoRepeat" "500 30"
>
> # Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
> #    Option	"Xleds"      "1 2 3"
>
> #    Option "LeftAlt"     "Meta"
> #    Option "RightAlt"    "ModeShift"
>
> # To customise the XKB settings to suit your keyboard, modify the
> # lines below (which are the defaults).  For example, for a non-U.S.
> # keyboard, you will probably want to use:
> #    Option "XkbModel"    "pc102"
> # If you have a US Microsoft Natural keyboard, you can use:
> #    Option "XkbModel"    "microsoft"
> #
> # Then to change the language, change the Layout setting.
> # For example, a german layout can be obtained with:
> #    Option "XkbLayout"   "de"
> # or:
> #    Option "XkbLayout"   "de"
> #    Option "XkbVariant"  "nodeadkeys"
> #
> # If you'd like to switch the positions of your capslock and
> # control keys, use:
> #    Option "XkbOptions"  "ctrl:swapcaps"
>
> # These are the default XKB settings for XFree86
> #    Option "XkbRules"    "xfree86"
> #    Option "XkbModel"    "pc101"
> #    Option "XkbLayout"   "us"
> #    Option "XkbVariant"  ""
> #    Option "XkbOptions"  ""
>
> #    Option "XkbDisable"
>
>     Option "XkbRules"	"xfree86"
>     Option "XkbModel"	"pc101"
	You probably want "pc104" for keyboards with Window keys.
>     Option "XkbLayout"	"us"
>
> EndSection
> # **********************************************************************
> # Monitor section
> # **********************************************************************
>
> # Any number of monitor sections may be present
>
> Section "Monitor"
>
>     Identifier  "Sharp"
>
> # HorizSync is in kHz unless units are specified.
> # HorizSync may be a comma separated list of discrete values, or a
> # comma separated list of ranges of values.
> # NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
> # USER MANUAL FOR THE CORRECT NUMBERS.
>
> #    HorizSync   31.5 - 64.3
>     HorizSync   31.5 - 75
			HorizSync and VertRefresh should match what the "Crescendo TCP2200 PCI VGA 
to YPrPb Transcoder" can handle.
>
> #    HorizSync	30-64         # multisync
> #    HorizSync	31.5, 35.2    # multiple fixed sync frequencies
> #    HorizSync	15-25, 30-50  # multiple ranges of sync frequencies
>
> # VertRefresh is in Hz unless units are specified.
> # VertRefresh may be a comma separated list of discrete values, or a
> # comma separated list of ranges of values.
> # NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
> # USER MANUAL FOR THE CORRECT NUMBERS.
>
>     VertRefresh 50-100
> #SPEA GDM-1950 (60Hz,64kHz,110MHz,-,-): 1280x1024 @ V-freq: 60.00 Hz,
> H-freq: 63.73 KHz
> #Modeline "GDM-1950"  109.62  1280 1336 1472 1720  1024 1024 1026 1062
> -hsync -vsync
> #ModeLine "888x508in540p" 37.26 888 944 1048 1104 508 534 548 563 +hsync
> +vsync
> #Modeline "720pb" 74.25 1280 1312 1592 1648 720 735 742 757
> Modeline "720pb" 74.25 1280 1312 1592 1648 700 702 705 737  #1248x700 74
> MHz, 46.4 kHz, 63.0 Hz
			This should also match what the "Crescendo TCP2200 PCI VGA to YPrPb  
Transcoder" can handle.
> #Modeline "720pb" 74.25 1248 1288 1320 1600 700 702 705 737  # 74 MHz, 46.4
> kHz, 63.0 Hz
>
> EndSection
>
> # Device configured by xf86config:
>
> Section "Device"
>     Identifier  "NV AGP"
>     Driver      "nvidia"
>     #VideoRam    131072
>     # Insert Clocks lines here if appropriate
>     BusID	"PCI:1:0:0"
>     Option	"RenderAccel" "1"
		The "RenderAccel" has reported on this mail list for lockups and other 
problems, so you may want to disable it.
>     Option 	"NvAGP"	"2"
		Add Option "NoDDC" to prevent the driver querying you monitor.
		Add Option "NoLogo" "True" to prevent the driver displaying the nvidia 
splash screen on startup.
> EndSection
>
>
> # **********************************************************************
> # Screen sections
> # **********************************************************************
>
> # Any number of screen sections may be present.  Each describes
> # the configuration of a single screen.  A single specific screen section
> # may be specified from the X server command line with the "-screen"
> # option.
> Section "Screen"
>     Identifier  "Screen 1"
>     Device      "NV AGP"
>     Monitor     "Sharp"
>     DefaultDepth 16
		Change this to 24, why not use the full colours.
>
>     Subsection "Display"
>         Depth       8
>         Modes       "720pb" "1280x1024" "1280x768" "1024x768" "800x600"
> "640x480"
		For each of these line I'd shorten to just the Modes "720pb" so that you 
don't end up with the virtual display size of 1280x1024 (your largest mode).
>         ViewPort    0 0
>     EndSubsection
>     Subsection "Display"
>         Depth       16
>         Modes       "720pb" "1280x1024" "1280x768" "1024x768" "800x600"
> "640x480"
>         ViewPort    0 0
>     EndSubsection
>     Subsection "Display"
>         Depth       24
>         Modes       "720pb" "1280x1024" "1280x768" "1024x768" "800x600"
> "640x480"
>         ViewPort    0 0
>     EndSubsection
> EndSection

-- 


More information about the mythtv-users mailing list