Tab switching slow after suspend/resume
Categories
(Core :: Widget: Gtk, defect)
Tracking
()
People
(Reporter: mar.kolya, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:96.0) Gecko/20100101 Firefox/96.0
Steps to reproduce:
- Start firefox
- open a few tabs, preferably 'heavy' web apps
- Suspend/resume
Actual results:
Looks like sometimes tab switching becomes extremely slow - a few seconds to 10 seconds.
Also partial 'tiled' rendering of the tab contents is seen during the switch.
Expected results:
Suspend/resume should not affect performance.
Ubuntu
FF nightly
Latest nvidia binary drivers,
GM107GLM [Quadro M2000M]
This seems to be relatively new to nightly.
Comment 1•3 years ago
|
||
Nikolay, can you please capture a performance profile using the Cleopatra add-on? You can get more info on how to install and use the Cleopatra add-on (that helps you get the performance profile) by going to:
https://developer.mozilla.org/en-US/docs/Tools/Performance/How_to
https://perf-html.io/
Also, not sure I understand what you are referring to by suspending/resuming. Can you please be more specific?
Thanks!
Reporter | ||
Comment 2•3 years ago
|
||
Also, not sure I understand what you are referring to by suspending/resuming. Can you please be more specific?
Sorry, I meant suspend/resume of the laptop
Are there any specific profiler settings I should be using?
Comment 3•3 years ago
|
||
(In reply to Nikolay Martynov from comment #2)
Also, not sure I understand what you are referring to by suspending/resuming. Can you please be more specific?
Sorry, I meant suspend/resume of the laptopAre there any specific profiler settings I should be using?
The profiler can be used only on Nightly (and from the Description you already do that), let the issue reproduce, start the profiler by clicking on the "Record a performance profile" button, capture, upload local profile and paste here the Permalink.
Reporter | ||
Comment 4•3 years ago
|
||
Sorry, it looks like it would take some time for me to setup a reproducer for this: it doesn't seem to happen every time on suspend/resume.
Also I would need to run a separate instance of the browser to avoid sharing PII in profile.
I'll get back to you.
Reporter | ||
Comment 5•3 years ago
|
||
This will sound ridiculous but it's true.
I've got browser into this state again: switching tabs is slow and when I do that page is redrawn in large rectangles slow enough to be visible.
However - once I enable profiler the problem is gone. When I disable profiler it comes back. I enable it - and it's gone, and so on. So I cannot really reproduce the problem while profiler is running :(
Anything else that I can do?
Comment 6•3 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Comment 7•3 years ago
|
||
Thanks for the report! Please open about:config, set gfx.webrender.allow-partial-present-buffer-age to false, gfx.webrender.max-partial-present-rects to 0 and restart Nightly. Does this help?
Reporter | ||
Comment 8•3 years ago
|
||
Thanks!
So far I cannot reproduce the problem - but I'll give it a few more days, sometimes is doesn't appear right away
Comment 9•3 years ago
|
||
Then it seems to be bug 1743051. Thanks!
Description
•