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

            Bug ID: 450116
           Summary: Unable to record fullscreen applications with pipewire
           Product: kwin
           Version: 5.23.5
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: wayland-generic
          Assignee: kwin-bugs-n...@kde.org
          Reporter: lordofthemara...@gmail.com
  Target Milestone: ---

Created attachment 146650
  --> https://bugs.kde.org/attachment.cgi?id=146650&action=edit
Attempted recording of Steam Big Picture

SUMMARY
When trying to record certain fullscreen applications, pipewire doesn't provide
any output.


STEPS TO REPRODUCE
1. Run Steam in Big Picture mode
2. Run OBS and use pipewire to record either the entire screen or just the
Steam window. You'll want to save a video recording file to observe the issue,
since you can't watch the OBS window if you only have one monitor.
3. Switch back to the fullscreen window and click around a bit
4. Switch to another window
5. Switch back to the fullscreen window and click around some more
6. End the recording, and watch it back to observe the bug


OBSERVED RESULT
If you record the window instead of the screen, OBS crashes as soon as you
start the window capture.

If you record the screen, OBS records a static image that's updated every time
you switch away from the fullscreen window. When this static image is shown in
the recording, you do still see your mouse moving around. However, it's
actually the wrong mouse: Steam Big Picture uses a different mouse cursor icon,
and this is not picked up in the recording. Sometimes the recording will show
the Breeze mouse icon, as that's what I'm currently using, and sometimes it
uses a standard black arrow.


EXPECTED RESULT
In the recording, one should see the window change as you click around inside
of it.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.16.8-200.fc53.x86_64
(available in About System)
KDE Plasma Version: 5.23.5
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Steam isn't the only recorded application this happens with. It happens with
every game I've tested, though it doesn't happen when recording Firefox.

Additionally, OBS isn't the only recording application that has this problem. I
first noticed it when trying to screenshare on Discord using the webapp from
inside Chromium.

I'm not 100% sure this is the correct place to report this bug, but there
seemed to be a similar bug with mutter a few months ago
(https://gitlab.gnome.org/GNOME/mutter/-/issues/1940). That bug apparently also
has a fix, so it might serve as a starting place for fixing the bug in kwin!

I've only tested this inside the Wayland session so far.

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

Reply via email to