Why is your browser crashing every ten minutes? I can't tell you the last time that the desktop versions of Chrome, Firefox, or Safari crashed for me. That seems like a huge productivity issue if you have to restart the browser frequently.
It looks related to Wayland (sway). This behaviour has cropped up recently. Might be a combination of:
* Having a relatively big number of tabs (~600 in multiple tab groups)
* Having a lot of extensions
* Using sway/wayland
* Combination of the following environment variables: MOZ_ENABLE_WAYLAND=1 MOZ_WEBRENDER=1 MOZ_USE_XINPUT2=1
It used to work fine, until something broke a few weeks ago, maybe in a sway/mesa/firefox update (running ArchLinux). This was way worse when autoscroll was enabled, so I disabled it as there is a bugreport for that.
I'm on holidays, so the browser is more of a productivity sink than something else, at times. Usually I don't mind much, and might restart it or leave it. Plus, 10 minutes is kind of an overstatement (it sometimes happens faster, but last three crashes took 23, 17 and 18 minutes respectively).
I'm living on the bleeding edge, so that kind of stuff happens. I's recently gotten way worse with Qt apps as well, so I would tend to blame sway. But running it as is is a good way to find patterns that might help resolve the issues once reported. I've said a few words in #sway, but didn't get an answer.
Don't worry, I could probably change my configuration in a few seconds if I needed more stability in a pinch (use another compositor, maybe another browser): I've launched a few Qt applications with -platform xcb recently.
I'm getting errors ranging from [GFX1-]: Receive IPC close with reason=AbnormalShutdown to Gdk-Message: Error reading events from display: broken pipe
If you have time, please file a bug with some links from your about:crashes. At least for Firefox, 600 tabs really isn't that many. (At least for us many-tab people; the more common "...but why would you ever have more than half a dozen tabs open, ever?!!" people will look at me in horror.)
I don't know for sure, but those error messages look more like what happens when one process (eg the renderer) crashes and severs its connections with others. They're probably unrelated to the actual problem.
It may be that what you're running into is a side effect of forcing WebRender on blacklisted hardware? I could imagine it starting to use a new API that's buggy in your driver. </wild-handwaving>.
> * Having a relatively big number of tabs (~600 in multiple tab groups)
I have found this extension[0] useful, for saving my machine when I leave too many tabs open.
Just make sure to whitelist things you don't want unloaded. Like infinite-scroll webpages.
Hmm. I was using a surprisingly similar setup (Arch, Sway, and Firefox) and never had those issues, but I think I was using Firefox with XWayland instead of those environment variables. I'm glad it's not a huge pain for you.
I use firefox under sway with MOZ_ENABLE_WAYLAND=1 MOZ_WEBRENDER=1 and 100-ish tabs and 5-10 extensions and have not experienced crashes. Not the exact same env, but somewhat similar.