PDA

View Full Version : Having trouble getting compiz to work


waterloo_sunset
November 7th, 2007, 07:37 PM
I have a GeForce2 Integrated GPU running on nvidia-glx-legacy drivers. At first when i tried to enable desktop effects(normal) it gave an error: can't enable desktop effects. So i used the "glxinfo | grep direct" command and got the 'extension glx missing on display error'.

After searching the forums i edited my xorg.conf to include:

Option "Composite" "Disable"

..and now glxinfo | grep direct gives an output: "Direct rendering: Yes"

But now when i try to enable the desktop effects, it gives an error: "Composite extension not available"

Am totally foxed by this. Is there something else i need to add to get both direct rendering and desktop effects to work? Plz advise.

waterloo_sunset
November 8th, 2007, 05:53 AM
Here are the contents of xorg.conf


# xorg.conf (xorg X Window System server configuration file)
#
# 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 "Files"
EndSection

Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
# Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "type1"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/input/wacom"
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/input/wacom"
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/input/wacom"
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "Device"
Identifier "nVidia Corporation NVCrush11 [GeForce2 MX Integrated Graphics]"
Driver "nvidia"
BusID "PCI:2:0:0"
EndSection

Section "Monitor"
Identifier "E700B"
Option "DPMS"
HorizSync 30-70
VertRefresh 50-160
EndSection

Section "Screen"
Identifier "Default Screen"
Device "nVidia Corporation NVCrush11 [GeForce2 MX Integrated Graphics]"
Monitor "E700B"
DefaultDepth 24
SubSection "Display"
Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"


# Uncomment if you have a wacom tablet
# InputDevice "stylus" "SendCoreEvents"
# InputDevice "cursor" "SendCoreEvents"
# InputDevice "eraser" "SendCoreEvents"
EndSection


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

Forlong
November 8th, 2007, 01:43 PM
Please don't add commands to your system's config files when you're not sure what they do.

Disabling composite in your xorg.conf is absolutely the wrong way to go with an Nvidia card. Remove that again. And run this command afterwards:
sudo nvidia-xconfig --add-argb-glx-visuals -d 24
Then restart X and post the output of compiz in a terminal. Your graphics card may be too old to work with Compiz.

TadH
November 8th, 2007, 01:48 PM
he beat me to it that should work perfectly if not let me know