Gray Flannel Dwarf

11/17/2007

fedora 8, compiz-fusion and x86_64

Well, I never used desktop effects a whole lot in Fedora 7, but when I did, they worked nearly flawlessly. I decided to check ‘em out again in F8, though, and, well, they were bustificated again.

Well, to be more accurate — if i run compiz-manager, everything comes up just roses. However, if I try to use gnome-compiz-preferences to enable them, i get no desktop decorations.

Running the gnome prefs app in a window, I started noticing messages akin to

[corey@ramen compiz]$ gnome-compiz-preferences
** (gnome-compiz-preferences:12673): WARNING **: plugin decoration isn't installed

** (gnome-compiz-preferences:12673): WARNING **: plugin place isn't installed

** (gnome-compiz-preferences:12673): WARNING **: plugin scale isn't installed

** (gnome-compiz-preferences:12673): WARNING **: plugin switcher isn't installed

** (gnome-compiz-preferences:12673): WARNING **: plugin water isn't installed

** (gnome-compiz-preferences:12673): CRITICAL **: gcm_gl_plugin_get_option: assertion `self != NULL' failed

** (gnome-compiz-preferences:12673): CRITICAL **: gcm_gl_option_set_string: assertion `self != NULL' failed

** (gnome-compiz-preferences:12673): WARNING **: plugin decoration isn't installed

** (gnome-compiz-preferences:12673): WARNING **: plugin png isn't installed

** (gnome-compiz-preferences:12673): WARNING **: plugin svg isn't installed

** (gnome-compiz-preferences:12673): WARNING **: plugin annotate isn't installed

** (gnome-compiz-preferences:12673): WARNING **: plugin scale isn't installed

** (gnome-compiz-preferences:12673): WARNING **: plugin cube isn't installed

** (gnome-compiz-preferences:12673): WARNING **: plugin decoration isn't installed

I thought that was interesting. Looking for the location of, say, crashhandler, I found it:

/usr/lib64/compiz/libcrashhandler.so

I found this even more interesting. Testing a theory, I created a directory (noting it didn’t exist), /usr/lib/compiz. From within this directory, I ran the following command:

for i in `ls /usr/lib64/compiz/*`; do ln -s $i `basename $i`; done

At this point, I re-ran gnome-compiz-preferences, and voila, I had window decorations.

Note that some things still seem busted – for example, I know I have wobbly windows enabled, and I am not seeing those. However, other indications let me know that compiz is indeed running, not least of all, ps:

13143 pts/1 S 0:00 /usr/bin/compiz-tray-icon
13190 ? S 0:03 /usr/bin/python /usr/bin/ccsm
13290 pts/1 S 0:00 /usr/bin/gtk-window-decorator --replace
13322 pts/1 S 0:03 /usr/bin/compiz --indirect-rendering --replace gconf

Basically, however, what we now know is that there’s a bug in gnome-compiz-preferences that isn’t taking into account the /lib vs. /lib64 differentiation on x86_64/multilib systems. I’ll bug it if it hasn’t been done already.

Also note that the full bash command above isn’t necessary — one can just as easily symlink /usr/lib64/compiz to /usr/lib/compiz


[root@ramen ~]# cd /usr/lib
[root@ramen lib]# ln -s /usr/lib64/compiz compiz


Update:
bz #388511. Also, I realised although I did have the wobbly windows plugin loaded, I missed it in the most obvious place — in the gnome-compiz-preferences UI itself. Seems just fine now.


Tags: , , , , , , — cswiii @ 11:29 am