Notices


Reply
Thread Tools
Posts: 3,401 | Thanked: 1,255 times | Joined on Nov 2005 @ London, UK
#431
Test #2 - N800 Demo video

Code:
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Trying to force audio codec driver family dspmp3...
Opening audio decoder: [dspmp3] MP3 audio pass-through for Nokia 770/N800 (fake decoder)
AUDIO: 48000 Hz, 2 ch, ??, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [dspmp3] afm: dspmp3 (MP3 audio pass-through for Nokia 770)
==========================================================================
AO: [gst] 48000Hz 2ch ?? (1 bytes per sample)
Starting playback...
VDec: vo config request - 400 x 240 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xv] 400x240 => 426x240 Planar YV12  [fs] [zoom]
Stock xserver - entire video benchmark
Code:
BENCHMARKs: VC:  30.440s VO:  14.304s A:   0.492s Sys:  57.487s =  102.723s
BENCHMARK%: VC: 29.6333% VO: 13.9248% A:  0.4791% Sys: 55.9628% = 100.0000%
BENCHMARKn: disp: 2501 (24.35 fps)  drop: 0 (0%)  total: 2501 (24.35 fps)
Patched xserver - entire video benchmark
Code:
BENCHMARKs: VC:  31.618s VO:   7.160s A:   0.506s Sys:  62.193s =  101.477s
BENCHMARK%: VC: 31.1580% VO:  7.0560% A:  0.4983% Sys: 61.2878% = 100.0000%
BENCHMARKn: disp: 2500 (24.64 fps)  drop: 0 (0%)  total: 2500 (24.64 fps)

Last edited by Milhouse; 2007-05-04 at 06:48.
 
Posts: 3,401 | Thanked: 1,255 times | Joined on Nov 2005 @ London, UK
#432
Test #3 - Return of the King Trailer

Code:
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Trying to force audio codec driver family dspmp3...
Opening audio decoder: [dspmp3] MP3 audio pass-through for Nokia 770/N800 (fake decoder)
AUDIO: 48000 Hz, 2 ch, ??, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [dspmp3] afm: dspmp3 (MP3 audio pass-through for Nokia 770)
==========================================================================
AO: [gst] 48000Hz 2ch ?? (1 bytes per sample)
Starting playback...
VDec: vo config request - 480 x 266 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.80:1 - prescaling to correct movie aspect.
VO: [xv] 480x266 => 480x266 Planar YV12  [fs] [zoom]
Stock xserver - 60 second benchmark
Code:
BENCHMARKs: VC:  40.883s VO:  16.370s A:   0.340s Sys:   3.981s =   61.574s
BENCHMARK%: VC: 66.3959% VO: 26.5864% A:  0.5527% Sys:  6.4649% = 100.0000%
BENCHMARKn: disp: 1697 (27.56 fps)  drop: 103 (5%)  total: 1800 (29.23 fps)
Patched xserver - 60 second benchmark
Code:
BENCHMARKs: VC:  43.446s VO:   6.558s A:   0.353s Sys:  11.080s =   61.436s
BENCHMARK%: VC: 70.7173% VO: 10.6741% A:  0.5744% Sys: 18.0342% = 100.0000%
BENCHMARKn: disp: 1775 (28.89 fps)  drop: 25 (1%)  total: 1800 (29.30 fps)
 
Posts: 3,401 | Thanked: 1,255 times | Joined on Nov 2005 @ London, UK
#433
Version .16 is the best yet! The only problem I've noticed so far is that the screen is blanking (due to power management) while the video is playing (at least, it is blanking when playing from the command line).

Tearing would seem to be entirely eliminated - I can't say I noticed a single tear during my testing.

The patched xserver does appear to have a beneficial impact - typically the time taken to output video is reduced by at least 50% when compared with the unpatched xserver.

Excellent work Serge!
 
Posts: 372 | Thanked: 9 times | Joined on Mar 2007
#434
How did you benchmark original xserver? Was that done before the upgrade or there's a way to switch between them?
 
Posts: 503 | Thanked: 267 times | Joined on Jul 2006 @ Helsinki
#435
Originally Posted by Milhouse View Post
The only problem I've noticed so far is that the screen is blanking (due to power management) while the video is playing (at least, it is blanking when playing from the command line).
That's strange, blanking should be disabled on video playback. Can you provide some more details about how to reproduce this problem (your power management settings, etc.)?

Also it would be good if hafken provided a sample video for audio problem he managed to encounter. Otherwise we have very little chances of getting this particular bug fixed.
 
Posts: 27 | Thanked: 0 times | Joined on Apr 2007 @ Pleasant Valley, NY
#436
Originally Posted by Karel Jansens View Post
Do you have virtual memory enabled? I noticed discernable differences in Mplayer with (and without) virtual memory.

Yes, I have Virtual Memory of 128M enabled.
r16 seems to be working fine for me with no issues seen yet.

Last edited by helmutk; 2007-05-04 at 14:56.
 
Posts: 3,401 | Thanked: 1,255 times | Joined on Nov 2005 @ London, UK
#437
Originally Posted by luketoh View Post
How did you benchmark original xserver? Was that done before the upgrade or there's a way to switch between them?
I'm in the fortunate position where I have two N800s - both with the latest SDHC kernel, but one now has the patched xserver.
 
Posts: 3,401 | Thanked: 1,255 times | Joined on Nov 2005 @ London, UK
#438
Originally Posted by Serge View Post
That's strange, blanking should be disabled on video playback. Can you provide some more details about how to reproduce this problem (your power management settings, etc.)?
Hi Serge. It may actually be a problem specific to the patched xserver (I used Fanoush's deb) - I'm not able to reproduce the problem with the stock xserver.

When running mplayer from the command line with the patched xserver (extra detail - I had sudo'd to root) the screen will blank - my settings are 2 and 5 minutes, LED enabled, Lock screen & keys not checked, default brightness 7 bars. When running mplayer via the GUI app the screen doesn't dim/blank - it's only a problem when using the command line. Nothing special on the command line - just "mplayer -benchmark -quiet <filename>".

Since it appears specific to the patched xserver, it's possibly a bug or issue introduced since the last 3.2007.10-7 release, or a patch build.
 
Posts: 3,401 | Thanked: 1,255 times | Joined on Nov 2005 @ London, UK
#439
Originally Posted by luketoh View Post
How did you benchmark original xserver? Was that done before the upgrade or there's a way to switch between them?
Looking at the patched xserver deb from Fanoush, there are quite a few files in the deb along with the modified Xomap binary. Most of these other files seem to be startup and configuration scripts, probably identical to the existing files (?). Therefore it may be possible to revert back to the original xserver by simply replacing /usr/bin/Xomap (original file size 837992, patched file size 928416).

The file is too large to attach, but you can grab it from here if you're brave enough to try it!

http://www.nmacleod.com/n800/Xomap-3.2007.10-7.zip
 
Posts: 503 | Thanked: 267 times | Joined on Jul 2006 @ Helsinki
#440
Originally Posted by Milhouse View Post
Hi Serge. It may actually be a problem specific to the patched xserver (I used Fanoush's deb) - I'm not able to reproduce the problem with the stock xserver.

When running mplayer from the command line with the patched xserver (extra detail - I had sudo'd to root) the screen will blank - my settings are 2 and 5 minutes, LED enabled, Lock screen & keys not checked, default brightness 7 bars. When running mplayer via the GUI app the screen doesn't dim/blank - it's only a problem when using the command line. Nothing special on the command line - just "mplayer -benchmark -quiet <filename>".
Thanks for the detailed description, that's an excellent example of ideal bugreport

Apparently it is running mplayer after logging as user and doing 'sudo gainroot' does not let blanking prevention to work properly. Moreover, I just tested mplayer on Nokia 770 and it just crashes in the same circumstances. When just running mplayer as user or root without sudo stuff, everything works properly. The patched xserver is not responsible for this issue. The problem existed in mplayer since the very beginning, but was not noticed before as mplayer is not usually run in such a way (and it should never happen when mplayer is launched from gui). This bug is not very serious and can be easily avoided on normal mplayer use, but I'll try to see what can be done to fix it.

By the way, you can get original unmodified N800 xserver back by downloading and reinstalling it from http://repository.maemo.org/pool/bor...so31_armel.deb

And a warning for Nokia 770 users (forgot to mention it in my announcement post, but this should be quite obvious anyway) - don't try to install this patched xserver on your devices even if you have OS2007 hackers edition, or at least don't blame me if you do (this particular video improvement is N800 hardware specific, so has no chances to be useful on Nokia 770).
 
Reply


 
Forum Jump


All times are GMT. The time now is 13:16.