Hi all,

I'm following Jarod Wilson's Myth(TV)ology
instructionns, and I'm having some
trouble with IVTV.  I'm running FC2 on a Soyo SY-K7VME
mobo with 256M.  
As a capture device and TV tuner, I have a Hauppauge
PVR 350.

My /etc/modprobe.conf has the following related to
ivtv:

  alias char-major-81 videodev
  alias char-major-81-0 ivtv
  install ivtv /sbin/modprobe --ignore-install ivtv;
/sbin/modprobe ivtv-fb
  install lirc_i2c /sbin/modprobe ivtv; /sbin/modprobe
--ignore-install lirc_i2c

As I load and try a test capture, the following
commands appear to execute 
successfully:

  /sbin/depmod -a
  /sbin/modprobe ivtv
  /usr/bin/ivtvctl -u 0x3000
  /usr/bin/ivtvctl -p 4
  /usr/bin/ivtvctl -f width=640,height=480
  cat /dev/video0 > /tmp/test_capture.mpg

However, using mplayer to output the capture fails:

  mplayer /tmp/test_capture.mpg

Although I do see an image on the TV, it is very
garbled, and the
mplayer is in distress with the playback, judging from
the logs 
in /var/log/messages and those dumped to the console

(I have a TV connected to the PVR 35 card, and I do
see a test pattern
successfully displayed if I /sbin/modprobe saa7127
test_image=1.)

The init of IVTV produces the following log:

  Dec  9 20:12:31 shankly kernel: ivtv:
==================== START INIT IVTV
====================
  Dec  9 20:12:31 shankly kernel: ivtv: version 0.1.10
(0.1.10-48.3_pre2_ck100zz.rhfc2.at) loading
  Dec  9 20:12:31 shankly kernel: ivtv: Linux version:
2.6.8-1.521 686 REGPARM 4KSTACKS gcc-3.3
  Dec  9 20:12:31 shankly kernel: ivtv: In case of
problems please include the debug info
  Dec  9 20:12:31 shankly kernel: ivtv: between the
START INIT IVTV and END INIT IVTV lines when
  Dec  9 20:12:31 shankly kernel: ivtv: mailing the
ivtv-devel mailinglist.
  Dec  9 20:12:31 shankly kernel: ivtv: Autodetected
WinTV PVR 350 card
  Dec  9 20:12:31 shankly kernel: ivtv: Found an
iTVC15 based chip
  Dec  9 20:12:31 shankly kernel: ACPI: PCI interrupt
0000:00:08.0[A] -> GSI 11 (level, low) -> IRQ 11
  Dec  9 20:12:31 shankly kernel: ivtv: Unreasonably
low latency timer, setting to 64 (was 32)
  Dec  9 20:12:31 shankly kernel: ivtv: pci: VIA
detected device: 0x3205 vendor: 0x1106
  Dec  9 20:12:31 shankly kernel: tveeprom: Hauppauge:
model = 48132, rev = K168, serial# = 7520044
  Dec  9 20:12:31 shankly kernel: tveeprom: tuner = LG
NTSC (TAPE series) (idx = 68, type = 47)
  Dec  9 20:12:31 shankly kernel: tveeprom: tuner fmt
= NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000)
  Dec  9 20:12:31 shankly kernel: tveeprom:
audio_processor = MSP3440 (type = 11)
  Dec  9 20:12:31 shankly kernel: ivtv: i2c attach
[client=tveeprom[0],ok]
  Dec  9 20:12:31 shankly kernel: ivtv: Tuner Type 47,
Tuner formats 0x00001000, Radio: yes, Model
0x00ad1598, Revision 0x00000001
  Dec  9 20:12:31 shankly kernel: ivtv: NTSC tuner
detected
  Dec  9 20:12:31 shankly kernel: ivtv: Radio detected
  Dec  9 20:12:31 shankly kernel: tuner: chip found at
addr 0xc2 i2c-bus ivtv i2c driver #0
  Dec  9 20:12:31 shankly kernel: ivtv: i2c attach
[client=(tuner unset),ok]
  Dec  9 20:12:31 shankly kernel: saa7115: starting
probe for adapter ivtv i2c driver #0 (0x10005)
  Dec  9 20:12:31 shankly kernel: saa7115: detecting
saa7115 client on address 0x42
  Dec  9 20:12:31 shankly kernel: saa7115: writing
init values
  Dec  9 20:12:31 shankly kernel: ivtv: i2c attach
[client=saa7115[0],ok]
  Dec  9 20:12:31 shankly kernel: saa7115: status:
(1E) 0x2d, (1F) 0xc0
  Dec  9 20:12:31 shankly kernel: saa7127: video
encoder driver version V 0.3 loaded
  Dec  9 20:12:31 shankly kernel: saa7127: Selecting
NTSC video Standard
  Dec  9 20:12:31 shankly kernel: saa7127: Selecting
S-Video+Composite
  Dec  9 20:12:31 shankly kernel: saa7127: Turn WSS
off
  Dec  9 20:12:31 shankly kernel: saa7127: Widescreen
Mode 4:3 Full Format
  Dec  9 20:12:31 shankly kernel: saa7127: Selecting
Normal Encoder Input
  Dec  9 20:12:31 shankly kernel: saa7127: Enable
Video Output
  Dec  9 20:12:31 shankly kernel: ivtv: i2c attach
[client=saa7127[0],ok]
  Dec  9 20:12:32 shankly kernel: msp34xx: init:
chip=MSP3448W-A2 +nicam +simple +simpler +radio
mode=simpler
  Dec  9 20:12:32 shankly kernel: ivtv: i2c attach
[client=MSP3448W-A2,ok]
  Dec  9 20:12:32 shankly kernel: ivtv: Encoder
revision: 0x02040024
  Dec  9 20:12:32 shankly kernel: ivtv: Decoder
revision: 0x02020023
  Dec  9 20:12:32 shankly kernel: ivtv: Configuring
WinTV PVR 350 card with 9 streams
  Dec  9 20:12:32 shankly kernel: ivtv: Create DMA
stream 0 using 128 buffers of size 32768
  Dec  9 20:12:32 shankly kernel: ivtv: Create DMA
stream 1 using 128 buffers of size 32768
  Dec  9 20:12:33 shankly kernel: ivtv: Create stream
2 using 128 buffers of size 52224
  Dec  9 20:12:33 shankly kernel: ivtv: Create DMA
stream 3 using 128 buffers of size 32768
  Dec  9 20:12:33 shankly kernel: ivtv: Create stream
4
  Dec  9 20:12:33 shankly kernel: ivtv: Create DMA
stream 5 using 16 buffers of size 32768
  Dec  9 20:12:33 shankly kernel: ivtv: Create stream
6 using 128 buffers of size 4096
  Dec  9 20:12:33 shankly kernel: ivtv: Create stream
7
  Dec  9 20:12:33 shankly kernel: ivtv: Create DMA
stream 8 using 16 buffers of size 32768
  Dec  9 20:12:33 shankly kernel: ivtv: Setting Tuner
47
  Dec  9 20:12:33 shankly kernel: tuner: type set to
47 (LG NTSC (TAPE series)) by ivtv i2c driver #0
  Dec  9 20:12:33 shankly kernel: ivtv: Setting audio
matrix to input 3, output 1
  Dec  9 20:12:33 shankly kernel: ivtv: Switching
standard to NTSC.
  Dec  9 20:12:33 shankly kernel: saa7115: decoder set
norm NTSC
  Dec  9 20:12:33 shankly kernel: saa7115: set audio:
0x01
  Dec  9 20:12:33 shankly kernel: saa7127: Setting
Encoder Video Standard
  Dec  9 20:12:33 shankly kernel: saa7127: Set NTSC
Video Mode
  Dec  9 20:12:33 shankly kernel: saa7127: Selecting
NTSC video Standard
  Dec  9 20:12:33 shankly kernel: ivtv: Initialized
WinTV PVR 350, card #0
  Dec  9 20:12:33 shankly kernel: ivtv:
====================  END INIT IVTV 
====================


Here's a snippet of the /var/log/messages file which
was produced during mplayer execution:

  Dec  9 20:12:33 shankly kernel: ivtv-osd:
Framebuffer module loaded (attached to ivtv card id 0)
  Dec  9 20:12:34 shankly kernel: ivtv-osd:
Framebuffer is at decoder-relative address 0x00510000
and has 1704960 bytes.
  Dec  9 20:12:34 shankly kernel: ivtv-osd: screen
coords: [0 0] -> [720 480]
  Dec  9 20:12:34 shankly kernel: ivtv-osd: original
global alpha = 208
  Dec  9 20:12:34 shankly kernel: ivtv-osd: current
OSD state = 39
  Dec  9 20:12:34 shankly kernel: ivtv-osd: new global
alpha = 208 (1 255 0)
  Dec  9 20:12:34 shankly kernel: ivtv-osd: Good
video_base is inside valid allocated space.
  Dec  9 20:12:34 shankly kernel: ivtv-osd:
framebuffer at 0xd9510000, mapped to 0x10b2f000, size
1350k
  Dec  9 20:12:34 shankly kernel: ivtv-osd: mode is
720x480x32, linelength=2880
  Dec  9 20:12:34 shankly kernel: ivtv-osd: fb0:
iTVC15 TV out frame buffer device
  Dec  9 20:12:44 shankly kernel: saa7115: decoder set
size
  Dec  9 20:12:54 shankly kernel: saa7115: decoder set
size
  Dec  9 20:13:37 shankly kernel: saa7115: decoder
disable output
  Dec  9 20:13:37 shankly kernel: saa7115: decoder
enable output
  Dec  9 20:13:37 shankly kernel: ivtv: VIM Restart
  Dec  9 20:13:52 shankly lircd 0.7.0[2116]: accepted
new client on /dev/lircd
  Dec  9 20:13:52 shankly kernel: lirc_dev: IR Remote
Control driver registered, at major 61 
  Dec  9 20:13:52 shankly lircd 0.7.0[2116]: could not
open /dev/lirc
  Dec  9 20:13:52 shankly lircd 0.7.0[2116]:
default_init(): No such device 
  Dec  9 20:13:52 shankly lircd 0.7.0[2116]: caught
signal
  Dec  9 20:13:53 shankly kernel: ivtv: Decoder DMA
Error 0x00000013
  Dec  9 20:13:53 shankly kernel: ivtv: Reloading FW
from Stream 100
  Dec  9 20:13:53 shankly kernel: ivtv: FW Reload: Set
DEC IRQ Mask!
  Dec  9 20:13:53 shankly kernel: saa7127: Turn on/off
Output
  Dec  9 20:13:53 shankly kernel: saa7127: Turn off
Video Output
  Dec  9 20:13:53 shankly kernel: saa7127: Disable
Video Output
  Dec  9 20:13:53 shankly kernel: Resetting Firmware
from Dec DMA error!!!
  Dec  9 20:13:53 shankly kernel: ivtv: Preparing for
firmware halt.
  Dec  9 20:13:53 shankly kernel: ivtv: Link List DMA
Error. Result=0x00000013 15296
  Dec  9 20:13:53 shankly kernel: ivtv: Stopping VDM
  Dec  9 20:13:53 shankly kernel: ivtv: Stopping AO
  Dec  9 20:13:53 shankly kernel: ivtv: pinging (?)
APU
  Dec  9 20:13:53 shankly kernel: ivtv: Stopping VPU
  Dec  9 20:13:53 shankly kernel: ivtv: Resetting Hw
Blocks
  Dec  9 20:13:53 shankly kernel: ivtv: Stopping SPU
  Dec  9 20:13:53 shankly kernel: ivtv: Sleeping for
10ms
  Dec  9 20:13:53 shankly kernel: ivtv: Link List DMA
Error. Result=0x00000013 15306
  Dec  9 20:13:53 shankly kernel: ivtv: init Encoder
SDRAM pre-charge
  Dec  9 20:13:53 shankly kernel: ivtv: init Encoder
SDRAM refresh to 1us
  Dec  9 20:13:53 shankly kernel: ivtv: init Decoder
SDRAM pre-charge
  Dec  9 20:13:53 shankly kernel: ivtv: init Decoder
SDRAM refresh to 1us
  Dec  9 20:13:53 shankly kernel: ivtv: Sleeping for
600ms (600 recommended)
  Dec  9 20:13:53 shankly kernel: ivtv: Link List DMA
Error. Result=0x00000013 15316
  Dec  9 20:13:53 shankly kernel: ivtv: Link List DMA
Error. Result=0x00000013 15326
  Dec  9 20:13:53 shankly kernel: ivtv: Link List DMA
Error. Result=0x00000013 15336
  Dec  9 20:13:53 shankly kernel: ivtv: Link List DMA
Error. Result=0x00000013 15346
  Dec  9 20:13:53 shankly kernel: ivtv: Link List DMA
Error. Result=0x00000013 15356
  Dec  9 20:13:53 shankly kernel: ivtv: Link List DMA
Error. Result=0x00000013 15366
  Dec  9 20:13:53 shankly kernel: ivtv: Link List DMA
Error. Result=0x00000013 15376
  Dec  9 20:13:53 shankly kernel: ivtv: Link List DMA
Error. Result=0x00000013 15386
  Dec  9 20:13:53 shankly kernel: ivtv: Link List DMA
Error. Result=0x00000013 15396
  Dec  9 20:13:53 shankly kernel: ivtv: Link List DMA
Error. Result=0x00000013 15406
  Dec  9 20:13:53 shankly kernel: ivtv: Link List DMA
Error. Result=0x00000013 15416
  Dec  9 20:13:53 shankly kernel: ivtv: Link List DMA
Error. Result=0x00000013 15426
  Dec  9 20:13:53 shankly kernel: ivtv: Link List DMA
Error. Result=0x00000013 15436
  [snip]

And here's some console output from mplayer:

  vosub_vidix: Couldn't find working VIDIX driver
 
==========================================================================
  Opening video decoder: [mpegpes] MPEG 1/2 Video
passthrough
  VDec: vo config request - 640 x 480 (preferred csp:
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.
  VDecoder init failed :(
  Opening video decoder: [libmpeg2] MPEG 1/2 Video
decoder libmpeg2-v0.3.1
  Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1
or 2 (libmpeg2))
 
==========================================================================
  Checking audio filter chain for 48000Hz/2ch/16bit ->
48000Hz/2ch/16bit...
  AF_pre: af format: 2 bps, 2 ch, 48000 hz, little
endian signed int 
  AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
  alsa-init: got device=0, subdevice=0
  alsa-init: 1 soundcard found, using: default
  alsa: 48000 Hz/2 channels/4 bpf/65536 bytes
buffer/Signed 16 bit Little Endian
  AO: [alsa] 48000Hz 2ch Signed 16-bit (Little-Endian)
(2 bps)
  Building audio filter chain for 48000Hz/2ch/16bit ->
48000Hz/2ch/16bit...
  Starting playback...
  VDec: vo config request - 640 x 480 (preferred csp:
Planar YV12)
  No accelerated colorspace conversion found
  Could not find matching colorspace - retrying with
-vf scale...
  Opening video filter: [scale]
  VDec: using Planar YV12 as output csp (no 0)
  Movie-Aspect is 1.33:1 - prescaling to correct movie
aspect.
  SwScaler: using unscaled Planar YV12 -> RGB 32-bit
special converter
  VO: [ivtvosd] 640x480 => 640x480 RGB 32-bit 
  size=1228800, ivtv_display359 ct:  0.000    1/  1  
0%  0%  0.0% 0 0 0%
  size=1228800, ivtv_display119 ct:  0.003    2/  2  
0%  0%  0.0% 0 0 0%
  alsa-space: xrun of at least 1457.134 msecs.
resetting stream.0% 0 0 0%
  size=1228800, ivtv_display
  size=1228800, ivtv_display401 ct:  0.010    4/  4  
0%  0%  0.0% 1 0 0%
  size=1228800, ivtv_display404 ct:  0.013    5/  5  
0%  0%  0.0% 2 0 0%
  alsa-space: xrun of at least 1168.915 msecs.
resetting stream.0% 3 0 0%
  size=1228800, ivtv_display
  size=1228800, ivtv_display677 ct:  0.020    7/  7  
0%  0%  0.0% 4 0 0%
  alsa-space: xrun of at least 1189.215 msecs.
resetting stream.0% 5 0 0%
  size=1228800, ivtv_display
  size=1228800, ivtv_display953 ct:  0.027    9/  9  
0%  0%  0.0% 6 0 0%
  alsa-space: xrun of at least 1180.467 msecs.
resetting stream.0% 7 0 0%
  size=1228800, ivtv_display
  size=1228800, ivtv_display228 ct:  0.033   11/ 11  
0%  0%  0.0% 8 0 0%
  [snip]

  (The size=??? and alsa-space log entries play out
slowly (over seconds) until I end the suffering.)

Any idea what the problem may be and how to solve it?

Many thanks!
Gary



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
ivtv-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/ivtv-devel

Reply via email to