Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Macromedia Flash under AMD 64
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
urbanomad
Tux's lil' helper
Tux's lil' helper


Joined: 04 Aug 2005
Posts: 147
Location: Boston, MA

PostPosted: Sat Feb 11, 2006 1:14 pm    Post subject: Macromedia Flash under AMD 64 Reply with quote

Has anyone gotten this working? I can't figure out what I need to do :(
I tried emerging netscape-flash assuming that would set up everything I needed but I still can't view flash movies in Firefox.
Back to top
View user's profile Send private message
TerranAce007
Apprentice
Apprentice


Joined: 13 Dec 2004
Posts: 281
Location: Texas

PostPosted: Sat Feb 11, 2006 1:28 pm    Post subject: Reply with quote

Thats probably because you compiled firefox, so it is a 64 bit program. Flash is still only a 32 bit plugin, so you have to emerge the 32bit version of firefox (firefox-bin) in order to get flash to work. Until macromedia decides to release a 64bit plugin for linux, you must either use a 32 bit browser, or see if you can get one of the open-source flash players in portage to work. I never really had any luck with them, so I use a 32 bit browser with a special mplayerplug-in-bin for those propietary video codecs that don't have 64 bit versions.

You can have 32 and 64 bit versions of firefox installed togther. They use the same settings folder in home, so you can switch between them, but I rarely ever fire up the 64 bit version since the 32 has all the working plugins.
_________________
It's all funny until someone gets hurt.


Then it's hilarious.
Back to top
View user's profile Send private message
Master_Of_Disaster
l33t
l33t


Joined: 28 Feb 2003
Posts: 610
Location: 15.05072° East, 48.13747° North (aka Mauer), Austria

PostPosted: Sat Feb 11, 2006 2:13 pm    Post subject: Reply with quote

http://www.gibix.net/dokuwiki/en:projects:nspluginwrapper

Using this, you can use Flash in a 64 Bit Browser - But bear in mind this is experimental software, and it crashed on my machine more than once and seems to have issues with memory management... Currently, there isn't an ebuild in the main portage tree, but herbs has made one. Find it here

See the nspluginwrapper thread
_________________
post tenebras lux, post fenestras tux
Registered Linux User Nr. 312509
Adopt an unanswered post today!
Back to top
View user's profile Send private message
urbanomad
Tux's lil' helper
Tux's lil' helper


Joined: 04 Aug 2005
Posts: 147
Location: Boston, MA

PostPosted: Tue Feb 21, 2006 3:32 am    Post subject: Reply with quote

tried getting the nspluginwrapper to work but I'm not all that familiar with using non-approved ebuilds so I wasn't able to get it working.
I tried emerging the 32 bit firefox and netscape-flash plugin, and now it works, but there's no sound.
Back to top
View user's profile Send private message
stobbsm
Guru
Guru


Joined: 23 May 2004
Posts: 452

PostPosted: Fri Feb 24, 2006 6:32 pm    Post subject: Reply with quote

you could always try gnash

there is an ebuild, and it supposedly works with most flashplayer 7 movies.

Sorry, I don't have a link, I'm at work and don't have time to search for it right now.
_________________
Sysadmin of Ubuntu systems and servers....
Although my own server is gentoo....
Back to top
View user's profile Send private message
longship
Apprentice
Apprentice


Joined: 04 Jun 2005
Posts: 294
Location: Ontario, CA USA

PostPosted: Fri Feb 24, 2006 7:33 pm    Post subject: Re: Macromedia Flash under AMD 64 Reply with quote

urbanomad wrote:
Has anyone gotten this working? I can't figure out what I need to do :(
I tried emerging netscape-flash assuming that would set up everything I needed but I still can't view flash movies in Firefox.


I have Firefox (32-bit) working with Flash and Mplayer plugins. Java is yet to come.

Shockwave was easy.

Code:
emerge firefox-bin
emerge netscape-flash


These will load the 32-bit firefox and Flash.

If you are using the 64-bit Firefox, you'll have to consider whether you really need Flash, since it is a 32-bit only plugin.

You'll find complete instructions here --> http://gentoo-wiki.com/HOWTO_AMD_64

32-bit Mplayer plugin was a bit more complex. You'll need that for all the Windows/Quicktime Web content, which also work only on 32-bit.

You'll find complete instructions here --> http://www.sh.nu/download/ebuilds/mplayer/
Download the two version 3.11 mplayerplug-in-bin files (at the bottom of the page) and then follow the instructions at the top of the page to install them. After installation of the binaries in /opt/netscape you'll have to copy the plugins to the firefox plugin directory:

Code:
cp /opt/netscape/plugins/mplayerplug-in* /opt/firefoc/plugins


These steps will work only if you are using the 32-bit firefox-bin. My experience so far is that the 32-bit Firefox is very, very fast. I can't imagine why anybody would need the 64-bit version.

When you've done that, you'll be able to view video content including Windows and Quicktime by just clicking on them. It works.

<on edit> you'll also have to emerge the following for mplayerplug-in-bin:

Code:
app-emulation/emul-linux-x86-soundlibs
app-emulation/emul-linux-x86-medialibs
app-emulation/emul-linux-x86-sdl

_________________
AMD 64 X2 4400+, ASUS A8N-Sli Premium + Lian Li PC-V1000A Plus
AMD Duron 800, ABit KT7E, junk case
VIA C3-Nehemiah, VIA EPIA MII12000 + Scythe e-Otonashi fanless case
Back to top
View user's profile Send private message
urbanomad
Tux's lil' helper
Tux's lil' helper


Joined: 04 Aug 2005
Posts: 147
Location: Boston, MA

PostPosted: Sat Feb 25, 2006 2:32 am    Post subject: Reply with quote

stobbsm wrote:
you could always try gnash

there is an ebuild, and it supposedly works with most flashplayer 7 movies.

Sorry, I don't have a link, I'm at work and don't have time to search for it right now.


the problem with gnash is there is no firefox plugin. It's a standalone player only. There isn't really many times that I want to view a flash movie locally, it's always a webpage someone wants me to look at.
longship, I did all that to get flash working, but the problem is that there is no sound. Do you also need to emerge the mplayer stuff to get the sound working? It doesn't seem that way according to the howto.
Also, I made an icon in my kde menu that links to /usr/bin/firefox-bin, but for some reason it opens the 64 bit firefox instead of the 32 bit. Hmmmm.
Back to top
View user's profile Send private message
stobbsm
Guru
Guru


Joined: 23 May 2004
Posts: 452

PostPosted: Sat Feb 25, 2006 1:53 pm    Post subject: Reply with quote

Quote:
Features
Runs standalone
Gnash can run standalone to play flash movies.
Firefox plugin
Gnash can also run as a plugin from within Firefox.
SWF v7 compliant
Gnash can play many current flash movies.
XML Message server
Gnash also supports an XML based message system as is documented in the Flash Format specification.
High Quality Output
Gnash uses OpenGL for rendering the graphics.
Free Software
Gnash is 100% free software. For more information on the GPL, go to the Free Software Foundation web site.


The above was taken from the gnash website. Notice the 3rd and 4th lines. Firefox plugin. Can also run as a plugin from within firefox.

I don't have my amd64 system yet (should be here monday or tuesday), but it says it has a firefox plugin.
_________________
Sysadmin of Ubuntu systems and servers....
Although my own server is gentoo....
Back to top
View user's profile Send private message
urbanomad
Tux's lil' helper
Tux's lil' helper


Joined: 04 Aug 2005
Posts: 147
Location: Boston, MA

PostPosted: Sat Feb 25, 2006 4:02 pm    Post subject: Reply with quote

stobbsm wrote:

I don't have my amd64 system yet (should be here monday or tuesday), but it says it has a firefox plugin.


oh good, then you can show me how to get the firefox plugin working.

From the ebuild:
Quote:
# plugin disabled, because gnash does not work perfectly yet ..
# --with-firefox=PFX Prefix where firefox is installed (optional)
# --with-firefox-libraries=DIR Directory where firefox library is installed (optional)
# --with-firefox-includes=DIR Directory where firefox header files are installed (optional)


According to the mailing lists for gnash, "does not work perfectly yet" tends to mean "hardly works at all". Most of the bugs reported have to do with it crashing under AMD64, or not compiling at all. There actually isn't even an AMD64 keywords in the ebuild. That didn't stop me from modifying the ebuild myself.
I did get it to compile, but I'm not sure how to get the plugin working. It has something to do with pointing those 3 lines at the correct directories, but I'm not quite sure which directories those are.
Let me know when you get it working 8)
Back to top
View user's profile Send private message
stobbsm
Guru
Guru


Joined: 23 May 2004
Posts: 452

PostPosted: Sat Feb 25, 2006 4:11 pm    Post subject: Reply with quote

if you have gentoolkit, you can try an
Code:
equery files mozilla-firefox

and it should tell you by looking at the files.

just to narrow it down, try doing a
Code:
grep -i .so //for the libraries
grep -i .h  //for the header files


I'll look at it when I get it all installed.
_________________
Sysadmin of Ubuntu systems and servers....
Although my own server is gentoo....
Back to top
View user's profile Send private message
Kow
Apprentice
Apprentice


Joined: 28 Dec 2003
Posts: 227

PostPosted: Sat Feb 25, 2006 6:40 pm    Post subject: Reply with quote

I used to get Segmentation Faults all the time using mozilla-firefox-bin and 32bit macromedia flash. I havent heard of others with this issue, but this happened to me and I have no idea why. I just have the feeling though that not even Macromedia's 32-bit flash is stable on amd64. I run a x86 install now and have never had the issue.
_________________
-Kow
Back to top
View user's profile Send private message
borkdox
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jan 2004
Posts: 123

PostPosted: Sun Feb 26, 2006 3:54 am    Post subject: Reply with quote

well, flash 8.5 for 64-bit (amd64, em64t, etc, and such..) linux should be here any minute now... keeping the hopes up.. :)
Back to top
View user's profile Send private message
frank1980
Tux's lil' helper
Tux's lil' helper


Joined: 19 Feb 2006
Posts: 96

PostPosted: Sun Feb 26, 2006 4:32 am    Post subject: Reply with quote

borkdox wrote:
well, flash 8.5 for 64-bit (amd64, em64t, etc, and such..) linux should be here any minute now... keeping the hopes up.. :)

I waiting here
That's really a hope.
Back to top
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Sun Feb 26, 2006 5:25 am    Post subject: Re: Macromedia Flash under AMD 64 Reply with quote

longship wrote:
32-bit Mplayer plugin was a bit more complex. You'll need that for all the Windows/Quicktime Web content, which also work only on 32-bit.

You'll find complete instructions here --> http://www.sh.nu/download/ebuilds/mplayer/
Download the two version 3.11 mplayerplug-in-bin files (at the bottom of the page) and then follow the instructions at the top of the page to install them. After installation of the binaries in /opt/netscape you'll have to copy the plugins to the firefox plugin directory:

Code:
cp /opt/netscape/plugins/mplayerplug-in* /opt/firefoc/plugins


These steps will work only if you are using the 32-bit firefox-bin. My experience so far is that the 32-bit Firefox is very, very fast. I can't imagine why anybody would need the 64-bit version.

When you've done that, you'll be able to view video content including Windows and Quicktime by just clicking on them. It works.

<on edit> you'll also have to emerge the following for mplayerplug-in-bin:

Code:
app-emulation/emul-linux-x86-soundlibs
app-emulation/emul-linux-x86-medialibs
app-emulation/emul-linux-x86-sdl

Its even easier than that.

For a 64bit konqueror, use kmplayer. Rename the 64bit version of mplayer to something like mplayer64 and then link mplayer to mplayer-bin. Now kmplayer will use the 32bit version of mplayer in your 64bit version of konqueror. If you want to run the 64bit version of mplayer for things like encoding, just use mplayer64.

For a 64bit firefox, just install the media connectivity extension. Then you can select mplayer-bin for the 32bit only formats and you should be fine accessing 32bit only codecs.
Back to top
View user's profile Send private message
funklord
Tux's lil' helper
Tux's lil' helper


Joined: 29 May 2004
Posts: 78

PostPosted: Wed Mar 22, 2006 9:08 pm    Post subject: Reply with quote

urbanomad wrote:
longship, I did all that to get flash working, but the problem is that there is no sound. Do you also need to emerge the mplayer stuff to get the sound working? It doesn't seem that way according to the howto.


I had to emerge alsa-oss, and then run firefox with "aoss /usr/bin/firefox-bin" to get sound in flash to play. I think I also re-emerged alsa-driver with the OSS use flag, so that might help as well.
Back to top
View user's profile Send private message
jure1873
Apprentice
Apprentice


Joined: 09 Feb 2006
Posts: 183

PostPosted: Sat Mar 25, 2006 8:42 am    Post subject: now working anymore Reply with quote

I've somehow broken the netscape-flash. Whenever I try to view something firefox (32bit) crashes :(
I've tried re-emergins netscape-flash but it still doesn't work.
Back to top
View user's profile Send private message
salfter
n00b
n00b


Joined: 02 Jan 2003
Posts: 29

PostPosted: Wed Jul 26, 2006 6:33 pm    Post subject: Reply with quote

Between messages here and elsewhere, I've gotten the newest nspluginwrapper working. It's nice to be able to just go to YouTube and watch stuff instead of jumping through hoops to download the video and play it in mplayer. I've summarized it in this /. JE. The trick was to switch from kernel-space ALSA OSS emulation to user-space ALSA OSS emulation, as the kernel-space variety doesn't play well with the KDE sound system.
Back to top
View user's profile Send private message
baigsabeeh
Guru
Guru


Joined: 28 Sep 2005
Posts: 520
Location: North Brunswick, NJ

PostPosted: Fri Aug 18, 2006 5:04 pm    Post subject: Reply with quote

funklord wrote:
urbanomad wrote:
longship, I did all that to get flash working, but the problem is that there is no sound. Do you also need to emerge the mplayer stuff to get the sound working? It doesn't seem that way according to the howto.


I had to emerge alsa-oss, and then run firefox with "aoss /usr/bin/firefox-bin" to get sound in flash to play. I think I also re-emerged alsa-driver with the OSS use flag, so that might help as well.


This is what I did except the aoss didn't help, so I recompiled ALSA with the OSS flag and then ran firefox without aoss and it worked fine. I have dmix enabled also.
_________________
BSD > SysV > Linux
BSD FTW!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 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