[SDL] GeForce bug figured out... not SDL

Thomas Lund tld at carlbro.dk
Mon Apr 10 04:59:29 PDT 2000

Thanks a bunch.

This did it for me! No crash.

Have you tried to use glFlush() instead of glFinish()? According to the
docs, glFinish is slower returning to the program since it is waiting
for completion.


Kenton Varda wrote:
> OK, it ends up that the nVidia drivers lock up when you try to swap buffers to
> quickly for it to keep up.  The simple solution is to call glFinish() before any
> buffer swaps.  The SDL test program doesn't do this, which is why it crashed and
> led me to believe that SDL and nVidia GLX were incompatible.  Sorry about that.
> Anyway, to anyone having problems with the GeForce:  either call glFinish() before
> any buffer swap, or slow down your program so that the card can keep up.  The
> former method is probably preferred in all cases. :)
> -Kenton Varda

More information about the SDL mailing list