teams-for-linux icon indicating copy to clipboard operation
teams-for-linux copied to clipboard

Screensharing does not work on Sway / wlroots with Flatpak installation

Open yourealwaysbe opened this issue 3 years ago • 2 comments

Describe the bug Screensharing does not work on the Flatpak installation with Sway 1.7 (more specifically xdg-desktop-portal-wlr 0.6).

To Reproduce Steps to reproduce the behavior:

  1. Install a Sway desktop environment with xdg-desktop-portal-wlr..
  2. Install teams_for_linux flatpak
  3. Run, start meeting, try to share screen
  4. Nothing happens, error messages fill the terminal log.

Expected behavior On screenshare, the desktop portal prompts for the desktop to share, then the desktop is shared.

Desktop (please complete the following information):

  • OS: Arch Linux, Sway 1.7, xdg-desktop-portal-wlr 0.6, Flatpak 1.14.
  • Installation package: Flatpak
  • Version 1.0.35 and updated 1.0.36

Additional context

The error is a replica of this issue. The cause is that a newer version of Pipewire is needed than the one in the Freedesktop 21.08 platform. Bumping to Freedesktop 22.08 fixes the issue, but causes problems elsewhere, as reported in #584. An alternative might be to keep Freedesktop 21.08 but bundle Pipewire 3.40 (as done by e.g. OBS Studio). However, this may well cause the same problem as #584.

(This bug report was requested in #584)

yourealwaysbe avatar Sep 13 '22 13:09 yourealwaysbe

Thanks @yourealwaysbe

jijojosephk avatar Sep 13 '22 13:09 jijojosephk

Similar issue with ubuntu 22.04 here. error message: 29419:0920/144953.345633:ERROR:base_capturer_pipewire.cc(50)] ScreenCastPortal failed: 1 [29419:0920/145044.705704:ERROR:shared_screencast_stream.cc(401)] One of following libraries is missing on your system: PipeWire (libpipewire-0.3.so.0) - drm (libdrm.so.2) Which version number is "so.0", and if I have pipewire 0.3.48-1ubuntu1 is this newer or older or not the abovementioned library but a different thing...?!

DGrothe-PhD avatar Sep 20 '22 17:09 DGrothe-PhD

Closing due inactivity. Ping to reopen

IsmaelMartinez avatar Mar 22 '23 14:03 IsmaelMartinez