Bug 438903 - KWin sometimes looses some effects when the compositor resumes after system suspend. [NVIDIA]
Summary: KWin sometimes looses some effects when the compositor resumes after system s...
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.22.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-19 08:37 UTC by Samuel
Modified: 2023-09-06 11:02 UTC (History)
1 user (show)

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


Attachments
Video showcasing this issue (Low quality) (3.87 MB, video/mp4)
2021-06-19 08:37 UTC, Samuel
Details

Note You need to log in before you can comment on or make changes to this bug.
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.