Frames Per Second issue

  • beskus
    8th Jun 2012 Member 0 Permalink

    I think the TPT engine needs to be recreated... Its a very simple and light application, but I am running it at an average of 30 fps, while running minecraft at 60+, and Half life 2 at 70+. Also its running my CPU at almost 100% full time...

  • plead-for-destruction
    8th Jun 2012 Member 0 Permalink
    @beskus (View Post)
    your computer probably just sucks.

    i can run TPT at 60 FPS fine, so can 90% of the other users
  • beskus
    8th Jun 2012 Member 0 Permalink

    Seems odd, I can run every light application fine except for TPT.

  • Pilihp64
    8th Jun 2012 Developer 0 Permalink

    TPT is calculating far more things than those games.  Is that fps with a blank screen, or something like Dima-gords destructable city (76 thousand particles).  Just try imagining going through 76 thousand particles 60 times in less than a second, 4.5 million particle checks, not to mention that each check itself depends on the element, with ALL of them at LEAST counting nearby particles, it ends up in the hundreds of millions of checks/calculations very very quickly (not to mention heat transfer, air sim, velocity, gravity, and then actually drawing it).  It's a wonder it runs as fast as it does.

     

    It is also not multi-threaded, and does not use any GPU.

  • beskus
    8th Jun 2012 Member 0 Permalink

    @cracker64 That it didn't used any GPU; I already knew, but I can understand what is causing the FPS lag now. Thanks for info :)

     

    And I supose I need to purchase a new cpu...

  • AngrySpam
    8th Jun 2012 Member 0 Permalink
    @beskus (View Post)
    Don't even bother buying a new cpu just to play powder toy. Trust me, you get used to the lag.
    @cracker64 (View Post)
    I never thought about it that way...
  • Felix
    8th Jun 2012 Member 0 Permalink

    @beskus (View Post)

     You really need to, if it is using 100% cpu, on modern systems you usually see 25%, 50% or sometimes even lower.

  • coolcat99
    9th Jun 2012 Member 0 Permalink

    After looking at several threads I have noticed one thing.



    Troll = Felix.



    cracker64:

    TPT is calculating far more things than those games.  Is that fps with a blank screen, or something like Dima-gords destructable city (76 thousand particles).  Just try imagining going through 76 thousand particles 60 times in less than a second, 4.5 million particle checks, not to mention that each check itself depends on the element, with ALL of them at LEAST counting nearby particles, it ends up in the hundreds of millions of checks/calculations very very quickly (not to mention heat transfer, air sim, velocity, gravity, and then actually drawing it).  It's a wonder it runs as fast as it does.


     


    It is also not multi-threaded, and does not use any GPU.


    This.

  • Raphi
    9th Jun 2012 Member 0 Permalink

    Would it be possible to make version for linux 64bit, because 32bit applications won't run on 64bit linux systems. And I don't want to compile everything myself, please.

     

    And I noticed, that on Windows 7 32bit TPT gets on an empty screen about 300 fps, with Ubuntu 64bit it gets only 70 fps. (both have fpscap at 1000 and its absolutetly the same harware, because it's the same PC)

     

    Is there any reason for that?

  • jenn4
    9th Jun 2012 Member 0 Permalink
    @Felix (View Post)
    You don't need to buy new machine just for TPT, also buying new computer would be stupid, buy new hardware rather than some ready-to-go full computer package.