On Fri, Feb 05, 2010 at 09:50:30AM +0200, Uri Yosef wrote:
> Hi All,
>
> I managed to run Gnash on mini2440
> <http://www.friendlyarm.net/products/mini2440>board, this board is based on
> s3c2440 SoC (ARM9 400MHz) and has only 64Mb SDRAM.
>
> I can run few SWF files but it's play very slow.
>
> Is there anything I can do to improve it?
> The quality is not important for me at this stage.
1) Try playing a bit with -d switch (actually not sure FB "gui"
really makes use of that)
I did try -d (FB gui uses it) but it did not improved the movie speed, it did improved the input events handling a bit.
Did not help.
~ # opcontrol --vmlinux=/vmlinux
~ # opcontrol --start
Using 2.6+ OProfile kernel interface.
Reading module info.
Using log file /var/lib/oprofile/samples/oprofiled.log
Daemon started.
Profiler running.
~ # gnash /pacman-flash.swf
ALSA lib /home/uri/URIX-SDK/sources/alsa-lib-1.0.22/src/pcm/pcm.c:7236:(snd_pcm_recover) underrun occured
~ # opcontrol --dump
~ # opcontrol --stop
Stopping profiling.
~ # opreport -l
Overflow stats not available
warning: /oprofile could not be found.
CPU: CPU with timer interrupt, speed 0 MHz (estimated)
Profiling through timer interrupt
samples % app name symbol name
2428 20.5763 libstdc++.so.6.0.12 /usr/lib/libstdc++.so.6.0.12
578 4.8983 libgcc_s.so.1 /lib/libgcc_s.so.1
459 3.8898 fb-gnash /bin/fb-gnash
443 3.7542 libavcodec.so.52.20.0 /lib/libavcodec.so.52.20.0
126 1.0678 libagg.so.2.0.4 /lib/libagg.so.2.0.4
54 0.4576 busybox /bin/busybox
23 0.1949 libboost_thread.so.1.42.0 /lib/libboost_thread.so.1.42.0
22 0.1864 libSDL-1.2.so.0.11.3 /lib/libSDL-1.2.so.0.11.3
11 0.0932 libasound.so.2.0.0 /lib/libasound.so.2.0.0
5 0.0424 oprofile /oprofile
5 0.0424 oprofiled opd_process_samples
5 0.0424 oprofiled pop_buffer_value
4 0.0339 oprofiled odb_update_node_with_offset
4 0.0339 oprofiled sfile_find
2 0.0169 oprofiled odb_open
1 0.0085 oprofiled is_cookie_ignored
~ #