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

Static scene performance #1145

Closed
DavidLeoni opened this issue Feb 3, 2019 · 3 comments
Closed

Static scene performance #1145

DavidLeoni opened this issue Feb 3, 2019 · 3 comments

Comments

@DavidLeoni
Copy link

Seems like a static scene with just the default cube and no script eats 5% of cpu, which on my laptop triggers the fan quite early. During most games this is not an issue as scene is expected to move constantly, but for other scenarios like online item configurators or static adventure games this can be annoying (noise, heating, battery drain, etc).

I have Ubuntu 16.04 and tried HTML5 debug / build mode both in Firefox 65 and Chrome 67 with similar results.

David

@luboslenco
Copy link
Member

Hello,

Do you experience the same issue when running in Krom? What is your GPU usage? That may be the main reason for spinning fans. (You could verify that by lowering the render path to the mobile preset.)

@DavidLeoni
Copy link
Author

Disclaimer: I know nothing about GPU profiling :-)

I gave it a try with Krom Desktop / Mobile, HTML5 Mobile Firefox / Chrome. Setting Mobile actually solves the problem except in the Firefox, where CPU usage seems still too high (15%) with fan spinning, while in Chrome CPU remains silent at ~7%

I put here the findings.

I have Intel card, and I used tool intel_gpu_top

image

just Blender

for comparison
cpu: 0
gpu: low
fans spinning: no

image

Krom Desktop published build

cpu: low
gpu: high
fans spinning: yes

image

Krom Mobile published build

cpu: low
gpu: low
fans spinning: no

image

HTML5 Mobile published build Firefox

cpu: 15%
gpu: low
fans spinning: yes

image

HTML5 Mobile published build Chrome

cpu: 7%
gpu: low
fans spinning: no

image

@luboslenco
Copy link
Member

Thanks for the great info there! Will further improve at #870.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants