Firefox start with black screen on Ubuntu 23.04
Categories
(Core :: Widget: Gtk, defect)
Tracking
()
People
(Reporter: corradoventu, Unassigned)
References
(Blocks 1 open bug)
Details
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/111.0
Steps to reproduce:
On Ubuntu 23.04 click on firefox icon in the dock.
Actual results:
Firefox start with a black screen. quit and restart i have a white screen, quit and restart again firefox start fine
crash report is:
bp-e85d70dc-b370-4ae5-a583-fdac30230402
Expected results:
firefox should start normally
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
|
||
Thanks for the report!
Which gnome-shell version do you have?
$ dpkg -l | grep " gnome-shell "
Reporter | ||
Comment 3•2 years ago
|
||
corrado@corrado-n4-ll-beta:$ dpkg -l | grep " gnome-shell "$
ii gnome-shell 44.0-2ubuntu3 amd64 graphical shell for the GNOME desktop
corrado@corrado-n4-ll-beta:
Reporter | ||
Comment 4•2 years ago
|
||
(In reply to corradoventu@gmail.com from comment #3)
ii gnome-shell 44.0-2ubuntu3 amd64 graphical shell for the GNOME desktop
Reporter | ||
Comment 5•2 years ago
|
||
starting from terminal the 1st time I have a black screen, 2nd time ok
corrado@corrado-n4-ll-beta:
$ firefox$ firefox
update.go:85: cannot change mount namespace according to change mount (/var/lib/snapd/hostfs/usr/share/xubuntu-docs /usr/share/xubuntu-docs none bind,ro 0 0): cannot open directory "/var/lib": permission denied
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
corrado@corrado-n4-ll-beta:
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
Comment 6•2 years ago
•
|
||
Thanks!
So it can't be https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/2011806 (bug 1824077).
(corradoventu from bug 1822374 comment 8)
Firefox does not start at all using his .desktop file, starts with a black screen the 1st time is started from terminal with 'firefox' or 'snap run firefox' and start fine the 2nd time is started from terminal with 'firefox' or 'snap run firefox'
$ snap run firefox
uses Xwayland-on-demand (bug 1788205) instead of Wayland.
But I wanted to know if the problem can be fixed if you start Firefox with
$ MOZ_ENABLE_WAYLAND=1 snap run firefox
to actually use Wayland and avoid Xwayland.
So I ask again: Does the problem still occur if you start Firefox with $ MOZ_ENABLE_WAYLAND=1 snap run firefox
?
Reporter | ||
Comment 7•2 years ago
|
||
starting with "MOZ_ENABLE_WAYLAND=1 snap run firefox" firefox start fine a 1st start.
may I do this change in FF profile to allow start from the icon in the dock?
Reporter | ||
Comment 8•2 years ago
|
||
From about:support i see that firefox nightly starts with Window Protocol wayland without specifying ENABLE_WAYLAND=1
why this is not possible for FF 111.0.1 snap?
Comment 9•2 years ago
|
||
Thanks, great!
MOZ_ENABLE_WAYLAND is already enabled by default in Nightly (bug 1543600), but not yet in Beta&Stable (bug 1752398/bug 635134), but we are slowly getting there.
The environment variable is required, it's not an about:config option.
Add export MOZ_ENABLE_WAYLAND=1
to the end of /home/yourusername/.profile to permanently set it for your user account.
$ echo -e "\nexport MOZ_ENABLE_WAYLAND=1" >> ~/.profile
It takes effect after logout&login or a reboot.
Reporter | ||
Comment 10•2 years ago
|
||
Thanks, now firefox start fine from his icon.
Description
•