Try 3.3s, I've made it now the default to fast stop, and possibly partly
from that before that caused this problem (app not expecting it to decode
all the buffers).  Also I have always suspected the app calling flush
buffers for decoding can't be safe, it's just to do something already done
in the driver, could be a race condition there, where we are told to stop
decoding and while doing that then flushing the buffers in the driver the
app runs flush buffers externally at the exact same time.

Thanks,
Chris
On Wed, Apr 27, 2005 at 02:06:17PM -0700, Louie Ilievski wrote:
> On Wednesday 27 April 2005 12:57 pm, Nick Rosier wrote:
> > Chris,
> >
> > so far I've not noticed any hangs with this driver or 0.3.3q (mainly
> > been playing with the latter one) so that seems a good thing. Been
> > really torturing it; skipping forwards, backwards, FF/RW at different
> > speeds, slowing down, speeding up. Just great so far.
> >
> > But I've noticed a couple of side-effects in MythTV: when pausing,
> > skipping forward, backward etc.. the recording seems to continue for
> > about 1 to 2s before making the requested operation (which can throw
> > you off track, did the remote work?). It's as if it's waiting for it's
> > buffers to drain.
> > Simular, when you exit watching a recording, it takes a couple of
> > seconds and the OSD doesn't display it's saving the current position.
> >
> > Major step forward; the (random) hangs were much more annoying than this is
> > :-)
> 
> I'm seeing similar results.  Can't get it to hang at this point, but there is 
> that delay from flushing the buffers.  Things are looking much better, Chris. 
>  
> One thing to point out in addition to the pause "lag" and such.  I was doing 
> a RW at 3x for a little bit, and then looked away to talk to my roommate for 
> a second.  When I looked back, the picture was tearing, and then started 
> showing more glitches, and finally went to a full screen of just a hot pink 
> color.  I could still resume playback and such, but only the sound came 
> through, while the screen stayed pink.  Exiting and entering a new recording 
> doesn't fix it.  Looks like only a reboot or re-load of the module (which I 
> can't do because of ivtv-fb) fixes it.  Here's my dmesg output (using 
> 0.3.3r):
> 
> ivtv: DEC STOP: buffers have 0x00000000 bytes left
> ivtv: DEC STOP: buffers have 0x00000000 bytes left
> ivtv: DEC: Pause Error, Decoder isn't running
> ivtv: DEC STOP: buffers have 0x00000000 bytes left
> ivtv: DEC STOP: buffers have 0x00000000 bytes left
> ivtv: DEC STOP: buffers have 0x00000000 bytes left
> ivtv: DEC STOP: buffers have 0x00000000 bytes left
> ivtv: DEC: Pause Error, Decoder isn't running
> ivtv: DEC: Pause Error, Decoder isn't running
> ivtv: DEC STOP: buffers have 0x00000000 bytes left
> ivtv: DEC STOP: buffers have 0x00000000 bytes left
> ivtv: DEC: Pause Error, Decoder isn't running
> ivtv: DEC STOP: buffers have 0x00000000 bytes left
> saa7115: decoder set picture bright=127 contrast=63 saturation=63 hue=0
> saa7115: decoder set picture bright=127 contrast=63 saturation=63 hue=0
> saa7115: decoder set picture bright=127 contrast=63 saturation=63 hue=0
> saa7115: decoder set picture bright=127 contrast=63 saturation=63 hue=0
> saa7115: decoder set size
> saa7115: decoder disable output
> saa7115: decoder enable output
> ivtv: DEC STOP: buffers have 0x00000000 bytes left
> cx25840: decoder set picture bright=127 contrast=63 saturation=63 hue=0
> cx25840: decoder set picture bright=127 contrast=63 saturation=63 hue=0
> cx25840: decoder set picture bright=127 contrast=63 saturation=63 hue=0
> cx25840: decoder set picture bright=127 contrast=63 saturation=63 hue=0
> cx25840: decoder set size 480x480 (from 720x480) -> scale  524288x65536, 
> filter 0
> cx25840: decoder disable output
> cx25840: decoder enable output
> ivtv: DEC STOP: buffers have 0x00000000 bytes left
> saa7115: decoder set picture bright=127 contrast=63 saturation=63 hue=0
> saa7115: decoder set picture bright=127 contrast=63 saturation=63 hue=0
> saa7115: decoder set picture bright=127 contrast=63 saturation=63 hue=0
> saa7115: decoder set picture bright=127 contrast=63 saturation=63 hue=0
> saa7115: decoder set size
> saa7115: decoder disable output
> saa7115: decoder enable output
> ivtv: DEC STOP: buffers have 0x00000000 bytes left
> 
> You can see the cx25840 doing stuff there too because I went into LiveTV and 
> switched tuners from the 350 to the 150 and then back to see if anything 
> changed, but it didn't (although I didn't really expect it to, the decoder is 
> the problem here).
> 
> Anyway, great job, things are definitely getting there.  Hope this info helps!
> 
> ~Lou



-- 
---
 Chris Kennedy / [EMAIL PROTECTED]
  Engineer KMOS-TV/KTBG-FM
  Broadcasting Services Department
  Central Missouri State University


-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id=105hix
_______________________________________________
ivtv-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ivtv-devel

Reply via email to