[mythtv-users] Help getting PVR-350 Working

Taylor Jacob rtjacob at earthlink.net
Thu Nov 27 01:35:54 EST 2003


I have been messing with getting my new PVR-350 to work.  I have tried
different ivtv versions.  Currently I am attempting to use the "Halloween
Edition".

My setup consists of a PVR250 and a PVR350 card.  I am able to install all
of teh modules and do a dd from one input to the output (/dev/video16) on
the PVR350 card and I can play video no problem.  I am very pleased with
the quality.

My last step was to get XFree running again now using fbdev on the TV.  I
keep running into the error you see below of "Invalid Argument".  I have
no idea what is causing it.

I am modprobing ivtv-fb before running this.  Below is my XFree86Config
file (which is Torsten Schenkel's version with a few changes for NTSC vs
PAL), and then below that the XFree startup log if anyone could give me
some insight as to what to do to get it working properly.

My hunch is that it has something to do with teh nvidia video drivers I
had installed on the machine when I was using a GeForece4 MX card with
TV-Out (Which looked terrible I might add).

------------------------------

# XFree86 4 configuration for PVR-350 TV-Out framebuffer device (PAL)
#
# Torsten Schenkel

# Still lots of settings in here that aren't really needed, but it works
# and I don't have the time to strip it down.


Section "ServerLayout"
        Identifier     "Default Layout"

# Use these two lines for dual screen

#       Screen      0  "Screen0" 0 0
#       Screen      1  "TV Screen" RightOf "Screen0"

        Screen  0       "TV Screen"



        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "DevInputMice" "AlwaysCore"
EndSection

Section "ServerFlags"
    #DontZap # disable <Crtl><Alt><BS> (server abort)
    #DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
    AllowMouseOpenFail # allows the server to start up even if the mouse
doesn't work
        Option "NoPM" "true"
        Option "BlankTime" "0"
        Option "NoPM" "true"
        Option "BlankTime" "0"
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.
        RgbPath      "/usr/X11R6/lib/X11/rgb"
        FontPath     "unix/:7100"
EndSection

Section "Module"
#       Load  "dbe"
#       Load  "extmod"
#       Load  "fbdevhw"
#       Load  "glx"
#       Load  "record"
#       Load  "freetype"
#       Load  "type1"
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      "keyboard"
        Option      "XkbRules" "xfree86"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "de"
        Option      "XkbVariant" "nodeadkeys"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "IMPS/2"
        Option      "Device" "/dev/psaux"
        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"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Iiyama MF-8617E/T, VisionMaster"
        HorizSync    27.0 - 86.0
        VertRefresh  50.0 - 150.0
        #Refresh Rate 75Hz
        Modeline "800x600"   49.50  800 816 896 1056  600 601 604 625
-hsync -vsync

EndSection

Section "Monitor"
    Identifier  "NTSC Monitor"
    HorizSync  30-68
    VertRefresh 50-120
Mode "720x480"
    # D: 34.563 MHz, H: 37.244 kHz, V: 73.897 Hz
    DotClock 34.564
    HTimings 720 752 840 928
    VTimings 480 484 488 504
    Flags    "-HSync" "-VSync"
EndMode
EndSection

Section "Device"
        Identifier  "Videocard0"
        Driver      "vesa"
        VendorName  "VIA"
        BoardName   "CLE 266 binary"
        VideoRam    32768
        Option      "ActiveDevice" "CRT,TV"
        Option      "TVType" "PAL"
        Option      "NoDDCValue"
        Option      "TVOutput" "Composite"
#       Option      "TVOutput" "S-Video"
#       Option      "UseBios" "On"
        Option      "TVVScan" "over"
#       Option "TVHScale" "4"
#       Option "TVDotCrawl"
EndSection

Section "Device"
    Identifier  "Hauppauge PVR 350 iTVC15 Framebuffer"
    Driver      "fbdev"
    Option      "fbdev" "/dev/fb0"      # <-- modify if using another device
    BusID "pci:1:7.0"
EndSection


Section "Screen"
        Identifier "Screen0"
        Device     "Videocard0"
        Monitor    "Monitor0"
        DefaultDepth     24
        SubSection "Display"
                Depth     24
                Modes    "800x600"
        EndSubSection
EndSection

Section "Screen"
  Identifier  "TV Screen"
  Device      "Hauppauge PVR 350 iTVC15 Framebuffer"
  Monitor     "NTSC Monitor"
  DefaultDepth 24
  DefaultFbbpp 32
  Subsection "Display"
    Depth 24
    FbBpp 32
    Modes "720x480"
  EndSubsection
EndSection


Section "DRI"
        Group        0
        Mode         0666
EndSection


---------------------------------------
XFree86 Version 4.3.0
Release Date: 27 February 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: Linux 2.4.21-pfeifer-r1_pre4 i686 [ELF]
Build Date: 13 September 2003
        Before reporting problems, check http://www.XFree86.Org/
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
         (++) from command line, (!!) notice, (II) informational,
         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Thu Nov 27 01:24:51 2003
(==) Using config file: "/etc/X11/XF86Config"
(==) ServerLayout "Default Layout"
(**) |-->Screen "TV Screen" (0)
(**) |   |-->Monitor "NTSC Monitor"
(**) |   |-->Device "Hauppauge PVR 350 iTVC15 Framebuffer"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(**) Option "XkbRules" "xfree86"
(**) XKB: rules: "xfree86"
(**) Option "XkbModel" "pc105"
(**) XKB: model: "pc105"
(**) Option "XkbLayout" "de"
(**) XKB: layout: "de"
(**) Option "XkbVariant" "nodeadkeys"
(**) XKB: variant: "nodeadkeys"
(==) Keyboard: CustomKeycode disabled
(**) |-->Input Device "DevInputMice"
(**) FontPath set to "unix/:7100"
(**) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(==) ModulePath set to "/usr/X11R6/lib/modules"
(**) Option "AllowMouseOpenFail"
(**) Option "BlankTime" "0"
(**) Option "NoPM" "true"
Using vt 7
(--) using VT number 7

(II) Module ABI versions:
        XFree86 ANSI C Emulation: 0.2
        XFree86 Video Driver: 0.6
        XFree86 XInput driver : 0.4
        XFree86 Server Extension : 0.2
        XFree86 Font Renderer : 0.4
(II) Loader running on linux
(II) LoadModule: "bitmap"
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor="The XFree86 Project"
        compiled for 4.3.0, module version = 1.0.0
        Module class: XFree86 Font Renderer
        ABI class: XFree86 Font Renderer, version 0.4
(II) Loading font Bitmap
(II) LoadModule: "pcidata"
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor="The XFree86 Project"
        compiled for 4.3.0, module version = 1.0.0
        ABI class: XFree86 Video Driver, version 0.6
(II) PCI: Probing config type using method 1
(II) PCI: Config type is 1
(II) PCI: stages = 0x03, oldVal1 = 0x00000000, mode1Res1 = 0x80000000
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 10de,01a4 card 0000,0000 rev b2 class 06,00,00 hdr 80
(II) PCI: 00:00:1: chip 10de,01ac card 10de,0c11 rev b2 class 05,00,00 hdr 80
(II) PCI: 00:00:2: chip 10de,01ad card 10de,0c11 rev b2 class 05,00,00 hdr 80
(II) PCI: 00:00:3: chip 10de,01aa card 10de,0c11 rev b2 class 05,00,00 hdr 80
(II) PCI: 00:01:0: chip 10de,01b2 card 10de,0c11 rev c3 class 06,01,00 hdr 80
(II) PCI: 00:01:1: chip 10de,01b4 card 10de,0c11 rev c1 class 0c,05,00 hdr 80
(II) PCI: 00:02:0: chip 10de,01c2 card 10de,0c11 rev c3 class 0c,03,10 hdr 00
(II) PCI: 00:03:0: chip 10de,01c2 card 10de,0c11 rev c3 class 0c,03,10 hdr 00
(II) PCI: 00:04:0: chip 10de,01c3 card 1043,0c11 rev c2 class 02,00,00 hdr 00
(II) PCI: 00:05:0: chip 10de,01b0 card 1043,0c11 rev c2 class 04,01,00 hdr 00
(II) PCI: 00:06:0: chip 10de,01b1 card 1043,8384 rev c2 class 04,01,00 hdr 80
(II) PCI: 00:08:0: chip 10de,01b8 card 0000,0000 rev c2 class 06,04,00 hdr 01
(II) PCI: 00:09:0: chip 10de,01bc card 10de,0c11 rev c3 class 01,01,8a hdr 00
(II) PCI: 00:1e:0: chip 10de,01b7 card 0000,0000 rev b2 class 06,04,00 hdr 01
(II) PCI: 01:06:0: chip 4444,0803 card 0070,4000 rev 01 class 04,00,00 hdr 00
(II) PCI: 01:07:0: chip 4444,0016 card 0070,4009 rev 01 class 04,00,00 hdr 00
(II) PCI: 02:00:0: chip 10de,01a0 card 10de,0c11 rev b1 class 03,00,00 hdr 00
(II) PCI: End of PCI scan
(II) Host-to-PCI bridge:
(II) Bus 0: bridge is at (0:0:0), (0,0,2), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus 0 I/O range:
        [0] -1  0       0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) Bus 0 non-prefetchable memory range:
        [0] -1  0       0x00000000 - 0xffffffff (0x0) MX[B]
(II) Bus 0 prefetchable memory range:
        [0] -1  0       0x00000000 - 0xffffffff (0x0) MX[B]
(II) PCI-to-ISA bridge:
(II) Bus -1: bridge is at (0:1:0), (0,-1,-1), BCTRL: 0x0008 (VGA_EN is set)
(II) PCI-to-PCI bridge:
(II) Bus 1: bridge is at (0:8:0), (0,1,1), BCTRL: 0x0000 (VGA_EN is cleared)
(II) Bus 1 prefetchable memory range:
        [0] -1  0       0xf0000000 - 0xf7ffffff (0x8000000) MX[B]
(II) PCI-to-PCI bridge:
(II) Bus 2: bridge is at (0:30:0), (0,2,2), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus 2 non-prefetchable memory range:
        [0] -1  0       0xe4000000 - 0xe4ffffff (0x1000000) MX[B]
(II) Bus 2 prefetchable memory range:
        [0] -1  0       0xe7f00000 - 0xefffffff (0x8100000) MX[B]
(--) PCI: (1:6:0) unknown vendor (0x4444) unknown chipset (0x0803) rev 1,
Mem @ 0xf4000000/26
(--) PCI: (1:7:0) unknown vendor (0x4444) unknown chipset (0x0016) rev 1,
Mem @ 0xf0000000/26
(--) PCI:*(2:0:0) nVidia Corporation NV15 [GeForce2 - nForce GPU] rev 177,
Mem @ 0xe4000000/24, 0xe8000000/27, BIOS @ 0xe7ff0000/16
(II) Addressable bus resource ranges are
        [0] -1  0       0x00000000 - 0xffffffff (0x0) MX[B]
        [1] -1  0       0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) OS-reported resource ranges:
        [0] -1  0       0xffe00000 - 0xffffffff (0x200000) MX[B](B)
        [1] -1  0       0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
        [2] -1  0       0x000f0000 - 0x000fffff (0x10000) MX[B]
        [3] -1  0       0x000c0000 - 0x000effff (0x30000) MX[B]
        [4] -1  0       0x00000000 - 0x0009ffff (0xa0000) MX[B]
        [5] -1  0       0x0000ffff - 0x0000ffff (0x1) IX[B]
        [6] -1  0       0x00000000 - 0x000000ff (0x100) IX[B]
(II) PCI Memory resource overlap reduced 0xf8000000 from 0xfbffffff to
0xf7ffffff
(II) Active PCI resource ranges:
        [0] -1  0       0xe5000000 - 0xe5000fff (0x1000) MX[B]
        [1] -1  0       0xe5800000 - 0xe587ffff (0x80000) MX[B]
        [2] -1  0       0xe6000000 - 0xe60003ff (0x400) MX[B]
        [3] -1  0       0xe6800000 - 0xe6800fff (0x1000) MX[B]
        [4] -1  0       0xe7000000 - 0xe7000fff (0x1000) MX[B]
        [5] -1  0       0xf8000000 - 0xf7ffffff (0x0) MX[B]O
        [6] -1  0       0xe7ff0000 - 0xe7ffffff (0x10000) MX[B](B)
        [7] -1  0       0xe8000000 - 0xefffffff (0x8000000) MX[B](B)
        [8] -1  0       0xe4000000 - 0xe4ffffff (0x1000000) MX[B](B)
        [9] -1  0       0xf0000000 - 0xf3ffffff (0x4000000) MX[B](B)
        [10] -1 0       0xf4000000 - 0xf7ffffff (0x4000000) MX[B](B)
        [11] -1 0       0x0000b800 - 0x0000b80f (0x10) IX[B]
        [12] -1 0       0x0000e000 - 0x0000e07f (0x80) IX[B]
        [13] -1 0       0x0000e100 - 0x0000e1ff (0x100) IX[B]
        [14] -1 0       0x0000d800 - 0x0000d807 (0x8) IX[B]
        [15] -1 0       0x00005100 - 0x0000511f (0x20) IX[B]
        [16] -1 0       0x00005500 - 0x0000550f (0x10) IX[B]
        [17] -1 0       0x00005000 - 0x0000500f (0x10) IX[B]
(II) Active PCI resource ranges after removing overlaps:
        [0] -1  0       0xe5000000 - 0xe5000fff (0x1000) MX[B]
        [1] -1  0       0xe5800000 - 0xe587ffff (0x80000) MX[B]
        [2] -1  0       0xe6000000 - 0xe60003ff (0x400) MX[B]
        [3] -1  0       0xe6800000 - 0xe6800fff (0x1000) MX[B]
        [4] -1  0       0xe7000000 - 0xe7000fff (0x1000) MX[B]
        [5] -1  0       0xf8000000 - 0xf7ffffff (0x0) MX[B]O
        [6] -1  0       0xe7ff0000 - 0xe7ffffff (0x10000) MX[B](B)
        [7] -1  0       0xe8000000 - 0xefffffff (0x8000000) MX[B](B)
        [8] -1  0       0xe4000000 - 0xe4ffffff (0x1000000) MX[B](B)
        [9] -1  0       0xf0000000 - 0xf3ffffff (0x4000000) MX[B](B)
        [10] -1 0       0xf4000000 - 0xf7ffffff (0x4000000) MX[B](B)
        [11] -1 0       0x0000b800 - 0x0000b80f (0x10) IX[B]
        [12] -1 0       0x0000e000 - 0x0000e07f (0x80) IX[B]
        [13] -1 0       0x0000e100 - 0x0000e1ff (0x100) IX[B]
        [14] -1 0       0x0000d800 - 0x0000d807 (0x8) IX[B]
        [15] -1 0       0x00005100 - 0x0000511f (0x20) IX[B]
        [16] -1 0       0x00005500 - 0x0000550f (0x10) IX[B]
        [17] -1 0       0x00005000 - 0x0000500f (0x10) IX[B]
(II) OS-reported resource ranges after removing overlaps with PCI:
        [0] -1  0       0xffe00000 - 0xffffffff (0x200000) MX[B](B)
        [1] -1  0       0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
        [2] -1  0       0x000f0000 - 0x000fffff (0x10000) MX[B]
        [3] -1  0       0x000c0000 - 0x000effff (0x30000) MX[B]
        [4] -1  0       0x00000000 - 0x0009ffff (0xa0000) MX[B]
        [5] -1  0       0x0000ffff - 0x0000ffff (0x1) IX[B]
        [6] -1  0       0x00000000 - 0x000000ff (0x100) IX[B]
(II) All system resource ranges:
        [0] -1  0       0xffe00000 - 0xffffffff (0x200000) MX[B](B)
        [1] -1  0       0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
        [2] -1  0       0x000f0000 - 0x000fffff (0x10000) MX[B]
        [3] -1  0       0x000c0000 - 0x000effff (0x30000) MX[B]
        [4] -1  0       0x00000000 - 0x0009ffff (0xa0000) MX[B]
        [5] -1  0       0xe5000000 - 0xe5000fff (0x1000) MX[B]
        [6] -1  0       0xe5800000 - 0xe587ffff (0x80000) MX[B]
        [7] -1  0       0xe6000000 - 0xe60003ff (0x400) MX[B]
        [8] -1  0       0xe6800000 - 0xe6800fff (0x1000) MX[B]
        [9] -1  0       0xe7000000 - 0xe7000fff (0x1000) MX[B]
        [10] -1 0       0xf8000000 - 0xf7ffffff (0x0) MX[B]O
        [11] -1 0       0xe7ff0000 - 0xe7ffffff (0x10000) MX[B](B)
        [12] -1 0       0xe8000000 - 0xefffffff (0x8000000) MX[B](B)
        [13] -1 0       0xe4000000 - 0xe4ffffff (0x1000000) MX[B](B)
        [14] -1 0       0xf0000000 - 0xf3ffffff (0x4000000) MX[B](B)
        [15] -1 0       0xf4000000 - 0xf7ffffff (0x4000000) MX[B](B)
        [16] -1 0       0x0000ffff - 0x0000ffff (0x1) IX[B]
        [17] -1 0       0x00000000 - 0x000000ff (0x100) IX[B]
        [18] -1 0       0x0000b800 - 0x0000b80f (0x10) IX[B]
        [19] -1 0       0x0000e000 - 0x0000e07f (0x80) IX[B]
        [20] -1 0       0x0000e100 - 0x0000e1ff (0x100) IX[B]
        [21] -1 0       0x0000d800 - 0x0000d807 (0x8) IX[B]
        [22] -1 0       0x00005100 - 0x0000511f (0x20) IX[B]
        [23] -1 0       0x00005500 - 0x0000550f (0x10) IX[B]
        [24] -1 0       0x00005000 - 0x0000500f (0x10) IX[B]
(II) LoadModule: "fbdev"
(II) Loading /usr/X11R6/lib/modules/drivers/fbdev_drv.o
(II) Module fbdev: vendor="The XFree86 Project"
        compiled for 4.3.0, module version = 0.1.0
        ABI class: XFree86 Video Driver, version 0.6
(II) LoadModule: "mouse"
(II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o
(II) Module mouse: vendor="The XFree86 Project"
        compiled for 4.3.0, module version = 1.0.0
        Module class: XFree86 XInput Driver
        ABI class: XFree86 XInput driver, version 0.4
(II) FBDEV: driver for framebuffer: fbdev, afb
(II) Primary Device is: PCI 02:00:0
(II) Loading sub module "fbdevhw"
(II) LoadModule: "fbdevhw"
(II) Loading /usr/X11R6/lib/modules/linux/libfbdevhw.a
(II) Module fbdevhw: vendor="The XFree86 Project"
        compiled for 4.3.0, module version = 0.0.2
        ABI class: XFree86 Video Driver, version 0.6
(II) FBDEV(0): using /dev/fb0
(II) Running in FRAMEBUFFER Mode
(**) FBDEV(0): Depth 24, (**) framebuffer bpp 32
(==) FBDEV(0): RGB weight 888
(==) FBDEV(0): Default visual is TrueColor
(==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
(II) FBDEV(0): Hardware: iTVC15 TV out (vidmem: 2818k)
(**) FBDEV(0): Option "fbdev" "/dev/fb0"
(II) FBDEV(0): Checking Modes against framebuffer device...
(II) FBDEV(0):  mode "720x480" ok
(II) FBDEV(0): Checking Modes against monitor...
(--) FBDEV(0): Virtual size is 720x480 (pitch 720)
(**) FBDEV(0):  Mode "720x480": 34.6 MHz (scaled from 0.0 MHz), 37.2 kHz,
73.9 Hz
(II) FBDEV(0): Modeline "720x480"   34.56  720 752 840 928  480 484 488
504 -hsync -vsync
(==) FBDEV(0): DPI set to (75, 75)
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/X11R6/lib/modules/libfb.a
(II) Module fb: vendor="The XFree86 Project"
        compiled for 4.3.0, module version = 1.0.0
        ABI class: XFree86 ANSI C Emulation, version 0.2
(**) FBDEV(0): Using "Shadow Framebuffer"
(II) Loading sub module "shadow"
(II) LoadModule: "shadow"
(II) Loading /usr/X11R6/lib/modules/libshadow.a
(II) Module shadow: vendor="The XFree86 Project"
        compiled for 4.3.0, module version = 1.0.0
        ABI class: XFree86 ANSI C Emulation, version 0.2
(--) Depth 24 pixmap format is 32 bpp
(EE) FBDEV(0): FBIOPUT_VSCREENINFO: Invalid argument
(EE) FBDEV(0): Mode init failed

Fatal server error:
AddScreen/ScreenInit failed for driver 0


When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
This can be found in the log file "/var/log/XFree86.0.log".
Please report problems to xfree86 at xfree86.org.

(EE) FBDEV(0): FBIOPUT_VSCREENINFO: Invalid argument

------------------------------


More information about the mythtv-users mailing list