Closed Bug 999844 Opened 6 years ago Closed 6 years ago

[B2G] [Tarako] [Video] Share and Bluetooth pages load slowly while video is playing

Categories

(Firefox OS Graveyard :: Gaia::Video, defect, P2)

ARM
Gonk (Firefox OS)
defect

Tracking

(b2g-v1.3 unaffected, b2g-v1.3T affected)

RESOLVED WORKSFORME
2.0 S1 (9may)
Tracking Status
b2g-v1.3 --- unaffected
b2g-v1.3T --- affected

People

(Reporter: ckreinbring, Unassigned)

Details

(Keywords: perf, Whiteboard: [c=effect p= s=2014.05.09.t u=tarako] [tarako-exploratory])

Attachments

(4 files)

Description:
If a video is playing when a user attempts to share it over Bluetooth, the Share and Bluetooth menus can take a long time to load.  It can take up to 30 seconds from tapping the Share icon to the Bluetooth page appearing.

Repro Steps:
1) Update a Tarako to BuildID: 20140422014001
2) Launch the Video app and start a large video.
3) While the video is playing, tap the Share icon and observe how long it takes for the Share With page to appear.
4) Tap Bluetooth and observe how long it takes for the Bluetooth page to appear.

Actual:
The Share and Bluetooth menus load slowly, sometimes taking 30 seconds or more to load.

Expected:
The playing video does not affect the menus loading, it takes about 5-10 seconds from tapping the Share icon to the Bluetooth page loading.

Environmental Variables:
Device: Tarako 1.3T Mozilla RIL
BuildID: 20140422014001
Gaia: e87f8a69a2bad4a1361529b180a4e015fc78fbf1
Gecko: 1350653d7e40
Version: 28.1
Firmware Version: sp6821a-4-18

Notes:
Repro frequency: 100%
See attached video clip, logcat logs and firewatch logs
Does not repro on Buri 1.3 mozilla RIL.

Device: Buri 1.3 Mozilla RIL
BuildID: 20140421024003
Gaia: 69dcf31d3a95765a7d7c54a14acf6adca23f351d
Gecko: b43a6c8e467d
Version: 28.0
Firmware Version: v1.2-device.cfg
Naoki - Do you know if this share feature is on the list of things to consider preffing off for Tarako?
Flags: needinfo?(nhirata.bugzilla)
Keywords: perf
Leaving myself on needinfo until the meeting; jsmith, there is a list; although I'm not sure we're going to remove it from the sounds of things.
Priority: -- → P2
Whiteboard: [tarako-exploratory] → [tarako-exploratory] [c=effect p= s= u=]
Bluetooth sharing needs to be investigated by dev; currently I don't think it's going to be removed.  Still waiting to hear back.
Flags: needinfo?(nhirata.bugzilla)
We either need to fix this or remove the feature. 30 seconds is far too long for the Bluetooth page to appear.
blocking-b2g: --- → 1.3T?
Hi Ian, could you help to check this issue? thanks.
Flags: needinfo?(iliu)
This is my test environment.

Gaia      028bc224bc9133c5dc981f931847f5545cd1d8a7
Gecko     https://hg.mozilla.org/releases/mozilla-b2g28_v1_3t/rev/7caf4b5abfce
BuildID   20140428014001
Version   28.1
ro.build.version.incremental=eng.kaizhen.20140425.155902
ro.build.date=Fri Apr 25 15:59:09 CST 2014

Test video:
Kind: MPEG-4 movie
Size: 48.8 MB
Duration: 10:33
Demotions: 640x360
Source: Youtube, MWC 2014 The Mozilla Booth, 360p

Actual Result:
* show share menu less than a second
* show Bluetooth app less than 3 seconds
Flags: needinfo?(iliu)
Hi ckreinbring, could you please provide your test data? I think if you the video with larger format, dimensions, or different codec, it will make the device using much resource.
Flags: needinfo?(ckreinbring)
Attached video IMG_5081_480.mov
This is the recorder for comment 9.
(In reply to Ian Liu [:ianliu] from comment #10)
> Hi ckreinbring, could you please provide your test data? I think if you the
> video with larger format, dimensions, or different codec, it will make the
> device using much resource.

And could you please flash tarako build after ver. 20140425? I feel more smooth with the latest build version.
(In reply to Ian Liu [:ianliu] from comment #12)
> (In reply to Ian Liu [:ianliu] from comment #10)
> > Hi ckreinbring, could you please provide your test data? I think if you the
> > video with larger format, dimensions, or different codec, it will make the
> > device using much resource.
> 
> And could you please flash tarako build after ver. 20140425? I feel more
> smooth with the latest build version.

I mean it's including of partner image.(Update tarako from PVT full flash.)
I'm adding qawanted to address Ian's comments.
Keywords: qawanted
I can no longer reproduce this issue with the video that the original reporter used on Today's build. 

The Share menu loaded within 2 seconds, and Bluetooth page took a reasonable (ranging from 3 to 7 seconds before Bluetooth pairing page appears) amount of time to load.
Repro rate: 0 out of 5 attempts.

The video in test is 5min41sec, dimension 640 x 360, video codec H.264/AVC, size 24MB.

Tested on:
Device: Tarako 1.3T MOZ
BuildID: 20140430014008
Gaia: f9b62bd1135f4edf8317fff1c2947b9d99438d79
Gecko: ba50f734b815
Version: 28.1
Firmware Version: sp6821a_gonk4.0_4-29
Flags: needinfo?(ckreinbring)
Keywords: qawanted
Status: NEW → RESOLVED
blocking-b2g: 1.3T? → ---
Closed: 6 years ago
Resolution: --- → WORKSFORME
Whiteboard: [tarako-exploratory] [c=effect p= s= u=] → [c=effect p= s=2014.05.09.tracking u=tarako] [tarako-exploratory]
Whiteboard: [c=effect p= s=2014.05.09.tracking u=tarako] [tarako-exploratory] → [c=effect p= s=2014.05.09.t u=tarako] [tarako-exploratory]
Target Milestone: --- → 2.0 S1 (9may)
You need to log in before you can comment on or make changes to this bug.