Apparently XVideo flips a buffer on vsync. The SDL overlay stuff uses XVideo... so one work around is to use the pygame.overlay module rather than using pygame.display.flip()
SDL 1.3 is apparently going to have an XVideo backend, and also has it's opengl backend... which also lets you do vsync in a window on X. However the Overlay workaround might be ok - need to test the performance. Another option is to use the Lamina module which lets you draw using pygame in software, and then it updates opengl in the background. However that's not all that fast for some types of games. cu, On Sat, May 30, 2009 at 1:39 PM, René Dudfield <[email protected]> wrote: > hi, > > this is more an SDL related thing, but is a common bug report, so > it'd be cool if we could figure out a way to make it work. > > http://bugzilla.libsdl.org/show_bug.cgi?id=406 > > > cheers, >
