On Sat, 2008-11-08 at 06:14 +0100, . . wrote: > I tried: http://linuxtv.org/hg/~awalls/cx18-bugfix > > Analog NTSC capture didn't seem to work at all. > > cx18-0: loaded v4l-cx23418-apu.fw firmware V00120000 (141200 bytes) > cx18-0: loaded v4l-cx23418-cpu.fw firmware (158332 bytes) > cx18-0: FW version: 0.0.74.0 (Release 2007/03/12) > cx18-0: loaded v4l-cx23418-dig.fw firmware (16382 bytes) > cx18-0: sending CX18_CPU_CAPTURE_STOP interrupted waiting for RPU to respond > cx18-0: sending CX18_CPU_DE_RELEASE_MDL interrupted waiting for RPU to respond > cx18-0: sending CX18_DESTROY_TASK interrupted waiting for RPU to respond > cx18-0: Got DMA done notification for unknown/inactive handle 0 > ... > cx18-0: Got DMA done notification for unknown/inactive handle 0
I don't get some of this behavior on my dual core setup. But, OK. very time we get a "Got DMA done notification for unknown/inactive handle" or "Cannot find buffer" The driver doesn't put the buffer back buffer back and account for it properly. I was going to work on that this weekend. I know what causes a slew of "Got DMA done notification for unknown/inactive handle": the call to CX18_CPU_DE_RELEASE_MDL asks the firmware to release all the buffers for a stream and they come back in a burst. There are some waits in there so we don't close the stream before they get back, but those waits are all interruptable. Having the TS and MPEG capture open simultaneously probably is contributing. I'll work on that too. Let me ask this: If you stop the mythbackend, unload the driver, and reload the driver, do captures with "mplayer /dev/videoX -cache 16384" proceed properly? (My Mythbackend often has the TS open in the background to scan for EIT data). Regards, Andy > bttv: driver version 0.9.17 loaded > bttv: using 8 buffers with 2080k (520 pages) each for capture > cx18-0: Got DMA done notification for unknown/inactive handle 0 > ... > cx18-0: Got DMA done notification for unknown/inactive handle 0 > cx88/0: cx2388x v4l2 driver version 0.0.6 loaded > cx18-0: Got DMA done notification for unknown/inactive handle 0 > ... > cx18-0: Got DMA done notification for unknown/inactive handle 0 > ivtv0: Loaded v4l-cx2341x-enc.fw firmware (376836 bytes) > ivtv0: Encoder revision: 0x02060039 > cx18-0: Cannot find buffer 63 for stream encoder MPEG > ... > cx18-0: Could not find buf 92 for stream encoder MPEG > cx18-0: Cannot find buffer 71 for stream TS > ... > cx18-0: Could not find buf 75 for stream TS > > _______________________________________________ ivtv-users mailing list [email protected] http://ivtvdriver.org/mailman/listinfo/ivtv-users
