Bug 426413

Summary: Kwin laggy after pausing and un-pausing compositing
Product: [Plasma] kwin Reporter: gregorystarr00
Component: compositingAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED MOVED    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.19.5   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description gregorystarr00 2020-09-11 15:15:26 UTC
SUMMARY
Whenever I open a compositing freezing app (like a game) and then close it, when compositing resumes, it is far more laggy and slow. Only running kwin_x11 --replace fixes the issue. 
STEPS TO REPRODUCE
1. Open a game or composting blocking app
2. Close it
3. Profit

OBSERVED RESULT
Kwin is laggy and requires a restart.

EXPECTED RESULT
Kwin works fine. 

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux
KDE Plasma Version: 5.19.5
KDE Frameworks Version: 5.73.0
Qt Version: 5.15.0
Kernel Version: 5.7.19-2-MANJARO
OS Type: 64-bit
Processors: 16 × AMD Ryzen 7 3700X 8-Core Processor
Memory: 15.6 GiB of RAM
Graphics Processor: GeForce GTX 1070 Ti/PCIe/SSE2

ADDITIONAL INFORMATION
Comment 1 Christoph Feck 2020-09-11 18:05:11 UTC
Already reported as bug 426412.