Closed Bug 1714771 Opened 3 years ago Closed 3 years ago

gfx.webrender.compositor.force-enabled freezes windows in fullscreen and maximized state

Categories

(Core :: Graphics: WebRender, defect)

Firefox 90
x86_64
Linux
defect

Tracking

()

RESOLVED DUPLICATE of bug 1711244

People

(Reporter: sebastian, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

36.97 KB, application/json
Details

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

Steps to reproduce:

Firefox 90.0b1 mozilla-flatpak-1.0
GNOME Shell 40.1 wayland mode

Does not happen on X11. This is a regression and worked in a previous version of firefox (I don't know which version though).

new profile, set all to true:

  • gfx.webrender.all
  • gfx.webrender.enabled
  • gfx.webrender.compositor.force-enabled

Maximize or fullscreen a window.

Actual results:

The surface freezes until it is put back into windowed mode (input is still received).

Expected results:

The surface should not freeze.

Component: Untriaged → Graphics: Layers
OS: Unspecified → Linux
Product: Firefox → Core
Hardware: Unspecified → x86_64
Severity: -- → S3
Flags: needinfo?(robert.mader)

I assume the only reason this didn't occur in previous versions was because there was no compositor to enable. Likewise why it doesn't occur on X11.

Component: Graphics: Layers → Graphics: WebRender

Senastian, thank you for the bug report. Could you please attach a copy of your about support information to the bug.

Could you also confirm whether disabling gfx.webrender.compositor.force-enabled fixes the issue. ie With webrender enabled, but the compositor disabled.

Flags: needinfo?(sebastian)
Attached file about:support
Flags: needinfo?(sebastian)

I assume the only reason this didn't occur in previous versions was because there was no compositor to enable. Likewise why it doesn't occur on X11.

Maybe but what I don't understand then is why on my main profile it got enabled suddenly without me changing anything.

Could you also confirm whether disabling gfx.webrender.compositor.force-enabled fixes the issue. ie With webrender enabled, but the compositor disabled.

Yes, the bug is fixed with webrender enabled and the compositor disabled.

Also bug 1699754 says that the compositor should work on GNOME Shell 40.1.

Thanks for the information.

Maybe but what I don't understand then is why on my main profile it got enabled suddenly without me changing anything.

Had you previously set gfx.webrender.compositor.force-enabled to true, or did that happen by itself? If you set it to true yourself, then until recently it won't have done anything as there wasn't a compositor on wayland to enable (the pref only had an effect on Windows and Mac). Recently the in-development wayland compositor was added, so the pref started to have an effect.

Also bug 1699754 says that the compositor should work on GNOME Shell 40.1.

Yes, but it's very new code (both on the Firefox and gnome/wayland sides) so there are likely to be bugs. I'll wait for Robert to comment as he is more likely to understand what the issue is.

Had you previously set gfx.webrender.compositor.force-enabled to true, or did that happen by itself? If you set it to true yourself, then until recently it won't have done anything as there wasn't a compositor on wayland to enable (the pref only had an effect on Windows and Mac). Recently the in-development wayland compositor was added, so the pref started to have an effect.

Ah, I think I had. That explains that mystery. Thanks.

(In reply to sebastian from comment #6)

Had you previously set gfx.webrender.compositor.force-enabled to true, or did that happen by itself? If you set it to true yourself, then until recently it won't have done anything as there wasn't a compositor on wayland to enable (the pref only had an effect on Windows and Mac). Recently the in-development wayland compositor was added, so the pref started to have an effect.

Ah, I think I had. That explains that mystery. Thanks.

Exactly :)

This will be fixed by bug 1711244

Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Flags: needinfo?(robert.mader)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: