Google Meet high sync IPC ReadPixels with the use of the background image feature
Categories
(Core :: Graphics: Canvas2D, defect)
Tracking
()
People
(Reporter: jimm, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
|
32.60 KB,
text/plain
|
Details |
https://share.firefox.dev/3UsiPO0
STR:
- In Meet, enable the background image feature on your video. You may have to connect to meeting to set it up.
- connect to a meeting. This can be a room with just ou as a participant, with your video in the panel or framed view on the screen.
- wait a few minutes
results:
heavy fan use on this 2020 mac laptop
Some feedback from Andreas on Matrix -
The content process main thread is pretty hogged (only ~4% idle), most likely with video filter stuff (the message event is what their worker running a timer passes to the content process to drive the filter). Per the flame graph and inverted call tree it's mainly (35%) PWebGL::Msg_ReadPixels so sync gpu readbacks. Most of that time should be the CPU idling while waiting for it to complete, though, so fans spinning ought to be something else. The remaining 60% is pretty scattered, mainly wasm, then js and GC. The CanvasRenderer thread in the parent is where the readbacks happen. That thread is still ~60% idle, ~25% waiting for kernel messages (GPU?) and the remaining ~15% is work. Yeah, turning off the video filter should do a lot.
| Reporter | ||
Comment 1•5 months ago
|
||
Comment 2•5 months ago
|
||
I agree with what Andreas said - the cause is the fact that Google Meet calls ReadPixels to compute the video filter. I don't see anything particularly inefficient on the Firefox side in the profile - is performance better in Chrome on this machine?
| Reporter | ||
Comment 3•5 months ago
|
||
Unfortunately Chrome displays no run up in cpu usage, and the device fans don't kick in after a few minutes in the video waiting room. So clearly Fx is struggling here compared to Chrome.
Comment 4•5 months ago
|
||
The severity field is not set for this bug.
:lsalzman, could you have a look please?
For more information, please visit BugBot documentation.
Comment 5•5 months ago
|
||
Do we have an equivalent profile from Chrome to verify among other things, if Zoom is even running the same code for Firefox and Chrome?
| Reporter | ||
Updated•8 days ago
|
Description
•