On Sun, Jun 02, 2002 at 05:27:04PM +0200, Michel D�nzer wrote: > On Sun, 2002-05-26 at 20:17, Michel D�nzer wrote:
> Also, the framerate seems to drop very quickly as the polygon count > rises, e.g. with the XScreenSaver lament hack, it drops from around 250 > fps when it's a single cube to around 25 (!) fps when it decomposes into > several parts. Most 'real' apps are significantly slower than with the > trunk code. > 2D crawls when a 3D client is running. Any hints for > debugging that appreciated. I think this is possibly the same issue in the thread started by Tim. I've been playing with removing/changing some of the sync stuff. Specifically - removing the wait_for_fifo call completely, as Keith's description of the other bit that's checked suggests it should cater for this anyway, and the 3d side uses the ring (and so does the 2d side afaict, when dri is enabled - when it isn't enabled, it checks the fifo before each set of OUTREG() - Changing the do_wait_for_idle into a while(1) loop (not really a permanant thing to do, just to see the improvement if we stop the continual looping in and out of the kernel to wait for idle) - Removing the NeedToSync = TRUE in EnterServer - I can't see why it's needed as the xaa doc suggests that the driver will call the Sync function if it needs direct read / write access to the frame buffer and everything else afaict goes through the ring intersperced with WAIT_2D_IDLE, 3D_IDLE etc. I did note ages ago a massive performance drop at 1024x768, which doesn't happen at lower and, more notably, higher resolutions. Other have noted a periodic 3d stall when 2d is updating something like a clock or gkrellm/ top output etc. With the above I can cover up q3 in-a-window without the 2d side crawling to a halt without afaict any corruption / hangs from the changes. There are still problems with the q3 titles - probably because they hit a massive frame rate - about 90% is system time when q3-in-menu is minimised as opposed to 90%+ user time when in the game with it minimised. I'm reversing some of the changes now, to see if there's a specific one that made the difference. > Last, but not least, I can't seem to get it to use pageflipping. Do I > have to do anything other than setting the X server option? Keith disabled it by default, because it's broken with a few things, you need a EnablePageFlipping entry in XFConfig-4 -- Michael. _______________________________________________________________ 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
