
On Thu, Nov 22, 2001 at 11:40:57AM +0100, Christophe Massiot wrote:
> > You can see it sometimes if you run "top" while playing videos, X eats
> > lots of time, while it acually isn't doing anything besides this memcpy.
> I have rage128 pro and I have exactly the same problem.
Yes, mach64 and rage128 are worst on this.

> I use XFree86 CVS and I didn't see any performance improvement lately.  How
> can I know if I can use DMA ?
You need DRI enabled, then it should work automatically. Also in case you're
using gatos driver, it isn't there yet, you'd have to combine them manually
with your favourite editor.  Unfortunately, r128 driver currently can't do
full 2d acceleration while DRI is on, so with higher resolutions (I use
800x600 tvout so it's probably not that noticeable), slowdown in window
operations can happen.

> BTW what you did is _really_ interesting.
Using BlitTexture was Michel's idea and he also wrote most of the
code. I merely helped to make it actually work :-)

> I'm not an Xlib specialist (far from it), but since Xlib is asynchronous,
> I think the only thing we can do is add XSync() in critical places. For
> instance could you try adding XSync(p_vout->p_sys->p_display, False)
> just before XVideoDestroyWindow (vout_xvideo.c:604) ? Since you said it
> crashed in XVideoDestroyWindow, I think it may fix your problem.
Hmm my X knowledge is very low (but that doesn't prevent me from implementing
new features in drivers <g>). But it looks like XSync should do what I need.
I'll try it in a couple of days, I need my box up until then.

> Good luck,
Bye,

Peter Surda (Shurdeek) <shurdeek@panorama.sth.ac.at>, ICQ 10236103, +436505122023

--
       They called their place of existence the "Universe", not the
                      "Great Programmer/Universe".


-- Attached file included as plaintext by Listar --

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7/PLezogxsPZwLzcRAryTAJ4pk+vEYKMxfxJY5uZVYXoo9mooSQCeOnqd
sVDf5wO9AeslkNepyFI1NM4=
=ipKL
-----END PGP SIGNATURE-----



