On Mit, 2002-02-20 at 17:40, Peter Surda wrote:
>
> So, I did a deep research and found out the following:
> - it doesn't happen inside kernel, because "top" shows the load as "user", not
> as "system"
> - I am able to determine where it happens, but not why :-(
>
> in r128_video.c, there is a short function called R128CopyData422, containing
> rougly
>
> if (!dmacopyworx) {
> memcpy the sucker
> }
>
> Ok, here comes the funny part. If I put a
>
> usleep (1);
>
> BEFORE the "if", X load sinks by about 20% during video playing, BOTH when
> using dri (25->5) or not using DRI (50->30)
>
> When I put it AFTER the if, the load doesn't change (25 with dri, 50 without).
Hmm. I don't suppose the R128DMA() call per se imposes such a high load?
Can you verify by changing the #ifdef XF86DRI inside the function to
#if 0?
--
Earthling Michel D�nzer (MrCooper)/ Debian GNU/Linux (powerpc) developer
XFree86 and DRI project member / CS student, Free Software enthusiast
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel