Editing Maemo 5 Clutter performance

Warning: You are not logged in. Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 5: Line 5:
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.
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==
+
===Debian Lenny with ATI drivers===
   
   
Graphics card on the test machine: Dell Latitude d610 ATI Mobility Radeon X300
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:
+
Following the instruction in http://forums.debian.net/viewtopic.php?t=17776 helped. Shortly,
-
<ol>
+
* Add the "Non-DFSG-compatible Software (non-free) into software sources
-
<li>
+
* Install module-assistant build-essential linux-headers-$(uname -r) fglrx-amdcccle fglrx-control fglrx-driver fglrx-kernel-src  
-
Add the "Non-DFSG-compatible Software (non-free) into software sources
+
* Reboot into Single User Mode. Enter the root password
-
</li>
+
* Give commands:  
-
<li>
+
$> m-a prepare
-
Install:
+
$> m-a a-i fglrx
-
<ul>
+
$> modprobe -v fglrx
-
<li>module-assistant</li>
+
-
<li>build-essential</li>
+
-
<li>linux-headers-$(uname -r)</li>
+
-
<li>fglrx-amdcccle</li>
+
-
<li>fglrx-control</li>
+
-
<li>fglrx-driver</li>
+
-
<li>fglrx-kernel-src</li>
+
-
</ul>
+
-
</li>
+
-
<li>
+
-
Reboot into Single User Mode. Enter the root password
+
-
</li>
+
-
<li>
+
-
Give commands:
+
-
<pre>
+
-
$> m-a prepare
+
-
$> m-a a-i fglrx
+
-
$> modprobe -v fglrx
+
-
</pre>
+
-
</li>
+
-
<li>
+
-
Add the <code>Driver</code> line and <code>DefaultDepth</code> line to <code>xorg.conf</code> files.
+
-
<pre>
+
-
Section "Device"
+
-
      Driver          "fglrx"
+
-
EndSection
+
-
Section "Screen"
+
-
      DefaultDepth 24
+
-
EndSection
+
-
</pre>
+
-
</li>
+
-
</ol>
+
-
==Debian Lenny with Intel drivers==
+
* Add the Driver line and DefaultDepth line to xorg.conf files.
 +
 
 +
Section "Device"
 +
        Driver          "fglrx"
 +
EndSection
 +
Section "Screen"
 +
        DefaultDepth 24
 +
EndSection
 +
 
 +
 
 +
===Debian Lenny with Intel drivers===
Test machine: Dell Optiplex GX620
Test machine: Dell Optiplex GX620
Line 60: Line 38:
To get the UI framework to work with usable speed we need newer version of the kernel.
To get the UI framework to work with usable speed we need newer version of the kernel.
-
<ol>
+
*Install packages needed for compilation:
-
<li>
+
sudo apt-get install kernel-package ncurses-dev fakeroot zlib1g-dev
-
Install packages needed for compilation:
+
 
-
<pre>
+
*Fetch the source code from kernel.org
-
sudo apt-get install kernel-package ncurses-dev fakeroot zlib1g-dev
+
wget http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.28.1.tar.bz2
-
</pre>
+
 
-
</li>
+
*Unpack the kernel sources:
-
<li>
+
tar xjf linux-2.6.28.1.tar.bz2
-
Fetch the source code from kernel.org
+
cd linux-2.6.28.1
-
<pre>
+
 
-
wget http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.28.1.tar.bz2</pre>
+
*Run menuconfig and load the current kernel configuration file from /boot/ directory, e.g /boot/config-2.6.26-2-686 and save it to your source directory with name .config.
-
</li>
+
 
-
<li>
+
make menuconfig
-
Unpack the kernel sources:
+
 
-
<pre>
+
*And select options:
-
tar xjf linux-2.6.28.1.tar.bz2
+
Load an Alternate Configuration File
-
cd linux-2.6.28.1
+
 
-
</pre>
+
Save Configuration to an Alternate File
-
</li>
+
 
-
<li>
+
*Then run the following commands:
-
Run menuconfig and load the current kernel configuration file from <code>/boot/</code> directory, e.g <code>/boot/config-2.6.26-2-686</code> and save it to your source directory with name <code>.config</code>.
+
fakeroot make-kpkg --initrd --revision=custom.1.0 kernel_image
-
<pre>
+
 
-
make menuconfig
+
*If no error occurs you will find the new kernel from parent directory as a Debian package called linux-image-2.6.28.1_custom.1.0_i386.deb
-
</pre>
+
 
-
</li>
+
*Install the new kernel:
-
<li>
+
sudo dpkg -i linux-image-2.6.28.1_custom.1.0_i386.deb
-
And select options:
+
 
-
<ul>
+
*Reboot
-
<li>Load an Alternate Configuration File</li>
+
 
-
<li>Save Configuration to an Alternate File</li>
+
 
-
</ul>
+
-
</li>
+
-
<li>
+
-
Then run the following commands:
+
-
<pre>
+
-
fakeroot make-kpkg --initrd --revision=custom.1.0 kernel_image
+
-
</pre>
+
-
</li>
+
-
<li>
+
-
If no error occurs you will find the new kernel from parent directory as a Debian package called <code>linux-image-2.6.28.1_custom.1.0_i386.deb</code>
+
-
</li>
+
-
<li>
+
-
Install the new kernel:
+
-
<pre>
+
-
sudo dpkg -i linux-image-2.6.28.1_custom.1.0_i386.deb
+
-
</pre>
+
-
</li>
+
-
<li>
+
-
Reboot
+
-
</li>
+
-
</ol>
+
Alternative way.
Alternative way.
Line 116: Line 73:
Steps:
Steps:
-
<ol>
+
*Add the repository of debian unstable (e.g deb http://ftp.fi.debian.org/debian/ sid main) to /etc/apt/sources.list
-
<li>
+
sudo apt-get update  
-
Add the repository of debian unstable (e.g deb http://ftp.fi.debian.org/debian/ sid main) to <code>/etc/apt/sources.list</code>
+
sudo apt-get install linux-image-2.6.29-2-486
-
<pre>
+
 
-
sudo apt-get update  
+
*Remember to remove repository of debian unstable from /etc/apt/sources.list and run  
-
sudo apt-get install linux-image-2.6.29-2-486
+
sudo apt-get update
-
</pre>
+
 
-
</li>
+
Reboot
-
<li>
+
 
-
Remember to remove repository of debian unstable from <code>/etc/apt/sources.list</code> and run:
+
 
-
<pre>
+
 
-
sudo apt-get update
+
An other alternative:
-
</pre>
+
*Install the compiz window manger.
-
</li>
+
 
-
<li>
+
sudo apt-get install compiz
-
Reboot
+
*And run the compiz
-
</li>
+
-
</ol>
+
-
Another alternative:
+
compiz --replace
-
# Install the compiz window manger.<pre>sudo apt-get install compiz</pre>
+
-
# And run the compiz<pre>compiz --replace</pre>
+
-
==Ubuntu with nVidia/ATI drivers==
+
===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.)
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==
+
===Ubuntu with Intel drivers===
Graphics card on the test machine: Intel Corporation 82945G/GZ Integrated Graphics Controller (rev 02)
Graphics card on the test machine: Intel Corporation 82945G/GZ Integrated Graphics Controller (rev 02)
Line 151: Line 104:
'''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.
'''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==
+
===Fedora 10 with Intel drivers===
SDK has worked alright here without additional installations.
SDK has worked alright here without additional installations.
-
==Useful links==
+
===Useful links===
* http://www.h-online.com/open/Ubuntu-9-04-and-Intel-graphics--/features/113196
* http://www.h-online.com/open/Ubuntu-9-04-and-Intel-graphics--/features/113196
* https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/262164
* https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/262164

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)