Jump to content

Having a weird frame drop issue


Recommended Posts

Hello! 👋

I am stuck with a rather peculiar issue, my application will render two frames, then drop two frames before repeating the pattern.

Been debugging this for several days, and found a few hints.

- Complexity does not affect it at all, I have reduced it a single sprite on an empty canvas, and I get the exact same issue as a full scene.

- Other pixi applications are not affected by this. So its a problem with my code, not the library or hardware. (Despite this only happening on this particular device)

- The device is more or less idling, no real processing happening.

- It does not happen when I make the canvas small, but happens when I scale it to near-fullscreen. Setting resolution has no effect. I can make it really low resolution, without any change in framerate.

- It is not executing any logic in requestAnimationFrame, just rendering a single sprite.

I have attached an image. It contains a profile of my app to the left, and google maps to the right. Google maps is consuming far more resources in every aspect, yet runs perfectly smoothly.

Currently the app is running with requestAnimationFrame and the Pixi renderer directly, but earlier it was using Pixi Application, with the exact same result.


Has anyone here experienced something similar?



Link to comment
Share on other sites

Crazy thing, finally figured out what is causing the problem!

A CSS rule on a completely unrelated part of the system. Removed it, and now everything runs like butter. Seems like the backdrop filter is somehow interfering with rendering.

backdropFilter: "blur(55px) saturate(2)",


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...