Supagoat Posted July 28, 2020 Share Posted July 28, 2020 We've just upgraded from PixiJS 4.8.5 to 5.2.4 and are encountering a major performance issue that we've correlated to a few models of Intel integrated graphics chips (620, 630, and 4600). The framerate on machines experiencing the problem can drop to ~ 1fps. When WebGL is disabled the performance improves drastically. The performance issue is triggered when a large number of text elements are being rendered. To complicate things, we have custom text rendering as a PixiJS plugin. That was working without a performance problem in 4.8.5, though. We're observing the GPU portion of the performance profile being all green, so it definitely seems GPU related. Any potential solutions or avenues of investigation would be appreciated. ivan.popelyshev 1 Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted July 28, 2020 Share Posted July 28, 2020 Did you use SpectorJS to see how many different webgl commands are there with your text plugin? Quote Link to comment Share on other sites More sharing options...
Supagoat Posted July 28, 2020 Author Share Posted July 28, 2020 Yes. It seems like it's only debugging the webgl "calls" not the execution. The duration it picks up are minuscule and basically the same on a system that's not affected by the performance problem as one that is. Quote Link to comment Share on other sites More sharing options...
Supagoat Posted July 29, 2020 Author Share Posted July 29, 2020 The problem appears to be that the type of object we're creating for the text is not able to be batched by the batch renderer, so each call generates a separate render. Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted July 29, 2020 Share Posted July 29, 2020 (edited) and pixi-batch-renderer plugin might help you. Anyway, count those calls, SpectorJS allows that. How many bindTexture and bindShader? Edited July 29, 2020 by ivan.popelyshev 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.