Re: IDE I/O disturbes other PCI busmasters on VIA platforms

From: Ed Sweetman
Date: Tue Sep 30 2003 - 12:42:28 EST


Petr Vandrovec wrote:
On Tue, Sep 30, 2003 at 06:58:24PM +0200, Michael Hunold wrote:

Hello all,

If you disable dma, you'll notice frozen pictures, which will last up to several seconds.

I tried the following
- use latest 2.4 kernel
- set latencies for the different PCI devices with "setpci"
- play with burst and threshold settings of the saa7146 busmaster

Unfortunately, non of these things really helped. I was able to make things worse (by setting latencies very low or by lowering the burst size of the transfers), but I did not get rid of the problem.

Does anyone know a solution for this problem? Any help is appreciated.


Do not perform busmaster transfers between busses with diffrerent speeds,
or use only 20MBps bandwidth or do not use VIA. All chips I saw from
them are not able to convert burst transfer on PCI to the burst
transfer on AGP bus. Either go through main memory, or plug PCI videocard
to your box.
Petr Vandrovec


I get none of these problems. That is with a bt878 tv card, G450 agp video card, 2.6.0-test5, udma4 enabled, and using xawtv with xv via the v4l module for X. If i disable dma, the tv is the only thing uneffected. This is on a Abit mobo with VIA vt82c686b ide chipset and VIA Twister-K/KT133x/KM133 agp chipset (using agpgart). DRI not loaded.

If disabling dma gives you picture distortion, then it seems to me to be obvious that Busmastering has nothing to do with the problem and rather it's a rendering issue. If you're using x11 to render the image than it will most certainly be effected by heavy io as the kernel will have issues scheduling under heavy io, especially in 2.4. I would check to make sure you're using xv to render the tv window if you have that option, if not then maybe that's as best as you can do with X.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/