Bug 485907 - Screen sharing have massive lags when moving mouse
Summary: Screen sharing have massive lags when moving mouse
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 6.0.4
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-21 15:53 UTC by username
Modified: 2024-06-16 13:21 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description username 2024-04-21 15:53:03 UTC
SUMMARY
Initially it was assumed that this was a bug in Chromium (https://issues.chromium.org/issues/333945842), but discussions suggested that KWin might be a suspect
This critically affects programs like Discord since screen sharing becomes almost impossible

STEPS TO REPRODUCE
1. Launch chrome or firefox
2. Open screen share demo https://henrik-and.github.io/pc_capture_constraints/
3. Click on "getDisplayMedia & applyConstraints" button
4. Open some video to better see the issue
5. Start moving mouse on streamed display and observe captured stream

OBSERVED RESULT
You will see massive lags when moving mouse pointer

EXPECTED RESULT
Smooth screen capture

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Linux 6.8.7
(available in About System)
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0