You are not logged in.

#1 2023-03-28 19:33:24

jamess7995
Member
Registered: 2021-10-25
Posts: 41

"Firefox" browsers tabs go unresponsive

I use Firefox, Firedragon, and LibreWolf. All 3 exhibit the same behavior. I have 32GB of ram, and I use my desktop for personal home lab dev work, personal stuff like banking, schoolwork, and gaming. I like to have the separate browsers to compartmentalize things. I don't use librewolf for anything but schoolwork. If I'm in the middle of dev work and want to switch to schoolwork, I just open libre wolf, leaving the other browser open. All three of them inconsistently, for 2 years, even after an unrelated reinstall, will go unresponsive, kinda. Tab 1 could be puppies, tab 2 - kittens, and tab 3 - goldfish. I'll try to switch from tab 1 to tab 2. The window below the bookmarks bar continues displaying tab 1 stuff, the puppies. The title bar, level with the close window button, will change to kittens however. Sometimes it will eventually switch the displayed content, if I click enough, not if I wait long enough. The only resolution is to mess with the window. This might mean closing it and relaunching. Using CTRL + N, taking the tab out of that window, now it's separated in its own window, and apparently adding it back still fixes it. Sometimes I go weeks without experiencing this. Sometimes it happens a few times a day. Sometimes it happens when I've opened a total of 3 tabs, sometimes it happens when I open 30 tabs. This isn't necessarily back to back, sometimes it is. I just discovered that moving the tab out and back in "resolves" it. I was hoping to seek advice on fixing it while it was occurring, but now it might be gone for weeks or 2 minutes. What path do I take to resolve this kind of thing. I've tried to find posts about this, surely I'm not the only one with this problem, maybe I'm describing it weirdly.

Offline

#2 2023-03-28 19:35:48

arch_jsb
Member
Registered: 2010-03-13
Posts: 30

Re: "Firefox" browsers tabs go unresponsive

following

Offline

#3 2023-03-28 21:00:57

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 68,305

Re: "Firefox" browsers tabs go unresponsive

@arch_jsb, there's a scubscribe link in the lower right corner of every thread.

@jamess7995 … and an Enter key on your keyboard.
To isolate

the relevant part wrote:

Tab 1 could be puppies, tab 2 - kittens, and tab 3 - goldfish. I'll try to switch from tab 1 to tab 2.
The window below the bookmarks bar continues displaying tab 1 stuff, the puppies. The title bar, level with the close window button, will change to kittens however.
Sometimes it will eventually switch the displayed content, if I click enough, not if I wait long enough.
The only resolution is to mess with the window.

Does the troubleshoot mode exhibit this behavior?

killall firefox; sleep 5; firefox -safe-mode

What display server is this (X11 or some wayland compositor)?
In case of X11, please post your Xorg log, https://wiki.archlinux.org/title/Xorg#General
And on a limb, remove xf86-video-intel,

grep -ri intel /{etc,usr/share}/X11/xorg.conf*

to make  sure it's also not referenced in any config file (or Xorg won't start)

Last edited by seth (2023-03-28 21:01:21)

Offline

#4 2023-03-28 21:36:08

jamess7995
Member
Registered: 2021-10-25
Posts: 41

Re: "Firefox" browsers tabs go unresponsive

seth wrote:

Does the troubleshoot mode exhibit this behavior?

killall firefox; sleep 5; firefox -safe-mode

I will have to start using safe mode to test. It will be tricky since I sometime go weeks without experiencing the issue. That's not to say I won't, but I might not find out quickly.

In case of X11, please post your Xorg log, https://wiki.archlinux.org/title/Xorg#General

I'm using X11 and KDE.
I pasted using ix.io. I didn't know if it would be obnoxious to paste the whole Xorg file. I've provided two versions of the file, the first is the latest 1000 lines, tail -n 1000. The second version is the full file.
shorter version
longer_version
If the log needs to be checked closer to the issue occurring, I'll now know to check that next time it occurs.

And on a limb, remove xf86-video-intel,

grep -ri intel /{etc,usr/share}/X11/xorg.conf*

to make  sure it's also not referenced in any config file (or Xorg won't start)

I went to remove xf86-video-intel, it's not found, which makes sense. I'm using nvidia drivers.
I used that grep command and received 0 output, which makes sense to me since that shouldn't be installed.

Next time it occurs, hopefully I'll be in safemode, and I'll check and report back with terminal info from launching safe mode, as well as an updated xorg log. I hope I've provided what you wanted for now.

Offline

#5 2023-03-28 22:14:45

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 68,305

Re: "Firefox" browsers tabs go unresponsive

nvidia GL contexts have a tendency to freeze when you switch the framebuffer control, typically after waking from S3 (suspend to ram) or switching to a different console (ctrl+alt+f2,3,4…) and back.

Offline

#6 2023-03-28 22:22:56

jamess7995
Member
Registered: 2021-10-25
Posts: 41

Re: "Firefox" browsers tabs go unresponsive

seth wrote:

nvidia GL contexts have a tendency to freeze when you switch the framebuffer control, typically after waking from S3 (suspend to ram) or switching to a different console (ctrl+alt+f2,3,4…) and back.

I think we can rule that out if I'm understanding what you're saying. I don't put my desktop to sleep. I do have kvm switches to use a work provided imac for work from home. I enter those tty consoles once or twice a year when I mess my system up. The issue also occurs while I'm actively using the browser. It hasn't been the kind of thing where I've walked away and come back to issues. It's always been I'm in the middle of doing something, I go to switch tabs, and the window doesn't update properly.

Offline

#7 2023-03-29 07:23:57

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 68,305

Re: "Firefox" browsers tabs go unresponsive

Are we in reality talking about 3 tabs, 30, 300 or 3000?
Does resizing the window immediately "fix" it or does it still take a moment?

Offline

#8 2023-03-29 18:42:32

jamess7995
Member
Registered: 2021-10-25
Posts: 41

Re: "Firefox" browsers tabs go unresponsive

seth wrote:

Are we in reality talking about 3 tabs, 30, 300 or 3000?
Does resizing the window immediately "fix" it or does it still take a moment?

Not 3 tabs. I've had it happen with a small amount like 7 tabs, I've had it happen with 30 tabs. It doesn't appear tied to the amount of tabs, I'll sometimes have a bunch, as in like 20 tabs, per browser, and it'll be fine. Sometimes I have only one browser open, only a few tabs, around 7, and the issue can occur. I wanna say that resizing the window has been tried but I don't know with 100% certainty, I'll check that next time.

Offline

#9 2023-04-12 18:53:12

jamess7995
Member
Registered: 2021-10-25
Posts: 41

Re: "Firefox" browsers tabs go unresponsive

seth wrote:

Are we in reality talking about 3 tabs, 30, 300 or 3000?
Does resizing the window immediately "fix" it or does it still take a moment?

Resizing has 0 impact. I was able to reproduce it in librewolf. In safe mode. This is the output, which seems irrelevant:

[Parent 39534, Main Thread] WARNING: dbusmenu_menuitem_property_set_shortcut: assertion 'gtk_accelerator_valid(key, modifier)' failed: 'glib warning', file /builds/librewolf-community/browser/arch/src/firefox-111.0.1/toolkit/xre/nsSigHandlers.cpp:167

(LibreWolf:39534): LIBDBUSMENU-GTK-CRITICAL **: 18:03:56.405: dbusmenu_menuitem_property_set_shortcut: assertion 'gtk_accelerator_valid(key, modifier)' failed
[Parent 39534, Main Thread] WARNING: dbusmenu_menuitem_property_set_shortcut: assertion 'gtk_accelerator_valid(key, modifier)' failed: 'glib warning', file /builds/librewolf-community/browser/arch/src/firefox-111.0.1/toolkit/xre/nsSigHandlers.cpp:167

(LibreWolf:39534): LIBDBUSMENU-GTK-CRITICAL **: 18:05:08.030: dbusmenu_menuitem_property_set_shortcut: assertion 'gtk_accelerator_valid(key, modifier)' failed
[Parent 39534, Main Thread] WARNING: dbusmenu_menuitem_property_set_shortcut: assertion 'gtk_accelerator_valid(key, modifier)' failed: 'glib warning', file /builds/librewolf-community/browser/arch/src/firefox-111.0.1/toolkit/xre/nsSigHandlers.cpp:167

(LibreWolf:39534): LIBDBUSMENU-GTK-CRITICAL **: 18:51:57.666: dbusmenu_menuitem_property_set_shortcut: assertion 'gtk_accelerator_valid(key, modifier)' failed

Here's the xorg log

Offline

#10 2023-04-12 20:40:43

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 68,305

Re: "Firefox" browsers tabs go unresponsive

[    28.819] (**) Option "NoPM" "true"

??

Generally the xorg.conf is pointless cruft.

nvidia-settings -q all

(That's gonna be a shit-ton of text, so better redirect it into a file or pastebin service)

Offline

#11 2023-04-12 21:35:53

jamess7995
Member
Registered: 2021-10-25
Posts: 41

Re: "Firefox" browsers tabs go unresponsive

seth wrote:
[    28.819] (**) Option "NoPM" "true"

??

Generally the xorg.conf is pointless cruft.

nvidia-settings -q all

(That's gonna be a shit-ton of text, so better redirect it into a file or pastebin service)

I've no clue what NoPM means, here's the nvidia settings

Offline

#12 2023-04-13 06:02:44

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 68,305

Re: "Firefox" browsers tabs go unresponsive

https://man.archlinux.org/man/extra/xor … #Option~14
Has this ever happened w/ only one monitor (preferably not the 165Hz one) attached?

Offline

#13 2023-04-13 14:42:18

jamess7995
Member
Registered: 2021-10-25
Posts: 41

Re: "Firefox" browsers tabs go unresponsive

seth wrote:

https://man.archlinux.org/man/extra/xor … #Option~14
Has this ever happened w/ only one monitor (preferably not the 165Hz one) attached?

I've always had at least 2 monitors connected. If this issue occurred daily, I could totally just disconnect 2/3 monitors but with how rare this could be, I'd rather just let it go than disconnect the monitors. I'm open to other ideas for investigation.

Offline

#14 2023-04-13 14:55:07

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 68,305

Re: "Firefox" browsers tabs go unresponsive

Disconnect at least the 165Hz one or run it at 60Hz.

Offline

#15 2023-04-13 15:08:53

jamess7995
Member
Registered: 2021-10-25
Posts: 41

Re: "Firefox" browsers tabs go unresponsive

seth wrote:

Disconnect at least the 165Hz one or run it at 60Hz.

I would be much more willing to do that, I can tell you though, this issue occurred before I added monitor #3, the 165HZ one. I'll still disconnect it while investigating.

Offline

#16 2023-04-13 19:10:11

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 68,305

Re: "Firefox" browsers tabs go unresponsive

this issue occurred before I added monitor #3

renders

I'll still disconnect it

pointless.

If this issue occurred daily … but with how rare this could be

So how frequent (roughly) is this? Can you make out any pattern that would explain why the GL context would have to be recreated (otherwise use of VRAM, de/activation of outputs, screensaver/DPMS, …)?

Offline

#17 2023-04-14 18:31:34

jamess7995
Member
Registered: 2021-10-25
Posts: 41

Re: "Firefox" browsers tabs go unresponsive

seth wrote:

this issue occurred before I added monitor #3

renders

I'll still disconnect it

pointless.

If this issue occurred daily … but with how rare this could be

So how frequent (roughly) is this? Can you make out any pattern that would explain why the GL context would have to be recreated (otherwise use of VRAM, de/activation of outputs, screensaver/DPMS, …)?

Sometimes it occurs multiple times daily, sometimes it doesn't occur for a couple weeks. I use these browsers almost daily for 1-2 hours, but multiple times a week I'm actively using them for 6+ hours. I frequently will be searching a tab for some string, and will switch from tab to tab, using CTRL + F, and it will be fine, sure sometimes it does the behavior, but I've had it happen where I haven't touched the browser for 5 minutes, and I switch from one tab to another, and the issue presents itself. I'm sure there is a pattern, there's gotta be, but I haven't found it, its always felt inconsistent and random.

Offline

#18 2023-04-14 19:47:31

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 68,305

Re: "Firefox" browsers tabs go unresponsive

Have you considered that the driving pattern might be external to the browser (eg. the forementioned S3, but also other VRAM intense clients might be relevant, daytime - eg. some cronjob…)

Offline

#19 2023-04-15 23:54:45

jamess7995
Member
Registered: 2021-10-25
Posts: 41

Re: "Firefox" browsers tabs go unresponsive

seth wrote:

Have you considered that the driving pattern might be external to the browser (eg. the forementioned S3, but also other VRAM intense clients might be relevant, daytime - eg. some cronjob…)

I don't really know what to consider, I'm not sure how to diagnose or troubleshoot this. I know it occurs in different firefox browsers, I don't use chromium unless I have to for some specific website I encounter. I know I haven't had this issue in other programs. I wouldn't know where to go from here, that's why I'm here.

Offline

#20 2023-04-16 07:13:28

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 68,305

Re: "Firefox" browsers tabs go unresponsive

The symptoms sound like what's common w/ the nvidia blob when changing the framebuffer control, typically on resume from suspend or simply changing to a different VT.
We're looking for anything else that might encounter at the time and maybe relate to the framebuffer control.

To make sure it's the HW and not some freakish bug in FF:
1. disable all HW acceleration in FF and see whether the issue shows up again w/o
2. only disable the webrenderer HW accel and see whether the issue shows up again w/o
3. inspect the dmesg/journal fro nvidia/nvrm driver messages (notably GPU resets, they're not common to the framebuffer control issue, though.

Also make sure you're setting "nvidia-drm.modeset=1", https://wiki.archlinux.org/title/NVIDIA … de_setting

Offline

Board footer

Powered by FluxBB