LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Installing Beryl-effects to Slackware 12 (https://www.linuxquestions.org/questions/slackware-14/installing-beryl-effects-to-slackware-12-a-569705/)

T3slider 08-23-2007 11:46 PM

I have gotten the animation plugin to work properly by including it in my compiz start command, but not through the ini backend. Right now I'm using a hybrid between the ini backend and just specifying plugins.

If I start compiz with
Code:

compiz --ignore-desktop-hints --replace decoration animation ini &
with a general-allscreens.conf containing the following list of active_plugins:
Code:

ini,png,wobbly,fade,cube,move,place,resize,rotate,scale,switcher,water,zoom,screenshot
I can get all of the default plugins plus the animation working, although there is no way to configure the animation plugin because it isn't using the ini backend (note that I can configure all of the default plugins through the config files because they are specified in general-allscreens.conf AFTER ini). I've played around with placing animation in general-allscreens.conf with no success.

All in all compiz has provided a frustrating experience just for a little eye-candy. I really hope they can create a better configuration method without having to use gconf (or alternatively create some documentation for using the ini backend with various plugins).

KDE_mika 08-24-2007 04:29 PM

Beryl settings menager problem !!!???
 
I have problem to start Beryl settings manager.When I start manager in konsole I got this :

Quote:

libberylsettings: dlopen: libgnomevfs-2.so.0: cannot open shared object file: No such file or directory
libberylsettings: dlopen: libgnomevfs-2.so.0: cannot open shared object file: No such file or directory
libberylsettings: dlopen: libgnomevfs-2.so.0: cannot open shared object file: No such file or directory
Traceback (most recent call last):
File "/usr/bin/beryl-settings", line 1948, in <module>
MakeCategoryArea(Category)
File "/usr/bin/beryl-settings", line 1723, in MakeCategoryArea
CatBasePixbuf = gdk.pixbuf_new_from_file_at_size("%s/%s"%(BaseDir,CatImages[Category.Name]),IconSize,IconSize)
gobject.GError: Unrecognized image file format
Someone knows how I can fix this problem ?

Thanks !

perry 09-14-2007 10:19 PM

compiz (core) - Fatal: No sync extension
 
Quote:

Originally Posted by batev (Post 2865567)
Hi, I managed to run the latest compiz-0.5.2, which was released 3 weeks ago. It seems much more stable than the previous included in Slack 12 and also is the first after the merger between compiz and beryl.
What I did:
1. Installed NVIDIA driver.
2. Added the ususal stuff in the Device section of /etc/X11/xorg.conf:
Code:

Option        "RenderAccel" "true"
      Option        "AllowGLXWithComposite" "true"
      Option        "AddARGBGLXVisuals" "true"
      Option "TripleBuffer" "true"

and also in the end of the file:
Code:

Section    "Extensions"
    Option "Composite" "enable"
EndSection

3.
Code:

removepkg compiz-0.5.0-i486-1.tgz
4. Download all the packages from compiz-0.5.2 and its subdirectories. Except compizconfig-backend-gconf-0.5.2.tar.bz2, because I use just KDE.
5. compiled compiz-0.5.2.tar.gz using the following options, which are used to compile the previous version in Slack 12:
Code:

CFLAGS=$SLKCFLAGS CXXFLAGS=$SLKCFLAGS ./configure --prefix=/usr --sysconfdir=/etc  --localstatedir=/var  --infodir=/usr/info  --mandir=/usr/man  --disable-static  --disable-gconf  --enable-kde  --enable-librsvg
make
make install

6. compiled the rest of the packages as follows:
Code:

./configure --prefix=/usr
make
make install

7. In order to be able to use the config compiz setting manager, which is very comfortable to tweak compiz-fusion settings we need pygtk and some more py* stuff which I got from the dropline project. Go to http://sourceforge.net/project/showf...ease_id=522875
and get pygobject, pygtk-2.10.6 and pycairo packages.
Run installpkg for them.
8. Now - running compiz fusion.
As regular user in konsole:
Code:

compiz --ignore-desktop-hints --replace ccp &
--ignore-desktop-hints is needed to avoid the big buttons of the pager in taskbar. If you loose the windows decoration you have to run also
Code:

kde-window-decorator &
, although it seems to start automatically.
9. In order to choose the desired effects go to Start -> Settings -> Compiz Config Settings Manager.

That's it for Slack 12 and KDE. I'm now running compiz fusion and everything runs OK. Of course we have to sacrifice some speed and stability. The occasional losses of the window decoration also might bother you but they seem to occur less frequently in the new version. They are easily fixable by running
Code:

kde-window-decorator &
again.

Fantastic instructions, thanks!

Am running an ATI 9600 that doesn't "officially" support "Composite".

I downloaded, compiled and installed as per your excellent posting and the above error message is what I got:

compiz (core) - Fatal: No sync extension

I have no idea what to do with it!

Thanks

- Perry

ps.
Code:

All laws are simulations of reality.
                -- John C. Lilly

perry@slackware:~$ glxgears
12647 frames in 5.0 seconds = 2529.373 FPS
17989 frames in 5.0 seconds = 3597.775 FPS
17839 frames in 5.0 seconds = 3566.641 FPS
perry@slackware:~$ fglrxinfo
display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI RADEON 9600 Series
OpenGL version string: 2.0.6747 (8.40.4)

perry@slackware:~$ glxinfo
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
    GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
    GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_OML_swap_method,
    GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_hyperpipe,
    GLX_SGIX_swap_barrier, GLX_SGIX_fbconfig, GLX_MESA_copy_sub_buffer
client glx vendor string: ATI
client glx version string: 1.3
client glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
    GLX_ARB_get_proc_address, GLX_SGI_video_sync, GLX_ARB_multisample,
    GLX_ATI_pixel_format_float, GLX_ATI_render_texture
GLX version: 1.2
GLX extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
    GLX_ARB_multisample
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI RADEON 9600 Series
OpenGL version string: 2.0.6747 (8.40.4)
OpenGL extensions:
    . . .

Code:

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

aka... it should work!

perry 09-14-2007 10:52 PM

cplusplus.org/slackware/compiz
 
Anybody interested in compiz-0.5.2 already compiled and packaged can check out my website:

/cplusplus.org/slackware/compiz

to install these packages, download and run the following script in root:
Code:

installpkg libcompizconfig-0.5.2-i386-1.tgz
 installpkg ccsm-0.5.2-i386-1.tgz
installpkg compiz-0.5.2-i386-1.tgz
installpkg compiz-bcop-0.5.2-i386-1.tgz
installpkg compiz-fusion-plugins-extra-0.5.2-i386-1.tgz
installpkg compiz-fusion-plugins-main-0.5.2-i386-1.tgz
installpkg compiz-fusion-plugins-unsupported-0.5.2-i386-1.tgz
installpkg compizconfig-backend-gconf-0.5.2-i386-1.tgz
installpkg compizconfig-backend-kconfig-0.5.2-i386-1.tgz
installpkg compizconfig-python-0.5.2-i386-1.tgz
installpkg emerald-0.5.2-i386-1.tgz
installpkg emerald-themes-0.5.2-i386-1.tgz

Now these packages were created on my system using default values so I can only assume they are worth the effort for you to download. If you do, could be so kind as to write in and let me know if they worked for you. I'm thinking I need a better video card, so this is as far as I am going with it!

Thanks

- Perry

ps.
these packages where assembled using mcheckinstall -S
Code:

checkinstall --fstrans=no $1 $2 $3 $4 $5 $6 $7 $8 $9

perry 09-14-2007 11:00 PM

How do you activate Beryl?
 
Quote:

Originally Posted by masonm (Post 2867973)
I downloaded and installed the Beryl related packages from Dropline and it works perfectly.

As you can see I am an avid Dropline fan! I know that Dropline supports Beryl, but I'm at a loss as how to activate it. There again, I'm not sure if my card can handle it.

True, I could RTFM on it... but you know me!

Thanks

- Perry

T3slider 09-14-2007 11:01 PM

Unless you're already running gnome you probably shouldn't install the gconf backend (otherwise you have to install gconf which is overkill just for compiz). That being said, if you didn't specifically disable gconf support when compiling compiz, you actually would need to install gconf (I think). I installed compiz-0.5.2 from source without installing gconf and it is working fine (I used my own slackbuilds), so I know it can be done.

I'm not trying to discourage perry's effort (It's great) -- just providing a warning for those not using dropline/another gnome package.

batev 09-15-2007 08:12 AM

Quote:

Originally Posted by perry (Post 2892292)
Fantastic instructions, thanks!

Am running an ATI 9600 that doesn't "officially" support "Composite".

I downloaded, compiled and installed as per your excellent posting and the above error message is what I got:

compiz (core) - Fatal: No sync extension

I have no idea what to do with it!

Thanks

- Perry

ps.
Code:

All laws are simulations of reality.
                -- John C. Lilly

perry@slackware:~$ glxgears
12647 frames in 5.0 seconds = 2529.373 FPS
17989 frames in 5.0 seconds = 3597.775 FPS
17839 frames in 5.0 seconds = 3566.641 FPS
perry@slackware:~$ fglrxinfo
display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI RADEON 9600 Series
OpenGL version string: 2.0.6747 (8.40.4)

perry@slackware:~$ glxinfo
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
    GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
    GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_OML_swap_method,
    GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_hyperpipe,
    GLX_SGIX_swap_barrier, GLX_SGIX_fbconfig, GLX_MESA_copy_sub_buffer
client glx vendor string: ATI
client glx version string: 1.3
client glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
    GLX_ARB_get_proc_address, GLX_SGI_video_sync, GLX_ARB_multisample,
    GLX_ATI_pixel_format_float, GLX_ATI_render_texture
GLX version: 1.2
GLX extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
    GLX_ARB_multisample
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI RADEON 9600 Series
OpenGL version string: 2.0.6747 (8.40.4)
OpenGL extensions:
    . . .

Code:

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

aka... it should work!

Hmmmm. I'm not sure about ATI drivers and settings stuff. I have never used ATI video cards.

brianL 09-15-2007 10:26 AM

What's the world coming to? Slackers going in for eye candy! You'll all be buying Vista next!
:scratch::D

T3slider 09-15-2007 04:19 PM

brianL, yeah, it's pretty pathetic. I'll probably uninstall compiz at some point once I get sick of it, but it's still nifty for now (luckily removing compiz is a snap since I used SlackBuilds).

NetRAVEN5000 09-17-2007 10:10 PM

Quote:

Originally Posted by brianL (Post 2892712)
What's the world coming to? Slackers going in for eye candy! You'll all be buying Vista next!
:scratch::D

We might like eye candy (some of us anyways) but we all prefer quality.
So no, we won't be buying Vista next. . .:tisk:
:cool: :D

T3slider 09-17-2007 10:39 PM

I've temporarily stopped using compiz because of problems with gtk apps in KDE (half the time opening GTK apps would cause kde-window-decorator to crash removing my titlebars). I'm not sure if this has to do with compiz or the gtk-qt-engine that I also installed (to make my GTK apps match the rest of my apps), but it seems to have stopped crashing without compiz. More testing is needed though.

I may just end up waiting until compiz becomes more stable (although I must admit that I miss some of the plugins, especially pertaining to shortcut keys/app switching etc.).

NetRAVEN5000 10-07-2007 09:14 AM

Quote:

Originally Posted by perry (Post 2892308)
As you can see I am an avid Dropline fan! I know that Dropline supports Beryl, but I'm at a loss as how to activate it. There again, I'm not sure if my card can handle it.

What do you mean "how to activate it"?

It doesn't launch automatically if that's what you mean. . .

To run it you do:
Code:

compiz --ignore-desktop-hints --replace ccp &
emerald --replace

Or if you want the KDE window decorations instead of Emerald, replace
Code:

emerald --replace
with
Code:

kde-window-decorator --replace
. . . If you want GNOME's decorator, sorry, I don't know what that's called. But if you know the command, it should be run basically the same as Emerald or KDE's window decorator.

I think.

And as for if your card can handle it. . . what do you have? I've got a GeForce FX 5500 (with 256MB RAM) and that handles it pretty well. It's not a real old card, but it's definitely not new - I've had it probably 2-3 years ago.

evilDagmar 10-08-2007 01:02 AM

Quote:

Originally Posted by perry (Post 2892308)
As you can see I am an avid Dropline fan! I know that Dropline supports Beryl, but I'm at a loss as how to activate it. There again, I'm not sure if my card can handle it.

True, I could RTFM on it... but you know me!

Thanks

- Perry

Umm... Dropline doesn't support Beryl. Beryl and Compiz-Fusion are still far from being ready for prime time. I threw some packages of them together to stop people from pestering me about it, but that's about it.

Su-Shee 10-08-2007 07:18 AM

There is no gnome window decorator, the pendant is called gtk-window-decorator and works with either gnome and xfce.

And I got Compiz-Fusion with the GSlacky-Gnome running.

I didn't even compile stuff; I just fetched the compiz-fusion packages from slacky.eu, configured my ATI card and started the stuff and that was all.

trebek 11-08-2007 11:51 AM

Quick question here!!!

Does anybody know what else to do to add twinview support, i get all the cool stuff but the desktop is spanned half way through the second screen, and the start of one of the sides of the cube starts at the rightest side of the second screen. I read about xinerama, that has to disabled, but looked it up in xorg.conf and i didn't see xinerama anywhere.

Thanks for the help.


All times are GMT -5. The time now is 08:38 AM.