Closed Bug 1729334 Opened 3 years ago Closed 2 years ago

FIrefox random freezes on Linux Mint (GLX/X11 XFCE/AMD)

Categories

(Core :: Graphics: WebRender, defect)

Firefox 91
x86_64
Linux
defect

Tracking

()

RESOLVED INCOMPLETE
Tracking Status
firefox-esr91 --- wontfix

People

(Reporter: mbstein, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: hang)

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0

Steps to reproduce:

  • Have Firefox open
  • Random freeze from time to time, independent of which and how many tabs are open
  • New instance works, but the 'old' instance needs to be killed via Terminal

It seems to be independent of Linux kernel version, Linux Mint version, GPU or driver version. It crashes just as well as on 5.4 or 5.11 of the kernel, 20.1 and 20.2 did crash as often, an old (RX 580) or new (RX 6600 GT) GPU doesn't matter either and neither did updating the drivers (through the kernel updates).

Actual results:

Firefox runs normal again, till the next random freeze

Expected results:

No freezes

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

Component: Untriaged → Graphics: WebRender
Product: Firefox → Core

Thanks for the report! Please open about:support, click on "Copy text to clipboard" and paste it here.

Attached file About:support overview (deleted) —
Attachment #9239701 - Attachment mime type: application/octet-stream → text/plain

Sorry for that, set it as Octet/hide because I thought it'd be just writing it monstrous-sized. Didn't think posting would be 'smart' enough to just make it preview-sized.

Thanks! Does the freeze really occur randomly or, for example, only after resuming from suspend (bug 1693445)?
bug 1717347 occured with i3.
bug 1721841 was with EGL, but you use GLX.

Please open about:config, set gfx.webrender.software to true and restart Firefox to test whether this prevents the problem.

Blocks: wr-linux
Keywords: hang
OS: Unspecified → Linux
Hardware: Unspecified → x86_64
Summary: FIrefox random freezes on Linux Mint → FIrefox random freezes on Linux Mint (GLX/X11 XFCE/AMD)

(In reply to Darkspirit from comment #5)

Thanks! Does the freeze really occur randomly or, for example, only after resuming from suspend (bug 1693445)?
bug 1717347 occured with i3.
bug 1721841 was with EGL, but you use GLX.

Please open about:config, set gfx.webrender.software to true and restart Firefox to test whether this prevents the problem.

Set gfx.webrender.software to true - d3d11 is the other one set to true (and d3d11.upload-mode to 4)
Can't say straight away if it helps though - it really varies. Sometimes it happens 2-3 times in an hour, sometimes I don't have a problem for days. I rarely use suspend, and that's only when I am on the Windows partition (which autosuspends) - but I've got no strange freezes and crashes there.
Also, 1717347 doesn't apply to me - got an Ryzen 5 3600.

(In reply to mbstein from comment #6)

Set gfx.webrender.software to true

Yes, only this one is relevant.

Can't say straight away if it helps though - it really varies. Sometimes it happens 2-3 times in an hour, sometimes I don't have a problem for days. I rarely use suspend, and that's only when I am on the Windows partition (which autosuspends) - but I've got no strange freezes and crashes there.
Also, 1717347 doesn't apply to me - got an Ryzen 5 3600.

On Mesa drivers, the graphics card is most likely not the source of a bug. It's more likely some integration problem (vsync, Gtk widget, compositing vs. non-compositing window manager).
Or could it be caused by the video element's picture-in-picture mode? Once it froze my entire Xwayland desktop when I closed the PiP window (but I'm using EGL and experimental VAAPI hardware video decoding).
Do you use multiple Firefox windows? Does it still occur if you only use one the whole session?

If we find steps to reproduce, we can easily find out which patch introduced the bug.

(In reply to Darkspirit from comment #7)

Do you use multiple Firefox windows? Does it still occur if you only use one the whole session?

If we find steps to reproduce, we can easily find out which patch introduced the bug.

Using only 1 window at a time with multiple open tabs.
BTW, something I failed to mention - when a window freezes up, what happens is that I can see the top bar (with the title - not the tabs) and the border lines, with the rest purely 'white' with no visible tabs and no content of what was on the active tab. Not sure if it helps to narrow the possibilities down a bit.

At this point, EGL has shipped for users with your configuration. Did the problem go away?

Flags: needinfo?(mbstein)

Closing as no reply from reporter - please reopen if still seeing this.

Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Resolution: --- → INCOMPLETE
Flags: needinfo?(mbstein)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: