1. Hello Guest! It's with a heavy heart that we must announce the removal of the Legacy GMC Archive. If you wish to save anything from it, now's the time! Please see this topic for more information.
    Dismiss Notice

Unexplained momentary FPS drops when changing rooms

Discussion in 'Programming' started by obscene, Aug 31, 2017.

  1. obscene

    obscene Member

    Jun 21, 2016
    I'm encountering this issue suddenly in a few rooms. It seems to happen in certain rooms but not with any particular characteristics I can pin down, and it does NOT occur consistently but maybe half the time.

    As pictured, the FPS drops considerably... then after a few seconds (sometimes 1, sometimes 4 or 5) it returns to normal.


    During this time, there is no change in swaps, in RAM, in the number of instances / particles / etc. I can't seem to relate it to anything that is happening in my game. It seems the workload does not change but either GM or my computer's ability to handle that work load somehow changes.


    EDIT: It seems that this may be related to Anti-aliasing. When I use 8x AA, this happens as explained above. Lower settings seem to consistently prevent this problem from occurring at all. So wtf?
    Last edited: Aug 31, 2017
  2. rwkay

    rwkay YoYo Games Staff YYG Staff

    Apr 12, 2016
    First of all profile to see what is happening in that timeframe using the debugger - this may well help pinpoint what is happening.

    It sounds like (from your description with the AA settings) that it is related to graphics rendering though so it may well be driver related (but that is conjecture at this time) - but eliminating a CPU / GML level issue would be my first path to work out what is happening.

    obscene likes this.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice