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

mkoljack

15 years ago

I am using crystal gl with KDE 3.4 in both fedora 3 and suse 9.3 and it compiles great and works great. The same as in KDE 3.3.

Thank you so much for giving me the coolest desktop I've ever seen!

Mark

Report

ianegg

15 years ago

Just tested this on Gentoo, after adding ~amd64 to the ebuild. It compiled fine, and works, but is far to slow to test properly.

Is this using hardware rendering? I have a geforce 6800, and usually when I run glx apps with composite enabled, I just get slight black box artifacts, and the gl part is always in front of everything else. This completly confused xcompmgr (or whatever they use in kde 3.4.) and didn't display any of the usual problems.

With composite disabled, it just runs incredibly slowly, even when I turn everything off.

Report

yogeshm02

15 years ago

Hi!

I'm using KDE 3.3.x (SuSE 9.2), and nothing appears on the screen, though clicking on the area which is supposed to contain close button does closes it.

I'm having working OpenGL

Report

deton8or

15 years ago

You should go to the configure of window decorations in the Buttons tab and uncheck
'Use custom titlebar buttons positions'

Report

cypherpunk

15 years ago

You are already using open-gl. Then you should take a look to this videos. You could get some ideas:

http://www.gnome.org/~seth/blog/xshots

Report

noahm

15 years ago

Every once in a while I stop by this site to poke around and see if there's anything interesting. Usually I leave without downloading anything. But Crystal-GL just sounded too good to ignore... I was not disappointed! Very nice.

Report

darksmileyv2

15 years ago

ive noticed that kde 3.4 has just been released, but i was wondering how window decorations like this and other extra features that were designed for 3.3 will work on 3.4? will i need to wait for new versions?

Report

C

dralgebra

15 years ago

KDE 3.4 has a composite manager and so can easily handle full transparency. Technically it is NOT possible at the moment to use the COMPOSITE transparency along with CrystalGL (OpenGL), so this deco cannot handle the new features.

However in Crystal it would be possible, but it needs a lot of testing an fiddling on my side to implement this, because the features are quite new and not well documented. I know only one app at the moment, that behaves the way, I want Crystal to, and this is konsole (if compiled manually with enabled COMPOSITE support. It is disabled by default).

Perhaps I can make it, but it'll take time.

Report

momesana

15 years ago

Real translucency combined with the Crystal window decoration would really be a terrific piece of eyecandy!

Since I first saw the crystal windec on a friend's desktop many months ago (I think real transluceny was not even supported on X then), I have been waiting for the crystal theme to support real Translucency.
Not seeing the windows beneath the Crystal-windowdecoration-frame opposes its very purpose, since this is to immitate the natural behaviour of Glas.

I will not use crystal until it supports real translucency but when it does, I will switch to it and never look back!!!

Report

darksmileyv2

15 years ago

tbh i dont really think the composite manager is hardware friendly enough just yet!! my graphics card cant cope with the real tranparencies so i left them off and am now using the crystal gl decos with 3.4. i would love a more stable version of the decos tho as they still crash sometimes =(

Report

momesana

15 years ago

Real translucency combined with the Crystal window decoration would really be a terrific piece of eyecandy!

Since I first saw the crystal theme on a friend's Desktop many months ago (I think real transluceny was not even supported on X then), I have been waiting for the crystal theme to support real Translucency.
Not seeing the windows beneath the Crystal-windowdecoration-frame opposes its very purpose, since this is to immitate the natural behaviour of Glas.

I will not use crystal until it supports real translucency but when it does, I will switch to it and never look back!!!

Report

darksmileyv2

15 years ago

hmm ok, i may stick with 3.3.2 for the moment then, as to be honest i am not all that keen on the full window transparencies like in OSX i think they can look pretty tacky. i am so pleased with how my desktop looks, i just wish it was a little more stable.

did u check out the pics i made of it? i stuck them up on my site:

www.theinformationleak.com/linux/newslackdesktop.png
www.theinformationleak.com/linux/newslackdesktop2.png

and there are more up to 7 or 8 i think.

what are your plans for crystal and everything now that kde 3.4 is out? will there be crystal GL updates? chears m8 =)

Report

ctrawick

15 years ago

Pretty screenshots. Unfortunately I can't get it to actually work.

The gentoo ebuild is unparseable, so I went with the manual install instructions. Went smooth.

Let her rip and... well, nothing. No borders. No GL. I did get a KDE crash dialog that told me nothing, but only after I ran kwin manually.

Curious, the config screen says direct rendering not enabled. However, glxinfo begs to disagree.

xorg-x11-6.8.2
kde-3.3.2
qt-3.3.4
ati-drivers-8.10.19
Radeon 9000 Pro

Back to mundane decos for me.

Report

C

dralgebra

15 years ago

What do you mean, "the gentoo ebuild is unparsable"? It works well for me, so the ebuild is alright, I think. What did you try to install it? Did you make a gentoo overlay?

And would you mind to post me all messages, that appear, when you start kwin manually from within a terminal? (kwin --replace).

And if you get a kwin traceback, post it to me, too.

Is GL working completely, does glxgears render? Are your ATI drivers working fine?

Report

ctrawick

15 years ago

Sorry if I seemed short yesterday. It wasn't a very good day.

Anyway, I wasn't using a portage overlay. I created one and emerged it from there, and it merged fine (after I'd uninstalled the manual one of course). Worked fine. Did I mention how I hate python? Everything looks like a parsing error.

Anyway, the deco's still crashing. Nothing from the kwin output except "KCrash: Application 'kwin' crashing...". Traceback doesn't look useful since I don't have KDE emerged with USE="debug". Then again, I haven't coded C in 10 years so I've pretty much forgotten what I'm looking for. Here's what I have minus the "no debugging symbols found" warnings:

Using host libthread_db library "/lib/tls/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1208101184 (LWP 1319)]
0xffffe410 in ?? ()
#0 0xffffe410 in ?? ()
#1 0x00000007 in ?? ()
#2 0x00000000 in ?? ()
#3 0x00000000 in ?? ()
#4 0x4120b773 in __waitpid_nocancel () from /lib/tls/libpthread.so.0
#5 0x41c7f32e in KCrash::defaultCrashHandler ()
from /usr/kde/3.3/lib/libkdecore.so.4
#6 0x41cecb97 in malloc () from /usr/kde/3.3/lib/libkdecore.so.4


crystalgl was emerged with USE="debug".

I do have the system built with both linuxthreads and nptl, and it looks like it's using LWP. Does anyone have stories about crystalgl and nptl? I haven't seen anything else crash like this recently, so if nptl's getting in the way then crystalgl's touching something unique.

ATI driver's working great. glxgears runs at 2366 fps.

Report

ctrawick

15 years ago

Nope. Not nptl. Disabled nptl, same crash same stack.

Report

LMCBoy

15 years ago

Hello,

I'm using CrsytalGL on my home machine with no problems, and I like it a lot!

Unfortunately, I tried installing it at work as well, but it isn't working here. The titlebar and window borders do not get rendered at all, they simply take on whatever pixels exist behind them (i.e., alpha=100%). However, they also are not getting updated properly when I move the window, so I don't think it's just a transparency thing.

Home machine (crystalgl works): Gentoo amd64

Work machine (crystalgl not working): Fedora core 3 i686


I have verified that opengl is working on this machine (glxinfo shows "Direct rendering: yes" and glxgears shows 2000 fps).

Any ideas?

Report

C

dralgebra

15 years ago

What kind of graphics card is in this machine? Which driver?
ich you run kwin --replace out of a terminal, you might get some error messages of kwin and my deco. Maybe this helps me find the error.

Report

Stinker

15 years ago

Hi - I just wanted to install your theme... but behold - I _wants_ arts with no way to disable it.
I'm on amd64 where it just doesn't work (Yeah, you can make it work, but it is still a pain in the ass ;) )
So - could you provide an option to disable arts support? Thanks

Report

Stinker

15 years ago

Ahm sorry... didn't check closely enough. It's all good ;)
So Ignore what I said

Report

s3m10s

15 years ago

Great theme, very kewl. Works great with NVIDIA gl, but with i915 (with _working_ gl subsystem) doesn't render at all. no buttons, and freezes bar pick after copying first background.

Report

darksmileyv2

15 years ago

good stuff m8! this is one of the best window decorations i have ever seen and certainly looks far better than the tacky and overused mac osx transparencies. a little buggy (it slows considerably when firefox is up) so i will look out for later editions, but all things considered very impressive, very smooth, and very customizable!

keep it up! =)


PS Linux rocks!

Report

darksmileyv2

15 years ago

sorry just wanted to add - you can see what ive done with it here:
http://www.theinformationleak.com/linux/newslackdesktop.png

i have noticed tho it tends to crash KDE when firefox is running or when I am switching virtual desktops, but as long as i dont overload it it is ok!

Report

codelib

15 years ago

First thing: this is an awesome deco. Great job. Unfortunately, I can't enjoy it because anytime I move a window towards the bottom of the desktop (about 50% of window below taskbar), X completely freezes. I have to reboot each time. I'm running the following:

Suse 9.1
KDE 3.2.1
Qt 3.3.3
Intel 855GM chipset

Any ideas?

Report

C

dralgebra

15 years ago

My notebook has the same chipset and I have not experienced this behaviour for now. I am very sorry that I see myself helpless facing the freeze problems. I can't fix this on nvidia cards, too.
Thanks a lot for this bug report, but I cannot promise to find a fix.
I think it is most likely a drivers bug, and if, I cannot do anything. On the other hand, my deco seems to be the only software, that is causing problems.
AAAAHHH....
Which X do you use, and which driver? Which kernel module?

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