PixiJS slow on Chrome@Android devices
See original GitHub issueExpected Behavior
- Fluid animations (60fps or as near as possible to 60fps).
Current Behavior
-
Laggy animations on Chrome at Android devices. Tested with multiple smartphones running android with Chrome at latest version.
-
Works fine on PC or with Firefox on Android.
Possible Solution
- Not known yet
Steps to Reproduce
- Click on play button
- As soon as the song stars, a sound analyser should be presented in the page
- On Android Devices running Chrome, the animation is quite laggy; While on PCs or with Android Devices running Firefox, the animations shows smoothly.
- Fiddle available: https://jsfiddle.net/ruanpiano/f02y9d5e/4/
- Or you can check it out on production: http://intimateband.s3-website-sa-east-1.amazonaws.com/index.html
Environment
pixi.js
version: 5.2.0- Browser & Version: 81.0.4044.111
- OS & Version: Android 10
- Running Example: https://jsfiddle.net/ruanpiano/f02y9d5e/6/ (jsFiddle) or http://intimateband.s3-website-sa-east-1.amazonaws.com/index.html (AWS S3)
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
PixiJS slow on Chrome@Android devices · Issue #6577 - GitHub
Laggy animations on Chrome at Android devices. Tested with multiple smartphones running android with Chrome at latest version. Works fine on PC ...
Read more >Mobile Chrome Slow Performance - Pixi.js
HiI've being making games with pixi for a quite timeAnd now when I've moved from pixi 2 to pixi 3.0 I got super...
Read more >pixijs very slow in mobile compared to css - Stack Overflow
While it works great in desktops it's really slower than the same slide+animations made with pure css in mobile devices (where by the...
Read more >Photon Storm
On average 3x slower than mobile browser ... Device scaling - Viewport management, mobile scaling, UI removal ... Uses Pixi.js for rendering.
Read more >Something is definitely up with this benchmark - PixiJS can ...
We can conclude that Pixi.js is probably faster for drawing sprites, but is definitely slower than Two.js at drawing randomly sized rectangles.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@ivanpopelyshev I Came across this comment on complete accident, however, I did notice the same thing with a slowdown in chrome for android when debugging a few weeks back. It appears to happen when rendering anything rounded after a few seconds from init. The animation was a smooth 60FPS. however, the second something rounded was rendered on a graphic object, either a arc, a circle or a rounded rectangle, the context dropped down to 15-24FPS and started lagging. Replacing the rounded object with a regular rectangle in later tests did not trigger the lag, and rendering a rounded graphic when the animation was starting did also not trigger the lag. Nothing sort of resetting the entire context after the lag has started fixes the issue. This happens on chrome, edge and firefox on android phones, but is not triggered on android tablets. Almost feels like the context is forced into some sort of power saving mode.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.