PDA

View Full Version : [ubuntu] Compiz problem



arcelivez
April 5th, 2010, 07:39 PM
OK, this problem has really pissed me, I wanted to make a mac style dock, but I can´t because the Avant Window Navigator doesn´t start because it says ¨screen isn´t composited¨ and about the compiz stuff, I can´t even enable the desktop effects, because it says ¨Desktop effects could not be enabled¨, and I can´t run the compizconfig settings manager, it´s starting, but all it does is at the beginning an item notifies that it is starting but then it disappears without saying anything and doesn´t get turned on. I´ve read plenty of threads regarding this issue, but none of them have helped me. So I am counting on you guys, since I´m really not keen on reinstalling the whole system. Besides I´m a noob in Linux. So i´ve downloaded the compiz-check and this is what I get:



arturas@whatever:~$ ./compiz-check

Gathering information about your system...

Distribution: Ubuntu 9.10
Desktop environment: GNOME
Graphics chip: nVidia Corporation G98 [GeForce 9200M GS] (rev a1)
Driver in use: nvidia
Rendering method: Nvidia

Checking if it's possible to run Compiz on your system...

Checking for texture_from_pixmap... [FAIL]
Checking for non power of two support... [FAIL]
Checking for composite extension... [ OK ]
Checking for FBConfig... [FAIL]
Checking for hardware/setup problems...Window manager warning: Locale not understood by C library, internationalization will not work
[SKIP]

At least one check had to be skipped:
Error: Unable to detect maximum 3D texture size
My /etc/X11/xorg.conf looks like this:



# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder58) Wed Dec 9 16:34:26 PST 2009

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection

Section "Module"
Load "dri"
Load "glx"
Load "dbe"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
# generated from default
EndSection

Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "AIGLX" "true"
EndSection

Section "Device"
Identifier "Device0"
VendorName "NVIDIA Corporation"
Driver "nvidia"
Option "NoLogo" "True"
Option "XAANoOffscreenPixmaps" "true"
Option "DRI" "true"
EndSection

Section "DRI"
Group "video"
Mode 0660
EndSection

Section "Extensions"
Option "Composite" "Enable"
EndSection
Thanks in advance. I am using the nVidia geforce 9200M GS on my laptop by the way, oh and my version of ubuntu is installed with wubi.

mcoleman44
April 5th, 2010, 07:41 PM
Have you installed your video driver through system>admin>hardware drivers?

arcelivez
April 5th, 2010, 08:41 PM
Yes. Any tips? :/

duanedesign
April 5th, 2010, 09:16 PM
Try turning on Metacity's compositing and see if AWN will run under that. In a Terminal (Applications > Accessories > Terminal) run the following.


gconftool-2 -s '/apps/metacity/general/compositing_manager' --type bool true

I dont know if this bug is still around but it used to be that you had to turn off Metacity's compositing before you started Compiz (Desktop Effects).


gconftool-2 -s '/apps/metacity/general/compositing_manager' --type bool false

let us know how this goes,
duanedesign

arcelivez
April 6th, 2010, 01:48 AM
Thanks, great, now the dock avant window navigator works!

Well most of it, because when I try to run it's dock preferences they won't start, so I'll have to find a way to do that. The visual effect extras don't work either, but they aren't really important to me I guess.

Thanks very much again! And if someone knows how to solve the awn preferences problem I'd be grateful if they shared that.

If I try to access them over terminal this is what I get:


arturas@whatever:~$ awn-settings

(process:5667): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
Traceback (most recent call last):
File "/usr/bin/awn-settings", line 53, in <module>
from awnClass import awnPreferences, awnManager, awnLauncher, awnApplet, awnThemeCustomize, awnTaskManager
File "/usr/share/avant-window-navigator/awn-settings/awnClass.py", line 62, in <module>
defs.i18nize(globals())
File "/usr/share/avant-window-navigator/awn-settings/awnDefs.py", line 127, in i18nize
locale.setlocale(locale.LC_ALL, '')
File "/usr/lib/python2.6/locale.py", line 515, in setlocale
return _setlocale(category, locale)
locale.Error: unsupported locale setting

shawnisalk
April 8th, 2010, 08:47 PM
My solution was to turn on visual effects. This initialized Compiz Config Settings Manager in some way..subsequently, it ran as intended.