Bug 399246

Summary: Why desktop effects are still on when wine games are opened?
Product: [Plasma] kwin Reporter: Luca Mastromatteo <lukycrociato>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DOWNSTREAM    
Severity: minor CC: nate
Priority: NOR    
Version First Reported In: 5.13.5   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Luca Mastromatteo 2018-09-30 16:18:32 UTC
That is not an annoying issue, but I've noticed the Kwin behaviour to disable desktop effects when an OpenGL game is opened, reducing lag and increasing FPS.

However, using Steam with the Steam Play function, or running a wine game, with DXVK or not, desktop effects are not disabled.
Seems like when a game is opened through wine, kwin does not detect it 

STEPS TO REPRODUCE
1. Open a wine game through steam play or just wine

OBSERVED RESULT
Desktop effects are not disabled like when running an opengl game without wine

EXPECTED RESULT
Desktop effects disabled
Comment 1 Martin Flöser 2018-10-01 04:14:07 UTC
The game needs to indicate that compositing should be disabled.
Comment 2 Luca Mastromatteo 2018-10-31 13:37:36 UTC
Actually it's different than I though.

Native games disable desktop effects even if windowed, while wine games disable desktop effects only when on fullscreen..