Maemo 5 Clutter performance
This page has been created so that all working solutions to get the clutter performace better in the SDK can be consolidated.
Since the SDK uses Clutter and 3d effects, the speed of the UI depends greatly on the 3D acceleration speed on the host system. For many popular display adapters (nVidia, ATI) this means that the vendor provided closed source driver is needed for fully utilizing the 3D acceleration provided by the hardware. Using Intel cards, the hardware acceleration should basically work with the available open source drivers, but unfortunately some versions of the driver have been buggy in a way that causes problems for the 3d accelerated applications and thus also the SDK.
Here are some scenarios that have worked during the internal testing activity. Please add in any related information that you feel may help the users of the Maemo 5 SDK.
 Debian Lenny with ATI drivers
Graphics card on the test machine: Dell Latitude d610 ATI Mobility Radeon X300
Following the instruction in http://forums.debian.net/viewtopic.php?t=17776 helped. Shortly:
- Add the "Non-DFSG-compatible Software (non-free) into software sources
- linux-headers-$(uname -r)
- Reboot into Single User Mode. Enter the root password
$> m-a prepare $> m-a a-i fglrx $> modprobe -v fglrx
Section "Device" Driver "fglrx" EndSection Section "Screen" DefaultDepth 24 EndSection
 Debian Lenny with Intel drivers
Test machine: Dell Optiplex GX620
Display controller:Intel Corporation 82945G/GZ Integrated Graphics Controller (rev 02)
Display controller driver:xserver-xorg-video-intel version 2:2.3.2-2+lenny6
To get the UI framework to work with usable speed we need newer version of the kernel.
Install packages needed for compilation:
sudo apt-get install kernel-package ncurses-dev fakeroot zlib1g-dev
Fetch the source code from kernel.org
Unpack the kernel sources:
tar xjf linux-126.96.36.199.tar.bz2 cd linux-188.8.131.52
Run menuconfig and load the current kernel configuration file from
/boot/config-2.6.26-2-686and save it to your source directory with name
And select options:
- Load an Alternate Configuration File
- Save Configuration to an Alternate File
Then run the following commands:
fakeroot make-kpkg --initrd --revision=custom.1.0 kernel_image
If no error occurs you will find the new kernel from parent directory as a Debian package called
Install the new kernel:
sudo dpkg -i linux-image-184.108.40.206_custom.1.0_i386.deb
Alternative way. If you don't want to compile the kernel from source you could install the latest kernel from Debian unstable.
Add the repository of debian unstable (e.g deb http://ftp.fi.debian.org/debian/ sid main) to
sudo apt-get update sudo apt-get install linux-image-2.6.29-2-486
Remember to remove repository of debian unstable from
sudo apt-get update
- Install the compiz window manger.
sudo apt-get install compiz
- And run the compiz
 Ubuntu with nVidia/ATI drivers
Installing restricted drivers by Ubuntu gets the UI framework in usable speed. This does bring along some desktop effects that one may not like. (We just turned such effects off.)
 Ubuntu with Intel drivers
Graphics card on the test machine: Intel Corporation 82945G/GZ Integrated Graphics Controller (rev 02) In the recent update of Ubuntu Jaunty, there are improvements. A default installation of Ubuntu Jaunty works OK with the desktop effects enabled.
Update: With the Fremantle beta2 release the Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07) aka 4500MHD aka GM45 on Ubuntu 9.04 seems to work fast out of the box without any special configuration.
 Fedora 10 with Intel drivers
SDK has worked alright here without additional installations.
 Useful links
- This page was last modified on 9 December 2010, at 11:05.
- This page has been accessed 12,258 times.