Panda: HTML5 video playback is not smooth

Bug #989651 reported by Abhishek Paliwal
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro Ubuntu
Confirmed
Medium
Unassigned
linaro-landing-team-ti
Fix Released
Low
Unassigned

Bug Description

Description:
-------------------
Testing : https://wiki.linaro.org/Platform/QA/TestCases/Ubuntu#Youtube:_HTML_5_support
Video playback is very slow and jittery (Slowness is not due to network bandwidth)

Steps:
------
Follow: https://wiki.linaro.org/Platform/QA/TestCases/Ubuntu#Youtube:_HTML_5_support

Reproducible:
--------------
yes

Software:
----------
Images:
http://snapshots.linaro.org/precise/hwpacks/lt-panda-x11-base/10/hwpack_linaro-lt-panda-x11-base_20120426-10_armhf_supported.tar.gz
http://snapshots.linaro.org/precise/images/ubuntu-desktop/119/linaro-precise-ubuntu-desktop-20120426-119.tar.gz

sd card image created:
sudo linaro-media-create --mmc /dev/sdb --dev panda --hwpack hwpack_linaro-lt-panda-x11-base_20120426-10_armhf_supported.tar.gz --binary linaro-precise-ubuntu-desktop-20120426-119.tar.gz

Hardware:
-----------
Panda 4430

Paul Larson (pwlars)
tags: added: linaro-ubuntu youtube
Revision history for this message
Abhishek Paliwal (abhishek-paliwal) wrote :
Anmar Oueja (anmar)
no longer affects: igloocommunity
Revision history for this message
Botao (botao-sun) wrote :

On hardware pack:

http://snapshots.linaro.org/precise/hwpacks/lt-panda-x11-base/69/hwpack_linaro-lt-panda-x11-base_20120523-69_armhf_supported.tar.gz

with ubuntu image:

http://snapshots.linaro.org/precise/images/ubuntu-desktop/175/linaro-precise-ubuntu-desktop-20120523-175.tar.gz

After click the YouTube under WiFi connection mode in Firefox, the system suddenly logged out automatically. After enter the password and logged in, I got a black screen at the end.

Paul Larson (pwlars)
summary: - Panda: HTML5 video playback is not smooth
+ HTML5 video playback is not smooth
Revision history for this message
Abhishek Paliwal (abhishek-paliwal) wrote : Re: HTML5 video playback is not smooth

Also seen with:
http://snapshots.linaro.org/precise/hwpacks/lt-panda-x11-base/119/hwpack_linaro-lt-panda-x11-base_20120617-119_armhf_supported.tar.gz
http://snapshots.linaro.org/precise/images/ubuntu-desktop/228/linaro-precise-ubuntu-desktop-20120617-228.tar.gz

If any other video other than html5 are tried the system logs out , html5 plays but Audio heard is having very low volume level. and the video plays with lot of breaks , tried this usecase with unity-2d as with 3-d im unable to use system at all(bug 1002877 )

Revision history for this message
Abhishek Paliwal (abhishek-paliwal) wrote :
Changed in igloocommunity:
importance: Undecided → Medium
importance: Medium → Low
Revision history for this message
Botao (botao-sun) wrote :
Revision history for this message
Botao (botao-sun) wrote :
Revision history for this message
Amit Khare (amit-khare) wrote :
Revision history for this message
Amit Khare (amit-khare) wrote :
Revision history for this message
Botao (botao-sun) wrote :
Revision history for this message
Botao (botao-sun) wrote :

Same behavior on Panda 4460 board.

Revision history for this message
Botao (botao-sun) wrote :
Revision history for this message
Botao (botao-sun) wrote :

Same behavior on Panda 4430 board.

Revision history for this message
Amit Khare (amit-khare) wrote :
Revision history for this message
Botao (botao-sun) wrote :

For Panda 4460 board, observed on Linaro ubuntu pre-built image:

http://snapshots.linaro.org/precise/pre-built/lt-panda-x11-base/219/lt-panda-x11-base-precise_ubuntu-desktop_20120803-219.img.gz

The system even hangs after the HTML5 video started to play for several seconds.

Revision history for this message
Botao (botao-sun) wrote :

With the same image as Panda 4460 board, Panda 4430 hangs after the YouTube HTML5 video started bufferring for several seconds.

Please refer to attachment to get the serial boot log.

Revision history for this message
Amit Khare (amit-khare) wrote :
Revision history for this message
Amit Khare (amit-khare) wrote :
Download full text (4.9 KiB)

on panda ubuntu build observed
http://snapshots.linaro.org/precise/pre-built/lt-panda-x11-base/242/lt-panda-x11-base-precise_ubuntu-desktop_20120812-242.img.gz

youtube video play back is not smooth and at times it gives error and board hangs

[ 825.110900] 1fc0: a96febd0 00000064 a5ad1c40 b68e79a0 1ffd1772 00000001 00000000 a96ff684
[ 825.119537] 1fe0: b686a114 a96febc8 b627b573 b5b6a110 800d0110 ffffffff
[ 825.126525] Mem-info:
[ 825.128936] Normal per-cpu:
[ 825.131896] CPU 0: hi: 186, btch: 31 usd: 30
[ 825.136962] CPU 1: hi: 186, btch: 31 usd: 28
[ 825.142028] HighMem per-cpu:
[ 825.145050] CPU 0: hi: 90, btch: 15 usd: 0
[ 825.150115] CPU 1: hi: 90, btch: 15 usd: 1
[ 825.155212] active_anon:66897 inactive_anon:31953 isolated_anon:0
[ 825.155212] active_file:16789 inactive_file:51588 isolated_file:0
[ 825.155212] unevictable:0 dirty:1102 writeback:2064 unstable:0
[ 825.155212] free:11477 slab_reclaimable:4875 slab_unreclaimable:9209
[ 825.155212] mapped:56095 shmem:32637 pagetables:1363 bounce:0
[ 825.187408] Normal free:44100kB min:16384kB low:20480kB high:24576kB active_anon:194460kB inactive_anon:67852kB active_file:46916kB inactive_
file:134056kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:770112kB mlocked:0kB dirty:4112kB writeback:8256kB mapped:109812kB s
hmem:67856kB slab_reclaimable:19500kB slab_unreclaimable:36836kB kernel_stack:2824kB pagetables:5452kB unstable:0kB bounce:0kB writeback_tmp:0kB
 pages_scanned:0 all_unreclaimable? no
[ 825.230773] lowmem_reserve[]: 0 2095 2095
[ 825.235046] HighMem free:1808kB min:260kB low:1684kB high:3112kB active_anon:73128kB inactive_anon:59960kB active_file:20240kB inactive_file:
72296kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:268224kB mlocked:0kB dirty:296kB writeback:0kB mapped:114568kB shmem:62692
kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:0kB pagetables:0kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0 all_unr
eclaimable? no
[ 825.276214] lowmem_reserve[]: 0 0 0
[ 825.279937] Normal: 1805*4kB 1790*8kB 1186*16kB 112*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 44100kB
[ 825.291870] HighMem: 14*4kB 13*8kB 5*16kB 1*32kB 0*64kB 0*128kB 0*256kB 1*512kB 1*1024kB 0*2048kB 0*4096kB = 1808kB
[ 825.303009] 101014 total pagecache pages
[ 825.307159] 0 pages in swap cache
[ 825.310668] Swap cache stats: add 0, delete 0, find 0/0
[ 825.316162] Free swap = 0kB
[ 825.319213] Total swap = 0kB
[ 825.373352] 262144 pages of RAM
[ 825.376678] 12242 free pages
[ 825.379730] 18609 reserved pages
[ 825.383148] 14093 slab pages
[ 825.386169] 173787 pages shared
[ 825.389495] 0 pages swap cached
[ 825.392822] SLAB: Unable to allocate memory on node 0 (gfp=0x20)
[ 825.399169] cache: size-32768, object size: 32768, order: 3
[ 825.405303] node 0: slabs: 399/399, objs: 399/399, free: 0
[ 825.412780] smsc95xx 1-1.1:1.0: eth0: kevent 2 may have been dropped
[ 825.421142] firefox: page allocation failure: order:3, mode:0x20
[ 825.427581] [<c0011011>] (unwind_backtrace+0x1/0x90) from [<c009977f>] (warn_alloc_failed+0xa3/0xc4)
[ 825.437255] [<c009977f>] (warn...

Read more...

Revision history for this message
Amit Khare (amit-khare) wrote :
Revision history for this message
Amit Khare (amit-khare) wrote :
Revision history for this message
Amit Khare (amit-khare) wrote :
Revision history for this message
Botao (botao-sun) wrote :
Revision history for this message
Botao (botao-sun) wrote :
Revision history for this message
Botao (botao-sun) wrote :
Revision history for this message
Amit Khare (amit-khare) wrote :
Revision history for this message
Ricardo Salveti (rsalveti) wrote :

Please avoid adding the same report from different boards at the same bug, it makes really hard to triage and follow the history of the issue.

For each feature available at the platform, that can be board related (such as multimedia, network and such), please make sure to open different bugs for each, so we can properly include the LT project at the same bug.

Changed in linaro-ubuntu:
status: New → Confirmed
importance: Undecided → Medium
summary: - HTML5 video playback is not smooth
+ Panda: HTML5 video playback is not smooth
Changed in igloocommunity:
status: New → Invalid
affects: igloocommunity → linaro-landing-team-ti
Changed in linaro-landing-team-ti:
status: Invalid → Confirmed
Revision history for this message
warmcat (andy-warmcat) wrote :

In terms of decoding V8 I don't know how smooth we should expect it. It will be software-only, looking at top might give a clue if it's cpu bound as might be expected.

About the crash, since we found that Androidization patch nastiness the default suspicion about low probability mm trouble is that. So retry with tilt-3.4 basis b71a842 or better will be interesting.

Revision history for this message
Ricardo Salveti (rsalveti) wrote : Re: [Bug 989651] Re: Panda: HTML5 video playback is not smooth

On Thu, Sep 6, 2012 at 7:08 PM, warmcat <email address hidden> wrote:
> In terms of decoding V8 I don't know how smooth we should expect it. It
> will be software-only, looking at top might give a clue if it's cpu
> bound as might be expected.

Yeah, it can be optimized but I believe the best solution here would
be to use gstreamer with hwdecode support, something that it might be
possible with the gstreamer specific changes from TI.

> About the crash, since we found that Androidization patch nastiness the
> default suspicion about low probability mm trouble is that. So retry
> with tilt-3.4 basis b71a842 or better will be interesting.

This is the most interesting point of this bug, will make sure the
latest kernel is part of tomorrow's image.

Revision history for this message
Nicolas Dechesne (ndec) wrote :

there is no support for h/w accelerated VP8 codecs for OMAP4, so that part cannot be h/w accelerated.

the video rendering could potentially be optimized, though, but that would be probably browser dependent (FF vs Chrome).

Revision history for this message
Botao (botao-sun) wrote :

For Panda 4430 board with Linaro ubuntu pre-built image:

http://snapshots.linaro.org/precise/pre-built/lt-panda-x11-base/299/lt-panda-x11-base-precise_ubuntu-desktop_20120909-299.img.gz

Video play back now is acceptable after buffering completed. The video I'm using is:

http://www.youtube.com/watch?v=tpIFaAxyFGE

warmcat (andy-warmcat)
Changed in linaro-landing-team-ti:
status: Confirmed → Fix Released
Revision history for this message
Botao (botao-sun) wrote :

Now this HTML5 video display is freezing during playback, and lots of log flushing in serial console although audio works well. This is observed on Linaro ubuntu pre-built image:

http://snapshots.linaro.org/precise/pre-built/lt-panda-x11-base/312/lt-panda-x11-base-precise_ubuntu-desktop_20120916-312.img.gz

Please refer to attachment to get the flushing log.

Revision history for this message
Chase Qi (chase-qi) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.