Closed Bug 1750370 Opened 2 years ago Closed 1 year ago

WR/Gnome Wayland/Intel: Firefox ESR 91 freezes but clicks and typing pass through

Categories

(Core :: Widget: Gtk, defect)

Firefox 91
x86_64
Linux
defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox-esr91 --- disabled
firefox96 --- ?
firefox97 --- ?
firefox98 --- unaffected

People

(Reporter: amribrahim1987, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: hang, regression)

Attachments

(3 files)

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

Steps to reproduce:

This is on Debian 11, GNOME Shell 3.38.6, fractional scaling 175%, running Firefox 91.5.0esr on Wayland.

Here is how to see the bug:

  1. Make sure that restoring the previous session is turned on in the settings
  2. Browse normally while multiple tabs are open
  3. The browser freezes
  4. Clicking on anything appears like nothing happens
  5. Switching tabs and opening new tabs appear like nothing happens
  6. Close the browser and reopen it again
  7. All the clicks and new tabs are there

This is a regression from Firefox ESR 78 on Wayland.

I'm not certain that this is Wayland-specific.

Actual results:

The browser suddenly appears frozen, tabs cannot be switched, new tabs cannot be opened, nothing happens when clicked on or typed.

However, all that activity still pass through because when I close and reopen the browser (restore the previous session is turned on), I can see the result of all the clicks, types and new tabs.

Expected results:

The browser does not freeze, nor apparently freeze.

The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

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

Thanks for the report! Please open about:support, click on "Copy text to clipboard" and paste it here.

Keywords: hang, regression
OS: Unspecified → Linux
Hardware: Unspecified → x86_64
Attached file about:support

Can this problem be fixed by disabling widget.wayland.vsync.enabled on about:config and restarting Firefox?

Summary: Firefox ESR 91 freezes but clicks and typing pass through → WR/Gnome Wayland/Intel: Firefox ESR 91 freezes but clicks and typing pass through

(In reply to Darkspirit from comment #4)

Can this problem be fixed by disabling widget.wayland.vsync.enabled on about:config and restarting Firefox?

I will be testing that for some time and report back.

(In reply to Amr from comment #5)

(In reply to Darkspirit from comment #4)

Can this problem be fixed by disabling widget.wayland.vsync.enabled on about:config and restarting Firefox?

I will be testing that for some time and report back.

Unfortunately, setting widget.wayland.vsync.enabled = false and restarting Firefox didn't fix it. But I managed to record a screencast during the bug. (The file is too big for Bugzilla, so I had to upload it to Dropbox.)

Things to look at in the video:

  1. Tabs do not switch when clicked on until the gnome-shell overview is triggered
  2. Typing in the search bar shows nothing until the gnome-shell overview is triggered
  3. Hovering over the window buttons (🗕, 🗖, ⨯) has no effect, even though clicking them works

https://www.dropbox.com/s/m4uzqa561il4ijd/firefox_freeze.webm?dl=0

Does this problem also occur when starting https://nightly.mozilla.org with MOZ_ENABLE_WAYLAND=1 environment variable?

(In reply to Darkspirit from comment #7)

Does this problem also occur when starting https://nightly.mozilla.org with MOZ_ENABLE_WAYLAND=1 environment variable?

I'll be testing this and report back.

(In reply to Amr from comment #8)

(In reply to Darkspirit from comment #7)

Does this problem also occur when starting https://nightly.mozilla.org with MOZ_ENABLE_WAYLAND=1 environment variable?

I'll be testing this and report back.

After testing for some days, the problem does not occur in nightly using a duplicate profile from Firefox ESR 91. It's fixed in nightly. Wayland and VAAPI work fine.

See Also: → 1751887

This bug also affects Thunderbird 91.6.1 on Debian 11, GNOME Shell, Wayland.

Status: UNCONFIRMED → RESOLVED
Closed: 1 year ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: