Why Is Adobe Flash On Linux Still Broken?
mwilliamson writes "As I sit reading my morning paper online I still cannot view the embedded videos due to auto-detection of my Flash player not working. One in every three or four YouTube videos crashes the browser. I remember sometime back reading that Adobe has a very small development team (possibly only one) working on the Linux port of Flash. It has occurred to me that Flash on Linux is the one major entry barrier controlling acceptance of Linux as a viable desktop operating system. No matter how stably, smoothly, efficiently, and correctly Linux runs on a machine, the public will continue to view it as second-rate if Flash keeps crashing. This is the worst example of being tied down and bound by a crappy 3rd-party product over which no Linux distribution has any control. GNASH is nice, but it just isn't there 100%. I really do have to suspect Adobe's motivation for keeping Flash on Linux in such a deplorable state."
Adopt Silverlight!
Flash (and Silverlight, et al) are a threat to the Internet generally. I wouldn't run Flash even if they bothered to create a version that runs on my OS (64-bit Linux).
The more of use that don't use Flash, the better.
So there is no version of Flash that is open source then?
The disadvantage of not being able to play Flash is mostly on sites like YouTube. But some other sites are also using Flash for the interesting content.
So the big question is - is it possible to implement a Flash player for Linux that's open source?
If builders built buildings the way programmers wrote programs, then the first woodpecker would destroy civilization.
Flash 9.0.124.0 crashes all the time on my wife's Windows XP system running Firefox as well. Most of the time it exhibits as not being able to play sound. So it definitely isn't limited to Linux. Flash is just crap.
I used to have this happen to be on Ubuntu 8.04. I fixed it by downloading the official version of Flash from the Adobe website and replacing all of the versions of the .so on my computer. Wouldn't you know it, it worked again. I think the problem is that the version in Ubuntu 8.04 was hacked up to support PulseAudio. When I removed PulseAudio, suddenly audio didn't work anymore (in addition to, you know, the crashing all the time), but when I replaced the .so, it did again. So I recommend going to the Adobe website and getting the official version, because it does work.
I've noticed, at least since I switched from Firefox 2 to Firefox 3, that when Adobe Flash Player 9 ( or 10 ) is installed the browser exhibits sporadic lockups and crashes when navigating the Web -- not just when viewing Flash video or a site that makes heavy use of Flash, although that does seem to increase the odds of the browser eating itself.
After the release of Firefox 3.0 I opted to install Adobe Flash Player 10 Beta. The performance was much better as was the video quality and I didn't experience as many crashes. This all changed when Adobe updated the Beta and the details can be found in the bug report that I filed here. To summarize, after the update, Flash Player 10 would cause the browser to segfault and lockup so frequently, sometimes even upon startup, that the browser became unusable -- I had to downgrade to Flash Player 9. Currently there is someone from Adobe assigned to work on the "problem" whatever it is, but I haven't heard anything in weeks.
jdb2
Flash is a great channel to provide commercial products (video, ads, DRM'ed shit).
It's no threat at all when Flash isn't abused as website critical table of contents.
To comment on the OP: have you already tried the version 10 release candidate? It's supposed to support new audio API's and hardware acceleration.
They just don't care because there are no real competitors to Flash. For most mainstream sites today, Flash is mandatory. (And no amount of boycott will change that.)
I think the best way to fix this is by subversion and infiltration. Boycotts don't work. They haven't worked with Vista and won't work with Flash.
The Linux community needs to stop thinking it can "boycott" things like protocols, and file formats and instead, work to make alternate applications that can work with those file formats and protocols to eat the other guy's lunch.
I suggest the read of penguin.swf blogosplat which is Adobe's blog for posting new version of flash for linux (such as the recent Flash 10 beta or the new alpha)
You'll have Pulseaudio tell you different, but if you use a pure Alsa for your sound, you'll find Flash--and everything else that uses sound--runs MUCH better.
I have no idea why Pulseaudio has been thrust into various distributions, it's cumbersome at best, outright broken at worst. There's nothing Pulseaudio brings to the table that's needed. Application volume sliders? Anything that outputs volume already has a volume slider, why do I need another one? Sound over the network? Is this REALLY a feature people want at the expense of a huge majority of programs not working? And what's wrong with ESD for this?
So do yourself a favor, and remove all the Pulseaudio stuff from your distro.
far from the now mature process of download/click/wait/enjoy, the process involved getting just the right software version, installing it manually in the correct location, maybe hacking around with .INI files and then crossing your fingers that the mean-time-between-crashes was longer than the time it took to print your document.
So it is with installing flash on FF3/U_x64. The process basically sucks and as said, provides a sufficiently bad user experience to turn normal people off Linux for years.
politicians are like babies' nappies: they should both be changed regularly and for the same reasons
"I really do have to suspect Adobe's motivation for keeping Flash on Linux in such a deplorable state."
This is an irksome statement. I doubt Adobe has an interest in making Linux look bad. Isn't there a saying, "never ascribe to malice what can be explained by incompetence."
Probably what would work better here is, "never ascribe to malice what can be explained by business sense." Linux is 4%ish of the desktop market so it would make sense that 4% (or less, but certainly not more) of Adobe flash development go to linux porting. 4% of their development just isn't going to make Flash as good as it is on other platforms, and I doubt they are receiving a lot of money from linux distros to change this.
Yeah it sucks if you use linux but no need to point a finger at Adobe. Its simple dollars and cents (or sense).
What does it say if Adobe only has 1 employee (if that) working on the linux Flash port and he's doing a better job than GNASH and open source development?
If you really feel so strongly about Flash's importance, maybe you should help turn GNASH into a viable solution.
Do you even lift?
These aren't the 'roids you're looking for.
There's various bug reports about this with regards to Pulseaudio and Flash--as well as numerous othat applications--in all major distributions that have packaged Pulseaudio by default. I'm not going to link all the bug reports in a slashdot comment, but you can search for them yourself.
The story and summary seems to be calling out Adobe on this issue, when it's not really their fault. If PA didn't have as many compatibility issues with alsa applications as it has, Flash would work fine.
It's unfair to call out Adobe on this issue. It expects a working alsa implementation, and when it has to use Pluseaudio's version of the virtual device, it crashes. Adobe doesn't have any control over the faultily implementation. So if there's a story that's about Flash crashing fine, but let's put the blame where it belongs here.
Of course it's possible to implement Flash with free software, but that won't solve the problem. Free software is a powerful enough development method to overcome CSS, the Windows API, SMB, and DX. What task do you think is out of reach? The problem then is one of a legal framework that makes it impossible to distribute free software that works with broken media like DVDs and websites that use Flash. There are technical solutions but legal solutions are better. Software patents and the DMCA must go.
There are several technical solutions to broken media. One is for individuals to ignore bad laws and just get DeCSS. A better one is to code around YouTube like Clive does. You can also simply avoid non free media, after all the Internet Archive, Wikipedia and Creative Commons have multiple lifetimes worth of excellent entertainment and education. Most of these send a clear message that Flash, Silverlight and other non free media is broken. Competing technology and it's users are going to win.
Legal solutions are better. We would not have problems with broken media if people were allowed to share their solutions. Laws that prohibit people from sharing free software are always wrong and should never have passed. Modern copyright law is at odds with its purpose and must be reformed.
Friends don't help friends install M$ junk.
I may be the only one here who finds this news. Although this is of course at least partially a symptom of my not caring about he iphone in general.
However, as my wife wants the iphone, I have to ask how this problem works. I thought most systems used flash for youtube - which leads me to the question of how does the iphone use youtube if it doesn't use flash?
Damn_registrars has no butt-hole. Damn_registrars has no use for a butt-hole.
Have some tcpdump or ngrep logs to show such behavior? Or maybe your tinfoil hat is too tight.
Only the State obtains its revenue by coercion. - Murray Rothbard
One in every three or four YouTube videos crashes the browser.
Of course the ideal solution would be for Adobe to fix Flash, but in the meantime you can use nspluginwrapper to prevent Firefox from crashing whenever Flash goes down. nspluginwrapper runs Flash in a separate child process from the web browser, and uses IPC to display the plugin's contents in your browser; it was originally created to allow people to use 32-bit plugins in 64-bit browsers, but this mechanism is also great for isolating the web browser from plugin crashes.
Another solution is to use Opera, which on Linux runs its plugins in an nspluginwrapper-like child process by default.
http://ubuntuforums.org/showpost.php?p=5587712&postcount=472. This guy has for a long time been working on getting flash working perfectly in ubuntu 8.04 and following the linked guide makes it work perfectly for me.
Poor Flash is the one major barrier? Pah - there are a number of more pressing issues, like poor wireless support...
Hardware problems are annoying, but they are fundamentally different from the problem of "critical" software being broken or unavailable. A computer manufacturer that wants to ship computers with Linux pre-loaded, instead of Windows, can pick Linux-friendly hardware to work around the hardware problems. There is no work-around for Flash being crap.
Depends, is one trying to be productive or is one a hobbyist? I find that most of the time when I spend the time to troubleshoot the problem, I end up with some ideas as to how to avoid the problem the next time around, or how to fix it in minimal time when it does occur.
But in terms of productivity, unless it's a recurring problem, it probably is more productive to just reinstall the OS in those cases.
Well, that's assuming that one doesn't compile everything from scratch and lack backups of the packages from which to quickly reinstall them.
The original poster of this article is experiencing bugs with his or her distribution, *not* merely with Flash. There are several issues at work here.
a) Flash 10 RC is the first version to support "windowless mode" flash content that several sites use. Unfortunately, there is a bug in Firefox that causes "windowless mode" content to crash. It is not a bug caused by Adobe Flash; un fact, the newest version of swfdec (which also added support for "windowless mode" content) also causes Firefox to crash. This fix is due for release in Firefox 3.0.2 and a workaround is available for older releases already. See: https://bugs.launchpad.net/bugs/239182
b) Ubuntu Hardy was the first release to integrate PulseAudio, but its default configuration can cause a lot of trouble for users. PulseAudio provides ALSA plugins that enable plain ALSA applications to work correctly with PulseAudio; these plugins are supposed to be enabled by default. Some (buggy) applications do not work correctly using these plugins, including Flash 9 and Audacity. Hardy was released without these plugin enabled, causing many audio mixing problems for users. See: https://bugs.launchpad.net/bugs/198453
c) It appears the original poster is using the libflashsupport library, which is a workaround to enable PulseAudio support in Flash without the need for the ALSA plugins mentioned in point (b) to be enabled. There is a bug in Flash when using the libflashsupport API; closing and opening new flash streams will result in a crash (such as navigating from one Youtube page to another). See: https://bugs.launchpad.net/bugs/192888
d) Flash 10 has fixed its ALSA implementation, allowing it to work correctly with the PulseAudio ALSA plugins as mentioned in point (b) - this means that the (buggy) libflashsupport library is now redundant.
Note that all the above bugs contain links to the upstream issues when applicable. For those too lazy to follow the individual bugs, I have posted a guide to configure PulseAudio (and Flash 10) correctly for Ubuntu users, complete with testing packages. See: http://ubuntuforums.org/showthread.php?t=789578
I am not a fan of Flash, however I have not seen any problems with Flash on Linux since they ended the enormous version lag that broken some sites when Windows hd flash 8 and Linux port stopped development at 7. Flash on Linux is a massive resource eater, has idiotic installation procedure, often has to be updated because of security bugs, however it has exactly the same problems on Windows. It is more crappy and unfixable than most Linux software, however this says more about the level of quality that is considered acceptable on Windows rather than about any deficiencies specific to a Linux port.
As for Youtube, why would a Linux user want to use their flash-based player? Install latest version of clive, mplayer and xclip, and run this script after selecting or copying Youtube URL:
#!/bin/sh
cd "$HOME"
cd Desktop 2>/dev/null
xterm -bg "#ffffff" -fg "#000000" -cr "#800000" -ah -fa "DejaVu Sans Mono" -fs 14 -g 80x6 -T "Video Download" \
-e sh -c \
'xclip -o | clive "--player=mplayer -fs %i" --play=src --mask=custom'
(assign it to some panel launcher or menu in your desktop environent).
Contrary to the popular belief, there indeed is no God.
I know lots of people will smile when reading this comment but I actually report issues to Adobe, especially alpha/beta testing Flash 10. They are NOT very communicative but I see some stuff I reported has been fixed. I am also on PowerPC (still) which MS overlords decided to drop support as early as Silverlight 2.
Another issue with closed source/large company software is, they can't include "crash reporter" so they don't actually know who crashes doing what. It is problem on OS X too but at least we send them to Apple, I don't know what Apple does with them though. For that part, also thank to paranoids and conspiracy theorists. They can obviously have "crash dump" code attached and next day, you would see "Adobe spies on their Linux users!!!" type of story.
Anyway, if you know a specific site triggering crash, you better report to Adobe. Linux is _very_ important to them in light of recent developments. If they didn't care, you wouldn't see Flash 10 beta shipped for Linux.
For "Real Networks" and "Adobe", realistic companies not spoiled like Microsoft, Linux support is passport to "devices" and somehow OSX/future iPhone. Don't think they don't care.
I could flame you for suggesting to replace a 5-year old proprietary format with a 10-year old proprietary format
QuickTime follows a published international standard. If your concern is patents, what non-proprietary format were you thinking of? Ogg Theora?
I'm not trying to hide my bias - most of the work we do is in Actionscript.
But I agree as much as the next guy that making a typical website in Flash is stupid. So is unnecessary required video, low-contrast color schemes, gratuitous music, required Javascript for basic navigation, poor text-only / accessibility support, and many other things that are common on all together too many sites.
There's a bunch of reasons to use Flash, but the biggest one is that it lets you do something no other platform does - create rich, full featured, object oriented applications that just work with a wide installed user base, on a variety of platforms, with a minimum* of security risk to the user.
If you're only thinking Flash Video, you're thinking too small. Think "any application in the world that does not need direct hardware access or to maximize its access to computing resources" It runs over the web, it runs locally, and it runs the same.
Really, Flash shouldn't have this crown. Java applets should. But they don't, because of how that played out in the 90s. The behavior isn't consistent, and developing rich applications for it was tedious at best.
For the programmers reading, you don't want to develop apps in Flash, which is a super-glorified animation tool. But you want to develop in Adobe Flex, which is a wonderful tool with a for-pay IDE, but a free CLI compiler. The OUTPUT is a Flash swf, but the INPUT no longer has a binary animation file, and all of the layout supports inheritance. And the crossover is tremendous and seamless, so you can use whatever your animators/designers make in Flash in a blink.
To address some other points:
Even requiring a recent version of Flash, Flash does generally have a higher installed user base than any other single system. Obviously "HTML" per se has a higher base, but if you're doing anything modestly complex you have to break apart the major-different IE versions from everything else, and last I checked I believe Flash 9 has a higher installed base than any family of HTML rendering. I believe these stats were based on computers "active on the web" - so it doesn't count things that aren't hooked up to the internet currently, many of which presumably have old versions of IE.
Flash Player isn't as open and crossplatform as I'd like, but in general it's been getting better on both counts. Reading the comments of people who actually described there system, it seems like there's problems running Flash Player with 64bit browsers in Linux, and not with 32bit browsers...
*I didn't say NO security risk. But as platforms for running totally arbitrary third party code go, I don't know of anything that does a BETTER job.
Starting as early as 2002 Actionscript is an OOP language.
Looking for freelance Actionscript (Flash/Flex) or ColdFusion work and/or freelance developers. Email me, put Slashdot
Keep in mind though, that using a no CD crack is pretty much a requirement for running many games in Windows too. All convenience issues aside, SecuROM and other DRM can actually break the games' ability to run in many systems CD or not. To say nothing of various Windows issues you may have due to the DRM. So after you buy the game, you frequently need either a No-CD cracked .exe, or you just pirate the damn thing and leave the unopened game on your shelf.
In regards to Flash, I've never actually had an issue with it. I run Ubuntu 8.04 and the non-free binary version of Flash and Firefox has no issues whatsoever with YouTube or any Flash site. Indeed, I've not had a problem with flash since Ubuntu 5.10 or thereabouts. Now, Shockwave, that's another issue. It doesn't work AT ALL. I'd like to see a fix for that sometime this millenium.
Official Heretic from the "Church of Global Warming". Proven right thanks to whistle blowers. AGW = Flat Earth Theory