Home Forums Wiki Doc Install Extras Screenshots Source Code Projects Blog Users Groups Register
Glx-Dock / Cairo-Dock Wiki Activation of Hardware Acceleration
The latest stable release is the *3.4.0* : How to install it here.
Note: We just switched from BZR to Git on Github! (only to host the code and your future pull requests)
Information : The version displayed on this page is not the latest available.
History View code

Glx-Dock / Cairo-Dock




en English

Support Us

Flattr this


Activation of Hardware Acceleration

Sorry, this page is outdated the correct way is described in the forum (search for glitz 0.5.7), until we update this page.

For that we will need Glitz, which is a backend of the libcairo (which mean that libcairo will no longer draw in an X buffer, but directly in a buffer on your graphic card). Interest: this reduces considerably the workload assigned to X (of a factor which can go up to 5 following the CG!) For that your libcairo must be installed with the support of Glitz (that is not the case of the official packages for Ubuntu, so we will have to compile it ourselves).

Download the last sources of libcairo (>=1.4.10) at cairographics.org. You will need the libpixmap (>=0.9.4) and the libglitz (>=0.5.6).

We choose to install them in /usr/local, because we should not over write the versions of the lib already present on your system. You must then make the following manipulation :
export LD_LIBRARY_PATH=/usr/local/lib:${LD_LIBRARY_PATH}
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:${PKG_CONFIG_PATH}

Put it in your ~/.bash_rc, if you do not want to type it each time.

First, compil libpixmap :
./configure --prefix=/usr/local && make
sudo make install

It may be that you have to modify the pixman-1.pc.in file, to replace “pixman” by “pixman-1” (or to establish the link symbolic system on libpixman.so with the hand) if libcairo complains that it cannot find libpixmap (compile again the lib in this case after the change).

Compile Glitz : same method. Then compile libcairo with glitz :
./configure --prefix=/usr/local --enable-glitz && make
sudo make install

It may be that you have to manually place the file cairo-glitz.h in /usr/local/include/cairo (seek it with locate, if you do not have it, catch it on my ftp).

Well done ! Let go to the ultimate step : compiling cairo-dock with the glitz support :
./configure --prefix=/usr --enable-glitz && make clean && make
sudo make install

Here it is done, now the moment of grace ; launch cairo-dock with glitz :
cairo-dock --glitz

And now, you can compare the "top" with and without glitz.
Thanks for your feedback, not a lot of people use this method.

Glx-Dock / Cairo-Dock Wiki Activation of Hardware Acceleration Top

Online users :

Powered by ElementSpeak © 2007 Adrien Pilleboue, 2009-2013 Matthieu Baerts.
Dock based on CSS Dock Menu (Ndesign) with jQuery. Icons by zgegball
Cairo-Dock is a free software under GNU-GPL3 licence. First stable version created by Fabounet.
Many thanks to TuxFamily for the web Hosting and Mav for the domain name.