Crash on Wayland with 300% scaling on mutter (wl_surface@25: error 2: Buffer size (1373x1200) must be an integer multiple of the buffer_scale (3))
Categories
(Core :: Widget: Gtk, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox100 | --- | affected |
People
(Reporter: kubrick, Unassigned)
References
(Blocks 1 open bug)
Details
Crash Data
Attachments
(1 file)
11.58 KB,
application/x-xz
|
Details |
On Gnome 42, Wayland, moving a FF window from one 1:1 to a 2:1 scale monitor makes it crash (see signature).
Reporter | ||
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Reporter | ||
Comment 1•4 years ago
|
||
My initial description is wrong, my scaling factor was 3.
On Gnome 42, Wayland, moving a FF window from one 1:1 to a 3:1 scale monitor makes it crash (see signature).
This doesn't happen if the scale is 2:1 or 4:1
Comment 2•4 years ago
|
||
I think that's a GTK bug, should happen with every GTK app: https://gitlab.gnome.org/GNOME/gtk/-/issues/4746
Reporter | ||
Comment 3•4 years ago
|
||
That is correct.
Reporter | ||
Comment 4•4 years ago
|
||
I patched gtk3/gtk4 with this MR, it fixes the other GTK applications crashing, but not Firefox which now crashes with
wl_surface@50: error 2: Buffer size (1373x1200) must be an integer multiple of the buffer_scale (3)
bp-c15a9204-2be5-4d8c-83b6-bee2c0220324
Feel free to re-open if you think it is a FF bug.
Comment 5•4 years ago
|
||
(In reply to Francois Guerraz from comment #4)
I patched gtk3/gtk4 with this MR, it fixes the other GTK applications crashing, but not Firefox which now crashes with
That is probably a Firefox bug, though we need to double-check where that size is coming from... Robert, fyi
Comment 6•4 years ago
|
||
Landing https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2335 right now to make Mutter less strict again for a cycle (planning to reintroduce the strict behavior in 43 as it's demanded by the Wayland spec). This certainly looks like a FF bug as such a size can't be from a cursor texture, explaining why the GTK MR doesn't help.
Francois, can you post your about:support
here so we get a better idea of your FF setup?
Comment 8•4 years ago
|
||
Thanks, nothing unusual there, so assuming default config.
This issue most likely gets triggered in either https://searchfox.org/mozilla-central/source/widget/gtk/MozContainerWayland.cpp#672-673 or https://searchfox.org/mozilla-central/source/widget/gtk/MozContainerWayland.cpp#150 - I think rather the later.
In any case, the next Mutter 42 update should downgrade the crash to a warning again, making a fix less urgent.
Updated•3 years ago
|
Comment 10•3 years ago
|
||
Same thing happen for me when police scale is set to 1.20, FF 100.0 crashes upon resume from suspend (Wayland, GNOME 42.1/Fedora 36).
Comment 11•3 years ago
|
||
On Fedora 36, this bug appears to be resolved with the latest mutter 42 upgrade.
Comment 12•3 years ago
|
||
Maybe this has been fixed: https://bugzilla.mozilla.org/show_bug.cgi?id=1767916
On Fedora 36 this happens with Thunderbird as well. Please see my bug report at Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=2084590
Comment 13•3 years ago
|
||
Closing because no crashes reported for 12 weeks.
Description
•