Skip to content

[Bug] Game will erratically jump to 75-90 FPS on Web Versions #851

Open

Description

@Superbloxen

Describe the issue

On web versions of TheXTech, the game may randomly jump to 75-90 FPS, even if Frameskip, Unlimited Framerate, and V-Sync are all disabled.

A type of bug

Native bug

Does this issue happens always or randomly?

Always happens

Version

1.3.7-dev

Version Hash

#6a4664f

Platform

Web-browser (Emscripten)

Processor architecture

None

Log file (if presented)

No response

Example Case

No response

Recording

No response

Vanilla Recording

No response

Additional context

No response

Activity

  1. added
    NEW-BUG
    on Nov 1, 2024
  2. ds-sloth commented on Nov 1, 2024

    @ds-sloth
    Collaborator

    Thanks for the report! This is a known issue and comes from the fact that Emscripten's frame timing code is not totally reliable.

    Sometime during the 1.3.7.x release lifecycle, I plan to make a large change to the frame control code (removing the game's nested frameloops, for the reference of the other developers), and that should hopefully resolve this issue.

    In the meantime, I'm sorry about it. One user suggested that toggling unlimited framerate on and off might be a possible workaround, but they need to do that once per game launch, so it's quite inconvenient.

  3. added
    native bug
    non-desktop
    and removed
    NEW-BUG
    on Nov 1, 2024
  4. added this to the Version 1.3.7.x milestone on Nov 1, 2024
  5. added a commit that references this issue on Oct 7, 2026
  6. added a commit that references this issue on Oct 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    native bugnon-desktop

    Type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions