Updates on Flash support for Linux
GPLv3-licensed Flash player Lightspark has released its latest update, version 0.5.6. The new release includes expanded media support, experimental support for the Google Maps "Street View" feature, and a browser plug-in compatible with Firefox 10. Despite the new features, however, the prospect of an open source player for all Flash content does not appear to be getting any closer.
"Flash" as a file format is a complicated beast, of course. Each Flash release incorporates changes to the supported media types, rendering subsystems, application components, and often the JavaScript-like ActionScript programming language itself. Flash 9, released in 2006, introduced an entirely new ActionScript Virtual Machine, AVM2. Lightspark was started in 2009 by Alessandro Pignotti, targeting support for AVM2 and ActionScript 3.
But despite introducing a new virtual machine, Adobe did not remove support for AVM1 code from Flash 9 (or subsequent releases), for fear of breaking existing Flash applications. Lightspark version 0.4.3 overcame this limitation by introducing a fallback mechanism that would call on the stand-alone version of Gnash, the GNU Flash player supporting AVM1, whenever it encountered AVM1 files. Lightspark 0.5.0 introduced a host of new features, but by and large new releases in recent years have incorporated fixes designed to support specific Flash-based web sites or applications.
What's new in Lightspark
Such is the case with the 0.5.6 release, which boasts fixes for YouTube and "experimental" support for Google Maps Street View, plus new features implemented to support Flash-based games like FarmVille. Lightspark includes two front-ends, a stand-alone GTK+ player and an NPAPI web browser plug-in. The new release is compatible with Firefox 10 (which itself landed in January 2012), and is the first release with support for using PNG files. For now, source code is the only downloadable incarnation of the release, but the project maintains a personal package archive (PPA), so Debian packages should arrive soon enough.
Of course, the fact that a Flash game is the motivator for a particular feature implementation in no way lessens its importance. In this case, the new features include support for Flash's NetConnection, which is a two-way client-server RPC channel, and support for custom serialization and deserialization of data, which is likely to prove helpful for other client-server Flash applications relying on JSON or XML, too.
We last looked at Lightspark in 2010; the intervening releases have added much more that is worthy of note than does the 0.5.6 bump on its own. Many more sites are supported, including Vimeo and Flowplayer (which is a web video playback product, not a site itself), and the project now uses the Tamarin test suite to run tests for correctness. While Pignotti took a break, Canonical's Jani Monoses served as release manager and improved ARM support for embedded devices. Of particular interest to embedded users is support for hardware-acceleration through an EGL or OpenGL ES rendering back-end. In addition, the project added support for building the stand-alone player and the browser plug-in on Windows.
Gnash and AVM1
On the other hand, there was also an effort undertaken to add AVM1 support to Lightspark, which would have ultimately enabled the project to play all generations of Flash content. The 0.5.1 release, however, dropped Lightspark's attempt to write its own AVM1 interpreter. That effectively makes Gnash a dependency for any Flash content that uses features from Flash 8 or older.
Similarly, for a while Gnash attempted to add AVM2 support to its own codebase, but it, too, eventually abandoned the effort (at the time of the 0.8.8 release). All open source projects are perpetually starved for developers, but perhaps reverse-engineering two incompatible virtual machine implementations is proving to be beyond even the usual level of overload.
The trouble is that this leaves users without an all-in-one open source Flash implementation, a gap which may feel more acute once Adobe releases Flash Player 11.3, the first version that drops the NPAPI version of the plug-in for Linux.
Lightspark can still be installed as a browser plug-in, and call out to Gnash whenever it encounters AVM1 objects — but Gnash's own future is uncertain at the moment. Lead developer Rob Savoye told the gnash-dev mailing list in December that the 0.8.10 release would likely be the last to incorporate new features, as he has been unable to find funding to support further development. Gnash development had been supported by Lulu.com, who funded four full-time developers, but the company withdrew its support in 2010. Since then, Savoye has maintained the code as best he could, but is limited by financial reality to bug-fixes.
In an email, he said "I'd love to continue working on Gnash full time, but I need an income pretty bad at this point, and can only work for free for so long... So I'm looking for contract work at this point, Gnash related or not. I plan to continue hacking on Gnash, it's been a labor of love for 7 years now.
" Savoye added that he has brought the idea of funding development to multiple open source companies and foundations — including major Linux distributions — but that none were interested.
Gnash is an FSF high priority project, but that status does not include any financial contribution. For its part, Mozilla is on the record as not being interested in contributing or underwriting code for a Flash plug-in, on the grounds that the format is a vendor-controlled proprietary product, and Mozilla's resources are better used developing open solutions.
Perhaps that is true, but the argument generally goes along the lines of "users are better off without Flash, and everything that Flash does now will soon be replaced by HTML5." Unfortunately, open source advocates have been saying that for years and Flash is still pervasive. It would be betting against history for Linux companies to assume that Flash support will soon be an issue of the past using any reasonable definition of "soon." In the meantime, one can count on Lightspark to fill in the gaps for many modern games and video sites — and hope that Gnash will find new sources of support on its own.
Index entries for this article | |
---|---|
GuestArticles | Willis, Nathan |
Posted Apr 19, 2012 3:40 UTC (Thu)
by jcm (subscriber, #18262)
[Link] (8 responses)
Posted Apr 19, 2012 3:52 UTC (Thu)
by jake (editor, #205)
[Link] (2 responses)
while I'm aware of your platform soapbox, this doesn't really seem to fit with that, does it? Adobe won't be doing plugins for Firefox on *Windows* or *OS X* either, will it? This is Adobe dissing the NPAPI "platform", I think, not Linux ... or am I (as usual) missing something?
jake
Posted Apr 19, 2012 4:07 UTC (Thu)
by cuviper (guest, #56273)
[Link] (1 responses)
Posted Apr 19, 2012 12:34 UTC (Thu)
by jake (editor, #205)
[Link]
jake
Posted Apr 19, 2012 7:57 UTC (Thu)
by cmccabe (guest, #60281)
[Link] (2 responses)
YOU would be well served to take a step back and consider what it is that you really want out of Linux. Do you want a locked down platform, where there's a single, unmodifiable, uncustomizable version of X, for any X you could name? Controlled by a single company? There are plenty of platforms like that out there. Linux isn't one of them, and hopefully it never will be.
It's really irritating to see how many people want to turn Linux into another clone of OS X. If you want OS X, why not just buy a copy?
I also take issue with the idea that Linux is somehow a hostile platform (partly because the company I work for develops almost exclusively for Linux). But this comment is getting too long as is, so I'll leave it at that.
Posted Apr 19, 2012 10:54 UTC (Thu)
by cortana (subscriber, #24596)
[Link] (1 responses)
Posted Apr 19, 2012 20:50 UTC (Thu)
by cmccabe (guest, #60281)
[Link]
I also don't understand why someone would be unwilling to install a proprietary browser, but willing to install an (unsandboxed) proprietary plugin.
I feel bad that Firefox will become less popular as a result of this decision, but Linux users who are willing to install Chrome will probably actually have a better experience than in the past.
P.S. I don't have flash installed and haven't for the last few years. I don't miss it.
Posted Apr 19, 2012 11:36 UTC (Thu)
by Seegras (guest, #20463)
[Link]
Hah! Remember how long it took Adobe to produce a 64bit-version of flashplayer for _any_ platform? There was an interview with a head developer who was whining on how hard it was, with all those different assemblers and such.
The simple fact was, the Adobe flashplayer team was a horde of incompetent nincompoops. Maybe still is. In any case, that is a far more likely cause for lacking support for <insert platform here>.
Posted Apr 20, 2012 11:20 UTC (Fri)
by wookey (guest, #5501)
[Link]
Indeed in this case it's made the problem _much_ worse. If it hadn't been really quite easy to 'get flash now' for so many linux users we'd have fixed the flash problem years ago and gnash and lightspark would have a great deal more developers. But nearly every Free Software/Open Source person I know just installs adobe's flash player and says 'what problem - my computer seems to be working?' I find that pretty depressing. I know it's annoying but this stuff matters and if we can't be arsed solving our own problems then we have no-one else to blame (well, except maybe Adobe for making this awful mess in the first place).
If Adobe is about to stop supplying flash plugins that might actually help direct a bit of effort to a genuine solution (although I guess most people will just stick with the version they have). Gnash and lightspark really are quite good these days. Having been using them both for years I can tell you that somewhere between 'quite a lot' and 'most' stuff now works, so it's perfectly useable day-to-day but you get an incentive to report and fix the sites/players/apps that are still bust.
BBC iplayer would be a good target for example, which still says 'you have the wrong version of the flash player, please f*ck off from our nice publically-funded service, low-life' (I paraphrase slightly)
Posted Apr 19, 2012 5:27 UTC (Thu)
by rsidd (subscriber, #2582)
[Link] (5 responses)
Updates on Flash support for Linux
Updates on Flash support for Linux
> Adobe to want to continue releasing a standalone plugin outside of Chrome
Updates on Flash support for Linux
Updates on Flash support for Linux
Updates on Flash support for Linux
Updates on Flash support for Linux
Updates on Flash support for Linux
Updates on Flash support for Linux
> too hostile as a moving target platform for Adobe to want to continue
> releasing a standalone plugin outside of Chrome.
Updates on Flash support for Linux
Updates on Flash support for Linux
The argument generally goes along the lines of "users are better off without Flash, and everything that Flash does now will soon be replaced by HTML5." Unfortunately, open source advocates have been saying that for years and Flash is still pervasive. It would be betting against history for Linux companies to assume that Flash support will soon be an issue of the past using any reasonable definition of "soon."
Though it may be betting against history, I see it happening already -- thanks, oddly enough, to the late Steve Jobs and his hostility to flash. (And flash doesn't work great on Android either.) You can't argue with millions of iPhone and iPad owners.
Posted Apr 19, 2012 7:33 UTC (Thu)
by ncm (guest, #165)
[Link]
Posted Apr 19, 2012 8:17 UTC (Thu)
by drago01 (subscriber, #50715)
[Link] (3 responses)
The only thing that really matters here is video (and probably audio). But all other uses of flash will stay this way for the foreseeable future. (Not that I like that but that's unfortunately the reality).
The hype aside the market share of the iPad (compared to other web clients) is at 2.13% [1] which is almost irrelevant compared to windows based systems.
1: http://marketshare.hitslink.com/operating-system-market-s...
Posted Apr 19, 2012 9:16 UTC (Thu)
by ibukanov (subscriber, #3942)
[Link] (2 responses)
Posted Apr 19, 2012 9:19 UTC (Thu)
by Cyberax (✭ supporter ✭, #52523)
[Link] (1 responses)
Posted Apr 19, 2012 9:27 UTC (Thu)
by mpr22 (subscriber, #60784)
[Link]
Posted Apr 19, 2012 11:53 UTC (Thu)
by rswarbrick (guest, #47560)
[Link] (2 responses)
Posted Apr 23, 2012 22:02 UTC (Mon)
by n8willis (subscriber, #43041)
[Link] (1 responses)
Nate
Posted Apr 24, 2012 15:12 UTC (Tue)
by juliank (guest, #45896)
[Link]
Posted Apr 19, 2012 11:56 UTC (Thu)
by samth (guest, #1290)
[Link] (2 responses)
Posted Apr 26, 2012 2:48 UTC (Thu)
by steffen780 (guest, #68142)
[Link] (1 responses)
Posted Apr 26, 2012 3:54 UTC (Thu)
by rahulsundaram (subscriber, #21946)
[Link]
Posted Apr 19, 2012 16:04 UTC (Thu)
by jmorris42 (guest, #2203)
[Link]
Adobe is cutting their losses and getting ready to wind down that whole business. Also pretty clear why nobody is stepping up to fund development. It is a dead end and is likely to go quickly unless Metro is the next Bob.
Posted Apr 19, 2012 20:56 UTC (Thu)
by HelloWorld (guest, #56129)
[Link] (4 responses)
Posted Apr 19, 2012 22:53 UTC (Thu)
by intgr (subscriber, #39733)
[Link] (3 responses)
For a long time, Mozilla even planned to use Tamarin as the Firefox JavaScript engine. Many months (a year?) later, after investing considerable developer effort, they dropped it.
Mozilla wouldn't make such decisions on a whim. It probably just isn't as good as it sounds.
Posted Apr 19, 2012 23:01 UTC (Thu)
by HelloWorld (guest, #56129)
[Link] (2 responses)
Posted Apr 19, 2012 23:36 UTC (Thu)
by intgr (subscriber, #39733)
[Link] (1 responses)
Posted Apr 20, 2012 5:16 UTC (Fri)
by HelloWorld (guest, #56129)
[Link]
Updates on Flash support for Linux
Updates on Flash support for Linux
Updates on Flash support for Linux
Updates on Flash support for Linux
Then you probably need to stop taking the optimism enhancers.
Updates on Flash support for Linux
The version 0.5.6-1 package landed in Debian unstable on 4/12/2012. Given that the release is tagged 4/11/2012 on lightspark's launchpad.net website, this took at most one day. This article is dated 4/18/2012.
Although it's good to note that packages may be/are available for popular distributions, comments like
Debian packages
For now, source code is the only downloadable incarnation of the release, but the project maintains a personal package archive (PPA), so Debian packages should arrive soon enough.
imply that distributors are less proactive than they actually are.
No, it's just a reference to the binary package format, which the project has made releases in in the past, not a commentary on any third-parties.
Debian packages
Debian packages
Updates on Flash support for Linux
Updates on Flash support for Linux
Updates on Flash support for Linux
Updates on Flash support for Linux
Why don't they use Tamarin?
Why don't they use Tamarin?
Why don't they use Tamarin?
Why don't they use Tamarin?
Why don't they use Tamarin?