New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Firefox locks up starting at v91 with WebRender on Sway 1.6+ #6432
Comments
Can you try FF nightly? There is a lot going on in the Wayland backend and there's a good chance that things got fixed already - especially if you run in combination with Sway master. |
@rmader sure, can do. Should I try Firefox nightly on Sway master, on Sway 1.6.1, or both? Both would be more work, so I'm wondering which of the two is best. Normally I'd be on Sway stable - right now I'm on master for the same reason, to see if this bug has been fixed on their end since the last release. |
In general trying Sway master with Firefox nightly is more helpful, since these contain the latest changes/fixes. |
I created a new profile with Nightly 93.0a1, and I cannot reproduce this issue, even though I fiddled with popup menus and tabs for a solid ten minutes. Weirdly enough, I cannot reproduce #6147 either, which was how I was reproducing this issue to begin with. I also created a new profile with 91.0 to double check, and I still can reproduce both issues there. I also downloaded 92.0b2 and repeated the whole process with a new profile. Still cannot reproduce. So my best guess is that some wayland changes were made between 90 and 91 that introduced this issue, and then the wayland changes between 91 and 92 seemingly fixed this issue as well as the long-standing "missing popups" one :) I even went as far as installing one of my extensions which uses popups, UBlock Origin, and its popups work perfectly on 92.0b2 while they almost never work on 90/91. |
I spoke too soon. The addon popups still mostly don't work; they just appear to work slightly more often than before, and I guess I got lucky. So both beta and nightly still reproduce 6147, but the good news is that they still don't reproduce the lockups here, in 6432. Another example of a popup UI that doesn't work on any of the three versions is HTML |
This is fixed in my case by patching GTK as in https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/3898 |
I also tried applying the patch https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/3898 suggested by @hedgepigdaniel. It allowed firefox to start with I'm running Arch Linux with
|
I applied the patch to my setup, but it doesn't fix anything for me. The main dropdown menu (from where you can e.g. access the settings) does not show up, neither does the UBlock dropdown menu. Context menu sometimes shows up, but most of the time in a completly different place where it was opened. Using:
I have switched to Chromium for the time being, since this behaviour makes FF pretty much unusable. |
I too am having this issue on FF92 on latest Manjaro stable with sway 1.6.1 — one weird workaround I've noticed (without changing anything else) is that if I disable HiDPI scaling (ie |
The upgrade to Firefox 93 today fixed this for me. |
Is this still reproducible w/ the gtk patches in #6147? |
I stopped using mixed DPIs in late summer, which worked around this bug. I haven't used mixed DPIs since, so I can't say for sure whether the bug is fixed for good. It does seem to me like the bug is fixed, as the activity in this thread has died down. Thanks again for all your hard work, @rpigott :) |
Closing per the above. |
This issue is split up from #6147. I've only been able to reliably reproduce it via the transparent/missing popups described in that issue. I'm running two displays with mixed resolutions and DPIs, which also seems necessary to trigger 6147.
This bug started happening on Sway 1.6.1 and wlroots 0.14.1 after I upgraded from Firefox 90.0.2 to 91.0 on Arch Linux.
I tried upgrading both sway and wlroots to their current master versions (f67ed67 and swaywm/wlroots@ad7651a) and the bug is still reproducible.
The only way I've managed to stop making this bug reproduce, besides downgrading Firefox, is to force-disable WebRender by enabling
gfx.webrender.force-disabled
. After restarting the browser, popups still mostly don't work, but I can no longer get the UI to lock up.Here are the smallest reproduction steps I've been able to find:
I also captured a
WAYLAND_DEBUG=1 firefox
log of me reproducing this issue as per the steps above, on Sway master: firefox_wayland_debug.txtThe fact that this issue reproduces with #6147 makes me think they are related or have the same root cause. But they are not the same user-visible bug: I've been having "missing popups" for over a year, while this lock-up issue only started happening since yesterday, when I upgraded to Firefox 91.
#6322 also sounds similar, but I think is a different issue. My
about:support
says that WEBRENDER_COMPOSITOR is "Disabled by default" and "Blocklisted by gfxInfo".The text was updated successfully, but these errors were encountered: