Jump to content

  • Log In with Google      Sign In   
  • Create Account

Jerky movement when vsync turned on (wglSwapIntervalEXT).


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
23 replies to this topic

#21 shurcool   Members   -  Reputation: 439

Like
1Likes
Like

Posted 17 July 2011 - 06:45 PM

I've tried a few more things, and found a software-side fix (band-aid?).

Putting a glFinish() call right before SwapBuffers() makes this stuttering problem go away 99% of the time (there are still a few occasional frame skips).

Putting a glFinish() call right AFTER SwapBuffers() makes it go away 99.99% (or 100%, hard to say) of the time.

It makes no sense to me why you should put glFinish() right after SwapBuffers(), yet it helps this problem go away... So it's definitely a weird ATI driver issue as far as I can tell.

Sponsor:

#22 V-man   Members   -  Reputation: 805

Like
0Likes
Like

Posted 17 July 2011 - 07:22 PM

How could it be a ATI driver issue? Are other programs running like that? Also, this thread is 2 years old. I was wondering why my name was the second post. So please, create a new thread. There is no point in bringing up old threads from the grave.
Sig: http://glhlib.sourceforge.net
an open source GLU replacement library. Much more modern than GLU.
float matrix[16], inverse_matrix[16];
glhLoadIdentityf2(matrix);
glhTranslatef2(matrix, 0.0, 0.0, 5.0);
glhRotateAboutXf2(matrix, angleInRadians);
glhScalef2(matrix, 1.0, 1.0, -1.0);
glhQuickInvertMatrixf2(matrix, inverse_matrix);
glUniformMatrix4fv(uniformLocation1, 1, FALSE, matrix);
glUniformMatrix4fv(uniformLocation2, 1, FALSE, inverse_matrix);

#23 shurcool   Members   -  Reputation: 439

Like
0Likes
Like

Posted 17 July 2011 - 09:32 PM

Yes, this is an old thread, but I'm experiencing exactly the same issue as OP. Even with today's drivers (although they're probably not really updating the drivers for Radeon HD 4000 series cards in the latest Catalyst driver packages).

It was the 4th result on Google for ATI and wglSwapIntervalEXT. So I hope it helps others.

How could it be a ATI driver issue? Are other programs running like that?


The same .exe runs just fine on other computers with nvidia video cards, and Vsync enabled. It seems DirectX programs aren't affected.

#24 V-man   Members   -  Reputation: 805

Like
0Likes
Like

Posted 18 July 2011 - 09:32 AM

Yes, this is an old thread, but I'm experiencing exactly the same issue as OP. Even with today's drivers (although they're probably not really updating the drivers for Radeon HD 4000 series cards in the latest Catalyst driver packages).

It was the 4th result on Google for ATI and wglSwapIntervalEXT. So I hope it helps others.

How could it be a ATI driver issue? Are other programs running like that?


The same .exe runs just fine on other computers with nvidia video cards, and Vsync enabled. It seems DirectX programs aren't affected.


If it is a OpenGL problem, then run other GL games such as the demo version of Quake 3, Doom 3, American Mcgee's Alice, Serious Sam 1
Sig: http://glhlib.sourceforge.net
an open source GLU replacement library. Much more modern than GLU.
float matrix[16], inverse_matrix[16];
glhLoadIdentityf2(matrix);
glhTranslatef2(matrix, 0.0, 0.0, 5.0);
glhRotateAboutXf2(matrix, angleInRadians);
glhScalef2(matrix, 1.0, 1.0, -1.0);
glhQuickInvertMatrixf2(matrix, inverse_matrix);
glUniformMatrix4fv(uniformLocation1, 1, FALSE, matrix);
glUniformMatrix4fv(uniformLocation2, 1, FALSE, inverse_matrix);




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS