https://bugs.kde.org/show_bug.cgi?id=528490

            Bug ID: 528490
           Summary: Screen sharing not working and streaming stop working
                    or show corrupted, shifted graphics with a green bar
    Classification: Plasma
           Product: xdg-desktop-portal-kde
      Version First 6.8.2
       Reported In:
          Platform: CachyOS
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

Created attachment 198177
  --> https://bugs.kde.org/attachment.cgi?id=198177&action=edit
How the screen warp looks like

DESCRIPTION

I stream my screen to others using Vesktop (a Discord client) on CachyOS with
KDE Plasma Wayland. Until around Nov 5th everything worked. Since then, two
related failures occur:

After login, the screen-share source picker never appears. Vesktop logs said
when clicking on Screenshare:
❯ vesktop
APPIMAGE env is not defined, current application is not an AppImage
Vesktop v1.6.9
Enabled Chromium features: AcceleratedVideoEncoder, AcceleratedVideoDecoder,
AcceleratedVideoDecodeLinuxGL, AcceleratedVideoDecodeLinuxZeroCopyGL
Disabled Chromium features: HardwareMediaKeyHandling, MediaSessionService,
WaylandWpColorManagerV1
[31444:1107/153015.098210:ERROR:ui/ozone/platform/wayland/gpu/wayland_surface_factory.cc:249]
'--ozone-platform=wayland' is not compatible with Vulkan. Consider switching to
'--ozone-platform=x11' or disabling Vulkan
[31394:1107/153032.023947:ERROR:third_party/webrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc:55]
Failed to request session:
GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: Keine derartige
Schnittstelle »org.freedesktop.portal.ScreenCast« des Objekts im Pfad
/org/freedesktop/portal/desktop
[31394:1107/153032.023959:ERROR:third_party/webrtc/modules/desktop_capture/linux/wayland/base_capturer_pipewire.cc:101]
ScreenCastPortal failed: 3
Error during screenshare picker Failed to get sources.

I am totally a noob in terms of how linux works, so I asked an AI for
assistance and he got the idea of a very easy fix:
systemctl --user start plasma-xdg-desktop-portal-kde && systemctl --user
restart xdg-desktop-portal

Yeah, with that: I was able to screenshare now. But now with this particular
caveat in the attachments. I mean, through checking systemctl
plasma-xdg-desktop-portal-kde was inactive.

STEPS TO REPRODUCE
1. Start your Wayland KDE Plasma session
2. Be unable to stream
3. Apply fix.

OBSERVED RESULT
Problems starting stream and streamed content

EXPECTED RESULT
No problems starting stream

SOFTWARE/OS VERSIONS
Operating System (available in the Info Center app, or by running `kinfo` in a
terminal window):
KDE Plasma Version: 6.8.2-2.1
KDE Frameworks Version: 
❯ pacman -Q frameworkintegration
frameworkintegration 6.31.0-1.1
Qt Version: 6.12.0-1.1

ADDITIONAL INFORMATION
❯ pacman -Q xdg-desktop-portal xdg-desktop-portal-kde
xdg-desktop-portal 1.22.1-2.1
xdg-desktop-portal-kde 6.8.2-1.1

[BEFORE APPLYING FIX BY RESTARTING PLASMA-XDG]
❯ systemctl --user status xdg-desktop-portal xdg-desktop-portal-gtk
plasma-xdg-desktop-portal-kde
● xdg-desktop-portal.service - Portal service
     Loaded: loaded (/usr/lib/systemd/user/xdg-desktop-portal.service; static)
     Active: active (running) since Sat 2026-11-07 13:51:19 CET; 1h 40min ago
 Invocation: 927678fe77334a4b9cf73162712a616e
   Main PID: 1087 (xdg-desktop-por)
      Tasks: 5 (limit: 38369)
     Memory: 11.6M (peak: 33.4M)
        CPU: 338ms
     CGroup:
/user.slice/user-1000.slice/[email protected]/session.slice/xdg-desktop-portal.service
             └─1087 /usr/lib/xdg-desktop-portal

Nov 07 14:59:02 Mundus haruna[21540]: could not connect to display 
Nov 07 14:59:02 Mundus haruna[21540]: From 6.5.0, xcb-cursor0 or libxcb-cursor0
is needed to load the Qt xcb platform plugin.
Nov 07 14:59:02 Mundus haruna[21540]: Could not load the Qt platform plugin
"xcb" in "" even though it was found.
Nov 07 14:59:02 Mundus haruna[21540]: This application failed to start because
no Qt platform plugin could be initialized. Rein>

                                      Available platform plugins are: eglfs,
linuxfb, minimal, minimalegl, offscreen, vkkhrdisp>
Nov 07 14:59:02 Mundus systemd-coredump[21545]: [🡕] Process 21540 (haruna) of
user 1000 dumped core.

                                                Stack trace of thread 21540:
                                                #0  0x00007f18396aeb8b
pthread_kill (libc.so.6 + 0xaeb8b)
                                                #1  0x00007f1839644d48 raise
(libc.so.6 + 0x44d48)
                                                #2  0x00007f18396257c1 abort
(libc.so.6 + 0x257c1)
                                                #3  0x00007f1839e9a1d2 n/a
(libQt6Core.so.6 + 0x9a1d2)
                                                #4  0x00007f1839e9a9ce
_ZNK14QMessageLogger5fatalEPKcz (libQt6Core.so.6 + 0x9a9>
                                                #5  0x00007f183c7c35b8
_ZN22QGuiApplicationPrivate25createPlatformIntegrationEv>
                                                #6  0x00007f183c7c4d28
_ZN22QGuiApplicationPrivate21createEventDispatcherEv (li>
                                                #7  0x00007f1839f9d46d
_ZN23QCoreApplicationPrivate4initEv (libQt6Core.so.6 + 0>
                                                #8  0x00007f183c7c4e54
_ZN22QGuiApplicationPrivate4initEv (libQt6Gui.so.6 + 0x1>
                                                #9  0x00007f183d8ff95e
_ZN19QApplicationPrivate4initEv (libQt6Widgets.so.6 + 0x>
                                                #10 0x00005580bb1edd03 n/a
(haruna + 0x31d03)
                                                #11 0x00007f1839627d0e n/a
(libc.so.6 + 0x27d0e)
                                                #12 0x00007f1839627e4b
__libc_start_main (libc.so.6 + 0x27e4b)
                                                #13 0x00005580bb1eef25 n/a
(haruna + 0x32f25)
                                                ELF object binary architecture:
AMD x86-64
Nov 07 15:00:10 Mundus haruna[22430]: could not connect to display 
Nov 07 15:00:10 Mundus haruna[22430]: From 6.5.0, xcb-cursor0 or libxcb-cursor0
is needed to load the Qt xcb platform plugin.
Nov 07 15:00:10 Mundus haruna[22430]: Could not load the Qt platform plugin
"xcb" in "" even though it was found.
Nov 07 15:00:10 Mundus haruna[22430]: This application failed to start because
no Qt platform plugin could be initialized. Rein>

                                      Available platform plugins are: eglfs,
linuxfb, minimal, minimalegl, offscreen, vkkhrdisp>
Nov 07 15:00:10 Mundus systemd-coredump[22436]: [🡕] Process 22430 (haruna) of
user 1000 dumped core.

                                                Stack trace of thread 22430:
                                                #0  0x00007f4e9deaeb8b
pthread_kill (libc.so.6 + 0xaeb8b)
                                                #1  0x00007f4e9de44d48 raise
(libc.so.6 + 0x44d48)
                                                #2  0x00007f4e9de257c1 abort
(libc.so.6 + 0x257c1)
                                                #3  0x00007f4e9e69a1d2 n/a
(libQt6Core.so.6 + 0x9a1d2)
                                                #4  0x00007f4e9e69a9ce
_ZNK14QMessageLogger5fatalEPKcz (libQt6Core.so.6 + 0x9a9>
                                                #5  0x00007f4ea0fc35b8
_ZN22QGuiApplicationPrivate25createPlatformIntegrationEv>
                                                #6  0x00007f4ea0fc4d28
_ZN22QGuiApplicationPrivate21createEventDispatcherEv (li>
                                                #7  0x00007f4e9e79d46d
_ZN23QCoreApplicationPrivate4initEv (libQt6Core.so.6 + 0>
                                                #8  0x00007f4ea0fc4e54
_ZN22QGuiApplicationPrivate4initEv (libQt6Gui.so.6 + 0x1>
                                                #9  0x00007f4ea20ff95e
_ZN19QApplicationPrivate4initEv (libQt6Widgets.so.6 + 0x>
                                                #10 0x000055da52933d03 n/a
(haruna + 0x31d03)
                                                #11 0x00007f4e9de27d0e n/a
(libc.so.6 + 0x27d0e)
                                                #12 0x00007f4e9de27e4b
__libc_start_main (libc.so.6 + 0x27e4b)
                                                #13 0x000055da52934f25 n/a
(haruna + 0x32f25)
                                                ELF object binary architecture:
AMD x86-64

● xdg-desktop-portal-gtk.service - Portal service (GTK/GNOME implementation)
     Loaded: loaded (/usr/lib/systemd/user/xdg-desktop-portal-gtk.service;
static)
     Active: active (running) since Sat 2026-11-07 13:51:45 CET; 1h 40min ago
 Invocation: 79f90a4e0fc04b0eaaef6401190a73b9
   Main PID: 2550 (xdg-desktop-por)
      Tasks: 9 (limit: 38369)
     Memory: 59.2M (peak: 66.6M)
        CPU: 388ms
     CGroup:
/user.slice/user-1000.slice/[email protected]/app.slice/xdg-desktop-portal-gtk.service
             └─2550 /usr/lib/xdg-desktop-portal-gtk

Nov 07 13:51:45 Mundus systemd[946]: Starting Portal service (GTK/GNOME
implementation)...
Nov 07 13:51:45 Mundus systemd[946]: Started Portal service (GTK/GNOME
implementation).

○ plasma-xdg-desktop-portal-kde.service - Xdg Desktop Portal For KDE
     Loaded: loaded
(/usr/lib/systemd/user/plasma-xdg-desktop-portal-kde.service; static)
     Active: inactive (dead)

❯ journalctl --user -b -u plasma-xdg-desktop-portal-kde
-- No entries --

❯ journalctl --user -b | grep -iE "portal.*(coredump|ABRT|fallback|Choosing)"

Nov 07 13:51:18 Mundus /usr/lib/xdg-desktop-portal[1087]: Choosing gtk.portal
for org.freedesktop.impl.portal.Lockdown as a last-resort fallback
Nov 07 13:51:18 Mundus /usr/lib/xdg-desktop-portal[1087]: Choosing gtk.portal
for org.freedesktop.impl.portal.Access as a last-resort fallback
Nov 07 13:51:19 Mundus /usr/lib/xdg-desktop-portal[1087]: Choosing gtk.portal
for org.freedesktop.impl.portal.Settings as a last-resort fallback
Nov 07 13:51:19 Mundus /usr/lib/xdg-desktop-portal[1087]: Choosing gtk.portal
for org.freedesktop.impl.portal.FileChooser as a last-resort fallback
Nov 07 13:51:19 Mundus /usr/lib/xdg-desktop-portal[1087]: Choosing gtk.portal
for org.freedesktop.impl.portal.AppChooser as a last-resort fallback
Nov 07 13:51:19 Mundus /usr/lib/xdg-desktop-portal[1087]: Choosing gtk.portal
for org.freedesktop.impl.portal.Print as a last-resort fallback
Nov 07 13:51:19 Mundus /usr/lib/xdg-desktop-portal[1087]: Choosing gtk.portal
for org.freedesktop.impl.portal.Notification as a last-resort fallback
Nov 07 13:51:19 Mundus /usr/lib/xdg-desktop-portal[1087]: Choosing gtk.portal
for org.freedesktop.impl.portal.Inhibit as a last-resort fallback
Nov 07 13:51:19 Mundus /usr/lib/xdg-desktop-portal[1087]: Choosing gtk.portal
for org.freedesktop.impl.portal.Account as a last-resort fallback
Nov 07 13:51:19 Mundus /usr/lib/xdg-desktop-portal[1087]: Choosing gtk.portal
for org.freedesktop.impl.portal.Email as a last-resort fallback
Nov 07 13:51:19 Mundus /usr/lib/xdg-desktop-portal[1087]: Choosing gtk.portal
for org.freedesktop.impl.portal.DynamicLauncher as a last-resort fallback


❯ systemctl --user list-units --state=failed
  UNIT LOAD ACTIVE SUB DESCRIPTION

0 loaded units listed.

❯ journalctl --user -b | grep -iE "pipewire|screencast" | tail -40
Nov 07 13:53:24 Mundus vesktop[6191]:
[6191:1107/135324.384670:ERROR:third_party/webrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc:55]
Failed to request session:
GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: Keine derartige
Schnittstelle »org.freedesktop.portal.ScreenCast« des Objekts im Pfad
/org/freedesktop/portal/desktop
Nov 07 13:53:24 Mundus vesktop[6191]:
[6191:1107/135324.384679:ERROR:third_party/webrtc/modules/desktop_capture/linux/wayland/base_capturer_pipewire.cc:101]
ScreenCastPortal failed: 3
Nov 07 16:08:49 Mundus xdg-desktop-portal-kde[40510]: PipeWire remote error: 
-2 target not found
Nov 07 16:08:49 Mundus xdg-desktop-portal-kde[40510]: PipeWire remote error: 
-2 target not found
Nov 07 16:08:49 Mundus xdg-desktop-portal-kde[40510]: PipeWire remote error: 
-2 target not found
Nov 07 16:08:49 Mundus xdg-desktop-portal-kde[40510]: PipeWire remote error: 
-2 target not found
Nov 07 16:08:51 Mundus vesktop[40552]:
[40552:1107/160851.509839:ERROR:third_party/webrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc:424]
Failed to start the screen cast session.
Nov 07 16:08:51 Mundus vesktop[40552]:
[40552:1107/160851.509850:ERROR:third_party/webrtc/modules/desktop_capture/linux/wayland/base_capturer_pipewire.cc:101]
ScreenCastPortal failed: 2
Nov 07 16:09:59 Mundus xdg-desktop-portal-kde[40510]: PipeWire remote error: 
-2 no global 124
Nov 07 16:09:59 Mundus xdg-desktop-portal-kde[40510]: PipeWire remote error: 
-2 no global 118
Nov 07 16:09:59 Mundus xdg-desktop-portal-kde[40510]: PipeWire remote error: 
-2 target not found
Nov 07 16:09:59 Mundus xdg-desktop-portal-kde[40510]: PipeWire remote error: 
-2 target not found
Nov 07 16:09:59 Mundus xdg-desktop-portal-kde[40510]: PipeWire remote error: 
-2 target not found
Nov 07 16:09:59 Mundus xdg-desktop-portal-kde[40510]: PipeWire remote error: 
-2 target not found
Nov 07 16:10:00 Mundus xdg-desktop-portal-kde[40510]: PipeWire remote error: 
-2 target not found
Nov 07 16:10:00 Mundus xdg-desktop-portal-kde[40510]: PipeWire remote error: 
-2 target not found
Nov 07 16:10:00 Mundus xdg-desktop-portal-kde[40510]: PipeWire remote error: 
-2 target not found
Nov 07 16:10:00 Mundus xdg-desktop-portal-kde[40510]: PipeWire remote error: 
-2 target not found
Nov 07 16:10:00 Mundus xdg-desktop-portal-kde[40510]: PipeWire remote error: 
-2 target not found
Nov 07 16:10:00 Mundus xdg-desktop-portal-kde[40510]: PipeWire remote error: 
-2 target not found
Nov 07 16:10:00 Mundus xdg-desktop-portal-kde[40510]: PipeWire remote error: 
-2 target not found
Nov 07 16:10:00 Mundus xdg-desktop-portal-kde[40510]: PipeWire remote error: 
-2 target not found
Nov 07 16:10:00 Mundus xdg-desktop-portal-kde[40510]: PipeWire remote error: 
-2 target not found
Nov 07 16:10:00 Mundus xdg-desktop-portal-kde[40510]: PipeWire remote error: 
-2 target not found
Nov 07 16:10:00 Mundus xdg-desktop-portal-kde[40510]: PipeWire remote error: 
-2 unknown resource 31 op:4
Nov 07 16:10:00 Mundus xdg-desktop-portal-kde[40510]: PipeWire remote error: 
-2 unknown resource 32 op:4
Nov 07 16:10:00 Mundus xdg-desktop-portal-kde[40510]: PipeWire remote error: 
-2 unknown resource 16 op:4
Nov 07 16:10:00 Mundus xdg-desktop-portal-kde[40510]: PipeWire remote error: 
-2 unknown resource 36 op:4
Nov 07 16:10:00 Mundus xdg-desktop-portal-kde[40510]: PipeWire remote error: 
-2 unknown resource 15 op:4
Nov 07 16:10:00 Mundus xdg-desktop-portal-kde[40510]: PipeWire remote error: 
-2 unknown resource 31 op:7
Nov 07 16:10:00 Mundus xdg-desktop-portal-kde[40510]: PipeWire remote error: 
-2 unknown resource 15 op:7
Nov 07 16:10:00 Mundus xdg-desktop-portal-kde[40510]: PipeWire remote error: 
-2 unknown resource 16 op:7
Nov 07 16:10:00 Mundus xdg-desktop-portal-kde[40510]: PipeWire remote error: 
-2 unknown resource 36 op:7
Nov 07 16:10:00 Mundus xdg-desktop-portal-kde[40510]: PipeWire remote error: 
-2 unknown resource 32 op:7
Nov 07 19:38:06 Mundus xdg-desktop-portal-kde[40510]: PipeWire remote error: 
-2 target not found
Nov 07 19:38:06 Mundus xdg-desktop-portal-kde[40510]: PipeWire remote error: 
-2 target not found
Nov 07 19:38:06 Mundus xdg-desktop-portal-kde[40510]: PipeWire remote error: 
-2 target not found
Nov 07 19:38:06 Mundus xdg-desktop-portal-kde[40510]: PipeWire remote error: 
-2 target not found
Nov 07 19:38:46 Mundus wireplumber[1332]: wp-event-dispatcher:
<WpAsyncEventHook:0x558759732f30> failed: <WpSiStandardLink:0x558759af7850>
link failed: 1 of 1 PipeWire links failed to activate
Nov 07 19:55:50 Mundus xdg-desktop-portal-kde[40510]: PipeWire remote error: 
-116 no global 122 any more
Restarting the stream doesn't fix ofc.

❯ inxi -b
System:
  Host: Mundus Kernel: 7.3.1-1-cachyos arch: x86_64 bits: 64
  Desktop: KDE Plasma v: 6.8.2 Distro: CachyOS
Machine:
  Type: Desktop Mobo: Gigabyte model: B450M S2H serial: <superuser required>
    Firmware: UEFI vendor: American Megatrends LLC. v: F67 date: 10/28/2025
CPU:
  Info: 8-core AMD Ryzen 7 5800X [MT MCP] speed (MHz): avg: 3417
    min/max: 556/4854
Graphics:
  Device-1: Intel Battlemage G21 [Arc B580] driver: xe v: kernel
  Display: wayland server: X.org v: 1.21.1.25 with: Xwayland v: 24.1.14
    compositor: kwin_wayland driver: gpu: xe resolution: 1: 2560x1440~120Hz
    2: 1920x1080~60Hz
  API: OpenGL v: 4.6 vendor: intel mesa v: 26.2.6-arch3.1 renderer: Mesa
    Intel Arc B580 Graphics (BMG G21)
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
    de: kscreen-console,kscreen-doctor gpu: gputop, intel_gpu_top, lsgpu
    wl: wayland-info x11: xdpyinfo, xprop, xrandr
Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    driver: r8169
Drives:
  Local Storage: total: 1.37 TiB used: 853.78 GiB (60.9%)
Info:
  Memory: total: 32 GiB available: 31.26 GiB used: 9.65 GiB (30.9%)
  Processes: 647 Uptime: 6h 26m Shell: fish inxi: 3.3.41

~


THE ONLY THING I started using around that time was waywallen (Wallpaper
Engine).

I also created this service for systemd to autostart waywallen so that I don't
have black wallpapers.

/home/kibo/.config/systemd/user/waywallen.service
[Unit]
Description=Get my wallpapers working ayeee
After=graphical-session.target

[Service]
Type=simple
ExecStart=/home/kibo/Games/Waywallen/waywallen-0.5.0-x86_64.AppImage --no-ui

[Install]
WantedBy=default.target

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to