Bug 447619

Summary: KWin compositor stops after playing VCMI for a while.
Product: [Plasma] kwin Reporter: cantfind
Component: compositingAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.23.4   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description cantfind 2021-12-28 22:12:43 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Run VCMI
2. Minize it
3. Use other windows
4. Restore it


OBSERVED RESULT
Kwin's compositor stops working

EXPECTED RESULT
Kwin's compositor stays on...

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.23.4
(available in About System)
KDE Plasma Version: 5.23.4
KDE Frameworks Version: 5.88
Qt Version: 5.15.2

ADDITIONAL INFORMATION
video card is GTX 1080 Ti running Nvidia proprietary drivers version 495.44.

KWin info: https://pastebin.com/tBStFxJf
Comment 1 cantfind 2022-01-03 20:54:09 UTC
After investigating a bit more, I've discovered that this only happens while VCMI is still open, and once closed compositing resumes.

I've now added a rule to disable compositing blocking (left click title bar -> more actions -> configure special application settings: Add Property -> Block compositing (force No)).

Now my compositing works while the game is running.

I wonder if it wouldn't be smarter to default to compositing in windowed mode, and block compositing only for fullscreen by default.