SUMMARY If xdg-desktop-portal-gnome is installed and running (and it is by default on Fedora 36): Since KDE 5.26, using OBS or screen sharing causes the KDE session to crash and restart (tested in Wayland), and removing xdg-desktop-portal-gnome fixes this. STEPS TO REPRODUCE 1. Be on Fedora 36 KDE with wayland session 2. Have xdg-desktop-portal-gnome installed and running (it is by default) 3. Try to screen share in telegram or screen record in OBS 4. Instant crash OBSERVED RESULT Kwin crash when sharing / recording screen EXPECTED RESULT There to be no crash. SOFTWARE/OS VERSIONS Operating System: Fedora Linux 36 KDE Plasma Version: 5.26.0 KDE Frameworks Version: 5.98.0 Qt Version: 5.15.6 Kernel Version: 5.19.15-201.fc36.x86_64 (64-bit) Graphics Platform: Wayland Processors: 4 × Intel® Core™ i5-7300U CPU @ 2.60GHz Memory: 7.6 GiB of RAM Graphics Processor: Mesa Intel® HD Graphics 620
I upgraded to Fedora 37 KDE with KDE 5.26 from the kdesig copr and now it seems to crash for a different reason (when attempting to record screen in OBS on Wayland): Oct 16 19:09:08 fedora-t580 kwin_wayland_wrapper[4491]: No provider of eglQueryDmaBufModifiersEXT found. Requires one of: Oct 16 19:09:08 fedora-t580 kwin_wayland_wrapper[4491]: EGL_EXT_image_dma_buf_import_modifiers
due to corrupt kwinrc