23d23 Flash on FreeBSD - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Desktop Usage > Multimedia

Multimedia Having problems running your new shiny and blinking gadget or watching DVDs, listening to CDs etc.?

Reply
 
Thread Tools Display Modes
  #1  
Old October 17th, 2009, 08:53
killwin killwin is offline
Junior Member
 
Join Date: Oct 2009
Posts: 36
Thanks: 0
Thanked 1 Time in 1 Post
Default Flash on FreeBSD

Hello,

I installed flash with nspluginwrapper on freebsd 7.2.

It worked perfectly only one time on a computer. I have 3 computers with freebsd and i can't repeat installation with successful.

With aragorn tutorial :
linux_enable="YES" in rc.conf, I modify sysctl ...
make install clean on : linux-flashplugin9 - nspluginwrapper

i tested with linux_base-fc4, linux_base-f8, linux_base-f10 ...

Well, the result is a black screen on youtube.

I am discouraged.

How to work flash all time on freebsd 7.x ?

Thanks verry much
Reply With Quote
  #2  
Old October 17th, 2009, 11:30
jb_fvwm2 jb_fvwm2 is offline
Senior Member
 
Join Date: Nov 2008
Posts: 1,386
Thanks: 60
Thanked 145 Times in 130 Posts
Default

Without linux emulation, I can use flash (youtube)
with /gnash/ and /seamonkey/ (and maybe, maybe not
additional configuration steps).
(Discovered by chance.)
Reply With Quote
  #3  
Old October 17th, 2009, 12:08
ale's Avatar
ale ale is offline
Senior Member
 
Join Date: Nov 2008
Location: Roma
Posts: 1,064
Thanks: 0
Thanked 160 Times in 146 Posts
Default

Try looking at this post.
On 7.2 I'm using linux_base-fc-4 without touching the sysctl, as in 7.2 support for newer osrelease is not complete (and probably it will never be). The flash plugin version is 9.
On 8 it's a different story.

Sometimes the browser freezes, especially when I have many windows opened with flash content. Usually I wait for some seconds (10-30) and if the browser windows are still stuck, from a console I run $ pkill -9 npviewer.
Reply With Quote
  #4  
Old October 17th, 2009, 23:58
killwin killwin is offline
Junior Member
 
Join Date: Oct 2009
Posts: 36
Thanks: 0
Thanked 1 Time in 1 Post
Default thanks

gnash can run only with youtube, i tried it with others web sites and it doesn't work.

Ok, i will try install flashplugin 9 with fc4 monday. But with this method i have the feeling that it work only once on three times. I installed it on my computer number 2, it works , and after i installed it on my computer number 3 with the same method and it don't work

thanks for the freeze solve problem.

Well, someone tried bsd 8.0 with flash plugin 10 ? I'm afraid with version 8, is it stable ?

Thanks everybody.
Reply With Quote
  #5  
Old October 18th, 2009, 00:03
ale's Avatar
ale ale is offline
Senior Member
 
Join Date: Nov 2008
Location: Roma
Posts: 1,064
Thanks: 0
Thanked 160 Times in 146 Posts
Default

Quote:
Originally Posted by killwin View Post
Well, someone tried bsd 8.0 with flash plugin 10 ? I'm afraid with version 8, is it stable ?
Yes I did.
It works more or less the same compared to the configuration I have for 7.
Even if sometimes on 7 I get a warning about the old plugin version it never happened to me to find something which doesn't work with 9 yet.
What I can see on both, is that if the system is doing something else which uses a lot of I/O, the plugin freeze the whole browser for a while. Sometimes it continues, sometimes it dumps huge cores and dies, sometimes I pkill it.
Reply With Quote
  #6  
Old October 18th, 2009, 00:56
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Administrator
 
Join Date: Nov 2008
Location: Rotterdam, the Netherlands
Posts: 9,824
Thanks: 30
Thanked 1,884 Times in 1,330 Posts
Default

Here:
FreeBSD 8.0-RC1 (i386)
linux-f10-flashplugin-10.0r32
nspluginwrapper-1.2.2_4
linux_base-f10-10_2
firefox-3.5.3,1

Flawless. No freezes.
__________________
FreeBSD Forums: Information for New Members | FreeBSD Forums Rules
FreeBSD Resources: The FreeBSD Handbook | Manuals | FAQ | Wiki
Before you post: How to ask questions the smart way
If you must know .. So, what does an Adminstrator/Moderator do?
---> Do not PM me with FreeBSD questions. I do not work here. <---
Reply With Quote
  #7  
Old October 18th, 2009, 01:19
ale's Avatar
ale ale is offline
Senior Member
 
Join Date: Nov 2008
Location: Roma
Posts: 1,064
Thanks: 0
Thanked 160 Times in 146 Posts
Default

Quote:
Originally Posted by DutchDaemon View Post
Here:
FreeBSD 8.0-RC1 (i386)
linux-f10-flashplugin-10.0r32
nspluginwrapper-1.2.2_4
linux_base-f10-10_2
firefox-3.5.3,1

Flawless. No freezes.
I have the same on 8, but I'm not using it so much.
I kept all the debugging options in my kernconf until they have been removed. I thought that this was increasing the freezes as I had often messages about lor running flash.
Anyway if my memory is not failing I read somewhere in some ml that there is a problem about threads in the emulation layer that could be the cause of the problem. I'll post again if I found the url.
Reply With Quote
  #8  
Old October 18th, 2009, 02:32
jnr jnr is offline
Junior Member
 
Join Date: Nov 2008
Posts: 73
Thanks: 6
Thanked 12 Times in 10 Posts
Default

Quote:
Originally Posted by killwin View Post
Well, someone tried bsd 8.0 with flash plugin 10 ? I'm afraid with version 8, is it stable ?
I've since switched to 8.0, but on my previous 7.2 installation I had flash 10 working fine with linux_base-f10. You don't need to switch to 8.0 to try it.
Reply With Quote
  #9  
Old October 20th, 2009, 13:05
killwin killwin is offline
Junior Member
 
Join Date: Oct 2009
Posts: 36
Thanks: 0
Thanked 1 Time in 1 Post
Default Ho no ...

Hello,

I'm back after trying a new bsd.

I make new bsd from 8.0 kernel, (with linux emulator in kernel options and more options)

in /etc/make.conf :
Code:
OVERRIDE_LINUX_BASE_PORT=f10
OVERRIDE_LINUX_NONBASE_PORTS=f10
make install clean :
xorg
firefox3

in /etc/fstab :
Code:
linproc /usr/compat/linux/proc linprocfs rw 0 0
Code:
mount /usr/compat/linux/proc
/etc/rc.d/abi start
/etc/rc.d/sysctl start
Code:
cd /usr/ports/www/linux-f10-flashplugin10 && make install clean
cd /usr/ports/www/nspluginwrapper && make install clean
Code:
adduser alex
in alex account :
Code:
nspluginwrapper -v -i /usr/local/lib/npapi/linux-f10-flashplugin/libflashplayer.so
Code:
startx
firefox3
and in www.youtube.com, it's a BLACK WINDOW flash player 10 !
It's black black black

all times it's the same prolem.

Last edited by DutchDaemon; October 20th, 2009 at 13:09. Reason: added 400 code tags
Reply With Quote
  #10  
Old October 20th, 2009, 13:14
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Administrator
 
Join Date: Nov 2008
Location: Rotterdam, the Netherlands
Posts: 9,824
Thanks: 30
Thanked 1,884 Times in 1,330 Posts
Default

Try running nspluginwrapper -v -a -i as the user, and/or copy libflashplayer.so to the /usr/local/lib/firefox/plugins directory (then retry the command).
__________________
FreeBSD Forums: Information for New Members | FreeBSD Forums Rules
FreeBSD Resources: The FreeBSD Handbook | Manuals | FAQ | Wiki
Before you post: How to ask questions the smart way
If you must know .. So, what does an Adminstrator/Moderator do?
---> Do not PM me with FreeBSD questions. I do not work here. <---
Reply With Quote
  #11  
Old October 20th, 2009, 16:27
killwin killwin is offline
Junior Member
 
Join Date: Oct 2009
Posts: 36
Thanks: 0
Thanked 1 Time in 1 Post
Default

Thanks DutchDaemon, but the result is :

Code:
adduser alex2
in alex2 :
Code:
nspluginwrapper -v -a -i
firefox3 ( no plugins )

in root :
Code:
cp /usr/local/lib/npapi/linux-f10-flashplugin/libflashplayer.so /usr/local/lib/firefox3/plugins
in alex2 :
firefox3 ( no plugins )

Last edited by DutchDaemon; October 20th, 2009 at 17:29.
Reply With Quote
  #12  
Old October 20th, 2009, 17:30
wnsi-m2 wnsi-m2 is offline
Junior Member
 
Join Date: Apr 2009
Posts: 5
Thanks: 1
Thanked 0 Times in 0 Posts
Default

killwin, this is perhaps a stupid observation, however the handbook states that you should provide a symlink, NOT a copy of the plugin.

Also that it should go in /usr/local/lib/browser_plugins, not firefox3/plugins.

Replace your cp command with

# ln -s /usr/local/lib/npapi/linux-f10-flashplugin/libflashplayer.so \
/usr/local/lib/browser_plugins/
^^^^^^^^^^^^^^^
before running the nspluginwrapper command.

Or, mark this post as useless. But it worked when I did it.
Reply With Quote
  #13  
Old October 20th, 2009, 17:32
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Administrator
 
Join Date: Nov 2008
Location: Rotterdam, the Netherlands
Posts: 9,824
Thanks: 30
Thanked 1,884 Times in 1,330 Posts
Default

What is the output of nspluginwrapper in -v -a -i? It should give you an indication of where it is looking for the plugin.

Something like
Code:
Auto-install plugins from /usr/local/lib/browser_plugins
Looking for plugins in /usr/local/lib/browser_plugins
Auto-install plugins from /usr/local/lib/firefox/plugins
Looking for plugins in /usr/local/lib/firefox/plugins
Install plugin /usr/local/lib/firefox/plugins/libflashplayer.so
  into /home/alex2/.mozilla/plugins/npwrapper.libflashplayer.so
Auto-install plugins from /home/alex2/.mozilla/plugins
Looking for plugins in /home/alex2/.mozilla/plugins
__________________
FreeBSD Forums: Information for New Members | FreeBSD Forums Rules
FreeBSD Resources: The FreeBSD Handbook | Manuals | FAQ | Wiki
Before you post: How to ask questions the smart way
If you must know .. So, what does an Adminstrator/Moderator do?
---> Do not PM me with FreeBSD questions. I do not work here. <---
Reply With Quote
  #14  
Old October 20th, 2009, 17:35
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Administrator
 
Join Date: Nov 2008
Location: Rotterdam, the Netherlands
Posts: 9,824
Thanks: 30
Thanked 1,884 Times in 1,330 Posts
Default

Quote:
Originally Posted by killwin View Post
Code:
cp /usr/local/lib/npapi/linux-f10-flashplugin/libflashplayer.so /usr/local/lib/firefox3/plugins
Note: it is
Code:
/usr/local/lib/firefox/plugins
not
Code:
/usr/local/lib/firefox3/plugins
__________________
FreeBSD Forums: Information for New Members | FreeBSD Forums Rules
FreeBSD Resources: The FreeBSD Handbook | Manuals | FAQ | Wiki
Before you post: How to ask questions the smart way
If you must know .. So, what does an Adminstrator/Moderator do?
---> Do not PM me with FreeBSD questions. I do not work here. <---
Reply With Quote
  #15  
Old October 20th, 2009, 18:03
graedus's Avatar
graedus graedus is offline
Junior Member
 
Join Date: Nov 2008
Posts: 24
Thanks: 1
Thanked 3 Times in 2 Posts
Default

As wnsi-m2 says, just follow 6.2.3 (Firefox and Macromedia® Flash™ Plugin) of the Handbook browser's section. Follow the 8.X instructions if you use 7.2-STABLE. There's a thread on the Howto's that address this same issue.
__________________
Just another crazy UNIX snob.
FreeBSD 7.2-STABLE graedus@aspireone:/usr/obj/usr/src/sys/GENERIC i386
Reply With Quote
  #16  
Old October 20th, 2009, 19:30
killwin killwin is offline
Junior Member
 
Join Date: Oct 2009
Posts: 36
Thanks: 0
Thanked 1 Time in 1 Post
Default try again

in root :

Code:
mkdir /usr/local/lib/browser_plugins
ln -s /usr/local/lib/npapi/linux-f10-flashplugin/libflashplayer.so 
/usr/local/lib/browser_plugins/
adduser alex3
in alex3 :

Code:
nspluginwrapper -v -a -i
result :
Code:
Auto-install plugins from /usr/local/lib/browser_plugins
Looking for plugins in /usr/local/lib/browser_plugins
Install plugin /usr/local/lib/browser_plugins/libflashplayer.so
  into /home/alex3/.mozilla/plugins/npwrapper.libflashplayer.so
Auto-install plugins from /home/alex3/.mozilla/plugins
Looking for plugins in /home/alex3/.mozilla/plugins
In www.youtube.com : the flash window is BLACK



Reply With Quote
  #17  
Old October 20th, 2009, 20:19
graedus's Avatar
graedus graedus is offline
Junior Member
 
Join Date: Nov 2008
Posts: 24
Thanks: 1
Thanked 3 Times in 2 Posts
Default

By any chance did you ran nspluginwrapper as root previously?
__________________
Just another crazy UNIX snob.
FreeBSD 7.2-STABLE graedus@aspireone:/usr/obj/usr/src/sys/GENERIC i386
Reply With Quote
  #18  
Old October 20th, 2009, 21:16
killwin killwin is offline
Junior Member
 
Join Date: Oct 2009
Posts: 36
Thanks: 0
Thanked 1 Time in 1 Post
Default yes

Yes... it's the same problem
Hmmm perhaps a material problem ... i don't know.
Reply With Quote
  #19  
Old October 22nd, 2009, 23:10
killwin killwin is offline
Junior Member
 
Join Date: Oct 2009
Posts: 36
Thanks: 0
Thanked 1 Time in 1 Post
Default Youpiii



I found the problem. It works now perfectly.

problem 1 : the slide ( / ) was verry short and linux_base tried to install into /compat.

problem 2 : After installation, and solved this first problem i was with two folders /compat and /usr/compat.

Well i put all /compat/linux into /usr/compat/linux without /usr/compat/linux/proc and flash works now

monday i will try a new installation.

What's do you think ? I did'nt read this problem in a forum.
Reply With Quote
  #20  
Old November 10th, 2009, 05:50
Azmadaeus Azmadaeus is offline
Junior Member
 
Join Date: Aug 2009
Posts: 7
Thanks: 2
Thanked 1 Time in 1 Post
Default

I was suffering from the same problem, and ultimately found that I had forgotten to
Code:
mount -t linprocfs linproc /compat/linux/proc
Now it's working, except that sound does not work :/
Reply With Quote
  #21  
Old November 10th, 2009, 09:04
Azmadaeus Azmadaeus is offline
Junior Member
 
Join Date: Aug 2009
Posts: 7
Thanks: 2
Thanked 1 Time in 1 Post
Default

Got sound working. Turns out freebsd doesn't enable the sound driver I need on boot, probably because my laptop is pretty old. I needed to add the following to loader.conf:
Code:
snd_ich_load="YES"
so that sound would work on my thinkpad. The first sign something was wrong was when I tried doing some commands I saw posted while I was looking up the reason sound wasn't working: when I tried using "mixer" I got an error message:

"/dev/mixer: No such file or directory"

Now mixer works okay.

So, if you are reading this, and mixer isn't working for you, try to research the experiences other people have had installing FreeBSD on your model of computer.

Next on my list: compile my own tpb, since the one in ports uses ACPI, and I use a laptop which uses APM.
Reply With Quote
  #22  
Old November 10th, 2009, 14:21
dennylin93 dennylin93 is offline
Member
 
Join Date: Dec 2008
Posts: 784
Thanks: 34
Thanked 103 Times in 71 Posts
Default

Quote:
Originally Posted by Azmadaeus View Post
Got sound working. Turns out freebsd doesn't enable the sound driver I need on boot, probably because my laptop is pretty old. I needed to add the following to loader.conf:
Code:
snd_ich_load="YES"
FreeBSD doesn't load any sound drivers by default. It doesn't matter if the computer is old or new.
Reply With Quote
  #23  
Old November 11th, 2009, 10:31
Azmadaeus Azmadaeus is offline
Junior Member
 
Join Date: Aug 2009
Posts: 7
Thanks: 2
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by dennylin93 View Post
FreeBSD doesn't load any sound drivers by default. It doesn't matter if the computer is old or new.
Ah so. I feel less left out now Thanks, dennylin93.
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Freebsd 7.1 + adobe flash player 10 xnl96 Multimedia 18 December 4th, 2009 23:42
Flash and VirtualBox on FreeBSD overmind Feedback 3 September 28th, 2009 18:34
freebsd 7.2 and firefox 3 and flash 9 cmc4bsd Installing & Upgrading 5 March 9th, 2009 15:00
Flash 9 FreeBSD 8-Current nikobordx Multimedia 1 March 5th, 2009 13:58
FreeBSD on Desktop - flash darkshadow Multimedia 16 December 8th, 2008 23:48


All times are GMT +1. The time now is 08:12.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0