Bug 399246 - Why desktop effects are still on when wine games are opened?
Summary: Why desktop effects are still on when wine games are opened?
Status: RESOLVED DOWNSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.13.5
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-30 16:18 UTC by Luca Mastromatteo
Modified: 2018-10-31 13:37 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

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