Closed Bug 749107 Opened 12 years ago Closed 12 years ago

Video frames are tiled all over the viewport for Flash and HTML5 webm videos

Categories

(Firefox for Android Graveyard :: General, defect)

15 Branch
ARM
Android
defect
Not set
normal

Tracking

(firefox12 unaffected, firefox13 unaffected, firefox14 fixed, firefox-esr10 unaffected, blocking-fennec1.0 beta+)

VERIFIED FIXED
Firefox 15
Tracking Status
firefox12 --- unaffected
firefox13 --- unaffected
firefox14 --- fixed
firefox-esr10 --- unaffected
blocking-fennec1.0 --- beta+

People

(Reporter: AdrianT, Assigned: BenWa)

References

()

Details

(Keywords: regression, Whiteboard: [landed on inbound])

Attachments

(6 files)

Fennec/15.0a1 2012-04-25
Device: HTC Desire (Android 2.2)/HTC Desire Z (Android 2.3)
Flash version: 11.1.111.8

Steps to reproduce:
1. Set plugin preferences to enable and restart Firefox Mobile for the changes to take effect.
2. Load http://youtu.be/sftuxbvGwiU - this was the only video I found until now that behaves this way.
3. Start the video.
4. After the video starts scroll the page.

Expected results:
Video plays without any issues.

Actual results:
Frames of the video are tiled all over the viewport covering everything including new opened tabs. Please see the video: http://youtu.be/8LcfmDszORs.

On Samsung Galaxy S2 (Android 2.3) and Samsung Captivate (Android 2.2) the issue is only seen while scrolling
Attached file logs
Also tiling-related.
blocking-fennec1.0: --- → ?
For ease of linking: http://www.youtube.com/watch?feature=player_detailpage&v=8LcfmDszORs#t=42s
Assignee: nobody → snorp
blocking-fennec1.0: ? → beta+
After rechecking this I have noticed that the original youtube link was wrong. Sorry about that. 
This is the correct link:
http://www.youtube.com/watch?v=JXXD34mxGM0
Using the correct link I am able to reproduce the initial issue on HTC Desire and HTC Desire Z on the tinderbox Fennec/14.0a2 build. Attaching logs.
After further investigations I can also the reproduce the issue using a second video: http://youtu.be/umU6cenjctI. Both videos actually seem to be HTML5 not Flash which would explain why the issue is not reproducible on all youtube videos. 
Checking html5 videos outside of youtube I can also reproduce the issue at http://people.mozilla.com/~nhirata/html_tp/big_buck_bunny_480p.webm and http://people.mozilla.com/~nhirata/html_tp/elephants-dream.webm.
Summary: Video frames are tiled all over the viewport for specific youtube video → Video frames are tiled all over the viewport for HTML5 webm videos
Issue can be seen on the Samsung Captivate only when the page is scrolled.
Moving to Benoit since its very likely to be tiling.
Assignee: snorp → bgirard
Issue is also reproducible only when scrolling the page on Samsung Galaxy Nexus running Android 4.0.2
I can rerproduce with the webm videos of comment 7, using the Samsung Galaxy Nexus.
I think this is a regression.
Let me know if you need a regression range.
Keywords: qawantedregression
not just webm, flash also.

i used the link from comment 5, which seems to be a flash file.   for me, it tiles only when i tap or pan the screen.   

Galaxy Nexus, 4.0.2, aurora tinderbox build:  https://ftp.mozilla.org/pub/mozilla.org/mobile/tinderbox-builds/mozilla-aurora-android/1335478518/fennec-14.0a2.en-US.android-arm.apk
Summary: Video frames are tiled all over the viewport for HTML5 webm videos → Video frames are tiled all over the viewport for Flash and HTML5 webm videos
Attached patch patchSplinter Review
Attachment #619624 - Flags: review?(jmuizelaar)
Comment on attachment 619624 [details] [diff] [review]
patch

Review of attachment 619624 [details] [diff] [review]:
-----------------------------------------------------------------

Choose a good commit message
Attachment #619624 - Flags: review?(jmuizelaar) → review+
I couldn't reproduce the bug without this patch (only tried one link). If someone has a chance to try with/without this changeset that would be lovely.

https://tbpl.mozilla.org/?tree=Mozilla-Inbound&rev=22a3eddd0c5b
Comment on attachment 619624 [details] [diff] [review]
patch

[Approval Request Comment]
Regression caused by (bug #): Bug 739679 - Add a Shadowable TiledThebesLayer implementation
User impact if declined: Tiles may show wrong texture when other elements are drawn (video/plugins).
Testing completed (on m-c, etc.): Will wait for bake time and QA feedback before uplift.
Risk to taking this patch (and alternatives if risky): Small, we were not managing the texture unit state properly. This patch fixes that.
String changes made by this patch: none
Attachment #619624 - Flags: approval-mozilla-aurora?
Whiteboard: [landed on inbound]
Comment on attachment 619624 [details] [diff] [review]
patch

Please land, turns out not to depend on snorp's work, I was mixing up bugs.
Attachment #619624 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Nexus S, Android 2.3.

Verified fix on tinderbox aurora, using testcase from comment 5.  no tiling.

ftp://ftp.mozilla.org/pub/mobile/tinderbox-builds/mozilla-aurora-android/1335995418/
https://hg.mozilla.org/mozilla-central/rev/22a3eddd0c5b
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 15
Blocks: 750963
Verified on:
Nightly 15.0a1 2012-05-03 / Aurora 14.0a2 2012-05-03
Device: HTC Desire
OS: Android 2.2
Status: RESOLVED → VERIFIED
I'm still seeing video artifacts in the canvas background, while playing videos, I filed bug 751564 for it.
Blocks: 739679
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: