FPS locked at 60 on GTX 260

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

FPS locked at 60 on GTX 260

Wagan8r
I have a project that I've been working on multiple computers depending on where I am. On my laptop with an Intel GMA X3100 video card, the fps aren't restricted and climb into the hundreds, but on my desktop with an NVIDIA GTX 260, it seems to be clamped at 60. This is really frustrating as I can't effectively benchmark my shader code. I'm using an Animator object and not an FPSAnimator object, so I don't have a clue where to look to find the culprit. Could this just be a driver issue? I'm also running Java 1.6 build 26. Any help would be great. Thanks.
Reply | Threaded
Open this post in threaded view
|

Re: FPS locked at 60 on GTX 260

gouessej
Administrator
Hi!

The vertical synchronization is forced at the driver level. Disabling it programmatically might not work. Call setSwapInterval(0) and check whether it has an effect.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: FPS locked at 60 on GTX 260

Demoscene Passivist
Administrator
In reply to this post by Wagan8r
Sounds like u are using "v-sync" on ur NVidia card. U have to either disable (forced) v-sync in the driver setting and/or explicitly disable v-sync by using "tGL.setSwapInterval(0);" in ur JOGL application. Also u may have to use "tAnimator.setRunAsFastAsPossible(true);".  
Reply | Threaded
Open this post in threaded view
|

Re: FPS locked at 60 on GTX 260

Wagan8r
Thanks guys! Setting the swap interval to '0' did the trick. Now I'm up and running at 400-500 fps.
Reply | Threaded
Open this post in threaded view
|

Re: FPS locked at 60 on GTX 260

gouessej
Administrator
You're welcome ;) My first person shooter is running at 1000 FPS on a NVIDIA Quadro FX :) not very useful because 60 FPS would be enough.
Julien Gouesse | Personal blog | Website