Bug 513749 - When screencasting using portal cursor movement causes stutters in games over time
Summary: When screencasting using portal cursor movement causes stutters in games over...
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: screencasting (other bugs)
Version First Reported In: 6.5.4
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: efficiency-and-performance
Depends on:
Blocks:
 
Reported: 2025-12-23 16:39 UTC by Oleg
Modified: 2025-12-26 20:42 UTC (History)
1 user (show)

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


Attachments
Cursor movement causing stutter in Arma 3 during recording with gpu-screen-recorder (3.75 MB, video/mp4)
2025-12-23 16:42 UTC, Oleg
Details
kscreen console log (7.35 KB, text/plain)
2025-12-24 18:05 UTC, Oleg
Details
Shake cursor stop stuttering (3.90 MB, video/mp4)
2025-12-26 20:42 UTC, Oleg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oleg 2025-12-23 16:39:34 UTC
SUMMARY
If I record my screen using gpu-screen-recorder with portal backend and play some games eventually cursor movement start to cause stuttering. Stuttering stops when I disable/stop GSR. Not any game is affected, I have this issue primarily in Arma 3.

STEPS TO REPRODUCE
1. Start Arma 3
2. Start recording using gpu-screen-recorder
3. Play for a while 
4. Start moving cursor.

OBSERVED RESULT
Cursor movement will cause heavy stutter. Interestingly, when "shake cursor" effect engages cursor movement doesn't cause stuttering anymore.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.5.4
KDE Frameworks Version: 6.21.0
Qt Version: 6.10.1
Kernel Version: 6.18.2-3-cachyos (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 9800X3D 8-Core Processor
Memory: 64 ГиБ of RAM (62.4 ГиБ usable)
Graphics Processor: AMD Radeon RX 6700 XT
Manufacturer: ASUS

ADDITIONAL INFORMATION
I've got a feeling this issue somehow connected to VRAM saturation since Arma 3 is heavy on a VRAM, but in my video I didn't hit VRAM limit, and it still stutters. I can reliably reproduce this issue under heavy VRAM consumption scenarios. There's no such issue with drm backend of gpu-screen-recorder. I also using "RADV_PERFTEST=nogttspill" environment variable.
Comment 1 Oleg 2025-12-23 16:42:13 UTC
Created attachment 187911 [details]
Cursor movement causing stutter in Arma 3 during recording with gpu-screen-recorder
Comment 2 Oleg 2025-12-24 18:05:15 UTC
Created attachment 187948 [details]
kscreen console log

Just to clarify, I'm playing on 1440p 115% scaled HDR and VRR enabled monitor if that helps. Attached kscreen-console output.
Comment 3 Oleg 2025-12-26 20:42:07 UTC
Created attachment 188004 [details]
Shake cursor stop stuttering

Stuttering stops when Shake cursor effect engages. And when I move cursor to another while game window is active it's still stuttering.