[Desktop-packages] [Bug 1970884] Re: Firefox snap does not use wayland backend by default

2023-07-26 Thread Bug Watch Updater
Launchpad has imported 34 comments from the remote bug at
https://bugzilla.mozilla.org/show_bug.cgi?id=1725245.

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-08-11T21:17:58+00:00 Aosmond wrote:

The latest Fedora and Ubuntu releases, and presumably any derivatives
thereof, ship Firefox on Wayland by default. They don't use the
compatibility layer XWayland, but rather actual Wayland using our pref
MOZ_ENABLE_WAYLAND to force it on.

Right now we are unable to test this configuration in CI because our
version of Ubuntu is too old to work well as Wayland development is
quite active.

We don't need our existing tests on Linux to be fully ported, but it
would be good to have the option to run some tests using Wayland on a
newer Ubuntu, such as 21.04. This would allow us to start greening the
tree for Wayland, and push it out officially from our side.

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


On 2021-08-13T08:16:57+00:00 Stransky wrote:

The recent Wayland test suite (Bug 1578640) based on Ubuntu 18.04 is
working relatively well.

The only issue there is missing focus support. The failures you see
there are caused broken focus where we wait for focus (that produces
timeouts) or we expect a window has focus (that produces reftest
failures).

These failures are pretty random as it depends how the focus is handled
by compositor - we use a workaround where we hide/show a window and hope
it gets the focus after show.

Only reliable way how to fix that is XDG activation protocol implementation 
(https://wayland.app/protocols/xdg-activation-v1).
This is not finished yet 
(https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1845). Robert, do you 
know when this may be available in Mutter? For instance I don't see it in 
mutter-40.3-1.fc34.x86_64 package.

So our goal is to have compositor with XDG activation protocol available
to test Wayland reliably.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1970884/comments/1


On 2021-08-13T15:24:36+00:00 Robert Mader wrote:

Copying my answer from the issue here:

> Current status is that we'll ship it in 41 - we may backport it to 40, but 
> Ubuntu 21.04 still uses 3.38. So I currently don't see to get it into the FF 
> CI apart from
> - waiting for 21.10
> - using another distro
> - asking Ubuntu devs to backport it to Gnome 3.36 so we can use Ubuntu 20.04 
> (I don't think they'll backport to Ubuntu 21.04, but that would also be an 
> option)

That being said, I think in the Mutter version in Ubuntu 18.04 are quite
a few Wayland related bugs - not to mention all those fixes for
compositor integration. So I guess we'd want at least Ubuntu 20.04 so we
don't run into already fixed issues.

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


On 2021-08-13T15:38:00+00:00 Aosmond wrote:

I think we want 21.04 given that is the release users are getting
Wayland today. Test what is already shipping :). They don't get it in
20.04 by default.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1970884/comments/3


On 2021-08-26T16:11:43+00:00 Jmaher wrote:

:stranksy - do you know of prior art/docs on getting wayland running on
docker?  Currently we run tests on docker with xvfb - my understanding
is wayland on xvfb == xwayland;  that is not wayland proper.  Any advice
you have on this would be helpful.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1970884/comments/4


On 2021-08-26T16:46:30+00:00 Robert Mader wrote:

For the record from matrix:
> robert.mader
> jmaher: for the record, "wayland on xvfb == xwayland" sounds wrong to me. 
> Xwayland runs on top of Wayland, so Xwayland would imply "x11 on wayland on 
> xvfb". So if a nested Wayland session runs on top of xvfb, that's entirely 
> valid.
"Wayland on native backend" would certainly be better than "Wayland on X11 
backend", but for docker tests the later should be fine for now.
> jmaher
> robert.mader: ok, then maybe this isn't such a hard problem to solve- I was 
> reading up on it and kept running into more resources about pure Wayland 
> without xvfb; I will keep looking into this a bit more
> robert.mader
> jmaher: Gnome-Shell/Mutter only supports native headless Wayland mode since 
> very recently (since Gnome 40), see 
> 

[Desktop-packages] [Bug 1970884] Re: Firefox snap does not use wayland backend by default

2023-07-26 Thread Birgit Edel
When updating this, review MOZ_PGO and xvfb mentions in the build
scripts to verify build defaults and runtime defaults match.

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

Title:
  Firefox snap does not use wayland backend by default

Status in Mozilla Firefox:
  Unknown
Status in firefox package in Ubuntu:
  In Progress

Bug description:
  Previous versions of Firefox worked with the wayland backend, with the
  latest version ( 99.0.1 ) wayland is not available and it has to use
  xwayland. This breaks the screen sharing and also the fonts are not as
  sharp as using the wayland backend.

  Nightly version 101.0a1 without snap works fine.

  ```
  Gtk-Message: 09:20:51.884: Failed to load module "canberra-gtk-module"
  Gtk-Message: 09:20:51.885: Failed to load module "canberra-gtk-module"
  [GFX1-]: glxtest: Could not connect to wayland socket
  ```

  Tested on Ubuntu 21.10 and 22.04 with the latest updates.
  --- 
  ProblemType: Bug
  ApportVersion: 2.20.11-0ubuntu82
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  DistroRelease: Ubuntu 22.04
  InstallationDate: Installed on 2021-06-21 (315 days ago)
  InstallationMedia: Ubuntu 21.04 "Hirsute Hippo" - Release amd64 (20210420)
  ProcVersionSignature: Ubuntu 5.15.0-27.28-generic 5.15.30
  Snap: firefox 99.0.1-1 (latest/stable/ubuntu-22.04)
  Snap.Changes: no changes found
  Tags:  jammy wayland-session
  Uname: Linux 5.15.0-27-generic x86_64
  UpgradeStatus: Upgraded to jammy on 2022-04-28 (4 days ago)
  UserGroups: docker sudo
  _MarkForUpload: True

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


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1970884] Re: Firefox snap does not use wayland backend by default

2023-07-26 Thread Birgit Edel
** Bug watch added: Mozilla Bugzilla #1725245
   https://bugzilla.mozilla.org/show_bug.cgi?id=1725245

** Also affects: firefox via
   https://bugzilla.mozilla.org/show_bug.cgi?id=1725245
   Importance: Unknown
   Status: Unknown

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

Title:
  Firefox snap does not use wayland backend by default

Status in Mozilla Firefox:
  Unknown
Status in firefox package in Ubuntu:
  In Progress

Bug description:
  Previous versions of Firefox worked with the wayland backend, with the
  latest version ( 99.0.1 ) wayland is not available and it has to use
  xwayland. This breaks the screen sharing and also the fonts are not as
  sharp as using the wayland backend.

  Nightly version 101.0a1 without snap works fine.

  ```
  Gtk-Message: 09:20:51.884: Failed to load module "canberra-gtk-module"
  Gtk-Message: 09:20:51.885: Failed to load module "canberra-gtk-module"
  [GFX1-]: glxtest: Could not connect to wayland socket
  ```

  Tested on Ubuntu 21.10 and 22.04 with the latest updates.
  --- 
  ProblemType: Bug
  ApportVersion: 2.20.11-0ubuntu82
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  DistroRelease: Ubuntu 22.04
  InstallationDate: Installed on 2021-06-21 (315 days ago)
  InstallationMedia: Ubuntu 21.04 "Hirsute Hippo" - Release amd64 (20210420)
  ProcVersionSignature: Ubuntu 5.15.0-27.28-generic 5.15.30
  Snap: firefox 99.0.1-1 (latest/stable/ubuntu-22.04)
  Snap.Changes: no changes found
  Tags:  jammy wayland-session
  Uname: Linux 5.15.0-27-generic x86_64
  UpgradeStatus: Upgraded to jammy on 2022-04-28 (4 days ago)
  UserGroups: docker sudo
  _MarkForUpload: True

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


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1970884] Re: Firefox snap does not use wayland backend by default

2022-12-16 Thread Olivier Tilloy
** Changed in: firefox (Ubuntu)
 Assignee: Olivier Tilloy (osomon) => (unassigned)

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

Title:
  Firefox snap does not use wayland backend by default

Status in firefox package in Ubuntu:
  In Progress

Bug description:
  Previous versions of Firefox worked with the wayland backend, with the
  latest version ( 99.0.1 ) wayland is not available and it has to use
  xwayland. This breaks the screen sharing and also the fonts are not as
  sharp as using the wayland backend.

  Nightly version 101.0a1 without snap works fine.

  ```
  Gtk-Message: 09:20:51.884: Failed to load module "canberra-gtk-module"
  Gtk-Message: 09:20:51.885: Failed to load module "canberra-gtk-module"
  [GFX1-]: glxtest: Could not connect to wayland socket
  ```

  Tested on Ubuntu 21.10 and 22.04 with the latest updates.
  --- 
  ProblemType: Bug
  ApportVersion: 2.20.11-0ubuntu82
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  DistroRelease: Ubuntu 22.04
  InstallationDate: Installed on 2021-06-21 (315 days ago)
  InstallationMedia: Ubuntu 21.04 "Hirsute Hippo" - Release amd64 (20210420)
  ProcVersionSignature: Ubuntu 5.15.0-27.28-generic 5.15.30
  Snap: firefox 99.0.1-1 (latest/stable/ubuntu-22.04)
  Snap.Changes: no changes found
  Tags:  jammy wayland-session
  Uname: Linux 5.15.0-27-generic x86_64
  UpgradeStatus: Upgraded to jammy on 2022-04-28 (4 days ago)
  UserGroups: docker sudo
  _MarkForUpload: True

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


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1970884] Re: Firefox snap does not use wayland backend by default

2022-05-05 Thread Alfredo Matas
I can confirm that using the version 100 (available in the candidate
channel of snap at the time of writing this comment) the wayland backend
works again.

Looking forward to have this version in the stable channel of snap :)

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

Title:
  Firefox snap does not use wayland backend by default

Status in firefox package in Ubuntu:
  In Progress

Bug description:
  Previous versions of Firefox worked with the wayland backend, with the
  latest version ( 99.0.1 ) wayland is not available and it has to use
  xwayland. This breaks the screen sharing and also the fonts are not as
  sharp as using the wayland backend.

  Nightly version 101.0a1 without snap works fine.

  ```
  Gtk-Message: 09:20:51.884: Failed to load module "canberra-gtk-module"
  Gtk-Message: 09:20:51.885: Failed to load module "canberra-gtk-module"
  [GFX1-]: glxtest: Could not connect to wayland socket
  ```

  Tested on Ubuntu 21.10 and 22.04 with the latest updates.
  --- 
  ProblemType: Bug
  ApportVersion: 2.20.11-0ubuntu82
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  DistroRelease: Ubuntu 22.04
  InstallationDate: Installed on 2021-06-21 (315 days ago)
  InstallationMedia: Ubuntu 21.04 "Hirsute Hippo" - Release amd64 (20210420)
  ProcVersionSignature: Ubuntu 5.15.0-27.28-generic 5.15.30
  Snap: firefox 99.0.1-1 (latest/stable/ubuntu-22.04)
  Snap.Changes: no changes found
  Tags:  jammy wayland-session
  Uname: Linux 5.15.0-27-generic x86_64
  UpgradeStatus: Upgraded to jammy on 2022-04-28 (4 days ago)
  UserGroups: docker sudo
  _MarkForUpload: True

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


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp