Bug 485283 - blank screen in obs studio
Summary: blank screen in obs studio
Status: REPORTED
Alias: None
Product: xdg-desktop-portal-kde
Classification: Plasma
Component: general (show other bugs)
Version: 6.0.3
Platform: Arch Linux Linux
: NOR major
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: qt6, wayland-only
Depends on:
Blocks:
 
Reported: 2024-04-09 15:47 UTC by Fadlullah Olawumi
Modified: 2024-06-28 22:41 UTC (History)
6 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fadlullah Olawumi 2024-04-09 15:47:53 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY
Quiting OBS studio unrecoverably breaks screencasting with OBS

STEPS TO REPRODUCE
1. Login to Plasma (Wayland)
2. Open OBS Studio
3. Use `Screen Capture (Pipewire)` to select a screen
4. Exit OBS
5. Open OBS again
6. Select a screen again

OBSERVED RESULT
Blank screen

EXPECTED RESULT
To actual capture screen

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.0.3
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.3
Kernel Version: 6.7.4-273-tkg-eevdf (64-bit)
Graphics Platform: Wayland
Processors: 24 × AMD Ryzen 9 7900X 12-Core Processor
Memory: 14.8 GiB of RAM
Graphics Processor: AMD Radeon RX 6700 XT
Manufacturer: ASUS

ADDITIONAL INFORMATION
The only way to get it to work again is by logging out and logging in.
- I've tried restarting `pipewire` and `xdg-desktop-portal` with `systemctl --user restart plasma-xdg-desktop-portal-kde pipewire.service` 
- `systemctl --user status plasma-xdg-desktop-portal-kde.service`
>>> Apr 09 16:35:44 efqr.dev xdg-desktop-portal-kde[62254]: xdp-kde-screencast: Invalid screen! 2 "0x0"