Closed Bug 1834232 Opened 2 years ago Closed 2 years ago

Black screen is shown on start (Arch Linux with Xwayland)

Categories

(Core :: Widget: Gtk, defect)

Firefox 113
Desktop
Linux
defect

Tracking

()

RESOLVED DUPLICATE of bug 1788205

People

(Reporter: mettall, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/113.0

Steps to reproduce:

When I start Firefox i see back screen and nothing more. I have to kill the app with Alt+F4 (or something like that) and then I have to start it again. Only then it works.

This happens every time when I log-in into my Gnome account. This is not really a crash. It is just a black screen with loading icons and the app is not responsive.

I'm using Archlinux with Gnome 44.1 and Wayland.

I have tried to disable all extensions - didn't work.
I have tried to stop the tabs syncing between devices - didn't work.
I have tried to log-out of my mozilla and pocket account - didn't work.
I have tried to delete all cached content (1.5GB) - didn't work.
I have tried to disable the hardware acceleration - didn't work.
I have tried to rename all mozilla folders in my home directory so that it looks like a fresh install - didn't work.

This issue starts occurring after I upgraded to Firefox 113.

Actual results:

I have made a video on the issue. There I start Firefox from the terminal. On the first start it shows the back screen. After that I kill the app with ctrl+c and then start it again and then it works. This happens every time when i restart my linux or I log-out of my gnome account and then log-in again.

Expected results:

It should show the Firefox application.

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.

Component: Untriaged → Widget: Gtk
Product: Firefox → Core

Thanks for the report!
This is a Gnome Xwayland bug (bug 1788205) and should be fixed by https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2970.
Please test if this problem can be avoided by starting Firefox with this command:
$ MOZ_ENABLE_WAYLAND=1 firefox

To use MOZ_ENABLE_WAYLAND=1 by default, you can either:
a) Add export MOZ_ENABLE_WAYLAND=1 to the end of /home/yourusername/.profile to set it permanently for your user account.
$ echo -e "\nexport MOZ_ENABLE_WAYLAND=1" >> ~/.profile
It takes effect after logout&login or a reboot.
b) Switch to Firefox Nightly which already uses MOZ_ENABLE_WAYLAND=1 by default (bug 1543600): https://aur.archlinux.org/packages/firefox-nightly

Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1788205
OS: Unspecified → Linux
Hardware: Unspecified → Desktop
Resolution: --- → DUPLICATE
Summary: Black screen is shown on start (Linux with Wayland) → Black screen is shown on start (Arch Linux with Xwayland)

Thank you vary much @Darkspirit!
This suggestion fixed the issue.

Thank you again for the fast replay and have a good day!
Cheers!

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: