Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 09 Oct 2010 18:22:31 -0400
From:      Alex Goncharov <alex-goncharov@comcast.net>
To:        Harald Weis <hawei@free.fr>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: VirtualBox OpenSolaris guest
Message-ID:  <E1P4hoF-000Pul-IL@hanssachs.home>
In-Reply-To: <20101009203629.GA2135@pollux.local.net> (message from Harald Weis on Sat, 9 Oct 2010 22:36:30 %2B0200)
References:  <20101008180046.GA2867@pollux.local.net> <E1P4Hlj-000OG8-L8@hanssachs.home> <20101009203629.GA2135@pollux.local.net>

next in thread | previous in thread | raw e-mail | index | archive | help
,--- You/Harald (Sat, 9 Oct 2010 22:36:30 +0200) ----*
| On Fri, Oct 08, 2010 at 02:34:11PM -0400, Alex Goncharov wrote:
| > | I guess that FreeBSD will never be supported by Adobe.
| > 
| > Flash works beautifully for me on FreeBSD 8.1 in both Firefox 3.6...
| > and in Opera (linux and native.)
| 
| Yes, I know that very well and used it with success many times. There is
| a message exchange on the questions mailing list - "concerning flash
| under freebsd" starting on last June 15 - which confirms my own
| experience of ugly things like npviewer.bin coredumps and browser
| freezing.

Out of the box, with the current 8.1-STABLE and ports, Firefox 3.6
works pretty good with Flash -- the freezes have been rare for me.
But it can freeze forever on some sites.

The latest www/linux-opera (run on FreeBSD) absolutely sucks when working
with flash and other plugins, on the other hand.

www/opera won't work with flash (it seems first).

But I've found a non-trivial solution which for me works better than
either of "(any) Opera by itself" or "Firefox by itself".

The solution is:

  * Install Firefox plugins through www/nspluginwrapper-devel:

      nspluginwrapper -v -a -i

    You'll get e.g. ~/.mozilla/plugins/npwrapper.libflashplayer.so
    
  * Use www/opera, for which (there are many bizarre pieces below, but
    they all turned out to be necessary in my experiments (the names
    of newly created files can vary, of course):

    ** Disable all plugin paths
    
    ** ln -s ~/.mozilla ~/mozilla

    ** cp ~/mozilla/plugins/npwrapper.libflashplayer.so  ~/mozilla/plugins/npwrapper.mvflashplayer.so 
    ** Add ~/mozilla/plugins to the plugins path

    ** Discover the new plugins.

    ** Use "opera:config / Extensions" to set "PluginResponseTimeout"
       (mine is 8 sec).

Yes, you may hang on some URI's (and what do you do?) but only for a
limited time and not having to kill your browser.

There are sites which predictably had hung my www/linux-opera, every time
-- forever.  And I am now happily visiting them with www/opera.
      
| I found the suggestion interesting to install VirtualBox and
| OpenSolaris which is an operating system supported by Adobe. That's
| the reason why I gave it a try.

If you insist on using VirtualBox as your "browser solution", you'd be
much much better off installing Debian as your guest.

For audio, OpenSolaris sucks (and it sucks in many other ways, too.)
Don't go there, that would be my advice -- it's has been a time sink
and the source of constant frustration for me.

| > Is your problem "flash" or "audio" (i.e. can you play an mp3 file with
| > mpg123, for example)?
| 
| "flash" installs like a charm. It's audio. There is no audio whatsoever
| after a perfectly clean OpenSolaris guest installation. The guest cannot
| determine the correct audio driver for the underlying audio card.
| Needless to say that the audio card works for the FreeBSD host (still
| on 8.0 for the moment).

I'll repeat: OpenSolaris is a disaster with (some) audio drivers.

And I had asked about your experience running audio on FreeBSD.  If it
works for you, try my Opera recipe above.

-- Alex -- alex-goncharov@comcast.net --



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1P4hoF-000Pul-IL>