On Saturday 16 December 2006 16:50, Preet Khalsa wrote:
> On Sat, 2006-16-12 at 07:07 -0800, Erik G. Burrows wrote:
> > > Mythtv has a design flaw in that it does lots of database inserts
> > > in the same thread that is reading from the encoder. These can
> > > pause mythtv long enought for all your buffers to fill. Since it
> > > doesn't bother many people, they don't seem too keen to fix it.
> > >
> > > If you don't mind compiling your own mythtv, there's a patch at
> > > http://svn.mythtv.org/trac/ticket/1660 that fixes the defect. It
> > > may fix your problem.
> >
> > One might argue that ivtv's behavior of locking up if the reader
> > application is to slow is a design flaw also. Is this something
> > that can be corrected?
>
> Interesting point. My hd3000 is generating 4x the amount of data and
> never freezes out Myth. This tells me it might be the HP DMA
> functions (whether it is IVTV or firmware doesn't matter). Is it
> possible to set the card to not use DMA? I use an AMD x2 and have a
> whole other processor available if needed.
I suspect that the true reason is that the current ivtv drivers use
kernel threads for buffer/DMA handling. In the new ivtv version in the
subversion trunk this is all done in the interrupt handler and should
be much more responsive. I'm not certain, of course, but it makes
sense.
With a bit of luck I should have the trunk driver ready for serious beta
testing just before Christmas. There is really only one more test that
I need to do (handling of DMA errors) before it is ready for
prime-time.
Hans
>
> Preet
>
> > -Erik G. Burrows
> >
> > > --
> > > Tony Lill, [EMAIL PROTECTED]
> > > President, A. J. Lill Consultants fax/data (519) 650 3571
> > > 539 Grand Valley Dr., Cambridge, Ont. N3H 2S2 (519) 241 2461
> > > --------------- http://www.ajlc.waterloo.on.ca/ ----------------
> > > "Welcome to All Things UNIX, where if it's not UNIX, it's CRAP!"
> > >
> > > _______________________________________________
> > > ivtv-users mailing list
> > > [email protected]
> > > http://ivtvdriver.org/mailman/listinfo/ivtv-users
> >
> > _______________________________________________
> > ivtv-users mailing list
> > [email protected]
> > http://ivtvdriver.org/mailman/listinfo/ivtv-users
>
> _______________________________________________
> ivtv-users mailing list
> [email protected]
> http://ivtvdriver.org/mailman/listinfo/ivtv-users
_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users