On Sat, 2008-02-16 at 19:44 -0500, Andy Walls wrote: > > > /var/log/mythtv/mythbackend.log contains a cycling of these messages: > > > > ... > > 2008-02-16 15:59:32.445 MPEGRec(/dev/video0) Error: select timeout - > > ivtv driver has stopped responding > > 2008-02-16 15:59:38.052 MPEGRec(/dev/video0) Error: select timeout - > > ivtv driver has stopped responding > > ... > > > In my Nov 2007 version of MythTV, that timeout is 5 seconds. Every time > you see that message MythTV has waited for 5 seconds for the cx18 driver > to report it has data ready to read. There's a driver/kernel problem. > The logic in the driver to support select() by the kernel is implemented > in: cx18-fileops.c: cx18_v4l2_enc_poll() > > > > dmesg contains a large number of these messages: > > > > cx18-0 file: Encoder poll started capture > > cx18-0 file: open encoder MPEG > > cx18-0 file: Encoder poll started capture > > cx18-0 file: open encoder MPEG > > When MythTV times out on the select(), it closes the fd opened > on /dev/videoN and reopens it on the next attempt to get video data. > These messages reflect that behavior of MythTV and of the cx18 driver > allowing select() to restart a capture in > cx18-fileops.c:cx18_v4l2_enc_poll() > > > > The big question is why does the select() on a cx18 device node when > video data should be there? I guess I'm going to have to start > debugging the IRQ and DMA to see when/why the data stops flowing from > the encoder chip. > > I still get the occasional select() timeout and freeze, but it has been > usually resolving itself. >
I can't even get the device to play in mplayer (mplayer /dev/video1). I can shunt it to a file (dd if=/dev/video1 of=vid1), wait a few seconds and then mplayer the file and it works. There is the matter of the sound being at half the level of the pvr250 but I can crank up the amplifier for now. > > > Fedora 8, single Pentium 4, 2.6G, 2G RAM, cx18 data: > > I have dual core: > > $ grep Core /proc/cpuinfo > model name : AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ > model name : AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ > > so that might make some difference in our results. > > -Andy > model name : AMD Athlon(tm) 64 Processor 3000+ cpu MHz : 1808.795 > > _______________________________________________ > ivtv-devel mailing list > [email protected] > http://ivtvdriver.org/mailman/listinfo/ivtv-devel _______________________________________________ ivtv-devel mailing list [email protected] http://ivtvdriver.org/mailman/listinfo/ivtv-devel
