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

gpu usage is nearly 100% #12

Open
helgrima opened this issue Dec 15, 2018 · 4 comments
Open

gpu usage is nearly 100% #12

helgrima opened this issue Dec 15, 2018 · 4 comments
Labels
bug Something isn't working

Comments

@helgrima
Copy link
Member

this is bad, should find fix

@helgrima helgrima added the bug Something isn't working label Dec 15, 2018
@helgrima
Copy link
Member Author

stop rendering loop when it is not needed would help a lot. just run render when music is playing.

@helgrima
Copy link
Member Author

it seems to work little bit better with glfw and it might be that this not actually a bug. maybe we should just close this for now.

@helgrima
Copy link
Member Author

using glfwSwapInterval to limit framerate when music is not playing could provide solution to this

@helgrima helgrima reopened this Apr 12, 2019
@helgrima
Copy link
Member Author

if framerate is limited when music is not playing gpu usage drops dramatically. this also has side effect that limits framerate when traversing trough rocket tracks. clever way to detect that music is not playing and user is not traversing trough rocket tracks will be needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant