MichaelM wrote:
Here's a stack trace. It looks like the problem is with the pageflipping code. I think I'll disable it for now, unless it's only gears that gets hurt by it.


Program received signal SIGINT, Interrupt.
0x401e47b1 in nanosleep () from /lib/libc.so.6
(gdb) backtrace
#0 0x401e47b1 in nanosleep () from /lib/libc.so.6
#1 0x40212c2b in usleep () from /lib/libc.so.6
#2 0x40523911 in r200PageFlip (dPriv=0x8203280) at r200_ioctl.c:487
#3 0x403c6c3d in driSwapBuffers (dpy=0x8052e78, drawablePrivate=0x8203280) at dri_util.c:647
#4 0x400fae7a in glXSwapBuffers (dpy=0x8052e78, drawable=41943055) at glxcmds.c:623
#5 0x4004ad16 in X11_GL_SwapBuffers (this=0x804d740) at SDL_x11gl.c:310
#6 0x400456eb in SDL_GL_SwapBuffers () at SDL_video.c:1445
#7 0x0804a02a in draw () at SDLgears.c:215
#8 0x0804a527 in main (argc=1, argv=0xbffff2c4) at SDLgears.c:364
#9 0x40145280 in __libc_start_main () from /lib/libc.so.6

This is one of the two places that the throttling I talked about earlier takes place. The other is in the same place in the non-page-flip path.


There is one other reason that the code might sleep here - because it thinks the window is invisible (unmapped or obscured).

Keith






-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to