Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu - WebGL slows to a crawl and crashes #3856

Closed
zcr1 opened this issue Mar 21, 2017 · 3 comments
Closed

Ubuntu - WebGL slows to a crawl and crashes #3856

zcr1 opened this issue Mar 21, 2017 · 3 comments
Labels
🤔 Question User question, similar to Help Wanted or Needs Help. These can be addressed whenever someone has tim

Comments

@zcr1
Copy link

zcr1 commented Mar 21, 2017

I'm having an issue on a game I'm working on that works perfectly on my weak MacBook Air but comes to a crawl on my desktop which is far beefier, running Ubuntu. Issues are present in both Firefox and Chrome although it seems like only Chrome ends up crashing.

It's difficult for me to isolate the code as it's an intertwined game that is not finished. I included a picture of the chrome profiler though. PC runs the bunny benchmark fine. Using latest version of pixi but have tried a few previous releases as well.

profile

Any thoughts?

@ivanpopelyshev
Copy link
Collaborator

ivanpopelyshev commented Mar 21, 2017

Something about Graphics class. GraphicsRenderer is the problem. How exactly do you use it?

@zcr1
Copy link
Author

zcr1 commented Mar 21, 2017

@ivanpopelyshev Thanks for the hint I seem to have found the issue! I had a few objects with an attached Graphics that drew two rectangles every frame, but I forgot to clear() beforehand. Adding that in seems to have solved it.

@zcr1 zcr1 closed this as completed Mar 21, 2017
@ivanpopelyshev ivanpopelyshev added the 🤔 Question User question, similar to Help Wanted or Needs Help. These can be addressed whenever someone has tim label Mar 21, 2017
@lock
Copy link

lock bot commented Feb 24, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Feb 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🤔 Question User question, similar to Help Wanted or Needs Help. These can be addressed whenever someone has tim
Projects
None yet
Development

No branches or pull requests

2 participants