Bug 445728 - Incompatibility with OBS
Summary: Incompatibility with OBS
Status: RESOLVED UPSTREAM
Alias: None
Product: xdg-desktop-portal-kde
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 5.23.3
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Jan Grulich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-19 01:28 UTC by hugeblank
Modified: 2021-11-19 14:17 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hugeblank 2021-11-19 01:28:17 UTC
SUMMARY
I was running into an issue with OBS where the screen/window capture options just wouldn't show up. I did some more investigation and found that it depends on xdg-desktop-portal. When I check on the service after running OBS it crashes with a segfault. I go into more detail, and provide hardware/software information in [this forum post](https://forum.kde.org/viewtopic.php?f=225&t=173254). I'd like to provide more debugging information, but all the pages I can find talk about debugging applications, not necessarily services.

I was referred here by a support volunteer in the OBS community discord.

STEPS TO REPRODUCE
1. `systemctl --user status xdg-desktop-portal` - should be functioning normally
2. `obs` - open up OBS
3. `systemctl --user status xdg-desktop-portal` - segfault, implying OBS caused it in some way.

OBSERVED RESULT
Crashing on OBS startup resulting in missing screen/window capture options.


EXPECTED RESULT
OBS working as intended

SOFTWARE/OS VERSIONS
System information:
    Operating System: KDE neon 5.23
    KDE Plasma Version: 5.23.3
    KDE Frameworks Version: 5.88.0
    Qt Version: 5.15.3
    Kernel Version: 5.11.0-40-generic (64-bit)
    Graphics Platform: Wayland

Package Information:
    xdg-desktop-portal Version: 1.6.0-1
    xdg-desktop-portal-kde Version: 5.23.3-0xneon+20.04+focal+release+build35
    xdg-desktop-portal-gtk Version: 1.6.0-1build1
    obs-studio Version: 27.1.3-0obsproject1~focal
    pipewire Version: 0.3.33-0+20.04+focal+release+build42
Comment 1 Jan Grulich 2021-11-19 07:06:26 UTC
It's xdg-desktop-portal crashing, not our xdg-desktop-portal-kde backend. You will have to open a bug here https://github.com/flatpak/xdg-desktop-portal/.
Comment 2 hugeblank 2021-11-19 14:17:10 UTC
(In reply to Jan Grulich from comment #1)
> It's xdg-desktop-portal crashing, not our xdg-desktop-portal-kde backend.
> You will have to open a bug here
> https://github.com/flatpak/xdg-desktop-portal/.

Alright, I'll link them this issue and the forum post. Thank you!