Closed Bug 614623 Opened 14 years ago Closed 13 years ago

Drawing of flash videos with Flash 10.2 beta 64-bit on OSX 64-bit builds does not work

Categories

(External Software Affecting Firefox Graveyard :: Flash (Adobe), defect)

x86_64
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: armenzg, Unassigned)

References

Details

Attachments

(1 file)

(_I think_) Steps to reproduce:
* Download and install http://download.macromedia.com/pub/labs/flashplayer10/flashplayer_square_p2_64bit_mac_092710.dmg
* Download ftp://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2010-11-24-03-mozilla-central/firefox-4.0b8pre.en-US.mac64.dmg
* Browse to youtube.com and play any video (make sure is NOT html5 based)
* You can watch the video

What actually happens:
* You hear the audio but the video only gets drawn once

Workarounds:
* Keep on scrolling up and down many fps and you will be able to watch the video
* Enter full-screen mode
* Uninstall Flash 64-bit and start using Flash 32-bit which now works inside of the 64-bit Minefield builds


Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0b8pre) Gecko/20101124 Firefox/4.0b8pre

Shockwave Flash
    File: Flash Player.plugin
    Version: 10.2.161.22
    Shockwave Flash 10.2 d161
(In reply to comment #0)
> * Uninstall Flash 64-bit and start using Flash 32-bit which now works inside of
> the 64-bit Minefield builds
Verified.
* Quit Minefield
* Uninstall with: http://download.macromedia.com/pub/labs/flashplayer10/flashplayer_square_p2_uninstall_mac_092710.dmg
* Install 32-bit flash by visiting http://get.adobe.com/flashplayer/
* Open Minefield
* Visit a video on youtube
* It all works

Shockwave Flash
    File: Flash Player.plugin
    Version: 10.1.102.64
    Shockwave Flash 10.1 r102
Version: unspecified → Trunk
I can reproduce the problem. Nominating for blocking as we will eventually support Flash 10.2 which is now in beta.
blocking2.0: --- → ?
Whiteboard: DUPEME
I can also reproduce this in our latest internal builds when used with the trunk build 4.0b8pre
Assignee: nobody → joshmoz
blocking2.0: ? → final+
Benoit - any chance you could take a look at this?
Sure
Assignee: joshmoz → b56girard
I think a new 64-bit Flash 10.2 preview came out today. Will want to test with the latest one.
We did release and update yesterday afternoon but the problem will still be there.  Thanks for looking into this guys.  Let us know if there is anything we can do on our end to help this along.
I just tested with the latest 64-bit version of Flash Player "Square":
    File: Flash Player.plugin
    Version: 10.3.162.28
    Shockwave Flash 10.3 d162
http://labs.adobe.com/downloads/flashplayer10_square.html

A quick look with Quartz Debug shows that the video region isn't refreshing on it own. I noticed that the playback bar does update however.
http://www.youtube.com/watch?v=GXQLVZcHbLY&t=291
This patch fixes the problem but I'm not advocating we use this fix.

Previously when we first implemented Core Animation, flash didn't have a way to tell firefox when to redraw. The only way around this was to refresh at 50Hz regardless which was horrible for performance because of the way we do composition. After discussing this problem with Adobe the next few flash beta started invoking the NPAPI InvalidateRect method to tell us when to redraw (thus why we disabled the refresh timer for flash). This lead to the proposal of NPAPI:InvalidatingCoreAnimation.

The ideal solution is to have Flash negotiate NPAPI:InvalidatingCoreAnimation rather then just NPAPI:CoreAnimation. This gives clues we can use to optimize redrawing without having to relying on inefficient 50Hz timers.

https://wiki.mozilla.org/NPAPI:InvalidatingCoreAnimation

In any case we likely want to get rid of special casing this quirk for Flash.
Thanks Benoit. I've emailed Adobe about the problem.

I'm going to unblock on this and turn it into a Flash bug since the 64-bit version of Flash is a beta, not a final release, and the bug is theirs. I don't want to take a patch on our end right now.
Assignee: b56girard → nobody
Component: Plug-ins → Flash (Adobe)
Product: Core → Plugins
QA Contact: plugins → adobe-flash
Target Milestone: --- → Dec 2010
Version: Trunk → 10.x
Assignee: nobody → cliss
BTW - the Flash installer on Mac OS X usually won't let you downgrade so it can be hard to recover from things like this. In order to trick the Flash installer into installing what you want you have to delete these files:

/private/var/db/receipts/com.adobe.pkg.FlashPlayer.bom
/private/var/db/receipts/com.adobe.pkg.FlashPlayer.plist
(In reply to comment #12)
> BTW - the Flash installer on Mac OS X usually won't let you downgrade so it can
> be hard to recover from things like this. In order to trick the Flash installer
> into installing what you want you have to delete these files:
> 
> /private/var/db/receipts/com.adobe.pkg.FlashPlayer.bom
> /private/var/db/receipts/com.adobe.pkg.FlashPlayer.plist

Or, you could download the Flash uninstaller utility and uninstall the existing version.
Summary: Drawing of flash videos with Flash 64-bit on OSX 64-bit builds does not work → Drawing of flash videos with Flash 10.2 beta 64-bit on OSX 64-bit builds does not work
Component: Flash (Adobe) → Plug-ins
Product: Plugins → Core
Target Milestone: Dec 2010 → ---
Version: 10.x → Other Branch
blocking2.0: final+ → ---
Assignee: cliss → nobody
Component: Plug-ins → Flash (Adobe)
Product: Core → Plugins
Version: Other Branch → unspecified
update from our internal bug...  
i am not able to reproduce the issue with our latest 64-bit internal Serrano build, 11,0,0,14.  I did not see the original issue, but did not see any playback/redraw issues using 64-bit versions of FF4.0b10 or Minefield.

closing now but should be resolved in the next beta refresh of Serrano...
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Resolution: FIXED → WORKSFORME
Whiteboard: DUPEME
Product: External Software Affecting Firefox → External Software Affecting Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: