Many thanks to Hans Verkuil and the others who have improved the driver so much over the past couple years.
I have been stuck running version 0.10-114F on a PVR-350 for the longest time because I couldn't get the more recent versions to run reliably. Part of this was because I didn't know about the tuner renaming in the 0.4.1+ versions. Earlier this week, I took the time to update everything and get it all running on the latest driver 0.4.6 (no DMA patches).
It was beautiful to have such crisp response to jumping forward and backward in MythTV ( 0.18.2 patch build). Even the FF and RW functionality was working.
Alas, I'm having troubles with the new driver which I think are a result of running on an SMP machine. When I've tried to upgrade in the past, I've run into similar issues and hoped they might have been resolved in the latest versions. I've read a few of the threads talking about issues with SMP, so I have rebuilt my kernel without SMP support to see if that makes a difference. So far, the non-SMP kernel has run all weekend without significant problem.
I saw some posts from November 2005 where Hans suggested someone switch to a non-SMP kernel. Do we have any ideas about what might be causing these problems on SMP systems? It seems like it might be related to the DMA issue where memory is getting stomped on, but I really have no idea.
Below is the first ivtv error reported in the logs after running for about 18 hours with a few recordings and playbacks in between. Obviously the request for 2088994437 buffers is excessive and the fact it could get 16 million is impressive.
Sep 14 14:37:45 divo kernel: ivtv0 warning: Needed 2088994437 bufs for encoder \
MPEG stream, received 16777216 (buffers free 0, dma 0, full 0)
After this error, the log is filled with errors like these repeating over and over.
Sep 14 14:37:50 divo kernel: ivtv0 warning: Timeout waiting for data! Encoder b\
uffers have 0x00000000 bytes trans_id = 14181.
Sep 14 14:37:50 divo kernel: ivtv0 warning: Check digitizer Sync
Sep 14 14:37:50 divo kernel: ivtv0 warning: Trying to restart capture.
Sep 14 14:37:51 divo kernel: ivtv0 warning: Timeout waiting for data! Encoder b\
uffers have 0x00000000 bytes trans_id = 0.
System Specifics:
Dell Precision Workstation 210
2 X 800MHz Pentium III (Coppermine)
256MB Memory
PVR-350 using TV-Out with XDriver.
MythTV 0.18.2 (SVN 11204)
Sep 13 20:11:26 divo kernel: ivtv: ==================== START INIT IVTV ======\
==============
Sep 13 20:11:26 divo kernel: ivtv: version 0.4.6 (tagged release) loading
Sep 13 20:11:26 divo kernel: ivtv: Linux version: 2.6.5-7.202.7-smp SMP 586 RE\
GPARM gcc-3.3
Sep 13 20:11:26 divo kernel: ivtv: In case of problems please include the debu\
g info between
Sep 13 20:11:26 divo kernel: ivtv: the START INIT IVTV and END INIT IVTV lines\
, along with
Sep 13 20:11:26 divo kernel: ivtv: any module options, when mailing the ivtv-u\
sers mailinglist.
Sep 13 20:11:26 divo kernel: ivtv0: Autodetected WinTV PVR 350 card (cx23415 ba\
sed)
Sep 13 20:11:26 divo kernel: tveeprom: module not supported by Novell, setting \
U taint flag.
Sep 13 20:11:26 divo kernel: tveeprom: Ignoring new-style parameters in presenc\
e of obsolete ones
Sep 13 20:11:26 divo kernel: tveeprom: ivtv version
Sep 13 20:11:26 divo kernel: tveeprom: Hauppauge: model = 48132, rev = J323, se\
rial# = 7113971
Sep 13 20:11:26 divo kernel: tveeprom: tuner = Philips FM1236 (idx = 23, type =\
2)
Sep 13 20:11:26 divo kernel: tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2\
= 0x00001000)
Sep 13 20:11:26 divo kernel: tveeprom: audio processor = MSP4448 (type = 1b)
Sep 13 20:11:26 divo kernel: tveeprom: decoder processor = SAA7115 (type = 13)
Sep 13 20:11:26 divo kernel: ivtv0: i2c attach to card #0 ok [client=tveeprom, \
addr=50]
Sep 13 20:11:26 divo kernel: tuner: module not supported by Novell, setting U t\
aint flag.
Sep 13 20:11:26 divo kernel: tuner: Ignoring new-style parameters in presence o\
f obsolete ones
Sep 13 20:11:26 divo kernel: tuner (ivtv): chip found at addr 0xc2 i2c-bus ivtv\
i2c driver #0
Sep 13 20:11:26 divo kernel: ivtv0: i2c attach to card #0 ok [client=(tuner uns\
et), addr=61]
Sep 13 20:11:26 divo kernel: saa7115: module not supported by Novell, setting U\
taint flag.
Sep 13 20:11:26 divo kernel: saa7115: Ignoring new-style parameters in presence\
of obsolete ones
Sep 13 20:11:26 divo kernel: saa7115 0-0021: ivtv driver
Sep 13 20:11:26 divo kernel: saa7115 0-0021: saa7115 found @ 0x42 (ivtv i2c dri\
ver #0)
Sep 13 20:11:26 divo kernel: ivtv0: i2c attach to card #0 ok [client=saa7115, a\
ddr=21]
Sep 13 20:11:26 divo kernel: saa7127: module not supported by Novell, setting U\
taint flag.
Sep 13 20:11:26 divo kernel: saa7127: Ignoring new-style parameters in presence\
of obsolete ones
Sep 13 20:11:26 divo kernel: saa7127 0-0044: ivtv driver
Sep 13 20:11:26 divo kernel: saa7127 0-0044: saa7127 found @ 0x88 (ivtv i2c dri\
ver #0)
Sep 13 20:11:26 divo kernel: ivtv0: i2c attach to card #0 ok [client=saa7127, a\
ddr=44]
Sep 13 20:11:26 divo kernel: msp3400: module not supported by Novell, setting U\
taint flag.
Sep 13 20:11:26 divo kernel: msp3400: Ignoring new-style parameters in presence\
of obsolete ones
Sep 13 20:11:26 divo kernel: msp3400 0-0040: ivtv driver
Sep 13 20:11:26 divo kernel: msp3400 0-0040: chip=MSP4448G-A2 +nicam +simple +s\
impler +radio mode=simpler
Sep 13 20:11:26 divo kernel: ivtv0: i2c attach to card #0 ok [client=MSP4448G-A\
2, addr=40]
Sep 13 20:11:26 divo kernel: msp3400 0-0040: msp34xxg daemon started
Sep 13 20:11:26 divo kernel: tda9887: module not supported by Novell, setting U\
taint flag.
Sep 13 20:11:26 divo kernel: tda9887: Ignoring new-style parameters in presence\
of obsolete ones
Sep 13 20:11:26 divo kernel: ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 \
bytes)
Sep 13 20:11:26 divo kernel: ivtv0: loaded v4l-cx2341x-dec.fw firmware (262144 \
bytes)
Sep 13 20:11:26 divo kernel: ivtv0: Encoder revision: 0x02050032
Sep 13 20:11:26 divo kernel: ivtv0: Decoder revision: 0x02020023
Sep 13 20:11:26 divo kernel: ivtv0: Allocate DMA encoder MPEG stream: 128 x 327\
68 buffers (4096KB total)
Sep 13 20:11:26 divo kernel: ivtv0: Allocate DMA encoder YUV stream: 194 x 1080\
0 buffers (2048KB total)
Sep 13 20:11:26 divo kernel: ivtv0: Allocate DMA encoder VBI stream: 120 x 1747\
2 buffers (2048KB total)
Sep 13 20:11:26 divo kernel: ivtv0: Allocate DMA encoder PCM audio stream: 455 \
x 4608 buffers (2048KB total)
Sep 13 20:11:26 divo kernel: ivtv0: Create encoder radio stream
Sep 13 20:11:26 divo kernel: ivtv0: Allocate DMA decoder MPEG stream: 16 x 6553\
6 buffers (1024KB total)
Sep 13 20:11:26 divo kernel: ivtv0: Allocate DMA decoder VBI stream: 512 x 2048\
buffers (1024KB total)
Sep 13 20:11:26 divo kernel: ivtv0: Create decoder VOUT stream
Sep 13 20:11:26 divo kernel: ivtv0: Allocate DMA decoder YUV stream: 24 x 43200\
buffers (1024KB total)
Sep 13 20:11:26 divo kernel: ivtv0: loaded v4l-cx2341x-init.mpg firmware (15564\
8 bytes)
Sep 13 20:11:26 divo kernel: tuner: type set to 2 (Philips NTSC (FI1236,FM1236 \
and compatibles)) by ivtv i2c driver #0
Sep 13 20:11:26 divo kernel: ivtv0: Initialized WinTV PVR 350, card #0
Sep 13 20:11:26 divo kernel: ivtv: ==================== END INIT IVTV ======\
==============
Sep 13 20:11:26 divo kernel: ivtv_fb: module not supported by Novell, setting U\
taint flag.
Sep 13 20:11:26 divo kernel: ivtv0-osd: Framebuffer module loaded (attached to \
ivtv card id 0)
Sep 13 20:11:26 divo kernel: ivtv0-osd: screen coords: [0 0] -> [720 480]
Sep 13 20:11:26 divo kernel: ivtv0-osd: original global alpha = 208
Sep 13 20:11:26 divo kernel: ivtv0-osd: current OSD state = 39
Sep 13 20:11:26 divo kernel: ivtv0-osd: new global alpha = 208 (1 255 0)
Sep 13 20:11:26 divo kernel: ivtv0-osd: framebuffer at 0xed510000, mapped to 0x\
d39d5000, size 1665k
Sep 13 20:11:26 divo kernel: ivtv0-osd: mode is 720x480x32, linelength=2880
Sep 13 20:11:26 divo kernel: ivtv0-osd: fb1: cx23415 TV out frame buffer device
Sep 13 20:11:26 divo kernel: ivtv0: Allocate DMA decoder OSD stream: 16 x 65536\
buffers (1024KB total)
Thanks for any help or suggestions you can provide.
-Dave Smith
_______________________________________________ ivtv-users mailing list [email protected] http://ivtvdriver.org/mailman/listinfo/ivtv-users
