Difference between revisions of "Compositor (X11)"

From Linux Gaming
Jump to navigation Jump to search
Line 1: Line 1:
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. This will dramatically improve input lag and ''"smoothness"''.
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 ==
Disabling composition will dramatically improve input lag and ''"smoothness"''. Here is how to do it:
 
* If you use KDE: This can be done with a switch in Lutris settings. Right click the game -> <code>Configure</code> -> <code>System options</code> -> <code>Disable desktop effects</code>. If you use Steam or Heroic, you have to manually disable composition with <code>shift</code> + <code>alt</code> + <code>f12</code>. The same combination re-enables it.
* If you use Gnome: You don't have to do anything.
* If you use Cinnamon: Go to <code>settings</code> -> <code>general</code> -> <code>disable compositing for full-screen window</code>

Revision as of 15:30, 8 February 2022

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

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

  • If you use KDE: This can be done with a switch in Lutris settings. Right click the game -> Configure -> System options -> Disable desktop effects. If you use Steam or Heroic, you have to manually disable composition with shift + alt + f12. The same combination re-enables it.
  • If you use Gnome: You don't have to do anything.
  • If you use Cinnamon: Go to settings -> general -> disable compositing for full-screen window