Hang when loading https://www.monbureaunumerique.fr/ on Fenix because of SVG filters
Categories
(Core :: Graphics: WebRender, defect, P3)
Tracking
()
People
(Reporter: kbrosnan, Unassigned)
References
(Depends on 2 open bugs, Blocks 2 open bugs, Regression)
Details
(Keywords: regression)
From github: https://github.com/mozilla-mobile/fenix/issues/19678.
Steps to reproduce
Expected behavior
be able to navigate on the site as on firefox desktop
Actual behavior
firefox has a weird bug, the page is not displayed and cannot close the tab or change the url
Device information
- Device vendor / model and Android version: tested on Pixel XL android 9 and 10
- Firefox for Android version: 88.1.3
Change performed by the Move to Bugzilla add-on.
Reporter | ||
Comment 1•3 years ago
|
||
Profile is https://share.firefox.dev/3fokTTB
I can confirm this bug with Firefox Nightly 90.0a1 on my Google Pixel XL android 10
my phone is not very powerful it may be related to the bug
The website works perfectly on a virtual device: Google Pixel 4XL, Android 11, Firefox Nightly 90.0a1
Comment 4•3 years ago
|
||
As I had written yesterday in the Github Issue Tracker:
I can confirm this issue only with my smartphone (Huawei P smart (2017, 3GB, Android 9.1.0) and the latest Play Store version.
But not complete as the opener has reported. The firsts moments while and after loading the tab Firefox didn't react.
After a few seconds and a previous click on a button Firefox react and the site will be displayed.
On my Chromebook with Intel i5 (8GB) and Android 11 Firefox 89.1.0 and nightly I don't have any problems with the reported site.
Comment 5•3 years ago
|
||
Aaron, can you help figure out where this should be redirected.
Comment 6•3 years ago
|
||
I see a 10.9s hang on the compositor thread.
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Comment 7•3 years ago
|
||
(In reply to Kevin Brosnan [:kbrosnan] from comment #1)
Profile is https://share.firefox.dev/3fokTTB
WRWorker#7 was very busy by the following functions. In the functions, gfx::FilerNode functions were called. I wonder if it might be a regression by Bug 1704792.
- mozilla::gfx::InlineTranslator::TranslateRecording(char*, unsigned long)
- wr_moz2d_render_cb
Updated•3 years ago
|
Comment 9•3 years ago
|
||
does bug 1713350 improve things?
Updated•3 years ago
|
Comment 10•3 years ago
|
||
The original issue was filed against release Firefox 88. It is possible I made it worse but it seems unlikely that was the original issue. Can we get a profile from 88 and/or 89, and a new profile from the latest 90?
I tested with WR (Z3C + LineageOS / Android 10 -- not particularly powerful) on the latest nightly, which includes the patch from bug 1713350, and it seems fine.
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Comment 11•3 years ago
•
|
||
Bug 1713651 turned off bug 1704792 in both nightly and beta so it should no longer be a factor in this performance issue.
Reporter | ||
Comment 12•3 years ago
|
||
Using a Pixel 2XL on Android 11
- Geckoview example 91 - https://share.firefox.dev/3wK6Jli
- Firefox 90 - 8.2s hang
mozilla::layers::WebRenderBridgeParent::CompositeToTarget
https://share.firefox.dev/3yTkOik - Firefox 89 - 8.3s hang
mozilla::layers::WebRenderBridgeParent::CompositeToTarget
https://share.firefox.dev/3pcmtv0
Make sure that even when the throbber shows that the page is loaded that the images below the fold are loaded and the page scrolls smoothly.
Comment 13•3 years ago
|
||
This is happening because of SVG filters.
Comment 14•3 years ago
|
||
Here's the filter in question:
<defs>
<filter id="filter--blur" x="0" y="0">
<feGaussianBlur in="SourceGraphic" stdDeviation="20"></feGaussianBlur>
<feMorphology operator="dilate" radius="16"></feMorphology>
<feMorphology operator="dilate" radius="6"></feMorphology>
</filter>
</defs>
We do not accelerate feMorphology. All that being said, it does seem like this is showing up as more expensive than it should be.
Updated•3 years ago
|
Updated•3 years ago
|
Updated•8 months ago
|
Description
•