| Summary: | Contents of a window being captured/shared via Pipewire stutter, unless the mouse cursor is moving | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | Jeremi Campagna <jeremi.campagna> |
| Component: | screencasting | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | ahiemstra, john.kizer, kostadinshishmanov, nate, xaver.hugl |
| Priority: | NOR | ||
| Version First Reported In: | 6.2.5 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Jeremi Campagna
2025-01-06 04:55:48 UTC
I forgot to report system specifications. Here they are: Operating System: Arch Linux KDE Plasma Version: 6.2.5 KDE Frameworks Version: 6.9.0 Qt Version: 6.8.1 Kernel Version: 6.10.9-arch1-2 (64-bit) Graphics Platform: Wayland Processors: 16 × AMD Ryzen 7 7700X 8-Core Processor Memory: 31.0 GiB of RAM Graphics Processor: AMD Radeon RX 6800 XT Manufacturer: Gigabyte Technology Co., Ltd. Product Name: B650 AORUS ELITE AX Hi - thanks for your bug report! Could I ask you to please check if moving the mouse cursor seems to be connected to the stuttering? I'm wondering if this is driven by the same cause as https://bugs.kde.org/show_bug.cgi?id=489602 . Thanks! (In reply to John Kizer from comment #2) > Hi - thanks for your bug report! Could I ask you to please check if moving > the mouse cursor seems to be connected to the stuttering? I'm wondering if > this is driven by the same cause as > https://bugs.kde.org/show_bug.cgi?id=489602 . > > Thanks! I would have to trigger it again to be sure. I recall the stuttering happening even without mouse movement though mouse movement did definitely make it worse. I will trigger it again to confirm. So, I tried it out again with Dolphin Emulator. The system seems to freeze the moment the cursor is hidden when Dophin is focused. If I set my cursor on the Discord stream on my second monitor, then there are no stutters or freezes that are apparent (I did a Mario Kart race without a hitch). Moving the cursor on the window that is being captured seems to prevent stuttering? Not moving the cursor will eventually cause severe stutters and freezes. I did update my system since the report however, so here is the new versions: KDE Plasma : 6.2.5 KDE Frameworks : 6.10.0 Qt : 6.8.1 all else are exactly the same compared to the previous report. (In reply to John Kizer from comment #2) > Hi - thanks for your bug report! Could I ask you to please check if moving > the mouse cursor seems to be connected to the stuttering? I'm wondering if > this is driven by the same cause as > https://bugs.kde.org/show_bug.cgi?id=489602 . > > Thanks! It's not unlikely that what I'm encountering is related to this issue, I did not look at the stream output very closely. What I can say is what I'm reporting is about the actual desktop/application stuttering rather than the video showing stutters or dropped frames of sorts. It happens specifically with a window capture. No issues with a screen capture. Thanks for clarifying! I am still able to reproduce this on Kubuntu 25.04. Operating System: Kubuntu 25.04 KDE Plasma Version: 6.3.4 KDE Frameworks Version: 6.12.0 Qt Version: 6.8.3 Kernel Version: 6.14.0-15-generic (64-bit) Graphics Platform: Wayland Processors: 16 × AMD Ryzen 7 7700X 8-Core Processor Memory: 31.0 GiB of RAM Graphics Processor: AMD Radeon RX 6800 XT Manufacturer: Gigabyte Technology Co., Ltd. Product Name: B650 AORUS ELITE AX When screensharing with Discord, the output suffers lots of frame drops the moment the mouse starts moving. When screensharing the whole screen rather than just a window, I also experience stutters on my end while the output of the screenshare still suffers heavy frame drops. Frame scheduling for screen casting has been basically rewritten for Plasma 6.5 and I've done a bunch of benchmarking for it without noticing any problems, so I assume this problem is gone. If you can still reproduce it in the 6.5 beta or final release, please reopen this and we'll take another look. |