Snap: severe regression: MOZ_ENABLE_WAYLAND=1 does no longer work, fallback to SW WR
Categories
(Core :: Widget: Gtk, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr91 | --- | unaffected |
firefox99 | --- | wontfix |
firefox100 | --- | verified |
People
(Reporter: jan, Assigned: olivier)
References
(Blocks 1 open bug)
Details
(Keywords: nightly-community, regression)
Debian Testing, Gnome Wayland, Intel
$ MOZ_ENABLE_WAYLAND=1 snap run firefox
Gtk-Message: 10:30:24.009: Failed to load module "canberra-gtk-module"
Gtk-Message: 10:30:24.011: Failed to load module "canberra-gtk-module"
[GFX1-]: glxtest: Could not connect to wayland socket
Gtk-Message: 10:30:26.399: Failed to load module "canberra-gtk-module"
Gtk-Message: 10:30:26.400: Failed to load module "canberra-gtk-module"
[GFX1-]: glxtest: Could not connect to wayland socket
$ DISABLE_WAYLAND=0 snap run firefox
Gtk-Message: 10:32:30.827: Failed to load module "canberra-gtk-module"
Gtk-Message: 10:32:30.829: Failed to load module "canberra-gtk-module"
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
$ DISABLE_WAYLAND=0 MOZ_ENABLE_WAYLAND=1 snap run firefox
Gtk-Message: 10:33:33.541: Failed to load module "canberra-gtk-module"
Gtk-Message: 10:33:33.542: Failed to load module "canberra-gtk-module"
[GFX1-]: glxtest: Could not connect to wayland socket
Assumingly regressed by https://git.launchpad.net/~mozilla-snaps/+git/firefox-snap/commit/?id=4f3ad5cdc390fedab5db6e2d9a062a2c3bd88474 (bug 1725245 comment 19).
Reporter | ||
Comment 1•3 years ago
|
||
Not having Wayland on Wayland (re-)introduces problems: bug 1766849, bug 1765020, bug 1748921, bug 1744389, bug 1735929, bug 1736245
Reporter | ||
Updated•3 years ago
|
Assignee | ||
Comment 2•3 years ago
|
||
You're right, that change unfortunately made it impossible to force the native use of Wayland. I'm looking into a less invasive approach, that would still default to XWayland (until it is deemed ready for native Wayland), but allow forcing native Wayland for testing purposes.
Assignee | ||
Updated•3 years ago
|
Reporter | ||
Comment 3•3 years ago
|
||
Snap Firefox Nightly and Beta are unaffected.
Assignee | ||
Comment 4•3 years ago
|
||
This commit should do it. If MOZ_ENABLE_WAYLAND
is unset, set it to 0
. Otherwise, respect the value being passed.
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 6•3 years ago
|
||
Yes, this is now fixed with version 100.0-2 in the stable channel.
Updated•3 years ago
|
Reporter | ||
Comment 7•3 years ago
|
||
Verified fixed, thanks.
xwayland: $ snap run firefox
wayland: $ MOZ_ENABLE_WAYLAND=1 snap run firefox
xwayland: $ MOZ_ENABLE_WAYLAND=0 snap run firefox
Description
•