View Full Version : compiz fusion on gutsy, small problem
techno-mole
October 13th, 2007, 08:10 AM
afternoon all.
I decided to upgrade to gutsy, it'll be out in less than a week and i figured any issues i have with it would be fixed by updating once the final version is out.
so heres the problem, everything works great but i have 2 small issues, firstly is that fusion loads at start up, and i cant seem to find where to stop it from loading up, ive had alook in sessions and theres nothing there, i have managed to get round this by using a small script and running it at start up, is this something to do with how fusion is enabled by default in gutsy ?
the next thing is window decorations, well title bars and so on.
if i have fusion running (whether i run it with or without emerald as the window manager) i only get the title bars and the close/minimise/maximise buttons on certain things, for example if ive got fusion running and i click the firefox icon on the panel itll load up and everything will be there, but if i open terminal it loads up with no tile bar, in fact the only application that actually has any title bars is firefox, everything else has none.
now i tried the troubleshooting for fusion (from the install method for fiesty - https://help.ubuntu.com/community/CompositeManager/CompizFusion ) the bit at the bottom says about adding this to xorg - sudo nvidia-xconfig --add-argb-glx-visuals -d 24 , but this hasnt done anything.
any ideas would be appreciated.
cheers
Forlong
October 13th, 2007, 08:28 AM
afternoon all.
Hi, it's half past two here (P.M. :))
i have 2 small issues, firstly is that fusion loads at start up, and i cant seem to find where to stop it from loading up, ive had alook in sessions and theres nothing there, i have managed to get round this by using a small script and running it at start up, is this something to do with how fusion is enabled by default in gutsy ?
Go to System → Preferences → Appearance → Visual Effects and select None
the next thing is window decorations, well title bars and so on.
if i have fusion running (whether i run it with or without emerald as the window manager) i only get the title bars and the close/minimise/maximise buttons on certain things, for example if ive got fusion running and i click the firefox icon on the panel itll load up and everything will be there, but if i open terminal it loads up with no tile bar, in fact the only application that actually has any title bars is firefox, everything else has none.
Hm... that's weird. Could you post your xorg.conf please?
techno-mole
October 13th, 2007, 08:37 AM
ok heres my xorg.
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder3) Wed Sep 12 14:29:35 PDT 2007
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 1.0 (buildmeister@builder3) Wed Sep 12 14:30:30 PDT 2007
# 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 "ServerLayout"
# Uncomment if you have a wacom tablet
# InputDevice "stylus" "SendCoreEvents"
# InputDevice "cursor" "SendCoreEvents"
# InputDevice "eraser" "SendCoreEvents"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection
Section "Files"
EndSection
Section "Module"
Load "glx"
EndSection
Section "ServerFlags"
Option "Xinerama" "0"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "gb"
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"
Identifier "stylus"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "stylus"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection
Section "InputDevice"
Identifier "eraser"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "eraser"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection
Section "InputDevice"
Identifier "cursor"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "cursor"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection
Section "Monitor"
Identifier "Generic Monitor"
HorizSync 30.0 - 70.0
VertRefresh 50.0 - 160.0
Option "DPMS"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Mag InnoVision"
HorizSync 31.5 - 80.0
VertRefresh 56.0 - 75.0
EndSection
Section "Device"
Identifier "Generic Video Card"
Driver "nvidia"
Option "NoLogo" "True"
BusID "PCI:1:0:0"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 7600 GS"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "Generic Monitor"
DefaultDepth 24
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "0"
Option "metamodes" "1280x800_75 +0+0"
SubSection "Display"
Depth 24
Modes "nvidia-auto-select"
EndSubSection
EndSection
I have taken out the sections that had " Option "AddARGBGLXVisuals " " True " because i figured that that line wouldnt make any difference now that fusion is enabled by default, and i was right, i still have the title bar issue and it hasnt stopped anything from working.
the thing that puzzles me is why does firefox have title bars but nothing else does :confused:
cheers
Forlong
October 13th, 2007, 09:41 AM
I'd recommend resetting your xorg conf.
Do a backup first:
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak
Then:
sudo dpkg-reconfigure xserver-xorg
And afterwrds:
sudo nvidia-xconfig --add-argb-glx-visuals -d 24
Reboot and see if it works.
techno-mole
October 13th, 2007, 12:44 PM
ok, sorry it took so long to get back to this.
good news is nothing broke, but the bad news is theres no change, i still only get the title bar with firefox, but nothing else.
so no change basically.
strange isnt it, and i installed from scratch aswell, that is i downloaded an iso and burned it to disc and then installed from that, so its a fresh install of gutsy basically.
cheers
i wonder what would happen if i un-install it all and then re-install the way you do for fiesty ?
and if it does work like that then isnt it a little dodgy if its enabled in gutsy by default and it happens to alot of people ? maybe its something to do with my hardware ?
techno-mole
October 13th, 2007, 12:58 PM
ok, just tried what i said i was going to do in the last post (to install fusion using an install method for fiesty)
now it kind of worked, in that the title bars are where they are meant to be, but and its quite a big but, i can run the settings manager, if i click on it nothing happens, and if i try and run it in terminal i get this error -
Traceback (most recent call last):
File "/usr/bin/ccsm", line 45, in <module>
idle = ccm.IdleSettingsParser(context)
File "usr/lib/python2.5/site-packages/ccm/Utils.py", line 229, in __init__
File "usr/lib/python2.5/site-packages/ccm/Utils.py", line 228, in <lambda>
File "usr/lib/python2.5/site-packages/ccm/Utils.py", line 225, in FilterPlugin
AttributeError: 'compizconfig.Plugin' object has no attribute 'Initialized'
cheers.
Forlong
October 13th, 2007, 01:41 PM
What's the output of dpkg -l | grep compiz and use the forum's CODE tag please (# button)
techno-mole
October 13th, 2007, 01:47 PM
] ii compiz 1:0.6.0+git20071008-0ubuntu1 OpenGL window and compositing manager
ii compiz-core 1:0.6.0+git20071008-0ubuntu1 OpenGL window and compositing manager
ii compiz-fusion-plugins-extra 0.5.2+git20070928-0ubuntu1 Collection of extra plugins from OpenCompositing for Com
ii compiz-fusion-plugins-main 0.5.2+git20070928-0ubuntu2 Collection of plugins from OpenCompositing for Compiz
ii compiz-fusion-plugins-unsupported 0.5.2~git20071006+3v1ubuntu0 Collection of plugins for Compiz - Unsupported
ii compiz-gnome 1:0.6.0+git20071008-0ubuntu1 OpenGL window and compositing manager - GNOME window dec
ii compiz-plugins 1:0.6.0+git20071008-0ubuntu1 OpenGL window and compositing manager - plugins
ii compizconfig-settings-manager 0.6.99~git20071005+3v1ubuntu0 Plugin and configuration tool - Compiz Fusion Project
ii libcompizconfig-backend-gconf 0.6.0~git20071003+3v1ubuntu0 GNOME Backend for the Compiz Configuration System
ii libcompizconfig0 0.5.2+git20070919-0ubuntu3 Settings library for plugins - OpenCompositing Project
ii python-compizconfig 0.5.2+git20070912-0ubuntu1 Compiz configuration system bindings
this is what i get from running that line in terminal.
cheers
Forlong
October 13th, 2007, 01:55 PM
You have mixed packages.
Remove those:
sudo apt-get remove --purge compiz-fusion-plugins-unsupported compizconfig-settings-manager libcompizconfig-backend-gconf
Remove the repository from System → Administration → Software Sources → Third Party Software
Do a sudo apt-get update Then install again.
techno-mole
October 13th, 2007, 02:11 PM
which method for installing would you recommend ?
the reason i ask is because i have been using this method (mainly because it was more bleeding edge)
open a terminal (Applications -> Accessories -> Terminal for GNOME users or KMenu -> System -> Konsole for KDE users) and type:
CODE
sudo apt-get -y remove compiz-core desktop-effects
Leave the terminal open and go to System -> Administration -> Software Sources, click on the second tab (Third-Party Software), then click on the "Add" button and paste the following code:
CODE
deb http://download.tuxfamily.org/3v1deb feisty eyecandy
Click the "Add Source" button after you pasted the above code and do the same for the following code:
CODE
deb-src http://download.tuxfamily.org/3v1deb feisty eyecandy
Don't close the Software Sources window yet!
In the terminal window, type:
CODE
wget http://download.tuxfamily.org/3v1deb/DD800CD9.gpg
CODE
sudo apt-key add DD800CD9.gpg
Now click the "Close" button on the Software Sources window and you will be asked if you want to reload the information about available software, so click the "Reload" button and wait for the window to disappear.
Copy/Paste the following lines in the terminal window:
CODE
sudo apt-get update
sudo apt-get -y upgrade
FOR GNOME USERS:
CODE
sudo apt-get -y install compiz compiz-gnome compizconfig-settings-manager compiz-fusion-plugins-extra libcompizconfig-backend-gconf
FOR KDE USERS:
CODE
sudo apt-get -y install compiz compiz-kde compizconfig-settings-manager compiz-fusion-plugins-extra libcompizconfig-backend-kconfig
Now, if everything was correctly installed and you didn't encounter errors, press ALT+F2 and type:
CODE
compiz --replace
and on fiesty it worked fine, but as you know it didnt work so well with gutsy.
now ive just gone through synaptic and removed everything compiz related, and i mean everything, then ive re-installed using this method -
First, we need to add a third party repository to your /etc/apt/sources.list. (Help for this available at AddingRepositoriesHowto)
deb http://ppa.launchpad.net/amaranth/ubuntu feisty main
deb-src http://ppa.launchpad.net/amaranth/ubuntu feisty main
After adding the repository, we need to update our repositories and install it.
sudo apt-get update && sudo apt-get dist-upgrade && sudo apt-get install compiz compizconfig-settings-manager
If you are running Kubuntu then use this command
sudo apt-get update && sudo apt-get dist-upgrade && sudo apt-get install compiz compizconfig-settings-manager compiz-kde
Or you won't get any window decorations.
Run Compiz
To run Compiz for the current session, hold Alt, then press F2, then enter the command
compiz --replace
Configure
To configure Compiz and associated plugins, hold Alt, then press F2, then enter the command
now this method worked, but im not sure i can get things like the snow plugin to work, but you cant have everything, but what im getting at is that surely compiz should have worked straight of ? and it didnt for me, the first thing i tried when i had re-booted after a fresh install was to check compiz and it wasnt right from the start, maybe some packages got mixed up during the install and updates ?
what if i did a fresh install again and used the method you just posted ?
cheers
Forlong
October 13th, 2007, 02:18 PM
I recommend using the packages that came with Gutsy.
Actually, there's no alternative to that right now, because there are no other packages for Gutsy around (you could use the ones from that repository but I strongly recommend not to).
techno-mole
October 13th, 2007, 02:24 PM
any ideas why compiz didnt work on a fresh install of gutsy ?
it should have been fine, that is to say there shouldnt have been any mixed packages or anything like that, but for some reason it didnt work.
cheers.
Forlong
October 13th, 2007, 02:32 PM
any ideas why compiz didnt work on a fresh install of gutsy ?
Hard to guess. Probably a driver/xorg.conf issue.
techno-mole
October 13th, 2007, 03:18 PM
ok, so i thought id try an experiment, basically i have just done a fresh install of gutsy, all i have done is sorted out the restricted drivers, loads of messages pop when you first start after a fresh install, so ive basically just downloaded and enabled the restricted drivers, buy following the instructions that pop up.
i have then run this code - dpkg -l | grep compiz
and this is the out put from terminal, i havent touched xorg or anything, so if its a configuration problem its been done when the system wanted the restricted drivers sorting out, i havent even installed the updates yet.
one other thing ive noticed is that although compiz is running, there is no settings manager andywhere and if you run ccsm in terminal you get an error saying its not installed.
anyway here is the terminal out put after running the above code.
ii compiz 1:0.6.0+git20071006-0ubuntu2 OpenGL window and compositing manager
ii compiz-core 1:0.6.0+git20071006-0ubuntu2 OpenGL window and compositing manager
ii compiz-fusion-plugins-extra 0.5.2+git20070928-0ubuntu1 Collection of extra plugins from OpenComposi
ii compiz-fusion-plugins-main 0.5.2+git20070928-0ubuntu2 Collection of plugins from OpenCompositing f
ii compiz-gnome 1:0.6.0+git20071006-0ubuntu2 OpenGL window and compositing manager - GNOM
ii compiz-plugins 1:0.6.0+git20071006-0ubuntu2 OpenGL window and compositing manager - plug
ii libcompizconfig-backend-gconf 0.5.2+git20071005-0ubuntu2 Settings library for plugins - OpenCompositi
ii libcompizconfig0 0.5.2+git20070919-0ubuntu3 Settings library for plugins - OpenCompositi
and as i mentioned regarding the compiz settings manager running ccsm in terminal gives this out put
The program 'ccsm' is currently not installed. You can install it by typing:
sudo apt-get install compizconfig-settings-manager
bash: ccsm: command not found
if you then run the code mentioned it installs the ccsm, but surley it should already be installed ? seeing as it is quite integral to actually running compiz and being able to set it up.
after running the apt-get line you can then go to system - preferences and you should find the advanced desktop effects settings.
kevmaster
October 18th, 2007, 06:00 AM
I've written a step-by-step video tutorial on how I did my upgrade from feisty (with Envy & Treviño’s compiz-fusion) to gutsy (http://kevin.vanzonneveld.net/techblog/article/upgrade_to_ubuntu_gutsy_with_compizfusion/). might be useful for some.
vBulletin® v3.8.0 Release Candidate 2, Copyright ©2000-2009, Jelsoft Enterprises Ltd.