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)
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).
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.
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.
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'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