Compositor (X11)

From Linux Gaming
Revision as of 18:33, 11 February 2022 by Aragorn (talk | contribs)
Jump to navigation Jump to search

If you use a DE with X11, then you probably have a compositor. The compositor does nice things like window shadow and effects. But it also reduces fps, adds input lag, and introduces stuttering. That's why you should disable it when running a game.

Disabling composition for your games

This page needs work, for the following reason(s): I don't know whether the procedure for disabling composition in Cinnamon actually works. In case this does not work, you should not be using Cinnamon. If you want a DE that looks a bit like Windows, you should choose KDE Plasma instead. Please edit if you know more.


Disabling composition will dramatically improve input lag and "smoothness". Here is how to do it:

  • If you use KDE:
    • For Lutris: Right click the game -> Configure -> System options -> Disable desktop effects.
    • For Steam, Heroic or others: Manually disable composition with shift + alt + f12 before launching the game. The same combination re-enables it.
  • If you use Gnome (the default DE on Pop!_OS): You don't have to do anything.
  • If you use Cinnamon: Go to settings -> general -> disable compositing for full-screen window