VSync pb under glx

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 ?

thanx

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

hi.

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…

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.