Michael wrote: > > On Mon, May 20, 2002 at 04:46:41PM +0100, Keith Whitwell wrote: > > Michael, > > > > I've added some code in the DDX driver to keep the back buffer uptodate so > > that the 'flicker' is gone, and pageflipping looks just like normal > > swapbuffers. > > > > I've done this with the miext/shadow module keeping track of dirty regions and > > then firing off a bunch of blits in the BlockHandler to repair the > > backbuffer. This is pretty simple - 50 lines of code? - there are a couple of > > improvements to be made before I commit. > > Boo hoo :o) Can't startx. > > Program received signal SIGSEGV, Segmentation fault. > 0x64646269 in ?? () > (gdb) bt > #0 0x64646269 in ?? () > #1 0x0839c1ae in ?? () > #2 0x0839ea68 in ?? () > #3 0x08157c4c in miWindowExposures (pWin=0x8594dd8, prgn=0xbffff990, > other_exposed=0x0) at miexpose.c:536 > #4 0x080a3ebd in xf86XVWindowExposures (pWin=0x8594dd8, reg1=0xbffff990, reg2=0x0) > at xf86xv.c:1027 > #5 0x083c9c47 in ?? () > #6 0x080c8bcd in MapWindow (pWin=0x8594dd8, client=0x81cea30) at window.c:2869 > #7 0x080c5987 in InitRootWindow (pWin=0x8594dd8) at window.c:522 > #8 0x080bead0 in main (argc=1, argv=0xbffffaa4, envp=0xbffffaac) at main.c:439 > > hmm, I'm running effectively xf4.1 debian unstable + copying XFree, radeon_drv.o and > radeon_dri.so over the top, which has always worked, but perhaps this means "Now do >it properly"? Unless you can see a bug in this patch?
I don't see anything in particular with the patch, but further work on it has shown just how fragile this combination (shadow plus xaa in a novel configuration) is to things like initialization order... The only thing I can do is ask what happens when you run a full version. It's not that hard; I just set a ProjectRoot in the config/cf/host.def file, like /XF4/xc-tcl. You need to back-copy some modules and includes there - I just take XF4.1 from /usr/X11R6 - I guess this is a bit of black magic. Then after 'make World' or whatever, 'make -k install' does the trick. I have a .XF86config-radeon that sets ModulesPath to that directory, and maybe I need to set an env var or two... I guess the magic is adding up. Hmm. Maybe I'll try & answer again after some sleep. Keith _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel