Closed Bug 1608755 Opened 5 years ago Closed 4 years ago

Firefox can't render its window if gfx.webrender.all enabled on Sway Wayland compositor with disabled Xwayland support

Categories

(Core :: Widget: Gtk, defect, P3)

72 Branch
x86_64
Linux
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: stanislavgeyko, Unassigned)

References

(Blocks 1 open bug)

Details

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

Steps to reproduce:

Disable Xwayland by adding "xwayland disabled" to $HOME/.config/sway/config
Launch Sway compositor as usual
Launch Firefox with gfx.webrender.all true

Actual results:

Firefox can't display its window. You can see its window with nothing in it except the poorly rendered address bar and something else which is hard to describe and is supposed to be other items of UI such as buttons.

Expected results:

Firefox should have launched as usual. It's worth pointing to the fact that that happens only if Sway launches with disabled Xwayland. Otherwise, it works just fine with Webrender enabled.

OS: Unspecified → Linux
Hardware: Unspecified → x86_64

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Widget: Gtk
Product: Firefox → Core
Blocks: wayland-sway
Priority: -- → P3

At least from version 76.0.1 Firefox can render its window(s) when both conditions are present: (i) Xwayland is disabled, (ii) WebRender is on.
There is an error in step 1. You need to put "xwayland disable" not "disabled" in your config. Sorry.

By now Firefox should work fine without Xwayland and not even try to open a connection (as long as WebRTC isn't used, but that's another story).

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