GNOME Bugzilla – Bug 736669
Slow tab switching in Firefox (only reproducible in Gnome/Mutter)
Last modified: 2020-11-07 20:04:08 UTC
Steps to reproduce: Open several tabs in Firefox. Click on one of them to switch to it. Switch back and forth between open tabs. Actual result: Switching tabs takes a very long time, sometimes over 20 seconds. The problem is intermittent but sometimes the display refresh happens when the mouse is moved. Sometimes the page flickers between one tab and another. I've also noticed that entering text in web forms is sometimes noticeably slow. Expected result: Switching tabs should have no visible delay. I've tested under LXDE/Openbox and there is no perceivable delay. Text entry is also snappier. Additional details: I first filed a bug for this with Mozilla (https://bugzilla.mozilla.org/show_bug.cgi?id=1065236) but after various trials the conclusion is that the compositing window manager is to blame. There is a video of the issue here: https://bugzilla.mozilla.org/attachment.cgi?id=8488458
Which GPU and drivers are you using? version?
GeForce GTX 760 with Nvidia Driver Version 340.32
In that case, this might be bug 728464. Can you try with nouveau to be sure?
I've switched to nouveau and back on Gnome it does seem to have improved things. I will continue using it and verify.
Alternatively, you try restarting gnome-shell from a terminal like $ CLUTTER_PAINT=continuous-redraw gnome-shell --replace & and see if you can still reproduce with the nvidia driver.
Closing this bug report as no further information has been provided. Please feel free to reopen this bug report if you can provide the information that was asked for in a previous comment. Thanks!