Difference between revisions of "User:Sdkovacs"

From MythTV Official Wiki
Jump to: navigation, search
(Xorg)
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
==My Setup on Fedora 8==
+
==My Setup on CentOS 5.4==
  
 
===Capture Cards===
 
===Capture Cards===
PVR350 (using TV out)
+
PVR350 <br>
 +
PVR150
 +
 
 +
===Video Card===
  
PVR150
+
* Using a PCI Sparkle NVIDIA 8400GS 512MB.
 +
* Svideo-out to a 27" Sony CRT
 +
* VDPAU Advanced 2x deinterlacing
  
 
===System specs===
 
===System specs===
PIII 800 384MB RAM
+
Pentium 4 2.8ghz 1.2GB RAM
 
* Hard Drive 1 - 25GB
 
* Hard Drive 1 - 25GB
 
  ** /
 
  ** /
Line 16: Line 21:
 
  ** /videos
 
  ** /videos
  
===Xorg===
+
===8400GS xorg.conf===
 
+
<pre>
Posted here is my xorg.conf file for the PVR350 with TVOUT. I had to change a few lines between Fedora 6 and Fedora 8 because of the change in the ivtv driver.
+
                                                                   
 +
                                                                   
 +
                                                                   
 +
                                           
  
<pre>
+
# 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
 
# XFree86 4 configuration created by pyxf86config
  
 
Section "ServerLayout"
 
Section "ServerLayout"
        Identifier    "Default Layout"
+
Identifier    "Default Layout"
        Screen      0  "Screen0" 0 0
+
Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
+
InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
+
InputDevice    "Keyboard0" "CoreKeyboard"
 
EndSection
 
EndSection
  
Line 38: Line 47:
 
# By default, Red Hat 6.0 and later now use a font server independent of
 
# By default, Red Hat 6.0 and later now use a font server independent of
 
# the X server to render fonts.
 
# the X server to render fonts.
 
 
#        ModulePath  "/usr/lib/xorg/modules/extensions/nvidia"
 
#        ModulePath  "/usr/lib/xorg/modules/extensions/nvidia"
 
#        ModulePath  "/usr/lib/xorg/modules/extensions"
 
#        ModulePath  "/usr/lib/xorg/modules/extensions"
 
#        ModulePath  "/usr/lib/xorg/modules"
 
#        ModulePath  "/usr/lib/xorg/modules"
 
#        FontPath    "unix/:7100"
 
#        FontPath    "unix/:7100"
 +
ModulePath  "/usr/lib/xorg/modules/extensions/nvidia"
 +
ModulePath  "/usr/lib/xorg/modules/extensions"
 +
ModulePath  "/usr/lib/xorg/modules"
 
EndSection
 
EndSection
  
 
Section "Module"
 
Section "Module"
        Load  "dbe"
+
Load  "dbe"
        Load  "extmod"
+
Load  "extmod"
        Load  "fbdevhw"
+
Load  "fbdevhw"
        Load  "glx"
+
Load  "glx"
        Load  "record"
+
Load  "record"
        Load  "freetype"
+
Load  "freetype"
        Load  "type1"
+
Load  "type1"
        Load  "vnc"
+
Load  "vnc"
 +
EndSection
 +
 
 +
Section "ServerFlags"
 +
Option     "blank time" "0"
 +
Option     "standby time" "0"
 +
Option     "suspend time" "0"
 +
Option     "off time" "0"
 
EndSection
 
EndSection
  
Line 82: Line 100:
 
#      Option  "XkbOptions"    "ctrl:nocaps"
 
#      Option  "XkbOptions"    "ctrl:nocaps"
 
#
 
#
        Identifier  "Keyboard0"
+
Identifier  "Keyboard0"
Driver      "kbd"
+
Driver      "kbd"
        Option     "XkbModel" "pc105"
+
Option     "XkbModel" "pc105"
        Option     "XkbLayout" "us"
+
Option     "XkbLayout" "us"
 
EndSection
 
EndSection
  
 
Section "InputDevice"
 
Section "InputDevice"
        Identifier  "Mouse0"
+
Identifier  "Mouse0"
        Driver      "mouse"
+
Driver      "mouse"
        Option     "Protocol" "IMPS/2"
+
Option     "Protocol" "IMPS/2"
        Option     "Device" "/dev/input/mice"
+
Option     "Device" "/dev/input/mice"
        Option     "ZAxisMapping" "4 5"
+
Option     "ZAxisMapping" "4 5"
        Option     "Emulate3Buttons" "no"
+
Option     "Emulate3Buttons" "no"
 
EndSection
 
EndSection
  
Line 102: Line 120:
 
# this input device can be used in AlwaysCore mode to let you
 
# this input device can be used in AlwaysCore mode to let you
 
# also use USB mice at the same time.
 
# also use USB mice at the same time.
        Identifier  "DevInputMice"
+
Identifier  "DevInputMice"
        Driver      "mouse"
+
Driver      "mouse"
        Option     "Protocol" "IMPS/2"
+
Option     "Protocol" "IMPS/2"
        Option     "Device" "/dev/input/mice"
+
Option     "Device" "/dev/input/mice"
        Option     "ZAxisMapping" "4 5"
+
Option     "ZAxisMapping" "4 5"
        Option     "Emulate3Buttons" "no"
+
Option     "Emulate3Buttons" "no"
 
EndSection
 
EndSection
  
 
Section "Monitor"
 
Section "Monitor"
        Identifier  "NTSC Monitor"
+
 
        HorizSync  30-68
+
    #ModeLine      "720x480" 34.564 720 752 840 928 480 484 488 504 -hsync -vsync
        VertRefresh 50-120
+
# For 2560x1600 at 100dpi  (16:10)
        Mode "720x480"
+
#    DisplaySize  650 406
          # D: 34.563 MHz, H: 37.244 kHz, V: 73.897 Hz
+
# For 1920x1200 at 100dpi  (16:10)
          DotClock 34.564
+
#    DisplaySize  487 304
          HTimings 720 752 840 928
+
# For 1680x1050 at 100dpi  (16:10)
          VTimings 480 484 488 504
+
#    DisplaySize  426 266
          Flags   "-HSync" "-VSync"
+
# For 1440x900 at 100dpi  (16:10)
      EndMode
+
#    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
 
EndSection
  
 
Section "Device"
 
Section "Device"
        Identifier  "Hauppauge PVR 350 iTVC15 Framebuffer"
 
        Driver      "ivtv"
 
  
        ### change fb1 to whatever your card grabbed
+
Identifier  "8400GS"
        Option      "fbdev" "/dev/fb1"
+
Driver     "nvidia"
        Option     "ivtv" "/dev/fb1"
 
 
 
        ### change the BusID to whatever is reported by lspci,
 
        ### converted from hex to decimal
 
        BusID "PCI:2:10:0" # lspci says 02:0a.0
 
        #BusID "PCI:0:8:0" # lspci says 00:08.0
 
        ### More examples
 
        #BusID "PCI:0:10:0" # lspci says 00:0a.0
 
        #BusID "PCI:1:14:0" # lspci says 01:0e.0
 
        #BusID "PCI:0:5:1" # lspci says 00:05.1
 
 
EndSection
 
EndSection
  
 
Section "Screen"
 
Section "Screen"
        Identifier "Screen0"
+
 
        Device     "Hauppauge PVR 350 iTVC15 Framebuffer"
+
Identifier "Screen0"
        Monitor     "NTSC Monitor"
+
Device     "8400GS"
        Option "SecurityTypes" "VncAuth"
+
Monitor   "NTSC Monitor"
        Option "UserPasswdVerifier" "VncAuth"
+
DefaultDepth    24
        Option "PasswordFile" "/home/mythtv/.vnc/passwd"
+
DefaultFbBPP    32
        DefaultDepth 24
+
Option     "SecurityTypes" "VncAuth"
        DefaultFbbpp 32
+
Option     "UserPasswdVerifier" "VncAuth"
        Subsection "Display"
+
Option     "PasswordFile" "/home/mythtv/.vnc/passwd"
          Depth 24
+
SubSection "Display"
          FbBpp 32
+
Depth     24
          Modes "720x480"
+
FbBPP    32
        EndSubsection
+
Modes   "800x600"
 +
EndSubSection
 
EndSection
 
EndSection
  
Section "DRI"
+
Section "Extensions"
        Group        0
+
Option     "Composite" "Disable"
        Mode        0666
 
 
EndSection
 
EndSection
 +
 
</pre>
 
</pre>

Latest revision as of 21:36, 23 December 2009

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