From: Vladimir D. <vo...@mi...> - 2002-02-24 15:26:17
|
On Fri, 22 Feb 2002, Peter Surda wrote: > On Fri, Feb 22, 2002 at 01:38:36AM +0100, Michel D=E4nzer 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 in= side > 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 com= plete > (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 myst= ery > 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) <shu...@pa...>, ICQ 10236103, +4365= 05122023 > > -- > To boldly go where I surely don't belong. > |