View Full Version : Window borders lost
RevengerPT
December 2nd, 2006, 02:27 AM
Hey. I've just installed compiz but when I do
$ gnome-window-decorator & compiz --replace --use-cow gconf
[2] 5007
bash: gnome-window-decorator: command not found
libGL warning: 3D driver claims to not support visual 0x4b
compiz: GLX_EXT_texture_from_pixmap is missing
compiz: Failed to manage screen: 0
compiz: No manageable screens found on display :0.0
[1]- Done metacity --replace
[2]+ Exit 127 gnome-window-decorator
window borders just disappear. I can't close, maximize or control them. How can I fix it?
I'm running Ubuntu Edgy Eft 6.10, on a Acer 1694 WLMI. My Grafic card is an ati x700 and I'm using radeon open source drivers.
Thanks for your help.
Best regards.
PS: Without calling the gnome-window-decorator, the borders will still disappear.
RAOF
December 2nd, 2006, 10:31 AM
That's odd. Compiz isn't working because your drivers aren't providing the TFP OpenGL extension, or Compiz isn't seeing it (from memory there's a MESA/X bug relevant to that).
That said, one of the reasons your borders are disappearing is that gnome-window-decorator has been renamed to gtk-window decorator, so your command line is wrong.
If you've installed packages from Gandalfn's repositories, though, manually starting compiz like that is not recommended. Install the gnome-compiz-manager package, and starting compiz either through compiz-tray-icon or System->Preferences->GL Desktop
RevengerPT
December 2nd, 2006, 03:38 PM
Install the gnome-compiz-manager package, and starting compiz either through compiz-tray-icon or System->Preferences->GL Desktop
I already did, and when I press 'Enable GL desktop', at gnome compiz preferences, the borders go away.
This is my xorg.conf:
Section "Files"
FontPath "/usr/share/X11/fonts/misc"
FontPath "/usr/share/X11/fonts/cyrillic"
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/X11/fonts/Type1"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/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 "type1"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "pt"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
Section "Device"
Identifier "ATI Technologies, Inc. Radeon Mobility X700 (RV410 PCIE)"
Driver "radeon"
Option "TripleBuffer" "true"
Option "DRI" "true"
Option "ColorTiling" "on"
Option "EnablePageFlip" "true"
Option "AccelMethod" "EXA"
Option "XAANoOffscreenPixmaps"
Option "RenderAccel" "true"
BusID "PCI:1:0:0"
Option "MonitorLayout" "LVDS,AUTO"
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection
Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 28-64
VertRefresh 43-60
EndSection
Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies, Inc. Radeon Mobility X700 (RV410 PCIE)"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x800"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x800"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x800"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x800"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x800"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x800"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
EndSection
Section "DRI"
Mode 0666
EndSection
I think everything is like it should be. Sorry for this long pasting :P.
Best regards.
SRGrty
December 7th, 2006, 08:53 PM
I'm having the same problem. I'm running Ubuntu 6.10. The rest of compiz works fine and I can still grab and move a window by holding the alt or super key but it would be nice to have the border. My video card is a Nvidia 7900GT. Thanks in advance.
RAOF
December 8th, 2006, 03:05 AM
I'm having the same problem. I'm running Ubuntu 6.10. The rest of compiz works fine and I can still grab and move a window by holding the alt or super key but it would be nice to have the border. My video card is a Nvidia 7900GT. Thanks in advance.
That won't be the same problem. The OP hasn't got compiz working; you have compiz working, but gtk-window-decorator isn't.
Try running gtk-window-decorator from a terminal. You should now get borders.
If you don't, you should enable the "add-argb-glx-visuals" option for your nvidia drivers (so that compiz can draw the partially transparent borders). To do that, run
sudo nvidia-xconfig --add-argb-glx-visuals
It should be noted that gtk-window-decorator is crashing quite a lot for me. But I'm using the git packages, so that's not totally unexpected :).
mikedee
December 8th, 2006, 02:31 PM
There were a lot of changes to gtk-wd this week, the code was cleaned up and seperated out into a seperate libdecoration.
If you are getting a lot of crashes with the current code, you should try to get a backtrace to help identify it. As far as I know David has now finished those changes so any bugs should be reported now.
Ill try to get around to producing some gdb documentation so that people can get backtraces easilly (it isnt hard if you are already compiling from source).
vBulletin® v3.7.1, Copyright ©2000-2008, Jelsoft Enterprises Ltd.