PDA

View Full Version : [ubuntu] When starting fusion-icon, window borders disapear


Rat2000
May 7th, 2008, 01:15 PM
For some reason, since I've upgrade to 8.04 from 7.10 (beta then, LTS now) full Compiz effects and Emerald don't start by default.
I've installed fusion-icon but when I run it, it loose all Gnome compositing (Avant disapears) and the window borders (no title bars). If I right click fusion-icon and select "Reload Window Manager" the screen flashes and I get full Compiz and Emerald window borders.

If I run fusion-icon from the command line I get the following:
fusion-icon
* Detected Session: gnome
* Searching for installed applications...
* NVIDIA on Xorg detected, exporting: __GL_YIELD=NOTHING
* Using the GTK Interface
* Starting Compiz
... executing: compiz.real --replace --sm-disable --ignore-desktop-hints ccp
compiz.real (core) - Error: Could not acquire compositing manager selection on screen 0 display ":0.0"
compiz.real (core) - Fatal: No manageable screens found on display :0.0

If I click "Realod Window Manager" in fusion-icon, here is the output:
* Reloading compiz
... executing: compiz.real --replace --sm-disable --ignore-desktop-hints ccp
compiz.real (video) - Warn: No 8 bit GLX pixmap format, disabling YV12 image format

Any help would be very appreciated!

Cresho
May 7th, 2008, 01:18 PM
never heard of fusion icon.



OHH NOW I REMEMBER! that is old!you should consider making your own icons and scripts to launch compiz-fusion

#!/bin/bash
compiz --replace &
metacity --replace &

put this on an empty file, call it compiz-on.sh and give it execute permissions. if you are running emerald, replace metacity with emerald

to kill compiz, do the same as above but

#!/bin/bash
killall compiz.real &
metacity --replace &

leave metacity since emerald will not run without compiz. now you can crete your own buttons in the menu editor. and start the compiz on with sessions.

if you right click on the desktop under change background, under effects, you can also launch it from there.

Cresho
May 7th, 2008, 01:29 PM
updated above!

Rat2000
May 8th, 2008, 03:15 PM
If I run the script from the command line I get the following output:

Checking for Xgl: not present.
Detected PCI ID for VGA: 01:00.0 0300: 10de:0191 (rev a2) (prog-if 00 [VGA controller])
Checking for texture_from_pixmap: present.
Checking for non power of two support: present.
Checking for Composite extension: present.
Comparing resolution (1680x1050) to maximum 3D texture size (8192): Passed.
Checking for nVidia: present.
Checking for FBConfig: present.
Checking for Xgl: not present.
/usr/bin/compiz.real (core) - Error: Could not acquire compositing manager selection on screen 0 display ":0.0"
/usr/bin/compiz.real (core) - Fatal: No manageable screens found on display :0.0

I guess that's the source of my problems.

wesley_of_course
May 8th, 2008, 04:59 PM
I've got a e-GeForce 7600 GT and assuming Nvidia from your post I did ;
sudo nvidia-xconfig --add-argb-glx-visuals -d 24
to restore window borders. Thanks to Forlong ! http://forlong.blogage.de/article/20...-Compiz-Fusion (http://forlong.blogage.de/article/2007/8/29/How-to-set-up-Compiz-Fusion)

Post back either way, someone will help , no doubt ! And we all learn something .

Rat2000
May 9th, 2008, 04:30 AM
Hi, thanks for the help. I've tried what you suggested but still have the exact same thing. I've also check out the link and applied the configuration setting they suggested without any change.

Here is my xorg.conf:

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder3) Thu Feb 14 18:20:37 PST 2008


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

Section "Files"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "freetype"
Load "glx"
EndSection

Section "InputDevice"

# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

# generated from default
Identifier "Keyboard0"
Driver "kbd"
Option "XkbLayout" "ch"
Option "XkbVariant" "fr"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 30.0 - 110.0
VertRefresh 50.0 - 150.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Defaultdepth" "24"
Option "RenderAccel" "True"
Option "AllowGLXWithComposite" "True"
Option "AddARGBGLXVisuals" "True"
SubSection "Display"
Depth 24
EndSubSection
EndSection

Section "Extensions"
Option "Composite" "Enable"
EndSection