User:Sdkovacs

From MythTV Official Wiki
Jump to: navigation, search

My Setup on CentOS 5.4

Capture Cards

PVR350
PVR150

Video Card

  • Using a PCI Sparkle NVIDIA 8400GS 512MB.
  • Svideo-out to a 27" Sony CRT
  • VDPAU Advanced 2x deinterlacing

System specs

Pentium 4 2.8ghz 1.2GB RAM

  • Hard Drive 1 - 25GB
** /
** /boot
** swap
  • Hard Drive 2 - 320GB
** /videos

8400GS xorg.conf

                                                                     
                                                                     
                                                                     
                                             

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder63)  Tue Oct 20 21:00:15 PDT 2009
# XFree86 4 configuration created by pyxf86config

Section "ServerLayout"
	Identifier     "Default Layout"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"

# RgbPath is the location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
#        ModulePath   "/usr/lib/xorg/modules/extensions/nvidia"
#        ModulePath   "/usr/lib/xorg/modules/extensions"
#        ModulePath   "/usr/lib/xorg/modules"
#        FontPath     "unix/:7100"
	ModulePath   "/usr/lib/xorg/modules/extensions/nvidia"
	ModulePath   "/usr/lib/xorg/modules/extensions"
	ModulePath   "/usr/lib/xorg/modules"
EndSection

Section "Module"
	Load  "dbe"
	Load  "extmod"
	Load  "fbdevhw"
	Load  "glx"
	Load  "record"
	Load  "freetype"
	Load  "type1"
	Load  "vnc"
EndSection

Section "ServerFlags"
	Option	    "blank time" "0"
	Option	    "standby time" "0"
	Option	    "suspend time" "0"
	Option	    "off time" "0"
EndSection

Section "InputDevice"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#       Option  "Xleds"         "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
#       Option  "XkbDisable"
# 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"
# Or if you just want both to be control, use:
#       Option  "XkbOptions"    "ctrl:nocaps"
#
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option	    "XkbModel" "pc105"
	Option	    "XkbLayout" "us"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "IMPS/2"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5"
	Option	    "Emulate3Buttons" "no"
EndSection

Section "InputDevice"

# If the normal CorePointer mouse is not a USB mouse then
# this input device can be used in AlwaysCore mode to let you
# also use USB mice at the same time.
	Identifier  "DevInputMice"
	Driver      "mouse"
	Option	    "Protocol" "IMPS/2"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5"
	Option	    "Emulate3Buttons" "no"
EndSection

Section "Monitor"

    #ModeLine       "720x480" 34.564 720 752 840 928 480 484 488 504 -hsync -vsync
# For 2560x1600 at 100dpi  (16:10)
#    DisplaySize  650 406
# For 1920x1200 at 100dpi  (16:10)
#    DisplaySize  487 304
# For 1680x1050 at 100dpi  (16:10)
#    DisplaySize  426 266
# For 1440x900 at 100dpi  (16:10)
#    DisplaySize  365 228
# For 1280x768 at 100dpi  (16:10)
#    DisplaySize  325 195
#
# For 1920x1080 at 100dpi  (16:9)
#    DisplaySize  487 274
# For 1360x768 at 100dpi  (16:9)
#    DisplaySize  345 195
# For 1280x720 at 100dpi  (16:9)
#    DisplaySize  325 182
#
# For 1600x1200 at 100dpi (4:3)
#    DisplaySize  406 304
# For 1400x1050 at 100dpi (4:3)
#    DisplaySize  355 266
# For 1280x960  at 100dpi (4:3)
#    DisplaySize  325 243
# For 1024x768 at 100dpi  (4:3)
#    DisplaySize  260 195
# For 800x600 at 100dpi  (4:3)
#    DisplaySize  203 153
# For 640x480 at 100dpi  (4:3)
#    DisplaySize  162 121
### Customizations to try to get the DPI working
 ### Comment all HorizSync and VertSync values to use DDC:
	Identifier   "NTSC Monitor"
 ### Comment all HorizSync and VertSync values to use DDC:
	HorizSync    30.0 - 50.0
	VertRefresh  60.0 - 60.0
	Option	    "UseEdidDpi" "FALSE"
	Option	    "DPI" "100 x 100"
EndSection

Section "Device"

	Identifier  "8400GS"
	Driver      "nvidia"
EndSection

Section "Screen"

	Identifier "Screen0"
	Device     "8400GS"
	Monitor    "NTSC Monitor"
	DefaultDepth     24
	DefaultFbBPP     32
	Option	    "SecurityTypes" "VncAuth"
	Option	    "UserPasswdVerifier" "VncAuth"
	Option	    "PasswordFile" "/home/mythtv/.vnc/passwd"
	SubSection "Display"
		Depth     24
		FbBPP     32
		Modes    "800x600"
	EndSubSection
EndSection

Section "Extensions"
	Option	    "Composite" "Disable"
EndSection