XNA 4.0 runs at 50 instead of 60 fps -


i'm experimenting bit xna 4.0, following tutorials , creating basic stuff (like triangle , lines ;-)). while doing this, noticed applications never run @ more 50-51 fps (with fraps). it's not i'm running heavy programs on slow computer or graphics card (ati hd4870), must have xna (games run fine here).

now, read xna says default update frequency 60 times second, , i'd that.

  • it's same in full screen in windowed
  • if set synchronizewithverticalretrace false or true: same
  • if run program without visual studio, 41 fps
  • when override update frequency using targetelapsedtime = new timespan(0, 0, 0, 0, 10); fps go significantly. noticed though still isn't correct: 10 means 10ms, yet 'only' 83 fps instead of 100. @ 1ms 850 fps. deviation of fps , should pretty consistent. looks me there's wrong timing?

anyone knows might problem here and/or has suggestions stable 60 fps?

thanks!

isn't possible fraps isn't giving accurate results? have tried adding in own framerate counter game , seeing results say? shawn hargreaves has method coded on blog should pretty painless add new blank xna game project.

http://blogs.msdn.com/b/shawnhar/archive/2007/06/08/displaying-the-framerate.aspx

do see same fps or reported differently when calculation yourself?


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -