Bug 438903

Summary: KWin sometimes looses some effects when the compositor resumes after system suspend. [NVIDIA]
Product: [Plasma] kwin Reporter: Samuel <sampingu02>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: 5.22.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Video showcasing this issue (Low quality)

Description Samuel 2021-06-19 08:37:38 UTC
Created attachment 139511 [details]
Video showcasing this issue (Low quality)

SUMMARY

KWin sometimes looses some effects such as blur, slide back, app opening feedback (small icon bouncing near cursor as feedback), magic lamp etc., when the compositor resumes from suspend.

STEPS TO REPRODUCE

1. Log-in to Plasma (X11) Session.
2. Choose Sleep to suspend computer.
3. Resume from suspend (sometimes all effects work properly but sometimes this issue occurs)

OBSERVED RESULT

Sometimes when I resume the computer from sleep, my terminal windows are all transparent with no magic lamp or slide back effects for any old /newly opened windows. When I go to System Settings > Workspace Behavior > Desktop Effects, there are no Blur, slide back, magic lamp options (many options are missing, compare with the video). But once I do "kwin_x11 --replace &" and relaunch the Desktop Effects settings, these options come back. This started occurring after 5.22 Update. System sleep was working alright in 5.21. Also present in the new bug fix release 5.22.1.
 
EXPECTED RESULT

The compositor should resume from sleep with all the effects working like it did before 5.22.

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: linux-tkg-bmq-5.12.11 (Kernel doesnt matter)
KDE Plasma Version: 5.22.1
KDE Frameworks Version: 5.83
Qt Version: 5.15.2

ADDITIONAL INFORMATION

GPU: NVIDIA GeForce GTX 1060 6GB
Driver: NVIDIA Proprietary Driver 465.31-1
(ForceCompositionPipeline Enabled; flipping and sync to vblank disabled in nvidia-settings)
Compositor backend is OpenGL 3.1
Comment 1 David Edmundson 2023-09-06 10:38:18 UTC
This bug was reported against an outdated version of KWin. We have made many changes since the. 
If the issue persists in newer versions can you reopen the bug report updating the version number.
Comment 2 Samuel 2023-09-06 11:02:10 UTC
Yeah sorry, I forgot about this report that I made. This issue was fixed in one of the subsequent Plasma releases.