32-bit flash player with nspluginwrapper on slackware 64
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
32-bit flash player with nspluginwrapper on slackware 64
Hi. I'm trying to use the 32-bit flash player on slackware 64 since the 64-bit alpha version seems a little buggy (no sound sometimes). I've successfully installed nspluginwrapper and got the 32-bit adobe reader plugin working, but the flash player isn't working: I just see a gray screen for flash videos. npconfig -l reports that it's there:
Code:
/usr/lib64/mozilla/plugins/npwrapper.libflashplayer.so
Original plugin: /usr/lib/mozilla/plugins/libflashplayer.so
Wrapper version string: 1.2.2
/usr/lib64/mozilla/plugins/npwrapper.nppdf.so
Original plugin: /usr/lib/mozilla/plugins/nppdf.so
Wrapper version string: 1.2.2
Here's what I've done so far:
1) created nspluginwrapper package from scratch and installed.
2) built 32-bit flash package sourcing /etc/profile.d/32dev.sh first. unset ARCH as well.
3) installed 32-bit flash package.
4) attempted this: /usr/lib/nspluginwrapper/x86_64/linux/npconfig -v -i /usr/lib/mozilla/libflashplayer.so
5) got an error about missing libnss3.so, so I grabbed Alien Bob's 32 and 64 bit mozilla-nss packages. made a 32-bit compatibility package using convertpkg-compat32. installed both 64 and 32 bit packages.
6) ran ldd /usr/lib/mozilla/libflashplayer.so and no missing dependencies
7) ran command from 4) and it worked.
8) go to adobe's web page and no flash.
64-bit alpha version seems a little buggy (no sound sometimes).
Maybe you run some other program that uses the sound card via OSS emulation? If a program opens the sound device using OSS, only that application can use sound. I would not load the oss compatibility modules in the first place (snd-*-oss), but check the configuration of all the sound applications you use and change them to use ALSA instead of OSS.
(But if you want to use 32-bit flash, you can install the 32-bit firefox binary package, too. I have done that on a 64-bit Slackware-13.0 and it works fine that way. No wrappers needed.)
I don't think I have anything else using ALSA OSS emulation, since I only have KDE and firefox running. I gave up on the nspluginwrapper solution and just went back to the 64-bit version. If I continue having problems, I'll try running flash with the 32-bit Firefox per your suggestion. Thank you.
1) grab dbus-glib, curl, libidn, esound, and audiofile off the slackware 13 32-bit CD.
2) grab mozilla-nss from Alien Bob's website: http://connie.slackware.com/~alien/s...a-nss/pkg/12.2 (I know this is for Slackware 12.2 but it works fine for Slackware 13).
3) su to root
4) convertpkg -i <pkg name> -d . (for each package listed above)
5) installpkg <pkg_name-compat32...> (for each compatibility package created above)
6) grab the slackbuild and source for the flash player
7) before running the slackbuild, unset ARCH
8) . /etc/profile.d/32dev.sh
9) run the slackbuild file
10) install the package. If everything goes right you should have /usr/lib/mozilla/plugins/libflashplayer.so (not /usr/lib64!).
11) install nspluginwrapper. I couldn't find a package so I created one.
12) now run ldd /usr/lib/mozilla/plugins/libflashplayer.so to check dependencies
13) now run /usr/lib/nspluginwrapper/x86_64/linux/npconfig -v -i /usr/lib/mozilla/plugins/libflashplayer.so. If all goes well it will say plugin installed.
14) you can run /usr/lib/nspluginwrapper/x86_64/linux/npconfig -l to list plugins.
Just a bump because I'm sure a lot more people will be trying this now because of the 0day exploit and no updated 64bit Flash. I just got this working with Slackware64 13.1. I followed the above instructions, except that I used the AlienBob's 13.0 package for mozilla-nss. I didn't bother with a Flash player Slackbuild. I just grabbed the 32bit version of Flash 10.1 from Adobe's site and extracted it into /usr/lib/mozilla/plugins (I had to create mozilla/plugins). I also had to create a symbolic link in /usr/lib64/mozilla/plugins to npwrapper.so. At first it didn't work, but after running ldconfig everything was OK. Thankfully my i5-750 has CPU cycles to spare so the extra overhead is a non-issue.
I have done slightly differently:
- added /usr/lib/seamonkey (location of seamonkey-solibs-compat32, installed by default in multilib setup) at the end of /etc/ld.so.conf
- ldconfig
- installed the packages of the new flash-player-plugin and nspluginwrapper
- setted it up with
- relaunched firefox (deleted pluginreg.dat in .mozilla/firefox/*my_profile* before too)
but I'm not too happy of the result: on some videos (like this) controls works partially (I guess because the stuff that works is in javascript/html5), on some others (like this), they don't work at all; settings don't work too;
deleting pluginreg.dat helps but don't fix the thing completely...
Just my two cents, if you are running multilib already, why not just install a 32 bit browser and 32 bit flash plugin? That was my solution to poor 64bit flash and it turned out to work very well.
Just my two cents, if you are running multilib already, why not just install a 32 bit browser and 32 bit flash plugin? That was my solution to poor 64bit flash and it turned out to work very well.
Some people had reported problems with that, so maybe I gave up too quickly. Won't there be some problems if I jump back and forth between 32bit and 64bit versions of Firefox?
I just did away with the 64 bit firefox and google-chrome. I never noticed that 64 bit browsers were faster or anything like that so I don't feel like I'm losing anything. I've been doing it for months. Maybe I'm missing something? I've had zero problems that I'm aware of aside from a problem with multilib dependencies using google-chrome which I resolved. http://www.linuxquestions.org/questi...-salix-799710/
Those links outline my problem, the solution, and then how I got google-chrome going in multilib with full funcionality.
For what it's worth, the only reason I got rid of the 64 bit versions of those browsers was that it seemed neater to me. I didn't see any kind of problems having them installed, I just didn't need them.
Please link to the threads where these problems were reported, so that those of us who running 32-bit browsers on multilib setups know what to expect.
I currently have the same setup as damgar. So far it works well.
You will not have the same performance in nspluginwrapper as you do in a 32-bit browser. Flash is a very performance-intensive real-time application, and you will feel every bit of overhead that nspluginwrapper introduces.
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,086
Rep:
Just tried it, that is, installed a 32 bit browser and the 32 bit Flash plug-in. Browser works, but the plug-in does not.
Oh, well....
Hard to believe Adobe won't release a 64 bit plug-in. Afterall, 64 bit is the "future."
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,086
Rep:
Quote:
Originally Posted by dugan
There are two people reading this thread who have overcome this, so why don't you post more details about the problem, and we'll help you out.
Not much to report. Installed the 32 bit browser and it runs fine. Using it at the moment. Downloaded the 10.1 Adobe Flash plug-in and put copies in the appropriate locations (/usr/lib/mozilla/plugins and /usr/lib/opera/plugins), but it doesn't work. Don't know what else to say, but thanks for your interest.
Last edited by cwizardone; 06-15-2010 at 08:50 AM.
Not much to report. Installed the 32 bit browser and it runs fine. Using it at the moment. Downloaded the 10.1 Adobe Flash plug-in and put copies in the appropriate locations (/usr/lib/mozilla/plugins and /usr/lib/opera/plugins), but it doesn't work. Don't know what else to say, but thanks for your interest.
I'd bet that you'd need the other packages listed above. Run ldd libflashplayer.so and I bet it will complain about a lot of things being missing.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.