KCometen4
Screensavers
Score 84%
Description:

KCometen4 is an OpenGL KDE screensaver. Inside a box is a nifty light show that features lightning and exploding comets. It lets you configure various effects like comet behavior, camera movement, box face images, etc.
Last changelog:

9 years ago

Version 1.0.8
* Remove legacy configure script.
* Fix a few compiler warnings and an error that prevented compilation with clang.

shaumux

8 years ago

I get this when building.

o CMakeFiles/kcometen4.kss.dir/settings.o CMakeFiles/kcometen4.kss.dir/vec.o -o kcometen4.kss -rdynamic -L/usr/kde/4.2/lib64 -lkio -lkscreensaver -lQtOpenGL -lGLU -Wl,-rpath,/usr/kde/4.2/lib64:::::::::::::::::::
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lQtOpenGL
collect2: ld returned 1 exit status
make[2]: *** [src/kcometen4.kss] Error 1
make[2]: Leaving directory `/var/tmp/portage/kde-misc/kcometen4-1.0.3/work/kcometen4_build'
make[1]: *** [src/CMakeFiles/kcometen4.kss.dir/all] Error 2
make[1]: Leaving directory `/var/tmp/portage/kde-misc/kcometen4-1.0.3/work/kcometen4_build'
make: *** [all] Error 2

Report

C

jstamp

8 years ago

Do you have qt-opengl installed?

Report

shaumux

8 years ago

Yes its installed.
Any other ideas?

Report

C

jstamp

8 years ago

I'll look into it. Is it in gentoo's portage repository?

Report

butt

8 years ago

It's best screensaver what i see.
But.... After opening settings and click use midmaps background in "Test" disapered, and i cant move it back

Report

C

jstamp

8 years ago

That's strange. I haven't seen that before.

Please send me an email that has before/after screenshots and your ~/.kde4/share/config/kcometen4.kssrc config file.

Thanks.

Report

butt

8 years ago

I delete ~/.kde/share/config/kcometen4.kssrc
Open settings dialog
Click "test"
All fine
Click "test"
All BAD :-) (no background)
If i set bg to photo dir all fine
Quote:$ cat kcometen4.kssrc
[Settings]
bgdir=
bgfile=
bgsize=2
bgtype=0
color=0
cube=false
curvecomet=true
fov=76
freecamera=true
freecamspeed=1.5
interval=1.25
lightning=true
matrix=true
maxfps=60
mipmaps=false
particledensity=100
rotatecomet=true
sizescale=2.5
slowmotion=true
splitcomet=true
timescale=1

Report

C

jstamp

8 years ago

Thanks for that. I am able to reproduce the problem. I'll see what I can find out.

Report

dutchslab

8 years ago

Hi-

Very cool screensaver!

I'm running KDE4 on Kubuntu.

I managed to compile and and also ran make install.

If I type kcometen4.kss, the demo works fine, but if go to System Settings, Desktop, Screen Saver, it doesnt show up.

How would I go about configuring this as the default screensaver?

tia,
geremy

Report

C

jstamp

8 years ago

Thanks!

I mentioned a fix above but it got buried in a thread. It looks like KDE isn't searching for screensaver .desktop files under /usr/local.

A quick workaround is to copy kcometen4.desktop into your user settings. Some distros have that under ~/.kde4, but Ubuntu's is under ~/.kde So:

cp kcometen4.desktop \
~/.kde/share/kde4/services/ScreenSavers/kcometen4.desktop

It should now appear in System Settings.

Report

dutchslab

8 years ago

worked like a charm, thanks again for the help, and the sweet screensaver!

Report

ororo

8 years ago

Can anyone help me?
-----
make[2]: *** No rule to make target `/build/buildd/kde4libs-4.1.2/obj-i486-linux-gnu/lib/libkdecore.so', needed by `src/kcometen4.kss'. Stop.
make[2]: Leaving directory `/home/vercelli/Download/kcometen4-1.0.3/build'
make[1]: *** [src/CMakeFiles/kcometen4.kss.dir/all] Error 2
make[1]: Leaving directory `/home/vercelli/Download/kcometen4-1.0.3/build'
make: *** [all] Error 2

Report

C

jstamp

8 years ago

That is a very strange error. What steps did you follow for compiling? What distribution/version are you using?

Report

cordetese

8 years ago

I get the same error :-(, on a Kubuntu 8.10. Any hint?

Report

C

jstamp

8 years ago

This looks like a bug in Ubuntu's kdelibs5-dev package.

See the file
/usr/share/kde4/apps/cmake/modules/KDELibsDependenciesInternal.cmake

It adds the following nonexistent library to solid_LIB_DEPENDS:
/build/buildd/kde4libs-4.1.2/obj-i486-linux-gnu/lib/libkdecore.so

You might want to file a bug report with the Ubuntu folks.


You can work around it for now. You can either edit the above file, or, once you get this compile error, look for the bad library location in:
build/src/CMakeFiles/kcometen4.kss.dir/build.make

Change it to: /usr/lib/libkdecore.so

Then run make again.

Report

cordetese

8 years ago

Thanks! Now it compiles without error.... but I'm not able to see the screensaver in the list of available ones!
Any other useful suggestion? :-)

Report

C

jstamp

8 years ago

Looks like KDE isn't checking the local installation directory for the screensaver desktop file. I don't know why that would be.

Try this:
cp /usr/local/share/kde4/services/ScreenSavers/kcometen4.desktop \
~/.kde/share/kde4/services/ScreenSavers

Report

cordetese

8 years ago

Great! Now all works fine! (I've tried something like this, but I use the wrong directory...).

Thanks a lot!

Report

k0nt3

9 years ago

it's very slow on my intel graphics card, maybe you should add some option in the configuration dialog.
to make it run I had to edit the file cometen3.cpp
I commented out some lines like this:

glShadeModel(GL_SMOOTH);
glClearColor(0.0, 0.0, 0.0, 1.0);
glClearDepth(1.0);
glDepthFunc(GL_LEQUAL);
/*glEnable(GL_POINT_SMOOTH);
glEnable(GL_LINE_SMOOTH);
glHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_NICEST);
glHint(GL_POINT_SMOOTH_HINT, GL_NICEST);
glHint(GL_POLYGON_SMOOTH_HINT, GL_NICEST);
glHint(GL_LINE_SMOOTH_HINT, GL_NICEST);*/
glFrontFace(GL_CW);
/*glPointParameterfARB(GL_POINT_FADE_THRESHOLD_SIZE_ARB, 60.0);
glPointParameterfARB(GL_POINT_SIZE_MIN_ARB, 0.0);
glPointParameterfARB(GL_POINT_SIZE_MAX_ARB, 1000.0);*/

Report

C

jstamp

9 years ago

Thanks for looking into that. It helps a lot.

With those lines commented out I don't notice a difference in the quality of the comet tails. Do you?

Report

k0nt3

9 years ago

I don't know because before I wasn't able to see anything :P
however all seems as it should be, I like it :)

I suppose that the problem with intel cards it's in the last 3 lines:
glPointParameterfARB(GL_POINT_FADE_THRESHOLD_SIZE_ARB, 60.0);
glPointParameterfARB(GL_POINT_SIZE_MIN_ARB, 0.0);
glPointParameterfARB(GL_POINT_SIZE_MAX_ARB, 1000.0);

about this I found a discussion at gamedev.net
http://www.gamedev.net/community/forums/topic.asp?topic_id=403529

can you notice some difference in comets' size disabling those lines?

Report

C

jstamp

9 years ago

Perhaps. Looking more closely at the problem, it seems that a number of people have difficulties when GL_POINT_SMOOTH is enabled while using Intel (and some other) drivers.

I'll send you a link to a test tarball when I get a chance.

Report

k0nt3

9 years ago

maybe I've found something interesting...
there's a demo included in mesa that use those extensions (you can find the source here http://www.sfr-fresh.com/unix/misc/MesaDemos-7.1.tar.gz:a/Mesa-7.1/progs/demos/spriteblast.c).
if I try to run it I get a message in the console and the demo doesn't start:
Sorry, this demo requires GL_ARB_point_sprite.

so definitely my graphics card doesn't support GL_ARB_point_sprite :F

the code that detect the presence of those extensions in the demo is the following:

if (!glutExtensionSupported("GL_ARB_point_sprite")) {
printf("Sorry, this demo requires GL_ARB_point_sprite.\n");
exit(0);
}
if (!glutExtensionSupported("GL_ARB_point_parameters")) {
printf("Sorry, this demo requires GL_ARB_point_parameters.\n");
exit(0);
}

maybe you can adapt it

Report

k0nt3

9 years ago

sorry kcometen use only GL_ARB_point_parameters and it appears that intel support this

if you have to test something just send me the link to download ;)

Report

format

9 years ago

how may i solve this?

Linking CXX executable kcometen4.kss
/usr/bin/ld: cannot find -lkfile
collect2: ld returned 1 exit status
make[2]: *** [src/kcometen4.kss] Error 1
make[1]: *** [src/CMakeFiles/kcometen4.kss.dir/all] Error 2
make: *** [all] Error 2

Report

9 years ago

Version 1.0.8
* Remove legacy configure script.
* Fix a few compiler warnings and an error that prevented compilation with clang.

File (click to download) Version Description Filetype Packagetype License Downloads Date Filesize OCS-Install DL
Details
version
1.0.8
updated Jul 30 2010
added Aug 20 2008
downloads today
0
page views today 7