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

            Bug ID: 486081
           Summary: Frame swapping in WebRTC screensharing while moving
                    the mouse
    Classification: Plasma
           Product: kwin
           Version: 6.0.4
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: wayland-generic
          Assignee: kwin-bugs-n...@kde.org
          Reporter: t...@nitrosubs.live
  Target Milestone: ---

SUMMARY
Screensharing using browsers (Firefox, Chromium, as well as things like
Electron) / WebRTC swaps frames on the stream when mouse movement is performed.
However, OBS Studio and Spectacle work fine regardless if the pointer is being
moved or not.

STEPS TO REPRODUCE
1. Go to a website like
https://webrtc.github.io/samples/src/content/getusermedia/getdisplaymedia and
share the entire desktop
2. Open an app that constantly updates in the background (like vkcube or
VRRTest)
3. Look at the browser preview and move the cursor around

OBSERVED RESULT
The preview in the browser has weird frame pacing issues

EXPECTED RESULT
The preview in the browser displays frames in proper order, just like OBS and
Spectacle do

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
Kernel Version: 6.8.4 (64-bit)
Graphics Platform: Wayland
Graphics Processor: AMD Radeon RX 6600 XT

ADDITIONAL INFORMATION
KWin 6.0.2 does not have this issue, this seems to be a regression in 6.0.3 or
6.0.4.
Additionally, if by any chance the cursor does not get shown in the preview
after screencasting is turned on (happened to me once), it seems to work fine
too.

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

Reply via email to