PDA

View Full Version : [SOLVED] CompComm Built, but plugins don't seem to be workin


joeyjwc
June 17th, 2007, 06:48 PM
I doubt that there are words to express my frustration right now.
I started by using Kristian's script: viewtopic.php?f=12&t=206 (http://forums.opencompositing.org/viewtopic.php?f=12&t=206)

Well, I had all sorts of problems with that, but I eventually got them sorted out.

After a couple of hours of frustration, I finally got CompComm built and running. The problem is that ccs-settings (the one written in C) keeps segfaulting after it loads all the plugin information and ccsm doesn't seem to do anything at all. For example, I have made sure that the Desktop Cube plugin is enabled, as well as the Rotate Cube plugin. However, if I try the key combination to rotate the cube left, it does not do so. In fact, it looks like practically all of the plugins are completely useless. Moreover, most of the plugins don't have any options listed at all, which is obviously a mistake. I've tried using both "ini" and "ccp" for the initial plugins variable in the compiz-manager script, also written by Kristian. I would love to provide as much information as possible, but I can't, as console output is giving me absolutely nothing at all.

I would appreciate your help so that I will at least have a little hair left. I had no problem building Beryl after modifying the makeall script quite a bit. Things used to be so much more pleasant. :D

Jupiter
June 17th, 2007, 07:01 PM
joeyjwc the title of this thread is not acceptable. We require a title that is
descriptive of the problem you are having. This is intended to help other
user's be able to use the search feature more efficiently when looking
for a solution to a similar problem. This also helps the support personal
to see which threads we can most help with.

Please update the title accordingly.
Thanks
Jupiter

Deciare
June 17th, 2007, 08:01 PM
Console output is giving you nothing? That's not right... When you run ccsm on a console, it's supposed to list all the plugins it can find, like so:
[code:9c70a][deciare@raravis ~]$ ccsm
Adding plugin ezoom (Enhanced Zoom Desktop)
Adding plugin wobbly (Wobbly Windows)
Adding plugin bench (Benchmark)
Adding plugin ring (Ring Switcher)
Adding plugin reflex (Reflection)
Adding plugin opacify (Opacify)
Adding plugin plane (Desktop Plane)
Adding plugin decoration (Window Decoration)
Adding plugin fakeargb (Color Opacity)
Adding plugin minimize (Minimize Effect)
Adding plugin mblur (Motion blur)
Adding plugin extrawm (Extra WM Actions)
Adding plugin video (Video Playback)
Adding plugin resizeinfo (Resize Info)
Adding plugin blur (Blur Windows)
Adding plugin crashhandler (Crash handler)
Adding plugin snap (Snapping Windows)
Adding plugin animation (Animations)
Adding plugin place (Place Windows)
Adding plugin snow (Snow)
Adding plugin text (Text)
Adding plugin cubereflex (Cube Reflection)
Adding plugin scale (Scale)
Adding plugin imgjpeg (JPEG)
Adding plugin water (Water Effect)
Adding plugin screenshot (Screenshot)
Adding plugin expo (Expo)
Adding plugin rotate (Rotate Cube)
Adding plugin svg (Svg)
Adding plugin splash (Splash)
Adding plugin glib (GLib)
Adding plugin resize (Resize Window)
Adding plugin fs (Userspace File System)
Adding plugin group (Group and Tab Windows)
Adding plugin fade (Fading Windows)
Adding plugin regex (Regex Matching)
Adding plugin inotify (Inotify)
Adding plugin png (Png)
Adding plugin clone (Clone Output)
Adding plugin fadedesktop (Fade to Desktop)
Adding plugin showdesktop (Show desktop)
Adding plugin addhelper (AddHelper)
Adding plugin trailfocus (Trailfocus)
Adding plugin neg (Negative)
Adding plugin zoom (Zoom Desktop)
Adding plugin thumbnail (Window Previews)
Adding plugin annotate (Annotate)
Adding plugin put (Put)
Adding plugin dbus (Dbus)
Adding plugin cube (Desktop Cube)
Adding plugin tile (Tile)
Adding plugin switcher (Application Switcher)
Adding plugin wall (Desktop Wall)
Adding plugin firepaint (Paint fire on the screen)
Adding plugin winrules (Window Rules)
Adding plugin scaleaddon (Scale Addons)
Adding plugin move (Move Window)
Adding core settings (General Options)
Backend : ini
Integration : true
Profile : default[/code:9c70a]

ccs-settings has been segfaulting for me too, as of yesterday, so it may be a temporary problem...

If neither ccs-settings nor ccsm will load for you, then how are you ensuring that both the Cube and Rotate Cube plugins are enabled? Did you edit ~/.compizconfig/Default.ini directly? If so, what did you change?

Did you follow any specific instructions or use any scripts to install CompComm? If so, which ones? Did you modify them to work for you? If so, what did you change?

joeyjwc
June 17th, 2007, 11:31 PM
Sorry, I wasn't clear. ccsm works; ccs-settings doesn't.

Never mind. Looks like I found the problem. Kristian's compiz-manager script kept trying to start CompComm up with ini instead of ccp. Looks like I had a stale file. Sorry about that. I guess a few hours away from my computer allowed me to collect my thoughts and approach things more calmly.

But there still is another problem. Here is the output of ccsm:
[code:7bc46]Adding core settings (General Options)
Adding plugin annotate (Annotate)
Adding plugin blur (Blur Windows)
Adding plugin clone (Clone Output)
Adding plugin cube (Desktop Cube)
Adding plugin dbus (Dbus)
Adding plugin decoration (Window Decoration)
Adding plugin fade (Fading Windows)
Adding plugin fs (Userspace File System)
Adding plugin glib (GLib)
Adding plugin inotify (Inotify)
Adding plugin minimize (Minimize Effect)
Adding plugin move (Move Window)
Adding plugin place (Place Windows)
Adding plugin plane (Desktop Plane)
Adding plugin png (Png)
Adding plugin regex (Regex Matching)
Adding plugin resize (Resize Window)
Adding plugin rotate (Rotate Cube)
Adding plugin scale (Scale)
Adding plugin screenshot (Screenshot)
Adding plugin svg (Svg)
Adding plugin switcher (Application Switcher)
Adding plugin video (Video Playback)
Adding plugin water (Water Effect)
Adding plugin wobbly (Wobbly Windows)
Adding plugin zoom (Zoom Desktop)
Adding plugin named addhelper
Adding plugin named bench
Adding plugin named crashhandler
Adding plugin named extrawm
Adding plugin named fadedesktop
Adding plugin named firepaint
Adding plugin named mblur
Adding plugin named reflex
Adding plugin named splash
Adding plugin named trailfocus
Adding plugin named showdesktop
Adding plugin named cubereflex
Adding plugin named animation
Adding plugin named expo
Adding plugin named imgjpeg
Adding plugin named neg
Adding plugin named opacify
Adding plugin named put
Adding plugin named resizeinfo
Adding plugin named ring
Adding plugin named scaleaddon
Adding plugin named text
Adding plugin named thumbnail
Adding plugin named wall
Adding plugin named winrules
Adding plugin named group
Backend : ini
Integration : true
Profile : default
Initializing rotate options...done
Initializing move options...done
Initializing switcher options...done
Initializing regex options...done
Initializing scale options...done
Initializing png options...done
Initializing fade options...done
Initializing blur options...done
Initializing wobbly options...done
Initializing glib options...done
Initializing cube options...done
Initializing resize options...done
Initializing decoration options...done
Initializing minimize options...done
Initializing svg options...done
Initializing dbus options...done
Initializing zoom options...done
Initializing place options...done
[/code:7bc46]

For some reason, many of the plugins aren't correctly being reported in the system. Here's a screenshot to show what I mean.
http://pic.joeyjwc.x3fusion.com/compcomm/1.png
No information about the plugin has been loaded.

http://pic.joeyjwc.x3fusion.com/compcomm/2.png
Lots of plugins are having this problem. Most of them are from the plugins-main GIT repository.

I have installed CompComm into /usr, but have provided links back to /usr/local, just in case there is a hardcoded directory somewhere.
I.e.
/usr/lib/compiz <-> /usr/local/lib/compiz
/usr/lib/compizconfig <-> /usr/local/lib/compizconfig
/usr/include/compiz <-> /usr/local/include/compiz
/usr/include/compizconfig <-> /usr/local/include/compizconfig

Has anyone seen this problem before?

franzrogar
June 18th, 2007, 12:39 AM
The solution for your problems could be editing (or deleting, as you want ;) ) this file:

~/.config/compiz-managerrc

And look for this line:

PLUGIN="ini" (or similar)

and change "ini" for "ccp".

Deciare
June 18th, 2007, 12:49 AM
Never mind. Looks like I found the problem. Kristian's compiz-manager script kept trying to start CompComm up with ini instead of ccp. Looks like I had a stale file. Sorry about that. I guess a few hours away from my computer allowed me to collect my thoughts and approach things more calmly.
Okay! Good to know you found the problem.

For some reason, many of the plugins aren't correctly being reported in the system. Here's a screenshot to show what I mean.
http://pic.joeyjwc.x3fusion.com/compcomm/1.png
No information about the plugin has been loaded.
Ironically, that's all there is for the clone plugin. Mine looks the same way. ^^;

http://pic.joeyjwc.x3fusion.com/compcomm/2.png
Lots of plugins are having this problem. Most of them are from the plugins-main GIT repository.
Ah, this is interesting. As you noted, the only plugins that are loading properly seem to be the ones distributed together with compiz-git. Do you have bcop installed? It's needed to compile metadata for plugins-main, plugins-extra, and plugins-unsupported. When compiling CompComm, bcop should be built and installed before any of the plugin modules.

I have installed CompComm into /usr, but have provided links back to /usr/local, just in case there is a hardcoded directory somewhere.
I.e.
/usr/lib/compiz <-> /usr/local/lib/compiz
/usr/lib/compizconfig <-> /usr/local/lib/compizconfig
/usr/include/compiz <-> /usr/local/include/compiz
/usr/include/compizconfig <-> /usr/local/include/compizconfig
I've seen CompComm installed into /opt/compcomm successfully, so I don't think there are any hardcoded paths... But you could keep those links around, just in case, until everything starts working. Then you could try seeing whether anything changes if you remove them.

joeyjwc
June 18th, 2007, 01:27 AM
For some reason, many of the plugins aren't correctly being reported in the system. Here's a screenshot to show what I mean.
http://pic.joeyjwc.x3fusion.com/compcomm/1.png
No information about the plugin has been loaded.
Ironically, that's all there is for the clone plugin. Mine looks the same way. ^^;
Oops. I meant to make a screenshot of a different plugin. I'm sorry about that. I've updated the screenshot with something that actually isn't working.

[quote=joeyjwc]http://pic.joeyjwc.x3fusion.com/compcomm/2.png
Lots of plugins are having this problem. Most of them are from the plugins-main GIT repository.
Ah, this is interesting. As you noted, the only plugins that are loading properly seem to be the ones distributed together with compiz-git. Do you have bcop installed? It's needed to compile metadata for plugins-main, plugins-extra, and plugins-unsupported. When compiling CompComm, bcop should be built and installed before any of the plugin modules.[/quote:7a5e1]
bcop should have been compiled and installed before any of the other elements. I'm going to reinstall everything now by hand instead of trusting a script to do it. Perhaps the results will be a little different.

It looked like the script built things in this order:
1. Compiz
2. bcop
3. Emerald
4. (All of the Plugins)
5. Compiz Configuration Stuff
6. Kristian's compiz-manager script (which doesn't need compiling or anything, of course)

All in all, when the ITEMS variable has been modified (Kristian chooses to append to it in several steps, it looks like this:
ITEMS="compcomm/libraries/bcop compcomm/decorators/emerald compcomm/decorators/emerald-themes compcomm/plugins-main compcomm/plugins-extra compcomm/plugins/3d compcomm/plugins/fakeargb compcomm/plugins/goto-viewport compcomm/plugins/screencasting compcomm/plugins/snow compcomm/plugins/tile compcomm/plugins/viewport-switcher compcomm/plugins/wallpaper compcomm/compiz-configuration-system/libraries/ccs-lib compcomm/compiz-configuration-system/tools/ccs-settings compcomm/compiz-configuration-system/bindings/ccs-python compcomm/compiz-configuration-system/tools/ccsm users/kristian/compiz-scripts"

I added most of those plugins. Originally, the script wanted to use beryl-premerge, but that has been deleted and replaced with plugins-main and plugins-extra. I have also added most of the plugins in there as well.

Edit: That's odd. I just realized that there are certain plugins in the Compiz directory, which are built before bcop is built. Yet, these are the plugins that work!

[quote=joeyjwc]I have installed CompComm into /usr, but have provided links back to /usr/local, just in case there is a hardcoded directory somewhere.
I.e.
/usr/lib/compiz <-> /usr/local/lib/compiz
/usr/lib/compizconfig <-> /usr/local/lib/compizconfig
/usr/include/compiz <-> /usr/local/include/compiz
/usr/include/compizconfig <-> /usr/local/include/compizconfig
I've seen CompComm installed into /opt/compcomm successfully, so I don't think there are any hardcoded paths... But you could keep those links around, just in case, until everything starts working. Then you could try seeing whether anything changes if you remove them.[/quote:7a5e1]
That is my plan. :)

joeyjwc
June 18th, 2007, 02:00 AM
(I decided to start a new post because the other one was getting overly long).

I tried building compiz, bcop, and then plugins-main (I didn't bother with plugins-extra yet). Here's what I got when starting compiz.
[code:26936]
joey@alpha:~/Software/compcomm/compiz-scripts/manager$ ./compiz-manager -v
Looking for configuration file(s):
Not found: /etc/xdg//compiz-managerrc
Loading /home/joey/.config/compiz-managerrc
Skipping nVidia check, using stored value.
Skipping Xgl check, using stored value.
Skipping FBConfig check, using stored value.
Skipping texture_from_pixmap check, using stored value.
Skipping non-power-of-two texture check, using stored value.
Skipping Composite extension check, using stored value.
Skipping Damage extension check, using stored value.
Skipping XSync extension check, using stored value.
Skipping screen detection check, using stored value.
Skipping "possible" test, using stored value.
Not writing config; allready exists.
Starting delayed decorator in the background: sleep 5 && emerald --replace &
Checks indicate compiz should work on your system
Exporting: __GL_YIELD=NOTHING
Executing: compiz --loose-binding --sm-disable --replace ini
./compiz-manager -v
joey@alpha:~/Software/compcomm/compiz-scripts/manager$ ./compiz-manager -v
Looking for configuration file(s):
Not found: /etc/xdg//compiz-managerrc
Loading /home/joey/.config/compiz-managerrc
Skipping nVidia check, using stored value.
Skipping Xgl check, using stored value.
Skipping FBConfig check, using stored value.
Skipping texture_from_pixmap check, using stored value.
Skipping non-power-of-two texture check, using stored value.
Skipping Composite extension check, using stored value.
Skipping Damage extension check, using stored value.
Skipping XSync extension check, using stored value.
Skipping screen detection check, using stored value.
Skipping "possible" test, using stored value.
Not writing config; allready exists.
Starting delayed decorator in the background: sleep 5 && emerald --replace &
Checks indicate compiz should work on your system
Exporting: __GL_YIELD=NOTHING
Executing: compiz --loose-binding --sm-disable --replace ccp
Adding core settings (General Options)
Adding plugin annotate (Annotate)
Adding plugin blur (Blur Windows)
Adding plugin clone (Clone Output)
Adding plugin cube (Desktop Cube)
Adding plugin dbus (Dbus)
Adding plugin decoration (Window Decoration)
Adding plugin fade (Fading Windows)
Adding plugin fs (Userspace File System)
Adding plugin glib (GLib)
Adding plugin inotify (Inotify)
Adding plugin minimize (Minimize Effect)
Adding plugin move (Move Window)
Adding plugin place (Place Windows)
Adding plugin plane (Desktop Plane)
Adding plugin png (Png)
Adding plugin regex (Regex Matching)
Adding plugin resize (Resize Window)
Adding plugin rotate (Rotate Cube)
Adding plugin scale (Scale)
Adding plugin screenshot (Screenshot)
Adding plugin svg (Svg)
Adding plugin switcher (Application Switcher)
Adding plugin video (Video Playback)
Adding plugin water (Water Effect)
Adding plugin wobbly (Wobbly Windows)
Adding plugin zoom (Zoom Desktop)
Adding plugin named addhelper
Adding plugin named bench
Adding plugin named crashhandler
Adding plugin named extrawm
Adding plugin named fadedesktop
Adding plugin named firepaint
Adding plugin named mblur
Adding plugin named reflex
Adding plugin named splash
Adding plugin named trailfocus
Adding plugin named showdesktop
Adding plugin named cubereflex
Adding plugin named animation
Adding plugin named expo
Adding plugin named imgjpeg
Adding plugin named neg
Adding plugin named opacify
Adding plugin named put
Adding plugin named resizeinfo
Adding plugin named ring
Adding plugin named scaleaddon
Adding plugin named text
Adding plugin named thumbnail
Adding plugin named wall
Adding plugin named winrules
Adding plugin named group
Backend : ini
Integration : true
Profile : default
Initializing core options...done
Initializing decoration options...done
Initializing minimize options...done
Initializing move options...done
Initializing place options...done
Initializing resize options...done
compiz (core) - Error: Couldn't load plugin 'svg'
Initializing wobbly options...done
Initializing zoom options...done
compiz (core) - Warn: Unable to parse XML metadata from file "crashhandler.xml"
compiz (core) - Warn: Unable to parse XML metadata from file "firepaint.xml"
compiz (core) - Warn: Unable to parse XML metadata from file "reflex.xml"
compiz (core) - Warn: Unable to parse XML metadata from file "cubereflex.xml"
compiz (core) - Error: Couldn't activate plugin 'cubereflex'
compiz (core) - Warn: Unable to parse XML metadata from file "animation.xml"
compiz (core) - Warn: Unable to parse XML metadata from file "neg.xml"
compiz (core) - Warn: Unable to parse XML metadata from file "ring.xml"
compiz (core) - Warn: Unable to parse XML metadata from file "scaleaddon.xml"
compiz (core) - Error: Couldn't activate plugin 'scaleaddon'
Initializing fade options...done
Initializing cube options...done
Initializing rotate options...done
Initializing scale options...done
Initializing switcher options...done
Active Plugin List update
[/code:26936]

As you can see, the system wasn't able to find the metadata for the plugins that I had compiled from plugins-main. Where are these files usually located?



----------------
Edit: Well, it looks like I have solved my own problem. Apparently, bcop was working fine. The XML metadata wasn't properly being installed to my home directory for some reason (probably because I installed CompComm as root). I'm sorry for being so stupid. :oops: