On Fri, 2008-11-07 at 02:15 +0100, . . wrote:
> Using this v4l-dvb revision: 37d8f8fb993a
> It seems much less stable then this revision: 780e1a52449f

*sigh*

The v4l-dvb maintainer went and pulled two additional fixes that I
didn't ask him to pull from my cx18-bugfix repo.  The 2 fixes in
question improve some buffer handling, but make dual analog and digital
capture worse - that's why I hadn't asked for them to be pulled. :(

Revision dc710bf56755 should be the last v4l-dvb revision with
performance that you're used to.



My latest in 

http://linuxtv.org/hg/~awalls/cx18-bugfix

will also exhibit the dmesgs like below for dual capture, but I've seen
MythTV recover when it automatically closes and reopens streams.
(Something I don't recall seeing before.)

FWIW, single analog or digital capture is improved with the very latest
changes in my cx18-bugfix repo.  Acknowledgments back to the CX23418
encoder unit are now working properly, we sleep instead of polling while
waiting for responses to commands from the encoder, outgoing commands to
the encoder from multiple streams now can't stomp on each other, and
digital capture buffer pushes up to the DVB subsystem were moved out of
the interrupt handler into a worker thread.


The dual capture problem is actually the primary problem I'm trying to
solve right now along with Raw VBI buffer stalls.  I've been fixing up
mailbox and interrupt handling problems as I noticed them, as I try to
find and fix the root cause of buffer mishandling problems between
analog and digital streams.

I hope to find the root cause soon.  It's just tedious as I have to fix
everything along the way that I find that could contribute to the
problem.


Regards,
Andy


> If it helps, here is the output from dmesg:
> 
> cx18-0: Cannot find buffer 26 for stream encoder MPEG
> cx18-0: Could not find buf 26 for stream encoder MPEG
> cx18-0: Cannot find buffer 46 for stream encoder MPEG
> cx18-0: Could not find buf 46 for stream encoder MPEG
> cx18-0: Cannot find buffer 0 for stream encoder MPEG
> cx18-0: Could not find buf 0 for stream encoder MPEG
> cx18-0: mb CX18_CPU_DE_SET_MDL busy
> cx18-0: mb CX18_CPU_DE_SET_MDL busy
> cx18-0: mb CX18_CPU_DE_SET_MDL busy
> cx18-0: mb CX18_CPU_DE_SET_MDL busy
> cx18-0: mb CX18_CPU_DE_SET_MDL busy
> cx18-0: mb CX18_CPU_DE_SET_MDL busy
> cx18-0: mb CX18_CPU_DE_SET_MDL busy
> cx18-0: mb CX18_CPU_DE_SET_MDL busy
> cx18-0: mb CX18_CPU_DE_SET_MDL busy
> cx18-0: mb CX18_CPU_DE_SET_MDL busy
> cx18-0: mb CX18_CPU_DE_SET_MDL busy
> cx18-0: mb CX18_CPU_DE_SET_MDL busy
> cx18-0: mb CX18_CPU_DE_SET_MDL busy
> cx18-0: mb CX18_CPU_DE_SET_MDL busy
> cx18-0: mb CX18_CPU_DE_SET_MDL busy
> cx18-0: mb CX18_CPU_DE_SET_MDL busy
> cx18-0: mb CX18_CPU_DE_SET_MDL busy
> cx18-0: mb CX18_CPU_DE_SET_MDL busy
> cx18-0: mb CX18_CPU_DE_SET_MDL busy
> cx18-0: mb CX18_CPU_DE_SET_MDL busy
> cx18-0: mb CX18_CPU_DE_SET_MDL busy
> cx18-0: mb CX18_CPU_DE_SET_MDL busy
> cx18-0: mb CX18_CPU_DE_SET_MDL busy
> cx18-0: mb CX18_CPU_DE_SET_MDL busy
> cx18-0: mb CX18_CPU_DE_SET_MDL busy
> cx18-0: mb CX18_CPU_DE_SET_MDL busy
> cx18-0: mb CX18_CPU_DE_SET_MDL busy
> cx18-0: mb CX18_CPU_DE_SET_MDL busy
> cx18-0: Cannot find buffer 94 for stream TS
> cx18-0: Could not find buf 94 for stream TS
> cx18-0: mb CX18_CPU_DE_SET_MDL busy
> cx18-0: mb CX18_CPU_DE_SET_MDL busy
> cx18-0: Cannot find buffer 23 for stream encoder MPEG
> cx18-0: Could not find buf 23 for stream encoder MPEG
> cx18-0: Cannot find buffer 57 for stream encoder MPEG
> cx18-0: Could not find buf 57 for stream encoder MPEG
> cx18-0: Cannot find buffer 17 for stream encoder MPEG
> cx18-0: Could not find buf 17 for stream encoder MPEG
> cx18-0: Cannot find buffer 55 for stream encoder MPEG
> cx18-0: Could not find buf 55 for stream encoder MPEG
> cx18-0: mb CX18_CPU_DE_SET_MDL busy
> cx18-0: mb CX18_CPU_DE_SET_MDL busy
> cx18-0: mb CX18_CPU_DE_SET_MDL busy
> cx18-0: mb CX18_CPU_DE_SET_MDL busy
> cx18-0: mb CX18_CPU_DE_SET_MDL busy
> cx18-0: mb CX18_CPU_DE_SET_MDL busy
> cx18-0: mb CX18_CPU_DE_SET_MDL busy
> cx18-0: mb CX18_CPU_DE_SET_MDL busy
> cx18-0: mb CX18_CPU_DE_SET_MDL busy
> cx18-0: mb CX18_CPU_DE_SET_MDL busy
> cx18-0: Cannot find buffer 74 for stream TS
> cx18-0: Could not find buf 74 for stream TS
> cx18-0: Cannot find buffer 93 for stream TS
> cx18-0: Could not find buf 93 for stream TS
> cx18-0: Cannot find buffer 82 for stream TS
> cx18-0: Could not find buf 82 for stream TS
> cx18-0: Cannot find buffer 87 for stream TS
> cx18-0: Could not find buf 87 for stream TS
> cx18-0: Cannot find buffer 75 for stream TS
> cx18-0: Could not find buf 75 for stream TS
> cx18-0: Cannot find buffer 71 for stream TS
> cx18-0: Could not find buf 71 for stream TS
> cx18-0: Cannot find buffer 70 for stream TS
> cx18-0: Could not find buf 70 for stream TS
> cx18-0: Cannot find buffer 81 for stream TS
> cx18-0: Could not find buf 81 for stream TS
> cx18-0: Cannot find buffer 83 for stream TS
> cx18-0: Could not find buf 83 for stream TS
> cx18-0: Cannot find buffer 89 for stream TS
> cx18-0: Could not find buf 89 for stream TS
> cx18-0: Cannot find buffer 93 for stream TS
> cx18-0: Could not find buf 93 for stream TS
> cx18-0: Cannot find buffer 90 for stream TS
> cx18-0: Could not find buf 90 for stream TS
> cx18-0: Cannot find buffer 66 for stream TS
> cx18-0: Could not find buf 66 for stream TS
> 


_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users

Reply via email to