On Sunday 27 January 2002 16:53, you wrote: > On Sun, Jan 27, 2002 at 06:03:42PM +0100, Michel Dänzer wrote: > > After digging around the code a bit, my current theory is that the > > indirect buffer is incorrectly reused after the start of a new server > > generation. The only difference I see in the radeon driver (which I > > assume doesn't have the same problem?) is in the LeaveServer() function, > > where it releases the indirect buffer. Can you try if that fixes the > > problem? > > Yes this seems to have fixed it, here's the patch: > > --- ati.2/r128_dri.c Mon Dec 31 06:00:11 2001 > +++ ati.2-shurdeek/r128_dri.c Sun Jan 27 20:50:19 2002 > @@ -308,6 +308,9 @@ > info->sc_bottom = INREG(R128_SC_BOTTOM); > info->aux_sc_cntl = INREG(R128_SC_BOTTOM); > } > + } else { > + R128CCEFlushIndirect(pScrn); > + R128CCEReleaseIndirect(pScrn); > } > } > > Would please the responsible person in all projects (dri, xf86, gatos) > apply it? > > Bye, > > Peter Surda (Shurdeek) <[EMAIL PROTECTED]>, ICQ 10236103, > +436505122023
Works for me: ATI Xpert 128, XFree86 4.2.0, your patch against GATOS ATI drivers sources. No more messages in the kernel log like the following: [drm:r128_cce_indirect] *ERROR* process 1668 using buffer owned by 0 But if I play a video and run glxgears X crashes. Option "UseCCEFor2D" didn't appears to help... - Davor _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel