Bug 437529

Summary: xdg-desktop-portal should be built with Pipewire support, necessary for screencasting on Wayland
Product: [KDE Neon] neon Reporter: Bharadwaj Raju <bharadwaj.raju777>
Component: generalAssignee: Neon Bugs <neon-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: bugseforuns, hellofriend, jr, neon-bugs, p3dimaria, sitter
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:

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.