HUGE fps jump

This is a discussion on HUGE fps jump within the Game Programming forums, part of the General Programming Boards category; so I work on my game quite frequently at work.... when I left work last Friday, my game was getting ...

  1. #1
    l'Anziano DavidP's Avatar
    Join Date
    Aug 2001
    Location
    Plano, Texas, United States
    Posts
    2,738

    HUGE fps jump

    so I work on my game quite frequently at work....

    when I left work last Friday, my game was getting about 45 to 50 fps.

    I come into work today, open it up, run it....90 fps...

    My Website

    "Circular logic is good because it is."

  2. #2
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    maybe the performance was hurt by other running process on friday. nothing like system resource availability to speed up your app

  3. #3
    Banned
    Join Date
    May 2004
    Posts
    129
    I thought your game was 2d...why only 90 fps? What computer system?

  4. #4
    Intranasal Heroin User Xterria's Avatar
    Join Date
    Sep 2001
    Location
    Buffalo, NY
    Posts
    1,035
    i still havn't figured out fps and i'm making a fps. really.

  5. #5
    Banned
    Join Date
    May 2004
    Posts
    129
    well figure it out and you can work on many more interesting things!

  6. #6
    l'Anziano DavidP's Avatar
    Join Date
    Aug 2001
    Location
    Plano, Texas, United States
    Posts
    2,738
    >why only 90 fps? What computer system?

    well the graphics card is an integrated Intel Extreme chip for one thing

    but anyways, i think i have a lot of memory leaks in my code...i need to start finding them....
    My Website

    "Circular logic is good because it is."

  7. #7
    Registered User
    Join Date
    Mar 2004
    Posts
    180
    When do we get BETA???

    DW

  8. #8
    Registered User
    Join Date
    Aug 2001
    Posts
    411
    If you know of a good tool that can monitor if your program has memory leaks, would you please point me to it.

  9. #9
    l'Anziano DavidP's Avatar
    Join Date
    Aug 2001
    Location
    Plano, Texas, United States
    Posts
    2,738
    I figured out why my fps jumped

    I run my program in windowed mode at a resolution of 800x600x16.

    My desktop is running at 32 bit, therefore forcing my game to run at 32 bit as well.

    Running at 32 bit it gets roughly 50 fps.

    However, when testing jveorkey's game yesterday, I switched my desktop to run at 16-bit.

    After doing so I continued working on my game and noticed the fps had jumped to 90.

    It was because I had changed the desktop from 32 bit to 16 bit, which conformed with my game
    My Website

    "Circular logic is good because it is."

  10. #10
    ---
    Join Date
    May 2004
    Posts
    1,379
    so how do you work around that without asking the user to change modes manually? is making it fullscreen the only option?

  11. #11
    Banned
    Join Date
    Dec 2003
    Posts
    367
    You could give an option on colordepth when you start.

  12. #12
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    Quote Originally Posted by Eber Kain
    If you know of a good tool that can monitor if your program has memory leaks, would you please point me to it.
    There is a good tool called "memwatch" but is for C and not suggested for C++

    heres a link to the gnu directory for it.
    http://www.gnu.org/directory/devel/debug/memwatch.html

  13. #13
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,586
    MSVC has a very good debugger that can help you find memory leaks.

  14. #14
    Registered User
    Join Date
    Aug 2001
    Posts
    411
    I use MSVC, the debugger dose alot of things, but where dose it track memory that has been allocated and not released? Or really, where dose it track anything to do with memory?

  15. #15
    mov.w #$1337,D0 Jeremy G's Avatar
    Join Date
    Nov 2001
    Posts
    704
    Quote Originally Posted by Eber Kain
    I use MSVC, the debugger dose alot of things, but where dose it track memory that has been allocated and not released? Or really, where dose it track anything to do with memory?
    http://www.codeproject.com/cpp/MemLeackCheckArticle.asp
    I believe that can help you.
    Oh yeah, and it's does.
    c++->visualc++->directx->opengl->c++;
    (it should be realized my posts are all in a light hearted manner. And should not be taken offense to.)

Page 1 of 2 12 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. SwapBuffers & fps
    By hannibar in forum Windows Programming
    Replies: 0
    Last Post: 03-13-2006, 04:19 AM
  2. Game update...
    By jdinger in forum Game Programming
    Replies: 14
    Last Post: 11-08-2002, 06:10 AM
  3. FPS Counter Prob in OpenGL
    By brandonp in forum Game Programming
    Replies: 1
    Last Post: 07-16-2002, 02:49 PM
  4. SkyLock graphics demo (scrolling, etc.)
    By jdinger in forum Game Programming
    Replies: 9
    Last Post: 06-30-2002, 08:18 PM
  5. dramatic decrease in fps
    By DavidP in forum Game Programming
    Replies: 4
    Last Post: 06-27-2002, 09:05 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21