On Mon, 30 May 2005 20:31:24 -0400 Jonathan Bastien-Filiatrault <[EMAIL PROTECTED]> wrote:
> Adam K Kirchhoff wrote: > > > Nicolai Haehnle wrote: > > > >> Hi everybody, > >> > >> I once again tripped upon an R300 lockup (possibly the same one that > >> everybody's been talking about) and spent the last one and half days > >> chasing it down. > >> > >> It turns out that writing the vertex buffer age to scratch registers > >> (the ones that are written back to main memory) during a 3D sequence > >> is a bad idea. Apparently, this confuses the memory controller so > >> much that some part of the engine locks up hard. > >> > >> The attached patch.out-of-loop-dispatch-age fixes this, at least for me. > >> > >> The attached patch.remove-userspace-pacifiers removes additional > >> unnecessary emission of the pacifier sequence from the userspace > >> driver. Userspace isn't supposed to emit this sequence anyway. > >> > >> Could everybody please test whether a) the first patch really does > >> fix the lockups people are seeing and > >> b) whether combining both the first and the second patch causes any > >> regressions. > >> > >> If everything's fine with these patches, I'm going to commit them in > >> a few days or so. > >> > >> cu, > >> Nicolai > >> > > > > A) The first patch may help a little, but definitely doesn't eliminate > > the lockups. > > > > B) Huge regression. With both patches I get an immediate lockup when > > launching glxgears (before the > > window is even drawn). > > > > Adam > > > Funny enough, two days ago, I played vegastrike for litterally _hours_ > with my Radeon 9800 Pro, both patches applied, I restarted the game a > couple times and I could not get it to lockup. However, the day after, I > could not even start the game without causing a lockup. Looks like you > did something good, keep up the great work. This is probably my fault if you updated local copy meanwhile. You can enable the old behaviour by commenting line "#define CB_DPATH" of r300_ioctl.c if its there. -- Aapo Tahkola ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel