On Sunday 18 February 2007 05:42, Larry Bernstone wrote:
> I still get DMA errors using the new drivers. Using PIO mode in
> 0.9.2, while keeping my processor humming at 50%, works consistently.
> FYI, the DMA errors look like this in 0.10.0:
>
> Feb 17 15:13:50 algae-srv ivtv0 warning: ENC DMA ERROR b
> Feb 17 15:13:50 algae-srv ivtv0 warning: ENC DMA ERROR b
> Feb 17 15:13:52 algae-srv ivtv0 warning: encoder MPEG: offset 128 ->
> 88 Feb 17 15:14:45 algae-srv ivtv0 warning: ENC DMA ERROR b
> Feb 17 15:14:45 algae-srv ivtv0 warning: ENC DMA ERROR b
> Feb 17 15:14:45 algae-srv ivtv0 warning: encoder MPEG: offset 128 ->
> 0 Feb 17 15:15:15 algae-srv ivtv0 warning: ENC DMA ERROR b
> Feb 17 15:15:15 algae-srv ivtv0 warning: ENC DMA ERROR b
> Feb 17 15:15:16 algae-srv ivtv0 warning: encoder MPEG: offset 128 ->
> 0 Feb 17 15:15:28 algae-srv ivtv0 warning: ENC DMA ERROR b
> Feb 17 15:15:28 algae-srv ivtv0 warning: encoder MPEG: offset 128 ->
> 0 Feb 17 15:15:30 algae-srv ivtv0 warning: ENC DMA ERROR b
> Feb 17 15:15:31 algae-srv ivtv0 warning: encoder MPEG: offset 128 ->
> 0 Feb 17 15:15:54 algae-srv ivtv0 warning: ENC DMA ERROR b
> Feb 17 15:15:55 algae-srv ivtv0: DMA TIMEOUT 00000001 0
>
> I changed line 80 in ivtv-streams.c to:
> PCI_DMA_FROMDEVICE, 1, V4L2_BUF_TYPE_VIDEO_CAPTURE
>
> This does not give me any data on /dev/video0.
I've fixed this in the ivtv trunk. It has seen only minimal testing,
though. I'm interested if the CPU load is lower for you with this
driver: on my system the CPU load is just a few percent. Surprisingly
low, in fact.
There are in general two main causes for DMA errors: you have some CPU
frequency changer running or you are using soft/hardware RAID.
Depending on the chipset you are using (VIA is indicated) you can get
these errors. It's really a buggy DMA engine on the conexant chip.
Regards,
Hans
>
> On Sun, 2007-02-18 at 02:46 +0100, Hans Verkuil wrote:
> > On Saturday 17 February 2007 21:24, Larry Bernstone wrote:
> > > Is there any way to force PIO mode in ivtv-0.10.0?
> >
> > Theoretically you could set the pio field in the ivtv_stream_info
> > array
> > in ivtv-streams.c to 1. But that's never been tested.
> >
> > Why?
> >
> > Regards,
> >
> > Hans
>
> _______________________________________________
> 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