teams-for-linux
teams-for-linux copied to clipboard
Screensharing does not work on Sway / wlroots with Flatpak installation
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:
- Install a Sway desktop environment with xdg-desktop-portal-wlr..
- Install teams_for_linux flatpak
- Run, start meeting, try to share screen
- 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)
Thanks @yourealwaysbe
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...?!
Closing due inactivity. Ping to reopen