Re: [Xpert]Re: [GATOS]Re: [Dri-devel] Bugfix for br0ken DMA on r128and possibly radeon DMA functions
On Mon, 28 Jan 2002, Davor Buvinic wrote: On Sunday 27 January 2002 21:59, you wrote: On Sun, 27 Jan 2002, Davor Buvinic wrote: [...] 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... Please try latest GATOS CVS - main branch - and let me know if it works better. Vladimir Dergachev With the latest GATOS CVS - the one with changes from Peter Surda at the files radeon_driver.c, radeon_reg.h, fi1236.c, fi1236.h, msp3430.c, r128_dri.c, theatre.h and theatre_reg.h - the problem (apparently) is the same one that at first: corruption at login screen (xdm, kdm), the messages [drm:r128_cce_indirect] in the kernel log, and X crashes. Patched in the wrong place, please try again. Vladimir Dergachev With only the patch from Peter Surda to the file r128_dri.c no corruption at login screen, no messages in the kernel log but X crash with both mplayer and glxgears running, or only with mplayer after a while playing a video. BTW, which is the appropriate mailing list to discuss this stuff? I think that we're CC: to too many places... At this step we'll finish CC: to the linux kernel mailing list :) - Davor ___ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel ___ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel
Re: [Xpert]Re: [GATOS]Re: [Dri-devel] Bugfix for br0ken DMA on r128and possibly radeon DMA functions
On Sun, 27 Jan 2002, Davor Buvinic wrote: 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.cMon 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... Please try latest GATOS CVS - main branch - and let me know if it works better. Vladimir Dergachev - Davor ___ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert ___ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel