Bug 447619 - KWin compositor stops after playing VCMI for a while.
Summary: KWin compositor stops after playing VCMI for a while.
Status: RESOLVED NOT A BUG
Alias: None
Product: kwin
Classification: Plasma
Component: compositing (other bugs)
Version First Reported In: 5.23.4
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-28 22:12 UTC by cantfind
Modified: 2022-01-03 20:54 UTC (History)
0 users

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


Attachments

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