On Fri, 22 Feb 2002, Peter Surda wrote:

> On Fri, Feb 22, 2002 at 01:38:36AM +0100, Michel Dänzer wrote:
> > > 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?
> No, I also tested it inside R128RMA (for the cases DMA is working) and inside
> the "if" cycle for cases it isn't. It is not (directly) R128DMA that is
> causing this, or memcpy, but as these functions take a lot of time to complete
> (about 10ms for DVD-sized picture), I guess it is something that
> asynchronously does a busy loop waiting for R128PutImage to complete. But why
> a wisely placed usleep seems to (mostly) cure the symptoms remains a mystery
> to me.
>
> > Can you verify by changing the #ifdef XF86DRI inside the function to
> > #if 0?
> Especially for you I did as requested, X eats rougly 50%, i.e. no change.
>
> Bye,

Hmm.. Michel, Peter, is it possible that "poll" function in DRM driver is
screwed up ? Though I thought that texture transfer goes through an ioctl..

                                Vladimir Dergachev

>
> Peter Surda (Shurdeek) <[EMAIL PROTECTED]>, ICQ 10236103, +436505122023
>
> --
>               To boldly go where I surely don't belong.
>


_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to