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

            Bug ID: 525473
           Summary: Screen sharing does not work when KWin uses software
                    rendering
    Classification: Plasma
           Product: kwin
      Version First 6.6.6
       Reported In:
          Platform: Other
                OS: FreeBSD
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: screencasting
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 195939
  --> https://bugs.kde.org/attachment.cgi?id=195939&action=edit
whole-screen capture with the QPainter compositor.

Hello,

I am running Plasma 6.6.6 with Wayland inside a FreeBSD 15.1 QEMU VM. The VM
does not have a working DRM render device, so KWin uses the QPainter software
renderer.

The desktop itself works, but screen sharing does not. This means KRDP cannot
capture the desktop. KWin’s screencast code currently only allows the OpenGL
compositor and requires an EGL context. I checked the current master branch,
and it appears to have the same limitation.

I made a small patch that allows whole-screen capture with the QPainter
compositor. It renders directly into PipeWire’s shared-memory image instead of
creating an OpenGL texture. With this patch, KRDP can display the Plasma
desktop and software H.264 encoding works.

The patch currently supports whole-screen and virtual-output capture. Window
and region capture still require OpenGL.

Would KWin be interested in supporting this software-rendered screen-capture
path?

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

Reply via email to