LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 09-16-2009, 11:09 PM   #1
vik
Member
 
Registered: Apr 2008
Distribution: Gentoo
Posts: 225
Blog Entries: 8

Rep: Reputation: 50
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.

Any ideas? Thanks in advance.
 
Old 09-18-2009, 12:08 AM   #2
Petri Kaukasoina
Member
 
Registered: Mar 2007
Posts: 242

Rep: Reputation: 86
Quote:
Originally Posted by vik View Post
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.)
 
1 members found this post helpful.
Old 09-18-2009, 11:03 AM   #3
vik
Member
 
Registered: Apr 2008
Distribution: Gentoo
Posts: 225
Blog Entries: 8

Original Poster
Rep: Reputation: 50
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.
 
Old 10-10-2009, 06:45 PM   #4
vik
Member
 
Registered: Apr 2008
Distribution: Gentoo
Posts: 225
Blog Entries: 8

Original Poster
Rep: Reputation: 50
In case anyone was curious, here's how I got it working (with help from this thread: http://www.linuxquestions.org/questi...7/#post3696542 ):

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.
 
1 members found this post helpful.
Old 06-14-2010, 10:15 AM   #5
marnold
Member
 
Registered: Dec 2005
Distribution: Slackware64 14.1
Posts: 258

Rep: Reputation: 32
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.
 
Old 06-14-2010, 05:11 PM   #6
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,460

Rep: Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888
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
Code:
/usr/lib/nspluginwrapper/x86_64/linux/npconfig -v -i /usr/lib/mozilla/plugins/libflashplayer.so
- 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...

the error I got in console is
Code:
*** NSPlugin Viewer  *** WARNING: unhandled variable 18 (<unknown variable>) in NPN_GetValue()
there's also a bug in launchpad about it.

controls/settings work ok for you?

Last edited by ponce; 06-14-2010 at 05:49 PM.
 
Old 06-14-2010, 05:57 PM   #7
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Rep: Reputation: 201Reputation: 201Reputation: 201
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.
 
1 members found this post helpful.
Old 06-14-2010, 07:44 PM   #8
marnold
Member
 
Registered: Dec 2005
Distribution: Slackware64 14.1
Posts: 258

Rep: Reputation: 32
Quote:
Originally Posted by ponce View Post
controls/settings work ok for you?
I hadn't tried that, but no, they don't. Pity.
 
Old 06-14-2010, 07:45 PM   #9
marnold
Member
 
Registered: Dec 2005
Distribution: Slackware64 14.1
Posts: 258

Rep: Reputation: 32
Quote:
Originally Posted by damgar View Post
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?
 
Old 06-14-2010, 08:03 PM   #10
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Rep: Reputation: 201Reputation: 201Reputation: 201
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/

http://www.linuxquestions.org/questi...no-ssl-801250/

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.

Last edited by damgar; 06-14-2010 at 08:05 PM.
 
Old 06-14-2010, 08:38 PM   #11
dugan
Senior Member
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 4,769

Rep: Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467
Quote:
Originally Posted by marnold View Post
Some people had reported problems with that.
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.

Last edited by dugan; 06-14-2010 at 08:45 PM.
 
Old 06-14-2010, 11:46 PM   #12
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current & "True Multilib." PC-BSD.
Posts: 2,238

Rep: Reputation: 176Reputation: 176
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."
 
Old 06-15-2010, 12:16 AM   #13
dugan
Senior Member
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 4,769

Rep: Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467Reputation: 1467
Quote:
Browser works, but the plug-in does not.
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.

Last edited by dugan; 06-15-2010 at 12:18 AM.
 
Old 06-15-2010, 08:02 AM   #14
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current & "True Multilib." PC-BSD.
Posts: 2,238

Rep: Reputation: 176Reputation: 176
Quote:
Originally Posted by dugan View Post
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.
 
Old 06-15-2010, 07:34 PM   #15
marnold
Member
 
Registered: Dec 2005
Distribution: Slackware64 14.1
Posts: 258

Rep: Reputation: 32
Quote:
Originally Posted by cwizardone View Post
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.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Flash Player issues with 64 bit. rich_c MEPIS 1 09-20-2009 10:41 AM
So is 64-bit Flash Player on the way? REALLY? checkmate3001 Linux - Software 3 12-06-2008 05:10 PM
LXer: Howto install Flash, Java, Real Player 32 bit plugins under 64 bit Firefox LXer Syndicated Linux News 0 03-16-2007 11:31 PM
Is there Flash Player for 64 Bit Linux manikantha Linux - General 13 06-20-2006 01:25 PM
No Flash Player for 64-Bit Linux barneyt Linux - Software 6 02-18-2006 10:17 PM


All times are GMT -5. The time now is 08:17 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration