PDA

View Full Version : [ubuntu] disable composite.



spriizha
April 22nd, 2009, 07:46 AM
Is there any way to disable composite? I just can't find it. Need better performance for games and etc.. Im running 9.04 beta ubuntu.

balaknair
April 22nd, 2009, 08:43 AM
Option 1: System menu> Preferences> Appearance--> Visual Effects--> Select 'None'

This turns off compositing(you can still re-enable it later)

Option 2: Install 'Compiz Fusion Icon' via the 'Add/Remove' applet in the Applications menu- use this to toggle compiz(the compositing manager) on/off as you require via an icon in the system tray.

spriizha
April 22nd, 2009, 12:05 PM
so if just disable it from vizual effects, then it's mean that its todaly runing on lowest graph ?

balaknair
April 22nd, 2009, 04:12 PM
so if just disable it from vizual effects, then it's mean that its todaly runing on lowest graph ?

Compiz(the compositing manager) and Xorg with desktop effects enabled use up a fair amount of system resources, and yes, disabling Compiz can free up RAM and lower CPU/GPU usage.

sdennie
April 22nd, 2009, 06:55 PM
If you are sure you are never going to use it, you can also disable the composite extension in the X server. In some (I'm not sure how many), this can make a difference in performance. First:



grep Composite /etc/X11/xorg.conf


If you see this line:



Option "Composite" "Enable"



That means the composite extension has been explicitly enabled. Open /etc/X11/xorg.conf and just change "Enable" to "Disable" on that line. If you don't see that line, then add the following to the bottom of /etc/X11/xorg.conf:



Section "Extensions"
Option "Composite" "Disable"
EndSection


That may not make any performance difference at all but, it's something else to try if you know you aren't going to use a compositor.