Closed Bug 1648029 Opened 4 years ago Closed 3 years ago

[Flatpak] enable pipewire support for wayland screensharing

Categories

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

defect

Tracking

()

RESOLVED FIXED
89 Branch
Tracking Status
firefox89 --- fixed

People

(Reporter: Esokrarkose, Assigned: theevilskeleton)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

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

Steps to reproduce:

Try to share your desktop with others while being in a Gnome Wayland Session.

Actual results:

In https://bugzilla.mozilla.org/show_bug.cgi?id=1430775#c8 it is mentioned that pipewire support is not enabled by default in the firefox build system yet which breaks screen sharing on wayland.

Expected results:

Could you please enable pipewire by default in the Firefox Flatpak? Or at least provide an additional experimental flatpak where this is enabled by default.

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

(In reply to Release mgmt bot [:sylvestre / :calixte / :marco for bugbug] from comment #1)

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

Component: Widget: Gtk → General
Product: Core → Release Engineering
Version: 77 Branch → unspecified
Blocks: flatpak
QA Contact: catlee

Going forward, flatpak-related bugs will no longer be filed under RelEng, but instead in Core/Widget:GTK where folks have much more in-depth knowledge on this. If the issues are RelEng related (specific to automation building + publishing), they can be filed against Release Engineering :: Release Automation: Other and we’ll take care of that.

Component: General → Widget: Gtk
Product: Release Engineering → Core
QA Contact: catlee
Priority: -- → P3
Summary: Flatpak: enable pipewire support for wayland screensharing → [Flatpak] enable pipewire support for wayland screensharing

I'm curious about where we are with this issue

The current version in flatpak is Firefox 86.0, and from testing it does not appear to have been compiled with PipeWire support

Are there any blockers for enabling this for Firefox 87.0 flatpak?

In 86 or 87?

In the 86 flatpak I have found no way to share the screen on Wayland in discord or zoom, but I can in the rpm.

My only changes are passing socket=wayland and enabling the MOZ_ENABLE_WAYLAND=1 environment variable.

Flags: needinfo?(stransky)

Also not working in 87.0b8. I do, however, get the little gnome screen share indicator in the top right for both, but no screen actually shares.

Jan, do you know if pipewire needs any extra permissions under flatpak? Do we use such in Fedora flatpak packages?
Thanks.

Flags: needinfo?(stransky) → needinfo?(jhorak)

I'm very new to Mercurial and Phabricator, so forgive me. I cannot close two issues at once so I am stuck with closing only https://bugzilla.mozilla.org/show_bug.cgi?id=1665817, but it also fixes this one.

Here's the MR that adds PipeWire support: https://phabricator.services.mozilla.com/D109314

(In reply to ajtbecool from comment #6)

In 86 or 87?

In the 86 flatpak I have found no way to share the screen on Wayland in discord or zoom, but I can in the rpm.

My only changes are passing socket=wayland and enabling the MOZ_ENABLE_WAYLAND=1 environment variable.

You also have to add --filesystem=xdg-run/pipewire-0 for screen sharing support in Wayland.

Assignee: nobody → theevilskeleton
Attachment #9211987 - Attachment description: WIP: Bug 1648029 - Enable PipeWire support in Flatpak → Bug 1648029 - Enable PipeWire support in Flatpak
Attachment #9211987 - Attachment description: Bug 1648029 - Enable PipeWire support in Flatpak → Bug 1648029 - Enable PipeWire support in Flatpak r?mtabara!

[reacted in the phabricator]

Flags: needinfo?(jhorak)
Pushed by mtabara@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6cc50147067f
Enable PipeWire support in Flatpak r=mtabara DONTBUILD
Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 89 Branch
You need to log in before you can comment on or make changes to this bug.