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

Idle web-based nunuStudio causes high GPU load #10

Closed
malekcellier opened this issue Feb 28, 2017 · 6 comments
Closed

Idle web-based nunuStudio causes high GPU load #10

malekcellier opened this issue Feb 28, 2017 · 6 comments
Labels
Bug Broken features in the platform.

Comments

@malekcellier
Copy link

Steps to reproduce the issue:

  1. start a local webserver (i use WebServer for Chrome)
  2. open nunuStudio/source/editor.html
  3. fire up TechPowerUp
  4. observe the high GPU load (here 70%)

2icgdurh

On my desktop PC it is not really an issue, but on my laptop it causes the fans to vigorously spin with the corresponding noise.

Maybe something can be done to reduce the idle load?

Hardware:

@tentone
Copy link
Owner

tentone commented Feb 28, 2017

Hi @user1713952

Can you please try to run the version available at doc/editor folder, just to check if the minified version has some impact. Probably it will not.

I will have to do some testing myself and take some time to find what is causing that GPU load.

Thanks a lot for reporting it.

Cumps

@malekcellier
Copy link
Author

Hi @tentone

Thanks for the feedback. Unfortunately the problem still occurs.
image

BR
M.

@tentone
Copy link
Owner

tentone commented Feb 28, 2017

Thanks for checking

I will not be able to check this today, but as soon as i do it i will let you know.

@malekcellier
Copy link
Author

No worries, no rush! I am grateful that you are considering it. Thanks again for your great work and for sharing it too!

@tentone tentone added the Bug Broken features in the platform. label Feb 28, 2017
@diamondo25
Copy link

You could possibly give us a trace from the JavaScript Profiler inside the Chrome Web Inspector (F12), that would help us.

@tentone
Copy link
Owner

tentone commented Mar 13, 2017

@user1713952 Hi there

I have been refactoring some code inside nunu to avoid creating so many webgl contexts and removed the global update cycle.

This helped to reduce GPU usage a bit, (not much, its around 10~20% on my laptop Intel HD5100 IDLE).

Even though it is indicated as GPU use we always have to take into account that the GPU is in the minimum profile of performance. The use of GPU is measured in GPU time spent, so a GPU in idle 40% is reasonably normal given the low clock frequency.

In the case of the threejs editor, for example the GPU usage goes to zero because if the camera is stopped it stops rendering (it avoids rendering the same image several times).

Thanks, i hope this have helped

Cumps

@tentone tentone closed this as completed Mar 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Broken features in the platform.
Projects
None yet
Development

No branches or pull requests

3 participants