Disable Composite without restarting X

In order for me to watch HD videos without tearing, I need to disable my Composite setting in xorg.conf

Section "Extensions"
    Option "Composite" "Disable"

But I love my transparency, so, how do I enable and disable it without restarting X? (Preferably using command line)

Asked By: Amree

Answered By: iamsid

You can’t disable an X extension while the server is running – the X protocol simply has no way to tell clients “Oh wait, that extension that I said you could use is no longer valid and you’ll crash if you try to use it now.” All you can do is stop running whatever composite manager you’re using (as suggested in @iamsid’s answer).

Answered By: alanc

Found a better way to do it, just:

  1. Menu
  2. Settings
  3. Window Manager Tweaks
  4. Compositor Tab
  5. Uncheck “Enable display compositing”

I think this is better since it doesn’t involve installing new application and it did help me prevent tearing when watching HD movies.

Answered By: Amree
Categories: Answers Tags: , , ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.