Crystal-GL

KDE 3.x Window Decorations

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

0
5 .0
Description:

Crystal-GL is the next generation of my crystal window decoration theme.
By using OpenGL to render itself, it simulates refraction and light mapping! Check out screenshots! NOW!

I name the deco HIGHLY EXPERIMENTAL! Don't blame me, if it brakes your computer into two, if it crashes kde or makes it unusable. THIS IS BETA, NO WARRANTY.
If it breakes kwin, even on startup, remove your ~/.kde/share/config/kwinrc file, to reset the kwin settings to default.

WARNING: You need to have write access to the 3D acceleration device, if exists. I.e.: /dev/dri/* or /dev/nv*. Otherwise the deco or kcontrol may crash.

It looks very similar to crystal, but has more eye-candy and smooth animations.

* Grabs your wallpaper and simulates bended glass, little lighting. You are able to specify the ior. ;)
* Support for button themes. Feel free to swamp me with cool themes. :D The themes are the same than the ones in crystal.
Knifty button theme by Enso

Disadvantages:
* Needs a working GL subsystem!!! Don't blame me, if yours is broken!
* Be careful on nvidia systems, if under load, the gl subsystem may become *real* slow, so my deco.
* Needs KDE >=3.2 and QT>=3.2 to compile.
* May be slower than any other deco
* May be fat
* May make you drool, and you might forget to eat, sleep or even breath!


-- INSTALL -------------------------
Basic Installation (from the console):
- Step 1
$ ./configure
OR: $ ./configure --prefix=`kde-config --prefix`
- Step 2
$ make
- Step 3 (as root)
# make install

If configure fails, check that you have both the Qt and KDE development headers installed. If you used a previous version before, you need to restart kde to use the upgraded version.
------------------------------------


Please give some feedback or tell me some improvement suggestions.
I would be very happy about some packages, like for Mandrake, Debian, Suse, Redhat, etc! PLEASE DON'T POST PACKAGES AS NEW CONTENT, just notify me and mail it to me, and I'll host them.

PROVIDED PACKAGES MAY NOT BE UP2DATE! Check out versions number!

Thanks to bitwit for each others help with the GL-deco stuff!

Enjoy! :)

Check out crystal (non-gl) at:
http://kde-look.org/content/show.php?content=13969


Sascha Hlusiak
Last changelog:

15 years ago

* All packages up to date now

0.8.1:
* Made look antialiased caption damn good. Enabling this is RECOMMENDED now!
* Fixed menu button image bug
* Split up rendering process into four for each border. Maybe speed up or (most likely) speed down. :-/ Should fix nvidia-slowdown-bug on maximized windows.
* Added feature: "Scroll" through windows, by using the mouse wheel on the title bar, as well as an option in the configuration dialog to disable this immediately :>
* Improved config dialog a little


0.8.0:
* Added extreme slick "handpainted" button theme (thank you, Marco)
* Fixed some bugs, which almost drove me crazy on my notebook.
* Little speed up in the initialization
* Improved my "button-rendering-engine" a lot. Now button tinting uses GL, too.
* Added more options for button tinting.
* Added option to make the hover effect fade
* Added option to disable the transparency feature completely (don't dare!)
* Added information of direct rendering and glx version to the control center preview
* Got rid of some unneccessary code, probably put in a lot of more unneccessary code.
* Added a benchmark feature for my internal use (ctrl+alt+shift+RightButton on the title bar)


0.7.5:
* Added Knifty button theme (thanks to Enso)
* Fixed buttons
* Little code rearrangement, nothing visible

C

dralgebra

15 years ago

The rpm packages as well as the debian and the tgz packages are binary. By installing them you install the compiled window decoration and it should be ready to use. Just take a look at the window decorations section in kcontrol and you should find crystal-gl.

Report

rhorn

15 years ago

This is a great theme. I love it. It's quite responsive, even on my old and slow NVidia card.

Anyway, there seems to be a bug with Crystal-GL if one is logging into KDE with this as the default. Everything just locks up. I end up having to go into ~/.kde/share/config/kwinrc and change the PluginLib style to a different style, such as B2.

Report

C

dralgebra

15 years ago

I assume you already use the most current version..

So please tell me, what KDE version are you running?
Are you also using the most current version of the nvidia drivers? I don't think it depends on that, but maybe give it a chance.

Report

rhorn

15 years ago

I'm running what's current in Debian Unstable, which is 3.3.1. This may well not show up in 3.3.2, but for now, I don't know that. Sorry!

Report

rhorn

15 years ago

You'll be happy to know that either your latest release or my updating (now 3.3.1-4) or the combination of the two has resolved this bug.

Report

wnaLinux

15 years ago

I installed mine both from source and slackware package and they both crash. I hope you release a fix because I really like the windec. Cheers!

Report

C

dralgebra

15 years ago

about the crash. When does it crash, why, on what hardware (X, kde, qt, graphics card versions)?
It does not crash on my notebook and not on my nvidia box. Provide me with some infos and I can think of a fix.
Can you reproduce it? Did earlier versions crash, too?

Report

rufuseddy

15 years ago

It crashes on my slackware box too. My box has:

Pentium 4 3.0Ghz
1GB RAM
300 GB Hard Drive
Slackware 10
Nvidia Geforce4
KDE 3.3.2 (but tried on other versions)
Qt 3.3.3 (but tried with other versions)

The crash happens when I set crystalgl as my windecoration.

Report

rufuseddy

15 years ago

Sorry one more thing, here is the backtrace from the crash screen:

http://www.oceighty.net/crytalgl-error.log

Report

C

dralgebra

15 years ago

I am sorry, but I don't have any clue, why it does crash here. The traceback just tells me that it occurs within the nvidia driver, but of course caused by an improper call by me. I cannot reproduce it.

But I experiene some other problems with my deco, which I can reproduce. Perhaps I can fix them, and perhaps your problem is fixed then, too.

Report

Deciare

15 years ago

Installed 0.7.5 today. No crashing, but I don't see any painting either. The area where the window decoration would have been never repaints, and whatever passes over it stays there until something else passes over it.

Report

C

dralgebra

15 years ago

Sorry, seems that I have released it too soon. I have weird painting problems with xorg-6.8.1 now, too.

please open a terminal and type `kwin --replace`, does it tell you something important, starting with "Error"?

Report

bitwit

15 years ago

0.7.5 seems to work fine, at least the version I got on
28/12/04 12:19 pm PST

compiles, runs, draws nice.

Report

Diablo82

15 years ago

I had updated crystalgl using gentoo ebuild, then I just restarted kde and it seemed to work fine. But after a while my desktop was completely frozen. I don't know if you need to know that, but i'm using a Geforce4mx card running 6110 drivers.

Report

Deciare

15 years ago

... Mostly.

I experienced one last X freeze when logging out and back in after I installed 0.7.4 (the first bordered window I opened after I logged back in froze it), but haven't been able to reproduce it.

I suppose we can call it fixed, at least in my case. :)

Report

shutdown

15 years ago

"I works perfect (fast too) when I activate after I log in.
If I try to start KDE with this as default KDE hangs on restoring the session (probably bacause I have a couple of windows open that it restors so I hangs when trying to open thoose)
I have to remove my kwin* config files to reset it."

Same here...any idea how to fix this?
I am using KDE 3.3.2.

Shutdown

Report

C

dralgebra

15 years ago

Fixed in 0.7.4 now? Anyone still has this problem with 0.7.4?

Report

strawnman

15 years ago

Hey, great work. I have been using Crystal for a long time. You are the hit with the debian nation. Your debs load perfectly, and that is a huge bonus. Thanks again.
Eric

Report

paul_double

15 years ago

nice!
I works perfect (fast too) when I activate after I log in.
If I try to start KDE with this as default KDE hangs on restoring the session (probably bacause I have a couple of windows open that it restors so I hangs when trying to open thoose)
I have to remove my kwin* config files to reset it.

If it's anything I can do to help you solve this I'll be glad to help!

Happy holiday!

Kind Regards
Paul

Report

patroche

15 years ago

it's good to finaly have GL decos. It runs quite smoothly here, and it dident crash yet :)

I like the "animate on activation" feature a lot!
an other nice feature would be to be able to choose a background color instead of taking the wallpaper as background. Just to have a normal looking win deco, with the lighting gradiant, and the "animate on activation" feature.
An other nice thing (but i can imagine that it's difficult to do, and that it could higher the cpu load) would be to take a snapshot of the desktop to build the background texture, then you could even see the other windows in translucy (i tried to look into the code to see if it's doable but i dident understand much of it, i'm a newbie in programmation :)).

Anyway, thanks for your work!

Report

shutdown

15 years ago

It does not work for me...
I am using KDE 3.3.2 and first it seemed to work perfectly, but after a restart my whole X session froze when I tried to open a window using this style.
Is it KDE 3.2.x ONLY???

Report

lordcrow

15 years ago

just a stupid question: is this bug from the source version or the package(e.g. slackware) version ???

Report

C

dralgebra

15 years ago

Of course I recommend using the most current source rather than a package, but if the package was compiled properly with the most current sources, there should be no difference.
I know that earlier versions had the locking problem, but I hoped to have fixed it. :'-(

Report

C

dralgebra

15 years ago

Heared this problem from quite a lot of people now. This is definitely a bug, I thought I had fixed it.. I will need some testing on other machines.

I use KDE 3.3.2 and it workes fine, as on a Debian with KDE 3.2.2, which workes fine now, too.

Does the whole X freeze, are you able to move the windows, are you able to move the mouse cursor?

I'm so sorry that I cannot reproduce this now. :(

Report

Deciare

15 years ago

When kwin causes X to freeze, the screen stops repainting. It's still possible to move the mouse cursor around, but nothing responds to clicks or drags. GKrellM graphs stop updating, animated GIFs stop animating, toolbar buttons don't respond to mouseovers, etc.

I have to kill kwin (SIGKILL), edit kwinrc to use a style other than crystalgl, then restart kwin. Otherwise, it'll freeze again when kwin tries to paint a border around any window.

Once kwin is up and running, switching back to crystalgl is not a problem.

Report

15 years ago

* All packages up to date now

0.8.1:
* Made look antialiased caption damn good. Enabling this is RECOMMENDED now!
* Fixed menu button image bug
* Split up rendering process into four for each border. Maybe speed up or (most likely) speed down. :-/ Should fix nvidia-slowdown-bug on maximized windows.
* Added feature: "Scroll" through windows, by using the mouse wheel on the title bar, as well as an option in the configuration dialog to disable this immediately :>
* Improved config dialog a little


0.8.0:
* Added extreme slick "handpainted" button theme (thank you, Marco)
* Fixed some bugs, which almost drove me crazy on my notebook.
* Little speed up in the initialization
* Improved my "button-rendering-engine" a lot. Now button tinting uses GL, too.
* Added more options for button tinting.
* Added option to make the hover effect fade
* Added option to disable the transparency feature completely (don't dare!)
* Added information of direct rendering and glx version to the control center preview
* Got rid of some unneccessary code, probably put in a lot of more unneccessary code.
* Added a benchmark feature for my internal use (ctrl+alt+shift+RightButton on the title bar)


0.7.5:
* Added Knifty button theme (thanks to Enso)
* Fixed buttons
* Little code rearrangement, nothing visible

12345678910
product-maker Base: 4 x 5.0 Ratings
Be the first to comment
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.8.1
updated Jan 26 2005
added Dec 19 2004
downloads 24h
0
mediaviews 24h 0
pageviews 24h 0
System Tags linux unix