|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|
|||
Flash 9 (COMPAT_LINUX) on CURRENT with native Firefox 3
Hi, I got Flash 9 with sound working on FreeBSD-CURRENT/linux_base-f8/native Firefox 3.0.3. (Tested on YouTube). For those who'd like to try it for themselves, here's what I did:
Enable Linux compatibility in rc.conf , then run # /etc/rc.d/abi restart Add this to /etc/make.conf: Code:
OVERRIDE_LINUX_BASE_PORT=f8 Code:
linproc /compat/linux/proc linprocfs rw 0 0 # mount /compat/linux/proc Make sure the output of 'sysctl compat.linux.osrelease' says 2.6.16 (It's the default in -CURRENT, but hey, it wouldn't hurt to see, right? ) Install (not necessarily in order): - emulators/linux_base-f8 - www/linux-flashplugin9 - www/nspluginwrapper - www/firefox3 (of course ) After everything is installed: % nspluginwrapper -i /usr/local/lib/npapi/linux-flashplugin/libflashplayer.so Check that Firefox recognizes the plugin, if it does, try to view a YouTube video. Hope this helps. Addendum 10/15/2008: Sometimes npviewer.bin crashes, which prevents further viewing of Flash on the current Firefox session. If this happens, try killing all npviewer.bin processes, then reload the page. |
|
|||
# sysctl compat.linux.osrelease=2.6 But that have sense only if you are installing linux_base-f8, and not something older. |
|
||||
That's a sysctl variable and you can change it temporary with sysctl compat.linux.osrelease=2.6.16 or permanently in /etc/sysctl.conf. Of course you have to load linux.ko with kldload linux or in /boot/loader.conf with linux_load="YES".
__________________
use UNIX or die :-) |
|
||||
All works well with awesome stability on PC-BSD 7.0.1.
__________________
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity." MacBook Pro (Darwin 9), iMac (Darwin 9), iPod Touch (Darwin 9), Dell Optiplex GX620 (FreeBSD 7.1-STABLE) |
|
||||
Well stability in terms of no kernel panic, following the mailing list you will see that you have to kill npviewer.bin once in a while. As far as I can see, my wifes machine (PCBSD 7.0.1) doesn't behave different. Would be otherwise somewhat a miracle, I'm following stable and current. Furthermore f8 behaves quiet well, but it has got some quirks therefore we will see it as linux_base in FreeBSD 8 first.
But as always it's a big step forward for FreeBSD on the desktop, imho a major drawback in the past.
__________________
use UNIX or die :-) |
|
||||
I haven't had to kill npviewer.bin yet, but nspluginwrapper is buggy software. I've encountered the behavior you describe on Linux and Solaris.
__________________
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity." MacBook Pro (Darwin 9), iMac (Darwin 9), iPod Touch (Darwin 9), Dell Optiplex GX620 (FreeBSD 7.1-STABLE) |
|
||||
>nspluginwrapper is buggy software
Yes to some degree, but in the beginning it was just a way to use Flash on Linux 64bit. At the moment the devs try to develop some kind of a sandbox for Flash and the development version is already some steps ahead.
__________________
use UNIX or die :-) |
|
||||
I'm tacking on this (closely related) article I spotted on freebsdnews.net today:
Flash 9 for FreeBSD 7.1 http://crnl.org/blog/2008/11/01/flash-9-for-freebsd-71
__________________
Kill your t.v. |
|
|||
Thanks!
Quote:
|
|
|||
So this seems to work pretty well. The only issue I've encountered, which isn't directly related to the flash plugin, is that when trying to view videos on cnn.com, I get a "This CNN.com feature does not currently support the platform you are using."
Obviously CNN is detecting that I'm using firefox on FreeBSD. If I use linux-firefox, it works just fine. Is there anyway to get firefox to mask itself as another browser on another platform? Adam |
|
|||
If you wanna mask your FX as a Linux version:
- Enter about:config in address bar - Create new entry "general.useragent.override" with string value "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9a8) Gecko/2007100619 GranParadiso/3.0a8"
__________________
...then the God created man... |
|
|||
Thanks for the tip :-)
That does change the useragent that shows up in our apache server log files, so I know that it's working. Unfortunately, cnn.com must be using some other method of checking the platform, because I still get the same message. Oh well... Stupid CNN. Adam |
|
|||
I seem to have a problem with libgtk-x11-2.0.so.0 when I run
Code:
nspluginwrapper -i /usr/local/lib/npapi/linux-flashplugin/libflashplayer.so Code:
/usr/local/lib/nspluginwrapper/i386/linux/npviewer.bin: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory nspluginwrapper: no appropriate viewer found for /usr/local/lib/npapi/linux-flashplugin/libflashplayer.so I wonder 1) is the "lib-path"(whatever that concept/variable that may be) not including /usr/local/lib and how does one set this? 2) is it asking for the linux version of libgtk-x11-2.0.so.0, I followed the steps by vmhobbes, why am I missing this file? EDIT: It works when I install x11-toolkits/linux-gtk2, but why was this missing when I followed the steps? How do I find out which .so file it asks for ldd nspluginwrapper only shows some libc.so.7 => /lib/libc.so.7 (0x28081000) so that I would know libgtk-x11.d.d.d it asks for? Last edited by kasse; 6th November 2008 at 11:27 PM. |
|
|||
This is a question about the above with 7.0-release, whether you have to have 7.0-stable or current.
When I try to load a page with flash content the system seems to hang, two npviewer.bin processes take up ~30% of WCPU in top, the remaining 30% are syslogd. It goes crazy and in /var/log/messages I find this crazy stuff. There seems to be some solution to this from some mailinglist: Quote:
|
|
||||
Should be fine.
__________________
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity." MacBook Pro (Darwin 9), iMac (Darwin 9), iPod Touch (Darwin 9), Dell Optiplex GX620 (FreeBSD 7.1-STABLE) |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenBSD4.5 current to current... | valorisa | OpenBSD Installation and Upgrading | 7 | 6th June 2009 09:26 AM |
State of Native Java in NetBSD? | shep | NetBSD Package System (pkgsrc) | 1 | 2nd June 2009 08:13 AM |
Flash for firefox finally? | drhowarddrfine | FreeBSD General | 8 | 23rd August 2008 08:53 AM |
firefox, linux-flash, nspluginwrapper, and youtube? | neurosis | FreeBSD Ports and Packages | 16 | 15th August 2008 06:46 AM |