In The News

Adobe recently released a new Flash Player version for all supported platforms (including the 64-bit Linux alpha) which addresses a number of important security issues. I suspect that by now, the update has propagated through most distributions’ package management systems. If your Flash Player version (see here) is less than, do consider upgrading soon. (After all, we don’t wish to undermine the platform’s rock-solid reputation for security.)

See the sidebar for download locations.

In other news, as you can imagine, today’s xkcd comic made the rounds in the office. That’s good stuff; there are layers of meaning behind those pithy stick figures. I guess this would be a good time to link back to my post about hardware acceleration in Flash on Linux and invite another round of questions that are already clearly answered in that post.

36 Responses to In The News

  1. Mikael Gueck says:

    Thanks, I appreciate the timely security updates, but the Flash player has been sigsegving on me after the update on pages such as The Daily Show front page. At least the gdb backtrace blamed the flash player. Too bad it didn’t have debug symbols or I could have given you a better analysis.

  2. Grzes says:

    Hi, I appreciate the work you did to add gpu support to flash player. It doesn’t change the fact that I get roughly double framerates in Windows on my old machine (so the difference is watchable/not watchable)

  3. henshaw says:

    In your linked post of May 30, 2008, I see mention of three sticking points regarding gpu acceleration (apologies if I mis-characterise any of them):* Sniffing the client glx vendor string (and accepting false negatives in open drivers) because other, “more robust”, methods for identifying software rendering were crashy.* “Compiz and GPU-accelerated Flash on Linux do not mix.”* Flash GPU acceleration is incompatible with Xv acceleration because the data formats are different and because flash would like to preserve the ability to draw on top of the video.Could you say a few words about how these issues stand now (with current open and/or proprietary drivers)? And how you anticipate things changing in the near future (with projected advances in the open drivers).

  4. Gravis says:

    for the other people like me with 64bit systems like me, get the new version here:

  5. Andre Robatino says:

    Or for a 64-bit yum repo for flash-plugin, here: should add the 64-bit version to its own repo so it isn’t necessary to have yet another one enabled (or trust another GPG key).

  6. Elton Carvalho says:

    I wonder if there are any improvements undergoing regasrding sound.I can’t get flash sound via HDMI even after applying as lot of alsa options…

  7. Vadim P. says:

    I didn’t really hear the news… where can I find the changelog?

  8. Alejandro Nova says: I read carefully, you are getting half the performance of Windows Vista, and you are beating Mac OS X hard. I know one of your bottlenecks is X. Are there any other bottleneck? Can you point OSS developers into the right direction to locate and destroy those bottlenecks? This should be done, for the advancement of free software AND your goals as a proprietary company. Consider this. It’s about adding developers, not even about opening code.

  9. wds says:

    Sounds like a pretty bitter post. Things not going too well with the whole flash-on-linux thing then?Anyway, I too would like to know what exactly the compiz problems are. Any bugreports you could link to?

  10. foolishfool says:

    Naive assumption: The Compiz problem is probably the same one Google Earth has; that you can’t use a 3D application in a composited desktop without kernel mode-setting. If you try, it’s constantly flickering–you end up having two things competing to render directly on the hardware. Or something.

  11. Grey_Ash says:

    At least we have no viruses! XDAnd thats b/c no one in there right mind would waste time writing viri for 1% (woo hoo) of the market.

  12. drago01 says:

    The compiz problems where never present on systems supporting redirected direct rendering.The nvidia binary driver always did this, the open source radeon and intel driver support this for a while now (DRI2). And fglrx also has redirected direct rendering nowdays. So there is no reason not to use opengl with compiz.Without RDR you get artifacts when running opengl apps in compiz, but as all major drivers now support it its a thing of the past.Mike, please remove this limitation.

  13. Vedran Rodic says:

    Why not use OpenGL just on the final video scaling step for older OpenGL versions without shader programs?This would help on a vast number of Linux powered 945GM based netbooks.

  14. Mark Dammer says:

    I am disappointed by this version:No progress in improving the bad camera support in the Linux version of FP 10. A lot of cameras that used to work under version 9 still do not work with the latest version. The fact that bug FP-775 was changed from a bug into a feature request does not solve the problem. And I do not understand why “Linux microphone” is still the one and only option for sound input. Please implement PROPER V4L and ALSA support.

  15. default says:

    Vedran, this already works fine, at least for me. You need to force Flash to use the GPU, but after that, fullscreen videos are mostly smooth on my slow netbook.Mike, I’m not sure how much you are involved in that, but is the 64-bit plugin going to have OpenGL acceleration any soon?

  16. Vedran Rodic says:

    @default, how do you force it to use the GPU? only one trick I use is to actually use the mplayer on the .flv file in /tmp that is created when playing flash videos

  17. Frederik says:

    I have an AMD Athlon 64+ 3500 and all 64 bits Flash versions immediately make Firefox crash: “Illegal instruction”. It’s disappointed to see that Adobe is publishing a 64 bit plug-in which does not even support all 64 bit CPUs.

  18. default says:

    @Vedran, this was described on this blog a few posts earlier. See

  19. anon says:

    If gnash has xvideo support, why can’t flash player?

  20. realnc says:

    I can’t watch HD videos on YouTube with Linux flash. They’re slow as molasses. The Windows version works fine.What’s wrong?

  21. Alex says:

    ffmpeg has no issues playing back .flv files in fullscreen while compiz is the window manager.Perhaps the ffmpeg folks will waiver the stricter LGPL requirements out of pity for you guys.And even if they don’t. Just take it and run with it. No-one has to know. It’ll be our little secret 😉

  22. Dave B says:

    Using 64-bit on Fedora 11 64-bit, just tried … the live video locks up after just a couple seconds of the “your video will start in x seconds”… the archived videos also lock up after a few seconds.Youtube works great, though!

  23. Vedran Rodic says:

    @default, doesn’t work on 945GM, but thanks anyway. I didn’t know about mms.cfg.@realnc, are you joking? Mike (Penguin.SWF author) works for ffmpeg project. Check out “Multimedia Mike” blog. He’s a great guy, but maintaining a complex piece of code such as flash player on a non major platform is a demanding task.Though I have a feeling that a implemenation that is more easy on lame OpenGL hardware/drivers could benefit both Mac and Linux versions, using the same underlying code.Either way, we should be thankful to both Mike and Adobe, it’s not like we pay them to do this.

  24. Alex says:

    @Vedran, yes I was joking. I thought the last sentence and the smiley was a clear give away :)Look, I like Mike’s cynicism as much as I liked the good old Linux Hater (sidenote: possibly one and the same person. Need to investigate further). However, the XKCD comic is right on the money here.I don’t buy the “Xv does YUV scaling so we can’t use it to overlay our RGB stuff” argument. Guess what, Xv also does colorspace conversion. As evidenced by the fact that every frame displayed on your *RGB* monitor is in *gasp* RGB! Magic I say! Heresy even!So what, right? Just add extra colorspace conversions so that you do your compositing in good old RGB—done and done! But what’s that I hear?! Whispers of inefficiency! Au contraire kind sirs, what’s inefficient is eating 100% CPU while ffmpeg “idles” at 5% in *fullscreen* mode on the *exact same* file and the *exact same* hardware.Clearly there’s enough incentive for Adobe to support flash on Linux. Just not enough to do a particularly good job at it. Kudos to Mike and the rest of the “penguin team” for proudly carrying the linux torch anyway;-bringing some of the internet’s finest programming to the linux world with such shows as keyboard cat, gender confused teenagers, and an assortment of colorful videos that would make a blind person avert their eyes in horror.

  25. Vedran Rodic says:

    @Alex,When speaking about XV, you have two different things to think about: data source and output. Usually XV implementations support different YUV packings for the source part. The output is of course in the pixelformat of the X screen.Use xvinfo command to check out what your XV implementation supports. I think I only saw nVidia expose RGB source formats.However, OpenGL usually supports RGB scaling on most hardware with decent performance, so my feeling is that this could be used.I guess the fastest fullscreen YouTube flash implementation would use native colorspace of the video stream, and just “damage” the regions of video that should be overlaid by RGB stuff and convert that to the native video color space and just push that to the OpenGL driver.Of course, if most of the area was RGB, then it makes sense to use RGB in that case. And since those cases mostly have letterboxed video, then that should be fine performance wise.Some kind of auto heuristics should provide for a best case.Putting the ideal implementation aside, just as I’ve said, I think that just using the RGB scaler with OpenGL should be immensely helpful. I’m not sure how flash does YUV -> RGB, but that could probably be accelerated too with OpenGL, maybe even without shaders.I dunno, haven’t touched this things in years.Mike will tell. Or not 🙂

  26. Compholio says:

    Is there a page describing the details for logging and reporting a bug? I decided to try the 64-bit version and it segfaults the browser whenever I go to the website for the denver post…

  27. realnc says:

    I don’t know about “opengl” and stuff. I can watch HD videos in mplayer without acceleration using X11 back-end; no XV, no overlay, no gl, no nothing. Who needs acceleration? For what? No, the problem is not acceleration it seems.

  28. Jesse Barnes says:

    I’m also curious about the current state of accelerated GL stack detection. I hope it’s improved since your last blog entry, since we (Intel Linux graphics developers) have been spending a lot of time improving our accelerated GL support, and hope you can take full advantage of it.Lately I’ve been working on adding support for GLX extensions that should help with video playback and synchronization (e.g. SGI_video_sync, OML_sync_control, etc. see URL).I’m curious if you have any particular needs on the Flash front that wouldn’t be covered by the extensions listed (aside from those already mentioned in your other blog post of course). I’m particularly interested in any thoughts you have about composited environments. You mentioned some problems with compiz configurations, but didn’t list specifics…

  29. bitchy mcbitcher says:

    a web comic does not have to factually accurate.funny is more than enough.

  30. foo says:

    That comic is mostly funny BECAUSE it’s accurate, and not just for intel cards either.Anyway, a bigger problem for me is the absolutely terrible audio latency of flash in linux. I get a latency of between 0.5 and 1 second here in general (though it seems to be less at youtube for some reason), and yes, I’m using plain old ALSA. Windows firefox+flash in wine has no noticable audio latency, but has graphical glitches, so that’s also unusable.That said, I do appreciate the work you’ve done so far, Mike. Even with these major issues, today’s Flash is still a massive improvement over what we used to have.

  31. Dave B says:

    My problem turned out to be pulseaudio. Disabled pulseaudio and started working.Now need to figure out the video falling behind when running on the second display… seems to be a potential issue caused by the nvidia binary drivers.Would be nice if there were some way to see if the flash player was actually using gl hw acceleration or ignoring the checkbox, which would help in debugging what’s going on.Also, does flash respect the GL sync to vblank option?

  32. released but still some problems with 64bit platforms. sometimes I still have “Illegal instruction” while I’m using AMD 64

  33. iive says:

    The OpenGL acceleration discussion is leading in the wrong direction. It is used ONLY for fullscreen playback.However the real problem is that Flash is at least 3-5 times slower when playing at Normal size, compared to mplayer -vo x11 (x11 output is RGB only and software conversion is used).I could only explain that with the lack of asm/SIMD/MMX optimizations.Given that Mike is FFmpeg developer, it should be trivial for him to make Flash use libavcodec and libswscale as optional dynamic-loading plugins.The DRM protected stuff could still be played only with the internal codecs.

  34. Mikael Gueck says:

    Why not start harnessing the power of the crowd (us) without necessarily open sourcing the whole thing as the first step, by creating an abstraction layer of functions we can implement to achieve the things we have whined about, if it’s so easy?

  35. Dave B says:

    Is the fullscreen video on working for folk (specifically using the 64-bit alpha)?In-browser works fine, and this is the first page I’ve seen the fullscreen not work.

  36. Well why is my CPU usage at 100% if i visit a website with flash in it. I use Ubuntu 9.04 64 Bit and Firefox.What is funny if if run WinXP in Virtualbox at the same Computer in takes less CPU than running it native at the machine.Any suggestions what to to?