Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] Flash in Firefox on AMD64
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
wilsonsamm
Apprentice
Apprentice


Joined: 12 Jul 2008
Posts: 196

PostPosted: Sat Aug 14, 2010 4:46 pm    Post subject: [solved] Flash in Firefox on AMD64 Reply with quote

How do we do this these days? On my system, it was working untill recently when adobe released version 10.1 or something.

nspluginwrapper is installed on my system. I don't know what it's role is, and it hasn't made any visible impact on the about:plugins page in my firefox. Do I need to use firefox-bin or is (self-compiled) firefox OK too?


Last edited by wilsonsamm on Sun Aug 15, 2010 6:24 pm; edited 1 time in total
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Sat Aug 14, 2010 5:39 pm    Post subject: Reply with quote

Code:
emerge adobe-flash nspluginwrapper

suggest emerge nspluginwrapper anytime browser plugins go strange
there is a harder way to replugin the 32 bit plugins, why bother?
Back to top
View user's profile Send private message
khippy
Tux's lil' helper
Tux's lil' helper


Joined: 29 Aug 2002
Posts: 79
Location: Braunschweig - Germany

PostPosted: Sat Aug 14, 2010 8:44 pm    Post subject: Re: Flash in Firefox on AMD64 Reply with quote

wilsonsamm wrote:
How do we do this these days? On my system, it was working untill recently when adobe released version 10.1 or something.

nspluginwrapper is installed on my system. I don't know what it's role is, and it hasn't made any visible impact on the about:plugins page in my firefox. Do I need to use firefox-bin or is (self-compiled) firefox OK too?


Same here. I had seamonky 64bit compiled running adobe flash perfectly without any problems by using nspluginwrapper so far, but the latest system/world update shreddered flash completely. Even firefox-bin 32-bit does not show flash videos anymore, even http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager07.html refuses to work.

Each and every flash object has if I righ click it
Quote:
Movie not loaded ...
About Adobe Flash Player 10 ...


If I start firefox-bin or seamonky from xterm, then I see this warning/error:
Adobe Flash Player error: could not load cURL library

Note, that firefox-bin located at /opt does not carry any curl libraries with it and I only have 64 bit curl libs at my system. That is the error I assume. Can anybody verify that?
_________________
--
there are no silly questions
Back to top
View user's profile Send private message
BitJam
Advocate
Advocate


Joined: 12 Aug 2003
Posts: 2513
Location: Silver City, NM

PostPosted: Sat Aug 14, 2010 9:21 pm    Post subject: Re: Flash in Firefox on AMD64 Reply with quote

khippy wrote:
If I start firefox-bin or seamonky from xterm, then I see this warning/error:
Adobe Flash Player error: could not load cURL library

Note, that firefox-bin located at /opt does not carry any curl libraries with it and I only have 64 bit curl libs at my system. That is the error I assume. Can anybody verify that?

Firefox-bin with Flash works fine** on my amd64 system. I am using nspluginwrapper. Did you emerge adobe-flash with the multilib USE flags enabled? Oddly enough, my adobe-flash has multilib enabled but nspuginwrapper disabled yet it seems to work fine.**

I don't have any libcurl's under /opt/firefox. But I do have a /usr/lib32/libcurl.so that is part of the app-emulation/emul-linux-x86-baselibs package that was brought in by firefox-bin (and a bunch of other packages).

**Well, flash is a little crashy so I have a button on my desktop to killall libflashplayer.so. When I'm done with one tv episode and I remember to hit this button before playing the next episode then I avoid the crashes.
Back to top
View user's profile Send private message
khippy
Tux's lil' helper
Tux's lil' helper


Joined: 29 Aug 2002
Posts: 79
Location: Braunschweig - Germany

PostPosted: Sat Aug 14, 2010 9:38 pm    Post subject: Reply with quote

Oops, locate wasn't telling the truth (I have to investigate why), I do have /usr/lib32/libcurl.so, too.

Quote:
$ emerge -pv adobe-flash

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild R ] www-plugins/adobe-flash-10.1.82.76-r1 USE="(multilib) nspluginwrapper" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB


So now, I am lost. Why the heck does adobe-flash report a problem with curl, here?
_________________
--
there are no silly questions
Back to top
View user's profile Send private message
dmpogo
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 3502
Location: Canada

PostPosted: Sat Aug 14, 2010 9:57 pm    Post subject: Re: Flash in Firefox on AMD64 Reply with quote

wilsonsamm wrote:
How do we do this these days?


I continue to use amd64 10.0
Back to top
View user's profile Send private message
BitJam
Advocate
Advocate


Joined: 12 Aug 2003
Posts: 2513
Location: Silver City, NM

PostPosted: Sat Aug 14, 2010 10:02 pm    Post subject: Reply with quote

Here is the output of nspluginwrapper -l on my system:
Code:
$ nspluginwrapper -l
/usr/lib/nsbrowser/plugins/npwrapper.libflashplayer.so
  Original plugin: //opt/Adobe/flash-player32/libflashplayer.so
  Plugin viewer: /usr/lib64/nspluginwrapper/i386/linux/npviewer
  Wrapper version string: 1.3.0
/usr/lib64/nsbrowser/plugins/npwrapper.libflashplayer.so
  Original plugin: //opt/Adobe/flash-player32/libflashplayer.so
  Plugin viewer: /usr/lib64/nspluginwrapper/i386/linux/npviewer
  Wrapper version string: 1.3.0

Do you have something similar? Also, someone had the same problem on slackware and it was caused by problems with some pango files under /etc/. Here is the contents of my /etc/pango:
Code:
 ls -R /etc/pango
/etc/pango:
i686-pc-linux-gnu/  pangox.aliases  x86_64-pc-linux-gnu/

/etc/pango/i686-pc-linux-gnu:
pango.modules

/etc/pango/x86_64-pc-linux-gnu:
pango.modules


The /etc/pango/i686-pc-linux-gnu/pango.modules file does not belong to any package (according to equery). Perhaps the running of some program generates that file.
Back to top
View user's profile Send private message
BitJam
Advocate
Advocate


Joined: 12 Aug 2003
Posts: 2513
Location: Silver City, NM

PostPosted: Sat Aug 14, 2010 10:09 pm    Post subject: Reply with quote

Google(/etc/pango/i686-pc-linux-gnu) found this post that suggests you do:
Code:
# pango-querymodules32  > /etc/pango/i686-pc-linux-gnu/pango.modules
Back to top
View user's profile Send private message
khippy
Tux's lil' helper
Tux's lil' helper


Joined: 29 Aug 2002
Posts: 79
Location: Braunschweig - Germany

PostPosted: Sat Aug 14, 2010 11:01 pm    Post subject: Reply with quote

The content of my /etc/pango/i686-pc-linux-gnu/pango.modules already equals to pango-querymodules32.

Quote:
# nspluginwrapper -l
/usr/lib/seamonkey/plugins/npwrapper.libflashplayer.so
Original plugin: //opt/Adobe/flash-player32/libflashplayer.so
Plugin viewer: /usr/lib64/nspluginwrapper/i386/linux/npviewer
Wrapper version string: 1.3.0
/usr/lib64/seamonkey/plugins/npwrapper.libflashplayer.so
Original plugin: //opt/Adobe/flash-player32/libflashplayer.so
Plugin viewer: /usr/lib64/nspluginwrapper/i386/linux/npviewer
Wrapper version string: 1.3.0
/usr/lib/nsbrowser/plugins/npwrapper.libflashplayer.so
Original plugin: //opt/Adobe/flash-player32/libflashplayer.so
Plugin viewer: /usr/lib64/nspluginwrapper/i386/linux/npviewer
Wrapper version string: 1.3.0
/usr/lib64/nsbrowser/plugins/npwrapper.libflashplayer.so
Original plugin: //opt/Adobe/flash-player32/libflashplayer.so
Plugin viewer: /usr/lib64/nspluginwrapper/i386/linux/npviewer
Wrapper version string: 1.3.0

looks well to me.

In between I have strace -fo out firefox-bin and concerning curl I have:
Quote:
32701 open("/opt/firefox/libcurl.so.4", O_RDONLY) = -1 ENOENT (No such file or directory)
32701 open("/usr/lib32/libcurl.so.4", O_RDONLY) = 14
32701 open("/opt/firefox/libcurl-gnutls.so.4", O_RDONLY) = -1 ENOENT (No such file or directory)
32701 open("/lib32/libcurl-gnutls.so.4", O_RDONLY) = -1 ENOENT (No such file or directory)
32701 open("/usr/lib32/libcurl-gnutls.so.4", O_RDONLY) = -1 ENOENT (No such file or directory)
32701 open("/opt/firefox/libcurl.so.3", O_RDONLY) = -1 ENOENT (No such file or directory)
32701 open("/lib32/libcurl.so.3", O_RDONLY) = -1 ENOENT (No such file or directory)
32701 open("/usr/lib32/libcurl.so.3", O_RDONLY) = -1 ENOENT (No such file or directory)
32701 open("/opt/firefox/libcurl-gnutls.so.3", O_RDONLY) = -1 ENOENT (No such file or directory)
32701 open("/lib32/libcurl-gnutls.so.3", O_RDONLY) = -1 ENOENT (No such file or directory)
32701 open("/usr/lib32/libcurl-gnutls.so.3", O_RDONLY) = -1 ENOENT (No such file or directory)
32701 open("/opt/firefox/libcurl.so.4", O_RDONLY) = -1 ENOENT (No such file or directory)


/usr/lib32/libcurl.so.4 is available and the only hit.
Code:

# file /usr/lib32/libcurl.so.4
/usr/lib32/libcurl.so.4: symbolic link to `libcurl.so.4.2.0'
# file /usr/lib32/libcurl.so.4.2.0
/usr/lib32/libcurl.so.4.2.0: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped
# ldd /usr/lib32/libcurl.so.4.2.0
        linux-gate.so.1 =>  (0xffffe000)
        libldap-2.4.so.2 => /usr/lib32/libldap-2.4.so.2 (0xf7702000)
        librt.so.1 => /lib32/librt.so.1 (0xf76d4000)
        libgssapi_krb5.so.2 => /usr/lib32/libgssapi_krb5.so.2 (0xf76ab000)
        libkrb5.so.3 => /usr/lib32/libkrb5.so.3 (0xf7621000)
        libk5crypto.so.3 => /usr/lib32/libk5crypto.so.3 (0xf75fc000)
        libcom_err.so.2 => /lib32/libcom_err.so.2 (0xf75f8000)
        libresolv.so.2 => /lib32/libresolv.so.2 (0xf75e3000)
        libssl.so.0.9.8 => not found
        libcrypto.so.0.9.8 => not found
        libdl.so.2 => /lib32/libdl.so.2 (0xf75de000)
        libz.so.1 => /lib32/libz.so.1 (0xf75cb000)
        libc.so.6 => /lib32/libc.so.6 (0xf7485000)
        liblber-2.4.so.2 => /usr/lib32/liblber-2.4.so.2 (0xf7478000)
        libssl.so.0.9.8 => not found
        libcrypto.so.0.9.8 => not found
        libpthread.so.0 => /lib32/libpthread.so.0 (0xf745e000)
        /lib/ld-linux.so.2 (0x4b28d000)
        libkrb5support.so.0 => /usr/lib32/libkrb5support.so.0 (0xf7456000)

Do you guys where adobe-flash runs fine have these USE flags for net-misc/curl-7.21.0? USE="gnutls ipv6 ldap ssl threads"?

ready with revdep-rebuilding
...looks good:
* Checking dynamic linking consistency
[ 29% ] * broken /usr/lib32/GConf/2/libgconfbackend-evoldap.so (requires libcrypto.so.0.9.8 libssl.so.0.9.8)
[ 33% ] * broken /usr/lib32/krb5/plugins/preauth/pkinit.so (requires libcrypto.so.0.9.8)
[ 35% ] * broken /usr/lib32/libcurl.so.4.2.0 (requires libcrypto.so.0.9.8 libssl.so.0.9.8)
[ 36% ] * broken /usr/lib32/libldap-2.4.so.2.5.2 (requires libcrypto.so.0.9.8 libssl.so.0.9.8)
* broken /usr/lib32/libldap_r-2.4.so.2.5.2 (requires libcrypto.so.0.9.8 libssl.so.0.9.8)

_________________
--
there are no silly questions


Last edited by khippy on Sat Aug 14, 2010 11:44 pm; edited 1 time in total
Back to top
View user's profile Send private message
BitJam
Advocate
Advocate


Joined: 12 Aug 2003
Posts: 2513
Location: Silver City, NM

PostPosted: Sat Aug 14, 2010 11:25 pm    Post subject: Reply with quote

I have curl-7.20.0-r2 with USE="gnutls ssl".

The only file I have mentioned in your strace is the same one you have. When I strace firefox-bin there are only two hits for "curl":
Code:
$  grep curl out
11589 open("/opt/firefox/libcurl.so.4", O_RDONLY) = -1 ENOENT (No such file or directory)
11589 open("/usr/lib32/libcurl.so.4", O_RDONLY) = 14


Revdep-rebuild sounds like an excellent idea. I had assumed your system was up-to-date.
Back to top
View user's profile Send private message
khippy
Tux's lil' helper
Tux's lil' helper


Joined: 29 Aug 2002
Posts: 79
Location: Braunschweig - Germany

PostPosted: Sat Aug 14, 2010 11:34 pm    Post subject: Reply with quote

BitJam wrote:
Revdep-rebuild sounds like an excellent idea. I had assumed your system was up-to-date.


Shame on me :oops: . I can't tell how often I do have revdep-rebuilded my system after system/world update just to be shure or after things weren't running so well. Only this time I haven't done so nor did I think on that earlier. The latest openssl revdep-rebuild suggested by emerge was, let's say, complicated and I thought I was ready with that and apparently I wasn't.

I am pretty shure, after _this_ revdep-rebuild, the adobe-flash error will be gone. *Update* And yes, it is.

Thanks, guys for assisting me. The only hope I have is that this thread will be help for another guy like me :wink:

@wilsonsamm: Can you mark this thread [SOLVED] if revdep-rebuild helps you too?
_________________
--
there are no silly questions
Back to top
View user's profile Send private message
wilsonsamm
Apprentice
Apprentice


Joined: 12 Jul 2008
Posts: 196

PostPosted: Sun Aug 15, 2010 6:19 pm    Post subject: Reply with quote

Oh I simply remerged nspluginwrapper and flash now works fine.
And it uses "only" 40% of my CPU time as opposed to nearing 90% before on a 2GHz AMD Sempron.
Back to top
View user's profile Send private message
ilborg
n00b
n00b


Joined: 02 Mar 2008
Posts: 42
Location: Finland

PostPosted: Mon Aug 16, 2010 10:59 am    Post subject: Reply with quote

I switched to gnash. Works just like piece of crap in many cases, but I managed to get youtube working anyway. With couple of hidden options you can enable HW acceleration too and therefore you can watch youtube videos in full screen with full frame rate. Better than adobe flash in that way. Most of the time gnash are very slow to start play anything, and it seems to be crashed for something like 30-60 seconds before it starts to play the video. Some other video services than youtube seems to be working too, but it's quite big possibility that they don't.

I'm using latest unstable version of gnash, and added these lines to ~/.gnashrc to get acceleration working.
Code:

set HWAccel xv
set Renderer opengl

Somehow without another of those options, the video didn't work properly.
Back to top
View user's profile Send private message
jongust
n00b
n00b


Joined: 13 Jun 2005
Posts: 47

PostPosted: Tue Aug 31, 2010 4:40 pm    Post subject: I got flash player working with nspluginwrapper....sound too Reply with quote

I downloaded the tarball from adobe and copied the libflashplayer.so to Original plugin: /usr/lib64/nsbrowser/plugins/npwrapper.libflashplayer.so and renamed it with the npwrapper. infront of it.....and then linked it with nspluginwrapper -i /usr/lib64/nsbrowser/plugins/npwrapper.libflashplayer.so
and everything seemed to work seamlessly, sound and everything.
Just wanted to post this, even though other people have posted close to the same to this, to help other people with the same troubles. After I linked the one npwrapper.libflashplayer.so everything worked and showed up in other places when I did nspluginwrapper -l command.

Hope this helps .....if there is any other questions let me know. I will post my make.conf below. If any other info is needed let me know.


nspluginwrapper -l
/usr/lib/nsbrowser/plugins/npwrapper.nppdf.so
Original plugin: /usr/lib32/nsbrowser/plugins/nppdf.so
Plugin viewer: /usr/lib64/nspluginwrapper/i386/linux/npviewer
Wrapper version string: 1.3.0
/usr/lib/nsbrowser/plugins/npwrapper.npwrapper.libflashplayer.so
Original plugin: /usr/lib64/nsbrowser/plugins/npwrapper.libflashplayer.so
Plugin viewer: /usr/lib64/nspluginwrapper/i386/linux/npviewer
Wrapper version string: 1.3.0
/usr/lib64/nsbrowser/plugins/npwrapper.nppdf.so
Original plugin: /usr/lib32/nsbrowser/plugins/nppdf.so
Plugin viewer: /usr/lib64/nspluginwrapper/i386/linux/npviewer
Wrapper version string: 1.3.0
/usr/lib64/nsbrowser/plugins/npwrapper.npwrapper.libflashplayer.so
Original plugin: /usr/lib64/nsbrowser/plugins/npwrapper.libflashplayer.so
Plugin viewer: /usr/lib64/nspluginwrapper/i386/linux/npviewer
Wrapper version string: 1.3.0



# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /etc/make.conf.example for a more detailed example.
CFLAGS="-march=k8 -O2 -pipe"
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
MAKEOPTS="-j5"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
USE="kde gnome cgi sql multilib nspluginwrapper webkit extras mysql force-cgi-redirect mmx sse sse2 sse3 sse4a md5summer ctype filter ctype crypt pcre session unicode apache2 mysqli crypt branding gnutls foomaticdb truetype gd avahi cups usb opengl x86 xulrunner nls srt X ssl v4l2 caps 3dnow -ldap -arts mp3 gstreamer encode lame threads utemper nvidia hal dbus dvd dvdr bash-completion bzip2 ffmpeg flac gmp gphoto2 gtk gtk2 mplayer nsplugin php perl python wxwindows xine xorg vorbis udev pam ogg 3dnowext win32codecs ipv6 loop-aes 3dnowprefetch hvm mmxext eapi-2 fortran png libg++ syscall symlink flac nx ppds"
ALSA_CARDS="emu10k1"
VIDEO_CARDS="nvidia"
GENTOO_MIRRORS="ftp://gentoo.arcticnetwork.ca/pub/gentoo/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://cudlug.c$
INPUT_DEVICES="evdev keyboard mouse"
FOO2ZJS_DEVICES="hpp1006"
#LDFLAGS="-Wl,--as-needed"
Back to top
View user's profile Send private message
sleepingsun
Guru
Guru


Joined: 03 May 2006
Posts: 477
Location: Bosnia

PostPosted: Wed Sep 01, 2010 7:47 am    Post subject: Reply with quote

Close firefox and try

Code:
equery f adobe-flash


than open firefox browser !

For chrome install nspluginwrapper shuld work !
_________________
Gentoo is Rocks
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum