Closed Bug 1703232 Opened 3 years ago Closed 3 years ago

Firefox UI was lagging/not responding upon packet loss on 2021 Manjaro with XFCE

Categories

(Core :: Graphics, defect)

Firefox 87
x86_64
Linux
defect

Tracking

()

RESOLVED DUPLICATE of bug 1718719

People

(Reporter: adm, Unassigned, NeedInfo)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 11.1; rv:78.0) Gecko/20100101 Firefox/78.0

Steps to reproduce:

Linux kernel 5.10.23-1-MANJARO
there was packet loss on the proxy server i am using (maybe was the first time this happened for the months period), after restarting the remote proxy server, no longer loss of packets.

But within the packet loss period (ping shown 30%-50% packet loss) the Firefox 87.0 64bit interface, tabs was extremely slow and then not responding. I mean address bar shown address changing, there are animations moving mouse on tabs, but the website window still shows old tab website, bookmarks toolbar button does not react, Firefox main menu does not open. And then after i fixed packet loss, FF was still not responding for maybe 2 minutes, then the website played the sound of network reconnect and all queued click operations was processed quickly all at once. and interface works. So it is reproducible on my end. Like this:

enable loss: sudo tc qdisc add dev eth0 root netem loss 70%
disable loss: sudo tc qdisc delete dev eth0 root netem loss 70%
(replace eth0 by your net interface returned by “ip a” command. In my case i used my proxy special interface wg0, on my main interface it possibly not worked)

OS: Unspecified → Linux
Hardware: Unspecified → x86_64
Version: 78 Branch → Firefox 87

The Bugbug bot thinks this bug should belong to the 'Core::Networking' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → Networking
Product: Firefox → Core

Thanks for the report.
I'm using Gnome Ubuntu, and I can't reproduce the UI hang with the added packet loss.
Could you try to capture a performance profile
It would be useful to see what's causing the hang.

Flags: needinfo?(adm)

https://share.firefox.dev/3ejEWBF
I have same issue and tried to capture a report.
And there is another report about this, It has video.
https://bugzilla.mozilla.org/show_bug.cgi?id=1719046

(In reply to plumerlis from comment #3)

https://share.firefox.dev/3ejEWBF
I have same issue and tried to capture a report.
And there is another report about this, It has video.
https://bugzilla.mozilla.org/show_bug.cgi?id=1719046

From this profile, the compositor thread looks really busy, so I'd like to switch the component and see if Graphics team has any idea about this.

Component: Networking → Graphics

Could we get about:support output from any machines that can reproduce this?

The profile seems to show us spending time in LayerManagerComposite::Render, which isn't the WebRender path. It could be spending all this effort producing screenshots, so another profile needs to be taken without screenshots. Could @plumerlis help with this, please?

The other profile from bug 1718719 doesn't show any significant time spent in the Compositor, and it was taken without screenshots.

Flags: needinfo?(plumerlis)

Kershaw, can we mark it as a dupe of 1718719?

Severity: -- → S3
Flags: needinfo?(kershaw)

I just reinstall firefox 87 because it freeze everytime I wake up my laptop from suspend.

I will try to put on my about:support output with firefox 90 installed tomorrow.

But I think bug 1718719 is the same issue to mine.

Flags: needinfo?(plumerlis)

(In reply to Dzmitry Malyshau [:kvark] from comment #7)

Kershaw, can we mark it as a dupe of 1718719?

Yeah, let's make this as a dupe.

@plumerlis, could you try to get a http log? Please start logging after packet lost, otherwise the log file would be too big. Thanks.

Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Flags: needinfo?(kershaw) → needinfo?(plumerlis)
Resolution: --- → DUPLICATE
Attached file about support
here is my about:support

I'll try to get a http log. But it seems file is too big to upload. I'll find a way to solve this problem.

Flags: needinfo?(plumerlis)

Patch for bug 1382886 landed. Can you try to reproduce the issue? If you can reproduce the issue please make a http log.

Thanks!

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

Attachment

General

Creator:
Created:
Updated:
Size: