[Bug 1930485] Re: Can't Start Firefox 88 on Weston/Wayland, Ubuntu 18.0.4.

Bug Watch Updater 1930485 at bugs.launchpad.net
Wed Jun 2 02:46:00 UTC 2021


Launchpad has imported 2 comments from the remote bug at
https://bugzilla.mozilla.org/show_bug.cgi?id=1713986.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2021-06-02T01:29:27+00:00 Jameson Williams wrote:

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Safari/537.36

Steps to reproduce:

I run the following on my Ubuntu 18.04 system:

```bash
export XDG_RUNTIME_DIR=/run/weston
export GDK_BACKEND=wayland
export MOX_ENABLE_WAYLAND=1
export DISPLAY=wayland-0
export LD_LIBRARY_PATH=/usr/lib:/usr/lib/aarch64-linux-gnu/
export WAYLAND_DEBUG=1
export WAYLAND_DISPLAY=wayland-0

firefox \
	--g-fatal-warnings \
	--kiosk \
	--private-window \
	https://bing.com
```


Actual results:

Firefox does not start.

Instead, I get this output, only:

```
[1446891.592]  -> wl_display at 1.get_registry(new id wl_registry at 2)
[1446891.702]  -> wl_display at 1.sync(new id wl_callback at 3)
[1446893.656] wl_display at 1.delete_id(3)
[1446893.737] wl_registry at 2.global(1, "wl_compositor", 4)
[1446893.781]  -> wl_registry at 2.bind(1, "wl_compositor", 3, new id [unknown]@4)
[1446893.852] wl_registry at 2.global(2, "wl_subcompositor", 1)
[1446893.889]  -> wl_registry at 2.bind(2, "wl_subcompositor", 1, new id [unknown]@5)
[1446893.938] wl_registry at 2.global(3, "wp_viewporter", 1)
[1446893.973] wl_registry at 2.global(4, "wp_presentation", 1)
[1446894.007] wl_registry at 2.global(5, "zwp_relative_pointer_manager_v1", 1)
[1446894.041] wl_registry at 2.global(6, "zwp_pointer_constraints_v1", 1)
[1446894.075] wl_registry at 2.global(7, "wl_data_device_manager", 3)
[1446894.109]  -> wl_registry at 2.bind(7, "wl_data_device_manager", 3, new id [unknown]@6)
[1446894.156] wl_registry at 2.global(8, "wl_shm", 1)
[1446894.190]  -> wl_registry at 2.bind(8, "wl_shm", 1, new id [unknown]@7)
[1446894.429]  -> wl_shm at 7.create_pool(new id wl_shm_pool at 8, fd 9, 2304)
[1446894.974]  -> wl_shm_pool at 8.resize(5568)
[1446895.214]  -> wl_shm_pool at 8.resize(12096)
[1446895.273] wl_registry at 2.global(9, "wayland_buffer_backend", 4)
[1446895.315] wl_registry at 2.global(10, "wl_seat", 5)
[1446895.353]  -> wl_registry at 2.bind(10, "wl_seat", 5, new id [unknown]@9)
[1446925.977]  -> wl_compositor at 4.create_surface(new id wl_surface at 10)
[1446926.203]  -> wl_data_device_manager at 6.get_data_device(new id wl_data_device at 11, wl_seat at 9)
[1446926.370]  -> wl_compositor at 4.create_surface(new id wl_surface at 12)
[1446926.636]  -> wl_display at 1.sync(new id wl_callback at 13)
[1446926.765] wl_registry at 2.global(11, "zwp_linux_dmabuf_v1", 3)
[1446926.845] wl_registry at 2.global(12, "gbm_buffer_backend", 1)
[1446926.906] wl_registry at 2.global(13, "wl_output", 3)
[1446926.965]  -> wl_registry at 2.bind(13, "wl_output", 2, new id [unknown]@14)
[1446927.172]  -> wl_display at 1.sync(new id wl_callback at 15)
[1446927.246] wl_registry at 2.global(14, "zwp_input_panel_v1", 1)
[1446927.319] wl_registry at 2.global(15, "zwp_input_method_v1", 1)
[1446927.378] wl_registry at 2.global(16, "zwp_text_input_manager_v1", 1)
[1446927.436] wl_registry at 2.global(17, "zxdg_shell_v6", 1)
[1446927.494] wl_registry at 2.global(18, "xdg_shell", 1)
[1446927.585] wl_registry at 2.global(19, "wl_shell", 1)
[1446927.643] wl_registry at 2.global(20, "weston_desktop_shell", 1)
[1446927.716] wl_registry at 2.global(21, "weston_screenshooter", 1)
[1446927.777] wl_callback at 3.done(1)
[1446929.537] wl_display at 1.delete_id(13)
[1446929.624] wl_display at 1.delete_id(15)
[1446929.656] wl_shm at 7.format(0)
[1446929.684] wl_shm at 7.format(1)
[1446929.709] wl_shm at 7.format(909199186)
[1446929.733] wl_shm at 7.format(842093913)
[1446929.758] wl_shm at 7.format(842094158)
[1446929.783] wl_shm at 7.format(1448695129)
[1446929.807] wl_seat at 9.capabilities(2)
[1446929.834]  -> wl_seat at 9.get_keyboard(new id wl_keyboard at 3)
[1446929.903] wl_seat at 9.name("default")
[1446929.931] wl_callback at 13.done(1)
[1446929.958] wl_output at 14.geometry(0, 0, 0, 0, 0, "QCM", "unknown", 0)
[1446930.094] wl_output at 14.scale(1)
[1446930.123] wl_output at 14.mode(3, 1920, 1080, 60000)
[1446930.193] wl_output at 14.done()
[1446930.245] wl_callback at 15.done(1)
[1446930.278]  -> wl_registry at 2.bind(17, "zxdg_shell_v6", 1, new id [unknown]@15)
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: eglBindAPI returned an error (t=0.548409) [GFX1-]: glxtest: eglBindAPI returned an error
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: eglBindAPI returned an error (t=0.548409) |[1][GFX1-]: glxtest: EGL test failed (t=0.548476) [GFX1-]: glxtest: EGL test failed
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: eglBindAPI returned an error (t=0.548409) |[1][GFX1-]: glxtest: EGL test failed (t=0.548476) |[2][GFX1-]: No GPUs detected via PCI (t=0.548504) [GFX1-]: No GPUs detected via PCI
[1447360.209]  -> wl_display at 1.get_registry(new id wl_registry at 13)
[1447360.288]  -> wl_display at 1.sync(new id wl_callback at 16)
[1447362.605] wl_display at 1.delete_id(16)
[1447362.653] wl_keyboard at 3.repeat_info(40, 400)
[1447362.676] wl_keyboard at 3.keymap(1, fd 3, 48257)
[1447365.368] wl_registry at 13.global(1, "wl_compositor", 4)
[1447365.420]  -> wl_registry at 13.bind(1, "wl_compositor", 4, new id [unknown]@17)
[1447365.483] wl_registry at 13.global(2, "wl_subcompositor", 1)
[1447365.512]  -> wl_registry at 13.bind(2, "wl_subcompositor", 1, new id [unknown]@18)
[1447365.551] wl_registry at 13.global(3, "wp_viewporter", 1)
[1447365.579] wl_registry at 13.global(4, "wp_presentation", 1)
[1447365.606] wl_registry at 13.global(5, "zwp_relative_pointer_manager_v1", 1)
[1447365.633] wl_registry at 13.global(6, "zwp_pointer_constraints_v1", 1)
[1447365.660] wl_registry at 13.global(7, "wl_data_device_manager", 3)
[1447365.687]  -> wl_registry at 13.bind(7, "wl_data_device_manager", 3, new id [unknown]@19)
[1447365.726] wl_registry at 13.global(8, "wl_shm", 1)
[1447365.754]  -> wl_registry at 13.bind(8, "wl_shm", 1, new id [unknown]@20)
[1447365.793] wl_registry at 13.global(9, "wayland_buffer_backend", 4)
[1447365.820] wl_registry at 13.global(10, "wl_seat", 5)
[1447365.848]  -> wl_registry at 13.bind(10, "wl_seat", 1, new id [unknown]@21)
[1447365.886] wl_registry at 13.global(11, "zwp_linux_dmabuf_v1", 3)
[1447365.913] wl_registry at 13.global(12, "gbm_buffer_backend", 1)
[1447365.940] wl_registry at 13.global(13, "wl_output", 3)
[1447365.967] wl_registry at 13.global(14, "zwp_input_panel_v1", 1)
[1447365.994] wl_registry at 13.global(15, "zwp_input_method_v1", 1)
[1447366.021] wl_registry at 13.global(16, "zwp_text_input_manager_v1", 1)
[1447366.048] wl_registry at 13.global(17, "zxdg_shell_v6", 1)
[1447366.079] wl_registry at 13.global(18, "xdg_shell", 1)
[1447366.112] wl_registry at 13.global(19, "wl_shell", 1)
[1447366.139] wl_registry at 13.global(20, "weston_desktop_shell", 1)
[1447366.166] wl_registry at 13.global(21, "weston_screenshooter", 1)
[1447366.193] wl_callback at 16.done(1)
[1447366.207]  -> wl_display at 1.sync(new id wl_callback at 16)
[1447366.820] wl_display at 1.delete_id(16)
[1447366.843] wl_callback at 16.done(1)
[1447366.864]  -> wl_data_device_manager at 19.get_data_device(new id wl_data_device at 16, wl_seat at 21)
[1447380.818]  -> wl_compositor at 4.create_surface(new id wl_surface at 22)
[1447380.972]  -> wl_surface at 22.set_buffer_scale(1)
[1448300.943]  -> wl_display at 1.get_registry(new id wl_registry at 2)
[1448301.012]  -> wl_display at 1.sync(new id wl_callback at 3)
[1448303.311] wl_display at 1.delete_id(3)
[1448303.359] wl_registry at 2.global(1, "wl_compositor", 4)
[1448303.394]  -> wl_registry at 2.bind(1, "wl_compositor", 3, new id [unknown]@4)
[1448303.622] wl_registry at 2.global(2, "wl_subcompositor", 1)
[1448303.708]  -> wl_registry at 2.bind(2, "wl_subcompositor", 1, new id [unknown]@5)
[1448303.821] wl_registry at 2.global(3, "wp_viewporter", 1)
[1448303.855] wl_registry at 2.global(4, "wp_presentation", 1)
[1448303.886] wl_registry at 2.global(5, "zwp_relative_pointer_manager_v1", 1)
[1448303.918] wl_registry at 2.global(6, "zwp_pointer_constraints_v1", 1)
[1448303.949] wl_registry at 2.global(7, "wl_data_device_manager", 3)
[1448303.980]  -> wl_registry at 2.bind(7, "wl_data_device_manager", 3, new id [unknown]@6)
[1448304.024] wl_registry at 2.global(8, "wl_shm", 1)
[1448304.055]  -> wl_registry at 2.bind(8, "wl_shm", 1, new id [unknown]@7)
[1448304.286]  -> wl_shm at 7.create_pool(new id wl_shm_pool at 8, fd 21, 2304)
[1448304.757]  -> wl_shm_pool at 8.resize(5568)
[1448304.823]  -> wl_shm_pool at 8.resize(12096)
[1448304.881] wl_registry at 2.global(9, "wayland_buffer_backend", 4)
[1448304.916] wl_registry at 2.global(10, "wl_seat", 5)
[1448304.948]  -> wl_registry at 2.bind(10, "wl_seat", 5, new id [unknown]@9)
[1448344.477]  -> wl_compositor at 4.create_surface(new id wl_surface at 10)
[1448344.755]  -> wl_data_device_manager at 6.get_data_device(new id wl_data_device at 11, wl_seat at 9)
[1448345.028]  -> wl_compositor at 4.create_surface(new id wl_surface at 12)
[1448345.432]  -> wl_display at 1.sync(new id wl_callback at 13)
[1448345.602] wl_registry at 2.global(11, "zwp_linux_dmabuf_v1", 3)
[1448345.793] wl_registry at 2.global(12, "gbm_buffer_backend", 1)
[1448345.923] wl_registry at 2.global(13, "wl_output", 3)
[1448346.044]  -> wl_registry at 2.bind(13, "wl_output", 2, new id [unknown]@14)
[1448346.378]  -> wl_display at 1.sync(new id wl_callback at 15)
[1448346.467] wl_registry at 2.global(14, "zwp_input_panel_v1", 1)
[1448346.655] wl_registry at 2.global(15, "zwp_input_method_v1", 1)
[1448346.823] wl_registry at 2.global(16, "zwp_text_input_manager_v1", 1)
[1448346.962] wl_registry at 2.global(17, "zxdg_shell_v6", 1)
[1448347.125] wl_registry at 2.global(18, "xdg_shell", 1)
[1448347.251] wl_registry at 2.global(19, "wl_shell", 1)
[1448347.371] wl_registry at 2.global(20, "weston_desktop_shell", 1)
[1448347.501] wl_registry at 2.global(21, "weston_screenshooter", 1)
[1448347.686] wl_callback at 3.done(1)
[1448348.669] wl_display at 1.delete_id(13)
[1448348.784] wl_display at 1.delete_id(15)
[1448348.832] wl_shm at 7.format(0)
[1448348.877] wl_shm at 7.format(1)
[1448348.940] wl_shm at 7.format(909199186)
[1448349.058] wl_shm at 7.format(842093913)
[1448349.105] wl_shm at 7.format(842094158)
[1448349.169] wl_shm at 7.format(1448695129)
[1448349.238] wl_seat at 9.capabilities(2)
[1448349.310]  -> wl_seat at 9.get_keyboard(new id wl_keyboard at 3)
[1448349.457] wl_seat at 9.name("default")
[1448349.537] wl_callback at 13.done(1)
[1448349.646] wl_output at 14.geometry(0, 0, 0, 0, 0, "QCM", "unknown", 0)
[1448349.940] wl_output at 14.scale(1)
[1448350.037] wl_output at 14.mode(3, 1920, 1080, 60000)
[1448350.206] wl_output at 14.done()
[1448350.275] wl_callback at 15.done(1)
[1448350.387]  -> wl_registry at 2.bind(17, "zxdg_shell_v6", 1, new id [unknown]@15)
[1448418.233]  -> wl_compositor at 17.create_surface(new id wl_surface at 23)
[1448418.343]  -> wl_subcompositor at 18.get_subsurface(new id wl_subsurface at 24, wl_surface at 23, wl_surface at 22)
[1448418.397]  -> wl_subsurface at 24.set_desync()
[1448418.408]  -> wl_compositor at 17.create_region(new id wl_region at 25)
[1448418.425]  -> wl_surface at 23.set_input_region(wl_region at 25)
[1448418.438]  -> wl_region at 25.destroy()
[1448418.449]  -> wl_surface at 22.frame(new id wl_callback at 26)
[1448418.466]  -> wl_surface at 23.commit()
[1448418.527]  -> wl_surface at 23.set_buffer_scale(1)
[1448418.582]  -> wl_subsurface at 24.set_position(26, 60)
[1448463.133] wl_keyboard at 3.repeat_info(40, 400)
[1448463.188] wl_keyboard at 3.keymap(1, fd 38, 48257)

(firefox:3158): Gdk-WARNING **: 01:25:43.244: ../../../../../gdk/x11/gdkwindow-x11.c:5579 drawable is not a native X11 window
Exiting due to channel error.
./launch-firefox: line 16:  3158 Trace/breakpoint trap   (core dumped) firefox --g-fatal-warnings --kiosk --private-window https://bing.com
```


Expected results:

Firefox should appear into the active Weston display server running on
my monitor.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1930485/comments/0

------------------------------------------------------------------------
On 2021-06-02T02:18:23+00:00 Release-mgmt-account-bot wrote:

The [Bugbug](https://github.com/mozilla/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.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1930485/comments/2


** Changed in: firefox
       Status: Unknown => New

-- 
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/1930485

Title:
  Can't Start Firefox 88 on Weston/Wayland, Ubuntu 18.0.4.

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/1930485/+subscriptions



More information about the Ubuntu-mozillateam-bugs mailing list