My thoughts on Slackware, life and everything

Tag: adobe (Page 5 of 5)

New adobe flash player for Linux

Yesterday, Adobe Labs released their “Preview 1” of a new flashplayer browser plugin they have been developing. As you may know, the previous test version of a Linux version of their plugin was withdrawn because it was riddled with security holes, performance issues and suffered from a bad codebase.

The newly developed code seems to be cross-platform since there are preview releases of this Flash Player ‘Square’ to be downloaded for Windows and Mac OS as well.

See http://labs.adobe.com/technologies/flashplayer10/ for the announcement and downloadables.

So far, I am pleased with the performance and feature-set of this new plugin. Other people report that this plugin finally supports Hulu, which is a US-only video broadcast service so I can not test it from here.

I have created Slackware packages for the new flashplayer (32-bit as well as 64-bit), you can grab those at http://slackware.com/~alien/slackbuilds/flashplayer-plugin/ . These pacakges install the plugin into the generic mozilla plugins directory so that all mozilla-based browsers will be able to use it.

Eric

Flash crashes Firefox on x86_64

Some people have reported that on 64-bit Slackware, and after installing Adobe’s 64-bit Flash plugin, their Firefox crashes with an “illegal instruction” errorĀ  when it loads a page containing flash video (like Youtube)…

I never had this issue, and for a lot of other people, flash works fine as well. However, the mystery remained until my friend Bruce (whose computer suffers from this crash bug, but only in Slackware, not in Gentoo) found the solution on the Gentoo bugtracker. Bruce wrote a howto on how to fix the crash .

Basically, the bug hits only certain Athlon64 CPUs which do not have the “lahf_lm” processor flag. This seems to be absent in certain processors of the “cpu family 15“. My own Athlon64 3200+ processor is from that same family but still mine has this “lahf_lm” flag (as shown in the output of the command “cat /proc/cpuinfo”).

What is the fix?

If you have an Athlon64 CPU which misses the “lahf_lm” instruction, you need to compile a small dynamic library that traps the “illegal instruction” signal and then emulates its effects. You should either place the plugin in mozilla’s plugins directory (so it’s loaded whenever the Flash plug-in is loaded) or force it to load by adding it to LD_PRELOAD environment variable. Below, I will show you how to build and install the library.

The source code written by Maks Verver is attached to the gentoo bug report I linked to earlier, and I’ve made a copy available here.

Download this “c” source file, then as root build the dynamic library “flashplugin-lahf-fix.so” using the following command (beware of line-wraps, the commands below are each a single line):

cc -fPIC -shared -nostdlib -lc -oflashplugin-lahf-fix.so flashplugin-lahf-fix.c

Copy the resulting library file “flashplugin-lahf-fix.so” to the mozilla plugin directory:

install -m0755 flashplugin-lahf-fix.so /usr/lib64/mozilla/plugins/flashplugin-lahf-fix.so

Restart your Firefox browser and check that it no longer crashes when you load a flash video.

Eric

Newer posts »

© 2024 Alien Pastures

Theme by Anders NorenUp ↑