Vista and OpenGL?

Started by
7 comments, last by Ivan Mandic 15 years, 5 months ago
I have a problem. When I run OGL application on XP it works on approximately 8000 fps,and on Vista it's running on like 100-200 fps on same configuration, how to fix that?
Advertisement
First I think you should add several thousand polygons and some shaders to your scene, to see if there is still a difference. It doesn't really matter how fast you can draw an empty screen.
Do you have Aero enabled on Vista?
For me OpenGL doesn't even work with Aero.
Yes its rendering whole level..
Is there any OGL clean up driver for vista?
You render a whole level and you get 8000FPS? That's weird.
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);
vista maybe cap the fps at 100-200 ??

I set mine to cap at 60fps.

You should add stuff to take it down to 30-40 fps and check again
Quote:Original post by UnIXbLueStar
vista maybe cap the fps at 100-200 ??

I set mine to cap at 60fps.

You should add stuff to take it down to 30-40 fps and check again

What he means is you probably have v-sync enabled. You should try to disable it - check your driver configuration.
If I was helpful, feel free to rate me up ;)If I wasn't and you feel to rate me down, please let me know why!
vsync caps locks it to the screen refresh rate, which isnt variable, so that surely not his problem.

secondly, there is no problem with opengl on vista.i use it too, i never had
any problems with that. i also have an ati card.

third, he can have 8000 fps, which isnt actually *that* much that you might think.
it's a slight percentage increase which just results in a lot more fps the higher you get with reduced rendertime needed per frame.

you only will have bad vista performance if your personal driver for the gfx card is bad (which is mostly not the case).

i wouldn't wory as long as it runs that high in xp.
fps is nonlinear measure, the difference between 8000 and 200 fps is less than 5 ms per frame. If the difference (in time per frame) remains constant and small I suggest just ignoring it. 5 ms would cause a slowdown from 33 to 29 fps.
Thanks you guys for all the help.

This topic is closed to new replies.

Advertisement