Firefox 99.0.1 snap firefox won't start with Xwayland + kernel driver nouveau (X Window System Error: BadPixmap)
Categories
(Core :: Widget: Gtk, defect, P3)
Tracking
()
People
(Reporter: vivien, Unassigned)
References
(Blocks 2 open bugs)
Details
(Keywords: crash)
Attachments
(2 files)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:99.0) Gecko/20100101 Firefox/99.0
Steps to reproduce:
Regression introduced with Firefox 99.0.1 in the Firefox snap version, only when using wayland and Kernel driver nouveau (ok with x.org).
Ubuntu 21.10 + Gnome 40.4
- Firefox 99.0 snap + Kernel driver nouveau + wayland => ok
- Firefox 99.0.1 snap + Kernel driver nouveau + wayland => won't start
- Firefox 99.0.1 snap + Kernel driver nouveau + x.org => ok
- Firefox 99.0.1 snap + Kernel driver i915 + wayland => ok
Actual results:
Error : Gtk-Lessage: Failed to load module "canberra-gtk-module"
The error was 'BadPixmap'.
Exiting due to channel error.
see screenshot
Expected results:
Firefox should launch
Comment 1•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 2•2 years ago
|
||
The one significant difference in the firefox snap between versions 99.0 and 99.0.1 is that native Wayland support was forcefully disabled because of bug 1725245. This isn't the case for the snap in the beta channel though. Can you try it out and report whether "Firefox 100.0b9-1 snap + Kernel driver nouveau + wayland" works for you?
You can switch with sudo snap refresh firefox --beta
, or you could do a parallel install so as to not mess with your existing profiles:
$ sudo snap set system experimental.parallel-instances=true
$ sudo snap install firefox firefox_beta
$ sudo snap refresh firefox_beta --beta
$ snap run firefox_beta
Reporter | ||
Comment 3•2 years ago
|
||
I tested Firefox Snap 100.0-2 => It does not launch on PC Core 2 duo E7200 + GeForce GT 710 with Ubuntu 21.10.
Same PC, I tested Firefox Snap beta 101.0b2-1 => Everything works perfectly with Ubuntu 21.10.
I then updated to Ubuntu 22.04 => same problem for stable Firefox. See screenshot.
Comment 4•2 years ago
|
||
Thanks for following up. Can you confirm that if you switch back to the stable channel, and run it with MOZ_ENABLE_WAYLAND=1
, you're not seeing this problem?
Reporter | ||
Comment 5•2 years ago
|
||
(In reply to Olivier Tilloy from comment #4)
Thanks for following up. Can you confirm that if you switch back to the stable channel, and run it with
MOZ_ENABLE_WAYLAND=1
, you're not seeing this problem?
I confirm, by adding "export MOZ_ENABLE_WAYLAND=1" before starting "snap run firefox" it works.
If I do not set "export MOZ_ENABLE_WAYLAND=1" Firefox doesn't start.
I have other PCs with the same generation of CPU, but without Nvidia graphics card, and Firefox Snap 100 works with Ubuntu.
Reporter | ||
Comment 6•2 years ago
|
||
-
Firefox 100.0.2 Snap is available and it always asks to add "export MOZ_ENABLE_WAYLAND=1" to launch on my configuration.
-
Firefox 101.0b9 Snap works directly
OS : Ubuntu 22.04 LTS with Wayland
Updated•2 years ago
|
Updated•2 years ago
|
Reporter | ||
Comment 7•2 years ago
|
||
Hello,
I confirm that the bug is solved with the stable version Firefox 101 in Snap version.
Comment 8•2 years ago
|
||
(In reply to Vivien GUEANT from comment #7)
Hello,
I confirm that the bug is solved with the stable version Firefox 101 in Snap version.
Thanks for having taken the time to mention :)
Olivier, it's unclear to me whether this is the result of a workaround or if it's a valid fix and we could close this as well as bug 1766849 ?
Comment 9•2 years ago
|
||
Misclosed
Comment 10•2 years ago
|
||
Vivien, just to make double-sure the bug can indeed be closed, can you confirm that you're running the stable firefox snap, in a Wayland session with the nouveau driver, and without forcing MOZ_ENABLE_WAYLAND=1
?
Comment 11•2 years ago
|
||
(In reply to Vivien GUEANT from comment #5)
(In reply to Olivier Tilloy from comment #4)
Thanks for following up. Can you confirm that if you switch back to the stable channel, and run it with
MOZ_ENABLE_WAYLAND=1
, you're not seeing this problem?I confirm, by adding "export MOZ_ENABLE_WAYLAND=1" before starting "snap run firefox" it works.
If I do not set "export MOZ_ENABLE_WAYLAND=1" Firefox doesn't start.
I have other PCs with the same generation of CPU, but without Nvidia graphics card, and Firefox Snap 100 works with Ubuntu.
Ok, so the title is wrong, it is XWayland that is broken here ?
Comment 12•9 months ago
|
||
Redirect a needinfo that is pending on an inactive user to the triage owner.
:stransky, since the bug doesn't have a severity set, could you please set the severity or close the bug?
For more information, please visit BugBot documentation.
Updated•9 months ago
|
Description
•