View Full Version : VSync pb under glx

07-30-2002, 07:57 AM
sometimes, i get some vsync problèms using glx, multi threads... the programm could continue in all the casis, but i loose all interactivity events...

someone could lights it ?


08-01-2002, 01:29 AM
My guess is that the problem is if a sync interrupt happens when another thread is in Xlib. Have you called XInitThreads() like in this Mesa demo http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/mesa3d/Mesa/xdemos/glthreads.c?rev=1.2

08-01-2002, 04:00 AM

I don't used what you said. I was trying to use glx in replacement of glut. So, i'd to use threads.

Thanks for you link, it's quite instructive. i though i could use X safely on threads...