User Tag List

Results 1 to 3 of 3

Thread: Time X Extension causes severe slowdown on Gamepad disconnection

  1. #1
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCiOS Export ModuleInstall Creator Pro
    Julian82's Avatar
    Join Date
    May 2012
    Location
    outbuddies.com
    Posts
    911
    Mentioned
    44 Post(s)
    Tagged
    0 Thread(s)

    Unhappy Time X Extension causes severe slowdown on Gamepad disconnection

    Hey guys,

    today I found the source of complex and severe FPS dropping issue that has been bugging me for a while now.
    The source of it is Time X Extension combined with a certain Gamepad connection state.

    I boiled it down to the attached .mfa. It has just one line of code which is setting a counter to the current framerate.
    Frame 1 is the test frame, Frame 2 contains the Time X extension without any code or further objects.

    I hope for a heads up to get a clue about it. Cuz I would really hate to dissect Time X Extension from nearly 8000 lines of code in the state my project is now.

    Now here's what's happening, maybe someone can reproduce it:
    1. Connect an Xbox Gamepad together with a generic gamepad, then launch the app
    2. Close the app, disconnect the Xbox gamepad
    3. Relaunch the app with only the generic gamepad connected, the FR of the idle app goes down to 3-10 FPS

    Test mfa: https://www.dropbox.com/s/ftx7646mrw...wdown.001?dl=0

  2. #2
    Clickteam Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    BartekB's Avatar
    Join Date
    Aug 2013
    Posts
    622
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    I've tested your .mfa and my results were quite different.
    Tested with a generic gamepad (10 or so years old by now) and a wired xbox one controller, my results were:

    - No controllers: 59 to 60
    - Both controllers: 59 to 60
    - Xbox disconnected only: 59 to 60
    - Generic disconnected only: unstable 20 to 55 fps, sometimes freezes

    It looks like the absence of the generic controller makes the fps go haywire, sometimes even completely freezing the app until either the xbox gamepad is disconnected or the generic is plugged back in (This freeze happens at the start, I even somehow got it to freeze at 63 fps).

    This might happen due to the xbox controller not having something and thousands of errors are being logged (generic gamepad has this info, so no errors), killing the framerate. But I can't know for sure.
    I've also made a new application with the same layout that you have (2 frames, first with fps counter, second with Time and the exact things occur, even when built.

    I'm not sure why this happens exactly, but I can notify others at Clickteam about this so they check it out.
    However, since the Time X extension is very old by now and not made by clickteam either, that might not be much of help.
    - BartekB, a.k.a Uppernate
    Join the Click Converse Discord! - https://discord.gg/7RNXFrC
    Dungeon Raiders! - Link soon™

  3. #3
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCiOS Export ModuleInstall Creator Pro
    Julian82's Avatar
    Join Date
    May 2012
    Location
    outbuddies.com
    Posts
    911
    Mentioned
    44 Post(s)
    Tagged
    0 Thread(s)
    Thanks for checking out! My guess is that Time X somehow interferes with Fusion polling for devices when a frame starts. IMO such a severe drop can be caused by a polling event running on loop. For my current situation I decided to get rid of Time X, as it’s not essential for my project. The issue is gone now. Time X is still a widely used extension tho. This bug is for sure very specific, but if it happens it’s game breaking.

Similar Threads

  1. Testers needed for gamepad extension
    By Aasland in forum Extension Development
    Replies: 6
    Last Post: 3rd November 2017, 10:03 AM
  2. Game suffers severe slowdown from gamepad
    By AndyBazooka in forum Multimedia Fusion 2 - Technical Support
    Replies: 15
    Last Post: 10th September 2013, 11:00 PM
  3. Gravity and Time Slowdown
    By King_Cool in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 2nd May 2012, 06:28 PM
  4. String length causing disconnection
    By Phi in forum Lacewing
    Replies: 10
    Last Post: 16th July 2010, 12:43 PM
  5. Severe Bug Detected
    By Ganryu in forum dotNet Scripting
    Replies: 1
    Last Post: 26th January 2009, 08:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •