Closed Bug 1601432 Opened 5 years ago Closed 3 years ago

WebRender abnormal high CPU load with JavaScript off

Categories

(Core :: Graphics: WebRender, defect, P3)

71 Branch
defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: moz_UBpixogT0sacrolfOdgojex3P20, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36

Steps to reproduce:

  1. Create fresh new profile.

  2. Set the following preferences: gfx.webrender.all=true, javascript.enabled=false.

  3. Restart Firefox.

  4. Go to: "https://developer.mozilla.org/en-US/docs/Web/HTML/Element"

  5. Open terminal, start "top", observe CPU load of "GPU Process" to be constantly abnormally high (80%-100%) without interacting with the page in any way.

  6. Enable JavaScript (javascript.enabled=true). Refresh page. Observe CPU load of "GPU Process" to be low.

Additional Information:
OS: Arch Linux
CPU: Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz
GPU: Intel Corporation UHD Graphics 620 (rev 07)
(MESA_LOADER_DRIVER_OVERRIDE="iris")
MESA: 19.2.6

Actual results:

High CPU load (GPU Process) when WebRender is on and JavaScript is off. I noticed this on some Mozilla Developer pages.

Expected results:

With JavaScript off and no page interaction, the GPU Process should be around 0%.

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Graphics: WebRender
Product: Firefox → Core

There is an animated loading bar at the top.

Blocks: wr-linux
Priority: -- → P3

Would you be able to collect a profiler trace? I'm not sure if the regular profiler addon will work with JS enabled (maybe?) but you can also try perf since this is on Linux:

https://github.com/firefox-devtools/profiler/blob/master/docs-user/guide-perf-profiling.md
https://profiler.firefox.com/

Flags: needinfo?(moz_UBpixogT0sacrolfOdgojex3P20)

Profiler trace from command line as requested. All conditions met as described in the steps to reproduce.

Trace is taken on an idle system with only the example site loaded. No interaction with the browser while trace was taken.

Flags: needinfo?(moz_UBpixogT0sacrolfOdgojex3P20)
Blocks: wr-linux-perf
No longer blocks: wr-linux

Frank, do you still see this? Can't reproduce here.

Flags: needinfo?(moz_UBpixogT0sacrolfOdgojex3P20)
Severity: normal → S3
Severity: normal → S3

Clear a needinfo that is pending on an inactive user.

Inactive users most likely will not respond; if the missing information is essential and cannot be collected another way, the bug maybe should be closed as INCOMPLETE.

For more information, please visit auto_nag documentation.

Flags: needinfo?(moz_UBpixogT0sacrolfOdgojex3P20)
Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: