Closed Bug 1511948 Opened 6 years ago Closed 5 years ago

High CPU and GPU usage on teams.microsoft.com with WebRender ON

Categories

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

65 Branch
Desktop
Windows 10
defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox65 --- affected

People

(Reporter: sergiu, Assigned: kats)

References

()

Details

Attachments

(1 file)

Attached image Task manager screenshot
We got a WebRender issue logged on Webcompat.com
https://github.com/webcompat/web-bugs/issues/21904

The user states that:

"When I have Microsoft Teams as the active tab in Firefox the CPU and GPU usages are very high constantly (even after several minutes doing nothing):

CPU around 10~18% (8 cores)
GPU around 40% (WebRender activated)
The usages drop respectively to 1~2% and 0% when I switch to another tab.
I did try with Chrome, the CPU usage is high (40%) for few seconds, then it goes back to ~1%"

A FREE Account creation is possible on the platform.
I can't reproduce this with WebRender, all pages that I can find sit idle as expected.
From my reading of the webcompat issue, the reporter is complaining that CPU usage is high in Firefox and the GPU usage is high if WR is enabled. So it sounds like we're doing some infinite painting or something in Gecko which spikes the CPU, and if WR is enabled it spikes the GPU as well. So it's not really a WR-specific issue but a Firefox issue in general.

That being said neither Matt nor :sergiu were able to reproduce and the report was made anonymously so we can't contact the reporter for more information. As such this bug seems to not really be actionable and should probably be closed. I'll try to reproduce as well when I'm back at my computer and close if I cannot.
Assignee: nobody → kats
I created a teams account and poked around the interface a bit. Tried conversing with myself and so on, but wasn't able to reproduce the CPU usage problem. Gonna close this as WFM.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WORKSFORME

Hello,

I am also experiencing this issue, but only with Webrender. When I disable Webrender, and use OpenGL backend, all works fine, the Web content process is at 3% max, but with Webrender it is constantly around 17-20%, which drains my laptop battery.

Firefox 85
Ubuntu 20.04

Can you post a profile using the Firefox profiler from https://profiler.firefox.com/ and the "Firefox Graphics" preset?

Flags: needinfo?(roman.dinga)

(In reply to Jeff Muizelaar [:jrmuizel] from comment #5)

Can you post a profile using the Firefox profiler from https://profiler.firefox.com/ and the "Firefox Graphics" preset?

Hi Jeff,

I am sorry, but I am not able to reproduce the issue anymore. Now that I wanted to run the Profiler, I've closed all other tabs and kept only the Teams tab, but the CPU usage is around 1-2%, just jumping to around 7-10% from time to time, which is nothing spectacular. So I suppose that what I had before was caused by some other tab being open or maybe a forgotten download... Anyway, thank you for your time, I think that from my perspective, this is resolved. If I manage to reproduce it sometimes in the future, I will get back...

Cheers...

Flags: needinfo?(roman.dinga)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: