Results 1 to 10 of 12
Hello, I'm running Slackware 12 (it may be 12.1, but I'm not sure how to check), kernel 2.6.26, 1GB DDR, dual core 1.33ghz intel. I have glitz enabled in cairo, ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 10-22-2008 #1
Cairo-dock with Glitz enabled
I'm running Slackware 12 (it may be 12.1, but I'm not sure how to check), kernel 2.6.26, 1GB DDR, dual core 1.33ghz intel.
I have glitz enabled in cairo, I compiled cairo-dock220.127.116.11 with glitz enabled, but when I run 'cairo-dock -g' It doesn't use glitz. From what I hear, cairo runs much better with glitz, right now it's choppy and sluggish as heck.
Here's a sample of ./configure before I run 'make' and 'make install'
root@darkstar:/home/wahcordian/installs/cairo-dock-18.104.22.168# ./configure --enable-glitz | grep GLITZ checking for GLITZ... yes config.status: WARNING: cairo-dock.pc.in seems to ignore the --datarootdir setting
wahcordian@darkstar:~$ cairo-dock -g warning : (cairo-dock.c:main:432) Attention : Cairo-Dock was not compiled with glitz stack : reperoire local : /home/wahcordian/.cairo-dock/stack
Is that config.status warning a clue I should look at?
- 10-23-2008 #2
- Join Date
- Oct 2008
see on the cairo-dock.org forum, there is a thread discussing about it.
you'll need to install the latest glitz 0.5.7 version, and compile libcairo with --glitz-enabled
Then, launch it with cairo-dock -g, and it will use OpenGL, reducing your CPU down to a few %
- 10-24-2008 #3
I downloaded glitz 0.5.7 and it installed correctly, recompiled cairo (1.4.14), and then recompiled cairo-dock... same thing happened. So I upgraded to cairo-1.8.0. Was getting errors on configure script that I didn't have pixman-1 >= 0.12.
I have since downloaded and installed pixman-1 0.96.0, but cairo-1.8.0 config script can't seem to find it.
checking whether cairo's image surface backend feature could be enabled... no (requires pixman-1 >= 0.12.0 http://cairographics.org/releases/) configure: error: mandatory image surface backend feature could not be enabled
root@darkstar:/home/wahcordian/installs/cairo-1.8.0# pkg-config --modversion pixman-1 0.9.6
- 10-24-2008 #4
hahaha something is not right here, I just realized after my post that 9.6 is less than 12... I thought I had version .96 :P
- 10-24-2008 #5
Alright, I have successfully installed cairo v 1.80 w/ glitz enabled using pixman-1 0.12.0. recompiled / installed cairo-dock, but it still insists what it was not compiled w/ glitz enabled.
This isn't making any sense.
- 10-24-2008 #6
- Join Date
- Oct 2008
did you use the --enable-glitz option for both libcairo and cairo-dock ?
also, did you check it really found and used glitz (check the configure output)
- 10-24-2008 #7
Is this useful?
root@darkstar:/home/wahcordian/installs/cairo-1.8.0# ./configure --enable-glitz > out root@darkstar:/home/wahcordian/installs/cairo-1.8.0# cat out | grep glitz checking for cairo's glitz surface backend feature... checking for glitz... yes checking whether cairo's glitz surface backend feature could be enabled... yes config.status: creating src/cairo-glitz.pc config.status: creating cairo-glitz-uninstalled.pc glitz: yes --- The glitz surface backend feature is still under active development and --- and incompatible changes may yet be made to glitz surface backend root@darkstar:/home/wahcordian/installs/cairo-1.8.0# cat out | grep GLITZ checking for GLITZ_AGL... no checking for GLITZ_EGL... no checking for GLITZ_GLX... yes checking for GLITZ_WGL... no root@darkstar:/home/wahcordian/installs/cairo-1.8.0#
root@darkstar:/home/wahcordian/installs/cairo-dock-22.214.171.124# ./configure --enable-glitz > out config.status: WARNING: cairo-dock.pc.in seems to ignore the --datarootdir setting root@darkstar:/home/wahcordian/installs/cairo-dock-126.96.36.199# cat out > glitz root@darkstar:/home/wahcordian/installs/cairo-dock-188.8.131.52# cat out > GLITZ root@darkstar:/home/wahcordian/installs/cairo-dock-184.108.40.206#
Last edited by wahcordian; 10-24-2008 at 04:18 PM. Reason: added cairo-dock config section
- 10-25-2008 #8
I got It!
okay, it seems to work now. Because I'm installing cairo, glitz, pixman-1, and cairo-dock from source, not slackbuilds, I needed to run removepkg as root on cairo. then rebuild, and copy libcairo.la and libcairo.so into the proper directories according to the build errors in cairo-dock: /usr/lib/.lib/
I have a cairo-dock startup script in my ~/user/Autostart/ directory which seems to work fine, whats strange, however, is that when I try to start an instance of cairo-dock in a console, I get no errors, but all the icons leave a 'trail', they aren't being drawn over between frames of animation. Also, the cairo-l theme runs super slow like it did before, but the rest are noticeably faster.
Thanks again for nutdging me in the right direction!
- 10-27-2008 #9
I looked at my ~/.kde/Autostart/cairo-dock.sh script and it didn't have the glitz argument. I fixed this and now, what I'm calling the 'redraw' error, is persisting on startup as well. Attached is a screen shot of what I'm talking about.
- 10-27-2008 #10
- Join Date
- Oct 2008
there is a patch to apply to libcairo, did you do it too ?