ramako Posted July 26, 2019 Share Posted July 26, 2019 Hello, I have around 15 spines on screen. FPS in chrome is in the 20s, firefox and canary are rock solid 60 fps. Removing spines (or swapping them for static images) will make Chrome hit 60 fps. I believe this has been recently (3 months ago or so) introduced in one of chrome updates. Using PIXI 4.8.8, Pixi-spine 1.5.16, and chrome 75.0.3770.142 64 bits. Anyone else encountered this issue? Quote Link to comment Share on other sites More sharing options...
b10b Posted July 26, 2019 Share Posted July 26, 2019 First try ... Double check Chrome is really using WebGL. Spine mesh deformation can be quite intensive for Canvas and could easily account for these FPS variations (if WebGL isn't working). vedia and ivan.popelyshev 2 Quote Link to comment Share on other sites More sharing options...
themoonrat Posted July 27, 2019 Share Posted July 27, 2019 A couple of other things... 1. Check how complex your spines are; artists love to go overboard with the cool stuff spine can do! But the more complex the Spine the slower it will be to render. When first integrating it into our libs, I asked for a very basic test spine that just had it moving from side to side, to compare performance Vs animation frames. Turns out this basic shape still accidentally contained a totally unneeded mesh! 2. Pixi v5 is able to batch meshes, so (taking a wild guess you're making a slot game!) if you have multiple of the same symbol spin through, v5 can batch those for faster rendering time when v4 can't. ramako 1 Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted July 27, 2019 Share Posted July 27, 2019 We had flamingo symbol with 300 bones inside a mask, in a slot game. Quote Link to comment Share on other sites More sharing options...
digibo Posted July 30, 2019 Share Posted July 30, 2019 If it's ok in Canary and it was used to be ok in the past, you may be experiencing this issue with Chrome 75 - https://bugs.chromium.org/p/chromium/issues/detail?id=971529 It seems to be an issue with Intel graphics cards. Quote Link to comment Share on other sites More sharing options...
ramako Posted August 1, 2019 Author Share Posted August 1, 2019 Hello all, thanks for the replies! I will test your suggestions Indeed it seems to happen in an intel card, I had guessed because other cards are way more powerful they do not have performance issues. Seems to be related to that bug. So I just updated chrome, seems they released a new one these past few days. Its back to 60 fps! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.