SUMMARY I have OBS Studio from flathub installed on neon unstable. I added 'Screen capture (Pipewire)' to Sources list of OBS Studio, selected my screen in the portal window but OBS Studio is unable to capture my screen. The area where OBS Studio should show my screen remains black. EXPECTED RESULT we are able to record the screen with OBS Studio on Wayland SOFTWARE/OS VERSIONS Operating System: KDE neon Unstable Edition KDE Plasma Version: 5.25.80 KDE Frameworks Version: 5.96.0 Qt Version: 5.15.5 Graphics Platform: Wayland
When you first launched OBS, did you see a dialog asking you to select an output to record? If not, it's likely that the desktop portal wasn't running, and that's the cause of the issue. Can you try this? kquitapp5 xdg-desktop-portal kquitapp5 xdg-desktop-portal-kde /usr/libexec/xdg-desktop-portal & kstart5 ~/kde/usr/lib64/libexec/xdg-desktop-portal-kde flatpak run com.obsproject.Studio
(In reply to Nate Graham from comment #1) > When you first launched OBS, did you see a dialog asking you to select an > output to record? No dialog appears for me. After opening OBS, I see an icon in system tray whose tooltip says 'Recording screen <my screen>... Press to cancel" on mouseover. The problem persists after your commands.
I get error messages after the first two commands. $ kquitapp5 xdg-desktop-portal "Application xdg-desktop-portal could not be found using service org.kde.xdg-desktop-portal and path /MainApplication." $ kquitapp5 xdg-desktop-portal-kde "Application xdg-desktop-portal-kde could not be found using service org.kde.xdg-desktop-portal-kde and path /MainApplication."
This is xdg-desktop-portal-kde not being found, make sure it's properly installed.
xdg-desktop-portal-kde was already installed. Reinstalled it right now and the error messages persist.
I think that means there's a setup issue of some sort.
Eh... You cannot kquitapp5 either of those apps as neither is registered at org.kde.* those errors don't mean it's not found, they mean the command makes no sense :P
Weirdly the bug persists with OBS flatpak, but the Snap version works. Operating System: KDE neon Unstable Edition KDE Plasma Version: 5.26.80 KDE Frameworks Version: 5.99.0 Qt Version: 5.15.6 Graphics Platform: Wayland
Cannot reproduce on neon unstable based on ubuntu 22.04.