as said: i sure dont know much bout such stuff. that said:
a while ago a fellow user posted a xorg.conf over here. he said it would have never failed on him when running on intel. I copied and pasted it and made tiny changes. Keyboard-layout is set to german (de). if you got a different dont forget to change that :-)
Here it is:
Code:
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "Module"
Load "dbe"
Load "glx"
Load "dri"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "de"
Option "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "synaptics"
Option "SHMConfig" "true"
EndSection
Section "Device"
Identifier "Intel Corporation 82945G/GZ Integrated Graphics Controller"
Driver "intel"
Option "DRI" "true"
Option "AccelMethod" "UXA"
Option "XAANoOffscreenPixmaps" "true"
Option "AllowGLXWithComposite" "true"
EndSection
Section "Monitor"
Identifier "Configured Monitor"
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
DefaultDepth 24
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen" 0 0
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
Option "AIGLX" "true"
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection
Section "DRI"
Group "video"
Mode 0660
EndSection
Section "ServerFlags"
Option "DontZap" "off"
Option "AllowEmptyInput" "0"
Option "AutoAddDevices" "0"
EndSection
The main parts for getting compiz running are:
load dbe # in Section Module
Option "XAANoOffscreenPixmaps" "true" #Seciton device
Option "AllowGLXWithComposite" "true" #Section device
AccelMethod "UXA" #Section device
and adding this complete Section
Section "Extensions"
Option "Composite" "Enable"
EndSection
Im pretty sure you may comment out the last section "ServerFlags" and
Option "XkbOptions" "terminate:ctrl_alt_bksp"
in the Section "InputDevice" as that "problem" might not exist in lenny.
run
Code:
glxinfo | grep direct
to check if direct renering is enabled.
all afaik, good luck