>Mandriva 2008.1 IVTV No Worky
>I have recently upgraded from Mandriva 2008 to 2008.1 and now can't get
>IVTV working. My kernel is:
>2.6.24.7-tmb-desktop-3mdv
>Here's the output of dmesg
>ivtv: Start initialization, version 1.2.0
>ivtv0: Initializing card #0
>ivtv0: Autodetected Hauppauge card (cx23415 based)
>ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
>ivtv0: Autodetected Hauppauge WinTV PVR-350
>saa7115 2-0021: saa7115 found (1f7115d0e100000) @ 0x42 (ivtv i2c driver #0)
>saa7127 2-0044: saa7129 found @ 0x88 (ivtv i2c driver #0)
>msp3400 2-0040: MSP4448G-A2 found @ 0x80 (ivtv i2c driver #0)
>tuner 2-0043: chip found @ 0x86 (ivtv i2c driver #0)
>tuner 2-0061: chip found @ 0xc2 (ivtv i2c driver #0)
>ivtv0: Registered device video0 for encoder MPG (4096 kB)
>ivtv0: Registered device video32 for encoder YUV (2048 kB)
>ivtv0: Registered device vbi0 for encoder VBI (1024 kB)
>ivtv0: Registered device video24 for encoder PCM (320 kB)
>ivtv0: Registered device radio0 for encoder radio
>ivtv0: Registered device video16 for decoder MPG (1024 kB)
>ivtv0: Registered device vbi8 for decoder VBI (64 kB)
>ivtv0: Registered device vbi16 for decoder VOUT
>ivtv0: Registered device video48 for decoder YUV (1024 kB)
>ivtv0: Initialized card #0: Hauppauge WinTV PVR-350
>ivtv1: Initializing card #1
>ivtv1: Autodetected Hauppauge card (cx23415 based)
>ivtv1: Unreasonably low latency timer, setting to 64 (was 32)
>ivtv1: Autodetected Hauppauge WinTV PVR-350
>saa7115 3-0021: saa7115 found (1f7115d0e100000) @ 0x42 (ivtv i2c driver #1)
>saa7127 3-0044: saa7129 found @ 0x88 (ivtv i2c driver #1)
>msp3400 3-0040: MSP4448G-A2 found @ 0x80 (ivtv i2c driver #1)
>tuner 3-0043: chip found @ 0x86 (ivtv i2c driver #1)
>tuner 3-0061: chip found @ 0xc2 (ivtv i2c driver #1)
>ivtv1: Registered device video1 for encoder MPG (4096 kB)
>ivtv1: Registered device video33 for encoder YUV (2048 kB)
>ivtv1: Registered device vbi1 for encoder VBI (1024 kB)
>ivtv1: Registered device video25 for encoder PCM (320 kB)
>ivtv1: Registered device radio1 for encoder radio
>ivtv1: Registered device video17 for decoder MPG (1024 kB)
>ivtv1: Registered device vbi9 for decoder VBI (64 kB)
>ivtv1: Registered device vbi17 for decoder VOUT
>ivtv1: Registered device video49 for decoder YUV (1024 kB)
>ivtv1: Initialized card #1: Hauppauge WinTV PVR-350
>ivtv: End initialization
>ivtv0: Loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
>ivtv0: Loaded v4l-cx2341x-dec.fw firmware (262144 bytes)
>ivtv0: Encoder revision: 0x02060039
>ivtv0: Decoder revision: 0x02020023
>ivtv0: Loaded v4l-cx2341x-init.mpg firmware (155648 bytes)
>ivtv1: Loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
>ivtv1: Loaded v4l-cx2341x-dec.fw firmware (262144 bytes)
>ivtv1: Encoder revision: 0x02060039
>ivtv1: Decoder revision: 0x02020023
>ivtv1: Loaded v4l-cx2341x-init.mpg firmware (155648 bytes)
>ivtv1: All encoder MPG stream buffers are full. Dropping data.
>ivtv1: Cause: the application is not reading fast enough.>
>Which begs some questions:
>What application are you using?
>Do you get the message when you simply do:
>$ cat /dev/video1 > foo.mpg
>Do you also get the message when using /dev/video0 with your preferred
>application?
>What does the output look like in your preferred application?
>Does the output look OK when playing back the foo.mpg file captured with
>cat?
>$ /sbin/modinfo ivtv
>to see all the module options available.
>You may wish to modprobe ivtv with the debug parameter set to log
>warning, info, and file operations and maybe at high volume. Try to see
>if the application is reading things off at a reasonable rate. If the
>application can't read off data fast enough, there's not too much to be
>done with the driver. (Maybe allocating more than the default 4 MB of
>buffers for the MPEG encoder via the enc_mpg_buffers module options
>might help.)
>Just an idea.
>Regards,
>Andy
Here is what happens when playing the mpg file with mplayer
[EMAIL PROTECTED] mythtv]# mplayer foo.mpg
MPlayer 1.0-1.rc2.10.3plf2008.1-4.2.3 (C) 2000-2007 MPlayer Team
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4600+ (Family: 15, Model:
75, Step
ping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
mplayer: could not open config files /root/.lircrc and /etc/lircrc
mplayer: No such file or directory
Failed to read LIRC config file ~/.lircrc.
Playing foo.mpg.
MPEG-PS file format detected.
Too many video packets in the buffer: (4096 in 7975968 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
MPEG: No audio stream found -> no sound.
VIDEO: MPEG2 720x480 (aspect 2) 29.970 fps 8000.0 kbps (1000.0 kbyte/s)
xscreensaver_disable: Could not find XScreenSaver window.
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
Audio: no sound
Starting playback...
VDec: vo config request - 720 x 480 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 720x480 => 720x540 Planar YV12 [zoom]
V: 6.6 189/189 12% 0% 0.0% 0 0
Exiting... (Quit)
Here is the output of modinfo ivtv
[EMAIL PROTECTED] mythtv]# modinfo ivtv
filename:
/lib/modules/2.6.24.7-tmb-desktop-3mdv/kernel/drivers/media/vide
o/ivtv/ivtv.ko.gz
version: 1.2.0
license: GPL
description: CX23415/CX23416 driver
author: Kevin Thayer, Chris Kennedy, Hans Verkuil
srcversion: B9EA9CDBE851F4F83233430
alias: pci:v00004444d00000016sv*sd*bc*sc*i*
alias: pci:v00004444d00000803sv*sd*bc*sc*i*
depends:
cx2341x,videodev,tveeprom,v4l2-common,i2c-core,v4l1-compat,firmw
are_class,i2c-algo-bit
vermagic: 2.6.24.7-tmb-desktop-3mdv SMP mod_unload
parm: tuner:Tuner type selection,
see tuner.h for values (array of int)
parm: radio:Enable or disable the radio. Use only if autodetection
fails. 0 = disable, 1 = enable (array of bool)
parm: cardtype:Only use this option if your card is not detected
prope
rly.
Specify card type:
1 = WinTV PVR 250
2 = WinTV PVR 350
3 = WinTV PVR-150 or PVR-500
4 = AVerMedia M179
5 = YUAN MPG600/Kuroutoshikou iTVC16-STVLP
6 = YUAN MPG160/Kuroutoshikou iTVC15-STVLP
7 = YUAN PG600/DIAMONDMM PVR-550 (CX Falcon 2)
8 = Adaptec AVC-2410
9 = Adaptec AVC-2010
10 = NAGASE TRANSGEAR 5000TV
11 = AOpen VA2000MAX-STN6
12 = YUAN MPG600GR/Kuroutoshikou CX23416GYC-STVLP
13 = I/O Data GV-MVP/RX
14 = I/O Data GV-MVP/RX2E
15 = GOTVIEW PCI DVD
16 = GOTVIEW PCI DVD2 Deluxe
17 = Yuan MPC622
18 = Digital Cowboy DCT-MTVP1
19 = Yuan PG600V2/GotView PCI DVD Lite
20 = Club3D ZAP-TV1x01
21 = AverTV MCE 116 Plus
22 = ASUS Falcon2
23 = AverMedia PVR-150 Plus
24 = AverMedia EZMaker PCI Deluxe
0 = Autodetect (default)
-1 = Ignore this card
(array of int)
parm: pal:Set PAL standard: BGH, DK, I, M, N, Nc, 60 (string)
parm: secam:Set SECAM standard: BGH, DK, L, LC (string)
parm: ntsc:Set NTSC standard: M, J (Japan), K (South Korea)
(string)
parm: tunertype:Specify tuner type:
0 = tuner for PAL-B/G/H/D/K/I, SECAM-B/G/H/D/K/L/Lc
1 = tuner for NTSC-M/J/K, PAL-M/N/Nc
-1 = Autodetect (default)
(int)
parm: debug:Debug level (bitmask). Default: 0
1/0x0001: warning
2/0x0002: info
4/0x0004: mailbox
8/0x0008: ioctl
16/0x0010: file
32/0x0020: dma
64/0x0040: irq
128/0x0080: decoder
256/0x0100: yuv
512/0x0200: i2c
1024/0x0400: high volume
(int)
parm: ivtv_pci_latency:Change the PCI latency to 64 if lower: 0
= No,
1 = Yes,
Default: Yes (int)
parm: ivtv_yuv_mode:Specify the yuv playback mode:
0 = interlaced
1 = progressive
2 = auto
Default: 0 (interlaced) (int)
parm: ivtv_yuv_threshold:If ivtv_yuv_mode is 2 (auto) then
playback co
ntent as
progressive if src height <= ivtv_yuvthreshold
Default: 480 (int)
parm: enc_mpg_buffers:Encoder MPG Buffers (in MB)
Default: 4 (int)
parm: enc_yuv_buffers:Encoder YUV Buffers (in MB)
Default: 2 (int)
parm: enc_vbi_buffers:Encoder VBI Buffers (in MB)
Default: 1 (int)
parm: enc_pcm_buffers:Encoder PCM buffers (in kB)
Default: 320 (int)
parm: dec_mpg_buffers:Decoder MPG buffers (in MB)
Default: 1 (int)
parm: dec_yuv_buffers:Decoder YUV buffers (in MB)
Default: 1 (int)
parm: dec_vbi_buffers:Decoder VBI buffers (in kB)
Default: 64 (int)
parm: newi2c:Use new I2C implementation
-1 is autodetect, 0 is off, 1 is on
Default is autodetect (int)
parm: ivtv_first_minor:Set minor assigned to first card (int)
>Which begs some questions:
>What application are you using?
I am trying to debug using mplayer right now, but ultimately I'll be using
mythtv
>Do you get the message when you simply do:
>$ cat /dev/video1 > foo.mpg
I get no error messages when encoding using cat
>Do you also get the message when using /dev/video0 with your preferred
>application?
I've posted the output of mplayer above
>What does the output look like in your preferred application?
I get a black screen with no snow.
>Does the output look OK when playing back the foo.mpg file captured with
>cat?
Nope.
Any theories?
thx
Scott
_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users