The Following 26 Users Say Thank You to AapoRantalainen For This Useful Post: | ||
anthonie, auouymous, Bad_Habit, Bahador, bipinbn, cddiede, cproc, don_falcone, Estel, freemangordon, fw190, gregoranderson, hyno111, imo, ivyking, lma, MaddogG, misiak, MohammadAG, nkirk, panjgoori, reinob, sifo, Sourav.dubey, szopin |
|
2012-04-04
, 09:23
|
Posts: 3,074 |
Thanked: 12,960 times |
Joined on Mar 2010
@ Sofia,Bulgaria
|
#2
|
|
2012-04-04
, 09:41
|
Posts: 839 |
Thanked: 3,386 times |
Joined on Mar 2009
|
#3
|
no matter what toolkit we are using, it will always be slower that HW accelerated graphics. Or not?
|
2012-04-04
, 09:51
|
Posts: 293 |
Thanked: 163 times |
Joined on Jan 2012
@ beijing-islamabad
|
#4
|
|
2012-04-04
, 10:00
|
Posts: 1,048 |
Thanked: 1,127 times |
Joined on Jan 2010
@ Amsterdam
|
#5
|
|
2012-04-04
, 10:43
|
Posts: 1,225 |
Thanked: 1,905 times |
Joined on Feb 2011
@ Quezon City, Philippines
|
#6
|
|
2012-04-04
, 21:29
|
Posts: 2,076 |
Thanked: 3,268 times |
Joined on Feb 2011
|
#7
|
The Following 4 Users Say Thank You to szopin For This Useful Post: | ||
|
2012-04-04
, 21:40
|
Posts: 3,074 |
Thanked: 12,960 times |
Joined on Mar 2010
@ Sofia,Bulgaria
|
#8
|
Just one quick question: is nemo using proprietary blobs? It works quite impressively fast. If they somehow skipped closed-source HW acceleration I see no reason why any action on hildon-desktop would take 5 seconds per action on soft.
Impressive work Aapo, pls keep it up.
The Following 5 Users Say Thank You to freemangordon For This Useful Post: | ||
So in this thread do not ask 'why'. Ask (/answer) 'how/who/when' instead.
I made first testing how to run Mamo5 on N900 without closed source gles1 or gles2 (uninstalled both!).
I got it working. Desktop is very slow, but as you get some application running, it is normal speed (expect every dialogs are slow). Going to dashboard is slow. Slow means 5 seconds for any action.
Even there are packages to download and guide to use them: This is not really meant to be used, it is just first test.
Beware messing with hildon-desktop can trigger watchdog to reboot your phone (and can cause reboot loop).
Step 0
I tested this with starting flashing this
RX-51_2009SE_20.2010.36-2_PR_COMBINED_MR0_ARM.bin
#upgrade to the PR.1.3.1
#not necessarily, but just showing my setup with every detail
apt-get update
apt-get upgrade
#I installed these:
apt-get install openssh-server wget
#Step 1
#Download xserver-xomap package and install it
wget http://cc.oulu.fi/~rantalai/maemo/fr...+0m5_armel.deb
dpkg -i xserver-xomap_1.6.99.1-0osso20090208.108\+0m5_armel.deb
#Step 2
#Install software GL
#it installs also libosmesa6
apt-get install libgl1-mesa-swx11
#Step 3
#Download and install libclutter, which is compiled against GL, not GLES
wget http://cc.oulu.fi/~rantalai/maemo/fr...+0m5_armel.deb
dpkg -i libclutter-0.8-0_0.8.2-0maemo66\+0m5_armel.deb
#IMPORTANT!
#create symlink
#This is for hildon-desktop (it is looking clutter in old name)
#Alternative way is to rebuilt hildon-desktop (clutter-glx installed)
ln -s libclutter-glx-0.8.so.0.800.2 /usr/lib/libclutter-eglx-0.8.so.0
#Step 4
#Remove gles2
#It will remove these: libgles2-sgx-img libqt4-declarative libqt4-gui libqt4-maemo5 libqt4-multimedia libqt4-opengl libqt4-phonon libqt4-svg libqt4-webkit libqtm-bearer libqtm-contacts libqtm-messaging libqtm-multimedia libqtm-sensors libqtm-serviceframework libqtm-systeminfo libqtm-versit mp-fremantle-generic-pr qtm-maemo-metapackage
apt-get remove libgles2-sgx-img
#Step 5
reboot
-----
For developer:
#Step 1
#Rebuild xserver-xomap
apt-get source xserver-xomap
debian/control:
Package: xserver-xomap (it is metapackage)
Remove dependencies: opengles-sgx-img-common, libgles2-sgx-img
dpkg-buildpackage
#Step 2
#Rebuild libclutter
#You really need version clutter_0.8.2-0maemo66+0m5, if it downloads clutter-1.0, use http://maemo.org/packages/view/libclutter-0.8-0/
apt-get source libclutter-0.8-0
change debian/rules --with-flavour=glx
#Fix issue of matchbox
clutter/glx/clutter-glx-texture-pixmap.c:722
+ClutterActor * clutter_eglx_texture_pixmap_new (void)
+{
+ return clutter_glx_texture_pixmap_new();
+}
debian/control
drop gles on dependency
dpkg-buildpackage
#Step3
#Testing new hildon-desktop on phone
flasher-3.5 --set-rd-flags=no-lifeguard-reset
#If you have no-lifeguard-reset you can kill hildon-desktop
as root
(as user)
Next we need hildon-desktop which is not using gl/gles (means clutter).
Possible way to continue:
a) fork hildon-desktop
https://gitorious.org/community-ssu/hildon-desktop It is now part of CSSU and it is still developed, so forking would not be very wise.
b) fork clutter-0.8 and add option to not use gl/gles at all
This would be hard, because clutter is actually 'only' wrapper for openGL(ES).
c) create libfakeclutter
(clutter might be good starting point)
Library which is using some supported GUI-toolkit (QT/gtk/FLTK/X) but has function names clutter_actor_set_width and so on (only these needed what hildon-desktop is using).