Frequent frame dropping on https://www.tvnow.de when watching HD video
Categories
(Core :: Graphics, defect)
Tracking
()
People
(Reporter: mconley, Unassigned)
References
(Blocks 1 open bug)
Details
Split out from bug 1652516.
Here's a video from comment 15, but I'm afraid it doesn't play in HD: https://www.tvnow.de/shows/frauentausch-1668/2020-07/episode-454-vanessa-tauscht-mit-jana-257236
Here is a recent profile from Jones H who originally filed this bug.
New user profile w/o screenshots and w/ WebRender enabled as suggested: https://share.firefox.dev/3k34eoY
I'm putting this in the Graphics component because it looks like this is compositor jank.
Comment 1•4 years ago
|
||
@Sotaro: More video perf issues.
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Comment 2•4 years ago
|
||
(In reply to Mike Conley (:mconley) (:⚙️) from comment #0)
New user profile w/o screenshots and w/ WebRender enabled as suggested: https://share.firefox.dev/3k34eoY
:mconley, the profile has CompositorOGL stack. From it, WebRender should not be enabled on the profile. Does the problem happen also with WebRender? And is it a MacOS specific bug?
Comment 3•4 years ago
|
||
(In reply to Sotaro Ikeda [:sotaro] from comment #2)
(In reply to Mike Conley (:mconley) (:⚙️) from comment #0)
New user profile w/o screenshots and w/ WebRender enabled as suggested: https://share.firefox.dev/3k34eoY
:mconley, the profile has CompositorOGL stack. From it, WebRender should not be enabled on the profile. Does the problem happen also with WebRender? And is it a MacOS specific bug?
Sorry, a first profile of bug 1652516 uses WebRender.
Comment 4•4 years ago
|
||
The component has been changed since the backlog priority was decided, so we're resetting it.
For more information, please visit auto_nag documentation.
Comment 5•4 years ago
|
||
:mconley, does the jank also happen with WebRender on nightly on MacOS?
Comment 6•4 years ago
|
||
Actually Jonas is facing this problem, so forwarding the needinfo to him.
Are you asking for latest nightly? My profiles were done with and without WebRender using nightly from ~3 weeks ago, and I've experienced very low FPS on HD all the time.
Comment 8•4 years ago
•
|
||
(In reply to Mike Conley (:mconley) (:⚙️) from comment #0)
Split out from bug 1652516.
Here's a video from comment 15, but I'm afraid it doesn't play in HD: https://www.tvnow.de/shows/frauentausch-1668/2020-07/episode-454-vanessa-tauscht-mit-jana-257236
It seems that the video could not be seen without account. Though we could see a sample video from the following.
Frame drop and HD issue seemed like a different problem. The HD issume might not be a graphics problem.
Comment 9•4 years ago
|
||
(In reply to Mike Conley (:mconley) (:⚙️) from comment #0)
New user profile w/o screenshots and w/ WebRender enabled as suggested: https://share.firefox.dev/3k34eoY
Content process always does a lot of rendering. It caused compositing more busy.
Updated•4 years ago
|
Hi Mike,
Following up on this bug but I'm unable to reproduce the video as it seems it requires registration to Premium service.
Since this issue comes from bug 1652516 which is currently in active discussions, would it be OK to close this one?
Thanks,
Comment 11•3 years ago
|
||
(In reply to Virginia Balducci from comment #10)
Since this issue comes from bug 1652516 which is currently in active discussions, would it be OK to close this one?
Why? This bug has been explicitly spun-off from bug 1652516 because it's a different issue. So no, we have to keep this bug open.
Comment 12•3 years ago
|
||
Jonas, would you mind recording a new profile for such a high-resolution video? Recently a new Runnable
feature was added, and it would be great to have that info. Also make sure to select Firefox Graphics
setting from the profiler. Thank you.
Comment 13•3 years ago
|
||
https://share.firefox.dev/3cG2yAc this is with latest nightly.
Note that I have a new machine now (M1 MacBook Pro), it works flawlessly with that machine and that Firefox version.
Comment 14•3 years ago
|
||
It's good to hear that it works way better for you now with the new M1 machine. The downside is that we cannot verify it on an Intel machine in combination with MacOS 10.15 anymore.
Markus, based on all the investigations for MacOS and CoreAnimation the last days, is there anything you can see in the provided profile from comment 0? Otherwise it's a bit complicated to reproduce given that a premium account is needed for that streaming site to see HD content.
Comment 15•3 years ago
|
||
I can create a profile on the old Intel machine but it has macOS 11.2 now.
Comment 16•3 years ago
|
||
If you can please do it. Maybe it's more a hardware related issue, and might also happen with Big Sur.
Comment 17•3 years ago
|
||
Hi Jonas, have you had the time to already check it with the old MacBook?
Comment 18•3 years ago
|
||
Here we go! https://share.firefox.dev/3s0SINO
It's still lagging terribly, but almost watchable in HD now!
Comment 19•3 years ago
|
||
(In reply to Jonas H. from comment #18)
Here we go! https://share.firefox.dev/3s0SINO
It's still lagging terribly, but almost watchable in HD now!
Markus, would that also depend on bug 1690621? I see a good amount of those Runnables on the main thread.
Comment 20•3 years ago
|
||
Jonas, bug 1690621 has been fixed two weeks ago. Would you mind testing again with your old Macbook?
Comment 21•3 years ago
|
||
I have a profile but was unable to upload it. Tried multiple times but there would always be an error (maybe upload server error?) at the very end of uploading. I also think it's too large to upload here. Any other ideas?
Comment 22•3 years ago
|
||
You could try to deselect screenshot, not include hidden threads. Maybe that already helps? Otherwise maybe you can share it via a file hoster like Dropbox etc?
Comment 23•3 years ago
|
||
Hey, that really worked out. So probably hit the upload size limit? (50 MiB?) Can't be sure because the error message just says "Uh oh something went wrong".
https://share.firefox.dev/3rQoldc
Performance/UX has improved a lot compared to the last time I profiled (https://bugzilla.mozilla.org/show_bug.cgi?id=1658961#c18). There are some frame drops left every now and then, so I'm likely going to use a different browser still.
Comment 24•3 years ago
|
||
Note, I did some jumping around in the video starting at ~120s in the profile. That's where the increased network traffic comes from.
Comment 25•3 years ago
|
||
I had a look at the profile. So what I can see is:
-
The web content process takes 20% for handling
setTimeout
events, which is bug 1641673. Olli, I assume that the time spend insetInterval handler
is similar to that bug? -
The rendering seems to indeed require way lesser CPU nowadays. But it would be good to get some feedback from Markus here, if there is anything left.
Comment 26•3 years ago
|
||
The page seems to be running setTimeout all the time. Most of them are very short. And probably because of those it is causing also
lots of JS garbage.
Comment 27•3 years ago
|
||
if it's all about setTimeout
what's remaining now maybe we should dupe it back to bug 1652516?
Comment 28•3 years ago
|
||
(In reply to Henrik Skupin (:whimboo) [⌚️UTC+1] from comment #27)
if it's all about
setTimeout
what's remaining now maybe we should dupe it back to bug 1652516?
Olli, do you think it's fine to just dupe it now?
Comment 29•3 years ago
|
||
Well, this was split from that. So if this is only about the page using too many timers, we could close this.
Comment 30•3 years ago
|
||
Yes, it was split-off due to low FPS when watching HD videos on that portal. But as we have seen recently this specific problem is gone while the huge amount of setTimeout
calls are still there. So maybe lets mark it as WFM instead.
Description
•