Screensharing does not work on Fedora 42 KDE Plasma (Wayland)

I’ve been trying to get screen sharing to work in Google Chrome/Brave and also OBS, but it’s not working as intended. In Chromium based Browsers I’m able to share tabs of that browser, but I’m not able to select other windows or the entire screen. In OBS I only have “Screen Capture (Pipewire)” as an option that does nothing and doesn’t allow me to select a screen or window.

I noticed how OBS when run with sudo or as root does have the options of Window Capture (Xcomposite) and Display Capture (XSHM), both of which work. I also had success by opening OBS with QT_QPA_PLATFORM=xcb obs.

It’s a similar situation with Brave/Chrome with the exception of running it with QT_QPA_PLATFORM=xcb brave-browser does not work. Screensharing only works when I run the browser from root. Is it possible to get this working from a user account and not a root account and if so what am I doing wrong?

Hi! I’m not an expert by any means, but just checking - are the user services plasma-xdg-desktop-portal-kde.service and pipewire.service active and running?

My experience with screen sharing in arch’s plasma 6.3.5 in the past week or so since I’ve been able to actually use wayland (without a severe anger-inducing memory leak every 2 hour restarting plasmashell) has been pretty miserable, it just doesn’t seem to work consistently if at all.

My first test was using the Zoom (electron) client which works fine under x11 from the beginning of time, but wayland where it works the first time you use it showing the screen thumbnail preview before and after locally, but stop and restart it, it doesn’t work giving only a black screen again until I kill zoom and restart it. If I try again, same thing, one and done. Same for apps or the screen.

My other common use with another customer is Teams for sharing, where I get the selection window, but before even choosing I get no thumbnail preview, and choosing the screen the sharing doesn’t even seem to start from either side seeing anything. I tested this with Firefox and Librewolf so far, will probably try (ungoogled-)chromium at some point.

I tested OBS as I was meaning to tinker with it anyways, and testing the same thing to setup a screen capture, I get no thumbnail preview, and just a black screen showing after choosing a screen or application.

Pipewire and xdg-desktop-portal are both running and at least sorta working.