Open Bug 1471029 Opened 8 years ago Updated 3 years ago

High cpu/gpu usage and hangs on page-http://telegra.ph/Telegram-X-03-26 & other pages

Categories

(Core :: Audio/Video: Playback, defect, P3)

63 Branch
defect

Tracking

()

Performance Impact medium
Tracking Status
firefox-esr52 - wontfix
firefox-esr60 - wontfix
firefox-esr68 --- wontfix
firefox61 - wontfix
firefox62 - wontfix
firefox63 - wontfix
firefox64 --- wontfix
firefox65 --- wontfix
firefox67 --- wontfix
firefox68 --- wontfix
firefox69 --- wontfix
firefox70 --- wontfix
firefox71 --- wontfix
firefox72 --- fix-optional

People

(Reporter: telufelo, Unassigned)

Details

(Keywords: hang, perf:resource-use, power)

Attachments

(1 file)

6.58 MB, application/x-zip-compressed
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Firefox/60.0 Build ID: 20180625093249 Steps to reproduce: http://telegra.ph/Telegram-X-03-26 Open and see the CPU usage Happens in ESR52/60 Not with EDGE Actual results:
Keywords: hang
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:63.0) Gecko/20100101 Firefox/63.0 Version: 63.0a1 Managed to reproduce this issue on the current release build 61.0 and also on the latest nightly build 63.0a1 (2018-06-27) using macOS 10.14.
Component: Untriaged → General
Product: Firefox → Core
Status: UNCONFIRMED → NEW
Ever confirmed: true
I profiled this but didn't see anything interesting at all. Off the top of my head, I'm going to guess that maybe something is happening with the animated-gif-like .mp4 files.
Component: General → Audio/Video: Playback
Priority: -- → P3
(In reply to Andrew Overholt [:overholt] from comment #2) > I profiled this but didn't see anything interesting at all. Off the top of > my head, I'm going to guess that maybe something is happening with the > animated-gif-like .mp4 files. Any ETA? why can other browsers work fine ? And other sites like imgur etc have the same problem too sometimes.
Flags: needinfo?(overholt)
Has Regression Range: --- → irrelevant
Has STR: --- → irrelevant
Keywords: power, site-compat
OS: Unspecified → All
Hardware: Unspecified → All
Summary: ESR52/60 High cpu usage and hangs on page-http://telegra.ph/Telegram-X-03-26 → ESR52/60/63 High cpu/gpu usage and hangs on page-http://telegra.ph/Telegram-X-03-26 & other pages
Version: 60 Branch → 63 Branch
We could take a patch still in beta 62 if anyone has time to work on this issue. It looks like the team is aware of the issue and triaged it already to P3 so I don't see a need to track it. Might we also reach out to telegram? It looks to be uncertain if it's really our bug or theirs.
Andrei, can someone from QA take a look at getting STR for 63 nightly? If we can provide a profile maybe that would be useful.
Flags: needinfo?(andrei.vaida)
(In reply to Firefox_Ninja from comment #3) > (In reply to Andrew Overholt [:overholt] from comment #2) > > I profiled this but didn't see anything interesting at all. Off the top of > > my head, I'm going to guess that maybe something is happening with the > > animated-gif-like .mp4 files. > > Any ETA? > > why can other browsers work fine ? > > And other sites like imgur etc have the same problem too sometimes. Nils is a better person to answer this than I am.
Flags: needinfo?(overholt) → needinfo?(drno)
I tested this issue on Mac OS X 10.14 Beta 4 (18A336e) with FF Nightly 63.0a1 (2018-07-26). Here is a performance profile: https://perfht.ml/2Aba2tz. The steps that I used are: 1. Open FF with a new profile 2. Go to the link provided in the description http://telegra.ph/Telegram-X-03-26 I also did a screen recording with the issue: https://streamable.com/0478i
Flags: needinfo?(andrei.vaida)
Not a recent regression. Thus I think the priority is right. jya any immediate idea what could be going on here?
Flags: needinfo?(drno)
Not a recent regression, several people in the audio/video team are not available in August and the Beta merge is early September so tracking as fix-optional.
Keywords: site-compat
Summary: ESR52/60/63 High cpu/gpu usage and hangs on page-http://telegra.ph/Telegram-X-03-26 & other pages → ESR60/63 High cpu/gpu usage and hangs on page-http://telegra.ph/Telegram-X-03-26 & other pages
Updating tracking flags as we get closer to the 64 release.

Still reproduces for me on a current Nightly. Can we maybe get someone to take another look at this?

Summary: ESR60/63 High cpu/gpu usage and hangs on page-http://telegra.ph/Telegram-X-03-26 & other pages → High cpu/gpu usage and hangs on page-http://telegra.ph/Telegram-X-03-26 & other pages
Whiteboard: [qf]
Attached file reduced html —

many video element with preload="auto" autoplay="autoplay" loop="loop" causes the high cpu problem

Whiteboard: [qf] → [qf:p2:resource]
Performance Impact: --- → P2
Whiteboard: [qf:p2:resource]
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: