Frame rate in panda3d

Hi friends
When i run ogre3d samples, fps is always between 100 and 200 or even 250 but when i run panda3d samples fps is always 60 or 59 or 61. i changed OpenGL and Direct3d in config.prc but nothing changed.
can you help me to improve fps?

sync-video #f

in your config file


from pandac.PandaModules import loadPrcFileData
loadPrcFileData("", "sync-video #f")

at top of your applciation.

Thank you very much GrizzLyCRO
what is the meaning of this line?

Your monitor probably has refresh rato of 60 herz, and panda tries to sync with that.
As in, there is no point to render 800 images per second on gpu, when only 60 can be shown.

it means set sync-video to false, or disable it

Thank you
It is a very good feature of panda3d.