PDA

View Full Version : compiz --replace locks up the xserver


unversed
June 7th, 2007, 10:24 PM
I'm running Debian lenny (testing), and i've been using beryl for a while now, but because of a debian update that made it unusable i've decided to try compiz, but when i try to run it i loose all my window borders and the whole xserver locks up. does anyone know how to fix this?

this is my xorg.conf
[code:ca85f]
Section "Files"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

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

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

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

Section "Device"
Identifier "nVidia Corporation NV40 [GeForce 6800 Ultra]"
Driver "nvidia"
BusID "PCI:1:0:0"
Option "AllowGLXWithComposite" "true"
Option "XAANoOffscreenPixmaps" "true"
Option "AddARGBGLXVisuals" "True"
EndSection

Section "Monitor"
Identifier "SAMSUNG"
Option "DPMS"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "nVidia Corporation NV40 [GeForce 6800 Ultra]"
Monitor "SAMSUNG"
Option "TwinView"
Option "MetaModes" "1280x1024 1280x1024"
Option "TwinViewOrientation" "LeftOf"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
# Option "AIGLX" "true"
EndSection

Section "DRI"
Mode 0666
EndSection

Section "Extensions"
Option "Composite" "enable"
EndSection
[/code:ca85f]

Deciare
June 7th, 2007, 11:13 PM
Does your X server really lock up, or does the screen only stop updating? If you run [code:e6b50]compiz --replace --loose-binding ccp[/code:e6b50] on a console, does pressing Ctrl+C to kill Compiz unfreeze your screen?

Does anything get logged to whichever log file(s) Debian uses for logging X/driver/kernel errors?

SmSpillaz
June 8th, 2007, 12:23 PM
Lockups can be caused by weird settings files. Delete .ccs in your home directory

Also, a tip, usually compiz won't cause kernel panics (I haven't heard any cases yet) but will just cause the X server to become responsive, hence you can't switch tty's. To kill everything on the current tty, press Alt-SySRq-K. To change tty's, press Alt-SySRq-R

joske
June 12th, 2007, 03:02 PM
see: https://bugs.launchpad.net/ubuntu/+sour ... bug/119199 (https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/119199)

It has to do with the keybinding plugin and glib plugin both running the glib main thread