Try this patch, actually anyone with problems freezing in Myth, Decoding/OSD
interactions. This works off an Idea from John Harvey, and maybe will fix
problems, since you can trigger the problem so easily this is really good to
test, please let me know how it works and if it's better/worse.
diff -ru ivtv-0.3.2v/driver/ivtv-kthreads.c ivtv-0.3.2w/driver/ivtv-kthreads.c
--- ivtv-0.3.2v/driver/ivtv-kthreads.c 2005-04-05 10:37:26.000000000 -0500
+++ ivtv-0.3.2w/driver/ivtv-kthreads.c 2005-04-13 09:33:14.000000000 -0500
@@ -905,8 +905,12 @@
/* Unlock stream */
clear_bit(IVTV_F_S_DMAP, &stream->s_flags);
- /* Wake up next OSD/DEC DMA in wait */
- wake_up(&stream->waitq);
+ /* Wake up next OSD if no decoder DMA needed */
+ if (!test_bit(IVTV_F_S_NEEDS_DATA, &stream->s_flags))
+ wake_up(&stream->udma.waitq);
+ else /* Wake up next DEC DMA in wait */
+ wake_up(&stream->waitq);
+
pio_skip:
/* Decoder PIO Mode */
if (itv->dma_cfg.dec_pio) {
diff -ru ivtv-0.3.2v/driver/ivtv-osd.c ivtv-0.3.2w/driver/ivtv-osd.c
--- ivtv-0.3.2v/driver/ivtv-osd.c 2005-04-06 12:03:30.000000000 -0500
+++ ivtv-0.3.2w/driver/ivtv-osd.c 2005-04-13 09:32:29.000000000 -0500
@@ -826,8 +826,11 @@
clear_bit(DMA_IN_USE, &stream->udma.u_flags);
clear_bit(IVTV_F_S_DMAP, &stream->s_flags);
- /* Wake up next OSD/DEC DMA in wait */
- wake_up(&stream->udma.waitq);
+ /* Wake up next OSD if no decoder DMA needed */
+ if (!test_bit(IVTV_F_S_NEEDS_DATA, &stream->s_flags))
+ wake_up(&stream->udma.waitq);
+ else /* Wake up next DEC DMA in wait */
+ wake_up(&stream->waitq);
return ret;
}
Thanks,
Chris
On Wed, Apr 13, 2005 at 10:12:48AM -0400, Birrane, Edward J. wrote:
> Hey all,
>
> Last night, while fast forwarding through a recorded show, my PVR-350
> locked up and started spitting
>
> "1000 ms time out waiting for firmware" and
> "Failed api call 0x00000044 with result 0xfffffff0"
>
> errors out.
>
> I'm running MythTV on FC3 (2.6.10-1.770_14.rhfc3.at), and ivtv 0.3.2.s
> and used Jarod's guide for the install. I've also done the suggested
> tweak of making the power button kill the mythfrontend and restart it.
> The problem was, I could kill and restart the mythfrontend, but the
> pvr-350 was just not going to work and I eventually had to reboot, which
> is a shame because I had been running for something like 2 weeks with no
> problems.
>
> My question is, when the pvr gets so locked up, is there a set of
> ivtvctl calls that can be made to reset it? I'd love to just add some
> ctl calls to my power button script to re-set the tuner on "soft
> restart". I can't unload ivtv or ivtv-fb because it is in use, as I use
> the PVR-350 tv out for my screen.
>
> Any suggestions would be appreciated.
>
> Also, do any driver versions support stable commercial skipping? I
> need to FF through commercials because my 350 locks up pretty reliably
> after 2 or 3 commercial skips.
>
> -Ed
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
> _______________________________________________
> ivtv-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ivtv-devel
--
---
Chris Kennedy / [EMAIL PROTECTED]
Engineer KMOS-TV/KTBG-FM
Broadcasting Services Department
Central Missouri State University
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
ivtv-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ivtv-devel