After doing an update, the screen sharing dialog no longer shows any shareable windows on my web browsers, Vesktop doesn’t pop up a dialog at all, and slack only lets me share non-web browser windows, while desktop screenshares are all black.
Intel® Core™ Ultra 5 125U with integrated Mesa graphics
ThinkPad T14 G5
As I’m on Arch, all packages are up-to-date.
UPD: Screensharing does work under X11 session, and does not under another wayland composer. I assume this issue may be related to pipewire, not to KDE.
UPD2: Chromium throws such errors when trying to share Window or Entire screen:
[30781:30781:1020/153134.735634:ERROR:screen_capture_portal_interface.cc(48)] Failed to request session: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.ScreenCast” on object at path /org/freedesktop/portal/desktop
[30781:30781:1020/153134.735679:ERROR:base_capturer_pipewire.cc(81)] ScreenCastPortal failed: 3
Double-checked I have xdg-portal-desktop installed and running as user service, and xdg-portal-dekstop-kde backend installed. Running xdg-desktop-portal -v gave me (among other things) next:
XDP: Using kde.portal for org.freedesktop.impl.portal.ScreenCast (config)
XDP: providing portal org.freedesktop.portal.ScreenCast
Going to read some docs to better understand how it works.
It seems newer chrome (arch versions) a dbus service portal org.freedesktop.portal.ScreenCast for screencast, that has not been implemented in xdg-desktop-portal-kde (yet).
Yes this one was for neon, adding some context, it seems to only concern Arch and maybe only certain apps in Wayland.
But even better would be a specific open a bug report (Log in to KDE Bugtracking System) for xdg-desktop-portal-kde: Missing protocol org.freedesktop.portal.ScreenCast that will get the proper attention.
The screencast protocol is the main issue. It was not widely used until recently, now there is an important user (chromium) for it.
As telegram,zoom… are electron applications i.e chromium, they exhibit the same issue.
Thank you! Here’s the new post: screensharing-stopped-working-after-upgrading-to-plasma-6-2-1/23979 (Can’t post with links, so here’s just uri)
Just tried to reproduce on another pc (AMD CPU and Nvidia GPU) - and sharing works. Due to this I’ve paused publishing this as a bug - probably I’ve missconfigured something.
I’m sure i’m not the only one interested on the estimate for making this happen, is it weeks? Months? AAND what is the current main trouble for screen sharing not to work on Wayland overall in for example Discord?
I experienced the same issue, and I found a temporary solution. Update all installed packages, including xdg-desktop-portal, to the latest version. Then restart your system. After restarting, you need to log out and log back in for the fix to work. Note that if you reboot your system, the problem might reappear. In that case, simply log out and log back in again to resolve it.