On Sunday 19 November 2006 10:11, Michel Verbraak wrote:
> Hans,
>
> Update to previous mail. Started watching livetv again out of pvr-350
> with myth and the picture froze completely now.

I'm not going to look into this. I'm reworking the whole IRQ and DMA 
handling in the ivtv trunk version. When that is done I'll look into 
problems like this. I actually intend to see if I can get the last 
remaining issues solved today, so that I hope you can start testing 
soon with the ivtv trunk.

Basically the current ivtv driver has certain design flaws which makes 
it very hard to do DMA handling correctly, especially when multiple 
streams are in running at the same time.

Thanks,

        Hans

>
> syslog messages:
> Nov 18 22:12:53 garfield kernel: ivtv1 warning: DMA_TO: REDO DMA took
> too many tries.
> Nov 18 22:12:53 garfield kernel: ivtv1-osd warning: Error OSD User
> DMA Nov 18 22:13:00 garfield kernel: ivtv1 warning: DMA_TO: REDO DMA
> took too many tries.
> Nov 18 22:13:00 garfield kernel: ivtv1-osd warning: Error OSD User
> DMA Nov 18 22:13:17 garfield kernel: ivtv1 warning: DMA_TO: REDO DMA
> took too many tries.
> Nov 18 22:13:17 garfield kernel: ivtv1-osd warning: Error OSD User
> DMA Nov 18 22:14:17 garfield kernel: ivtv1 warning: DMA_TO: REDO DMA
> took too many tries.
> Nov 18 22:14:17 garfield kernel: ivtv1-osd warning: Error OSD User
> DMA Nov 18 22:15:02 garfield kernel: ivtv1 warning: DMA_TO: REDO DMA
> took too many tries.
> Nov 18 22:15:02 garfield kernel: ivtv1-osd warning: Error OSD User
> DMA Nov 18 22:15:06 garfield kernel: ivtv1 warning: DMA_TO: REDO DMA
> took too many tries.
> Nov 18 22:15:06 garfield kernel: ivtv1-osd warning: Error OSD User
> DMA Nov 18 22:15:20 garfield kernel: ivtv1 warning: DMA_TO: REDO DMA
> took too many tries.
> Nov 18 22:15:20 garfield kernel: ivtv1-osd warning: Error OSD User
> DMA Nov 18 22:15:40 garfield kernel: ivtv1 warning: DMA_TO: REDO DMA
> took too many tries.
> Nov 18 22:15:40 garfield kernel: ivtv1-osd warning: Error OSD User
> DMA Nov 18 22:16:38 garfield kernel: ivtv1 warning: DMA_TO: REDO DMA
> took too many tries.
> Nov 18 22:16:38 garfield kernel: ivtv1-osd warning: Error OSD User
> DMA Nov 18 22:19:31 garfield kernel: ivtv1 warning: ENC: REG_DMAXFER
> 2 wait failed
> Nov 18 22:19:31 garfield kernel: ivtv1 warning: ENC: (0) DMA Error
> 0x00000001 00000001
> Nov 18 22:19:31 garfield kernel: ivtv1 warning: DMA_TO: REG_DMAXFER
> wait failed
> Nov 18 22:19:31 garfield kernel: ivtv1 warning: ENC: REG_DMAXFER 2
> wait failed
> Nov 18 22:19:31 garfield kernel: ivtv1 warning: ENC: (1) DMA Error
> 0x00000000 00000001
> Nov 18 22:19:31 garfield kernel: ivtv1 warning: DMA_TO: REG_DMAXFER 2
> wait failed
> Nov 18 22:19:31 garfield kernel: ivtv1 warning: ENC: REG_DMAXFER 2
> wait failed
> Nov 18 22:19:31 garfield kernel: ivtv1 warning: ENC: (2) DMA Error
> 0x00000000 00000001
> Nov 18 22:19:31 garfield kernel: ivtv1 warning: ENC: REG_DMAXFER 2
> wait failed
> Nov 18 22:19:31 garfield kernel: ivtv1 warning: ENC: (3) DMA Error
> 0x00000000 00000001
> Nov 18 22:19:31 garfield kernel: ivtv1 warning: ENC: REDO DMA took
> too many tries.
> Nov 18 22:19:31 garfield kernel: ivtv1 warning: Error Encoder DMA
>
> And in mythfrontend:
> 2006-11-18 22:12:35.868 TV: Attempting to change from None to
> WatchingLiveTV 2006-11-18 22:12:35.869 Using protocol version 31
> 2006-11-18 22:12:37.418 DPMS Deactivated
> 2006-11-18 22:12:37.572 Using the PVR-350 decoder/TV-out
> 2006-11-18 22:12:38.989 Realtime priority would require SUID as root.
> 2006-11-18 22:12:38.990 TV: Changing from None to WatchingLiveTV
> 2006-11-18 22:13:32.275
> RingBuf(/data2/opnames/1007_20061118221243.mpg): Waited 1.0 seconds
> for data to become available...
> 2006-11-18 22:13:32.324 Checking to see if there's a new livetv
> program to switc h to..
> 2006-11-18 22:13:33.335
> RingBuf(/data2/opnames/1007_20061118221243.mpg): Waited 2.0 seconds
> for data to become available...
> 2006-11-18 22:13:33.357 Checking to see if there's a new livetv
> program to switc h to..
> 2006-11-18 22:13:35.376
> RingBuf(/data2/opnames/1007_20061118221243.mpg): Waited 4.0 seconds
> for data to become available...
> 2006-11-18 22:13:35.376 Checking to see if there's a new livetv
> program to switc h to..
> 2006-11-18 22:19:31.971
> RingBuf(/data2/opnames/1007_20061118221243.mpg): Waited 1.0 seconds
> for data to become available...
> 2006-11-18 22:19:31.972 Checking to see if there's a new livetv
> program to switc h to..
> 2006-11-18 22:19:32.983
> RingBuf(/data2/opnames/1007_20061118221243.mpg): Waited 2.0 seconds
> for data to become available...
> 2006-11-18 22:19:32.983 Checking to see if there's a new livetv
> program to switc h to..
> 2006-11-18 22:19:35.001
> RingBuf(/data2/opnames/1007_20061118221243.mpg): Waited 4.0 seconds
> for data to become available...
> 2006-11-18 22:19:35.001 Checking to see if there's a new livetv
> program to switc h to..
> 2006-11-18 22:19:38.779 TV: Attempting to change from WatchingLiveTV
> to None
>
> And the mythbackend log:
> 2006-11-18 22:12:35.869 MainServer::HandleAnnounce Playback
> 2006-11-18 22:12:35.905 adding: garfield.verbraak.thuis as a client
> (events: 0)
> 2006-11-18 22:12:35.926 TVRec(1): Changing from None to
> WatchingLiveTV 2006-11-18 22:12:35.936 TVRec(1): HW Tuner: 1->1
> 2006-11-18 22:12:43.849 Finished recording American chopper: On the
> road - European tour: channel 1008
> 2006-11-18 22:12:44.096 Finished recording American chopper: On the
> road - European tour: channel 1008
> 0: start_time: 0.036 duration: 0.515
> 1: start_time: 0.025 duration: 0.499
> stream: start_time: 0.276 duration: 5.844 bitrate=5477 kb/s
> 2006-11-18 22:12:44.156 AFD: Opened codec 0x8ef1d80, id(MPEG2VIDEO)
> type(Video)
> 2006-11-18 22:12:44.164 AFD: Opened codec 0x8ef21f0, id(MP2)
> type(Audio) 2006-11-18 22:12:44.165 TVRec(1): RingBufferChanged()
> 2006-11-18 22:12:44.173 Finished recording American chopper: On the
> road - European tour: channel 1008
> 2006-11-18 22:13:36.245 MPEGRec(/dev/video1) Error: select timeout -
> ivtv driver has stopped responding
> 2006-11-18 22:14:26.410 Expiring American chopper: On the road -
> European tour from za nov 18 22:00:00 2006, 3 MBytes, forced expire
> (LiveTV recording)
> 2006-11-18 22:19:36.764 MPEGRec(/dev/video1) Error: select timeout -
> ivtv driver has stopped responding
> 2006-11-18 22:19:38.805 TVRec(1): Changing from WatchingLiveTV to
> None 2006-11-18 22:19:38.969 Finished recording Cold case: channel
> 1007
>
> I'm still using the ivtv version of my previous email. I will try the
> latest ivtv version today.
>
> Regards,
>
> Michel.

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

Reply via email to