Linux Manju

May 18, 2010

Intel ( 945 ) Graphics Card and Slow Compiz performance

Filed under: Uncategorized — Tags: , , , — linuxmanju @ 4:07 pm

Compiz historically hates Intel Graphic Cards, if you happen to be one of those ( Un ) Fortunate Intel Graphic card owners, And facing very slow performance.. Here is a trick which worked for me..

Rename the Original compiz binary ( normally in /usr/bin/compiz )

mv /usr/bin/compiz /usr/bin/compiz.orig

Create a shell script with the below contents and save the file as /usr/bin/compiz

vi /usr/bin/compiz    and Add these lines…

#!/bin/bash

ARGS=$@

## Below command in a single line.

LIBGL_ALWAYS_INDIRECT=1 INTEL_BATCH=1 /usr/bin/compiz.orig –replace –indirect-rendering -sm-disable ccp $ARGS &

Once saved.. Set an execuatble bit and restart Xorg
chmod +x /usr/bin/compiz

Powered by WordPress