Bug 437529 - xdg-desktop-portal should be built with Pipewire support, necessary for screencasting on Wayland
Summary: xdg-desktop-portal should be built with Pipewire support, necessary for scree...
Status: RESOLVED FIXED
Alias: None
Product: neon
Classification: KDE Neon
Component: general (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Neon Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-23 05:13 UTC by Bharadwaj Raju
Modified: 2021-11-09 11:55 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bharadwaj Raju 2021-05-23 05:13:17 UTC
Currently, the xdg-desktop-portal package on Neon is not built with Pipewire support. This leads to it not providing the ScreenCast interface even though xdg-desktop-portal-kde implements it.

This was an Ubuntu bug: https://bugs.launchpad.net/ubuntu/+source/pipewire/+bug/1802533, fixed in 21.04.

The fix (basically just building it on a system with Pipewire) can be easily done for Neon 20.04, and we should do so to make Wayland screencasting work.


Right now I made it work by compiling xdg-desktop-portal from source using instructions in an AUR pkgbuild.
Comment 1 Patrick Silva 2021-05-30 14:40:39 UTC
Probably that's why I can not record my screen with OBS Studio 27 RC5
on my neon unstable.
Comment 2 Patrick Silva 2021-10-20 15:32:23 UTC
Currently OBS Studio from flathub can record my screen on neon unstable.
However, it can't record audio output.
Comment 3 p3dimaria 2021-11-09 11:48:32 UTC
Hello I am a packager for NixOS. As I've encountered the same problem, could comeone explain what did Ubuntu do for fixing that?
Did they just apt install pipewire before building xdg-desktop-portal-kde or did they add cmake flags?
Or where should I look for the build instructions for that deb package?
Comment 4 Bharadwaj Raju 2021-11-09 11:49:49 UTC
(In reply to p3dimaria from comment #3)
> Hello I am a packager for NixOS. As I've encountered the same problem, could
> comeone explain what did Ubuntu do for fixing that?
> Did they just apt install pipewire before building xdg-desktop-portal-kde or
> did they add cmake flags?
> Or where should I look for the build instructions for that deb package?

On my system just installing it with Pipewire (and the development headers!) present was enough to enable it.
Comment 5 Bharadwaj Raju 2021-11-09 11:55:14 UTC
On Neon Unstable right now this is fixed. Closing.