From owner-freebsd-questions@FreeBSD.ORG Mon Jul 2 06:41:15 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 64A8B16A469 for ; Mon, 2 Jul 2007 06:41:15 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.freebsd.org (Postfix) with ESMTP id 2718B13C45B for ; Mon, 2 Jul 2007 06:41:14 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 13610 invoked from network); 2 Jul 2007 01:41:14 -0500 Received: from unknown (HELO localhost) (210.84.50.231) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 2 Jul 2007 01:41:13 -0500 Date: Mon, 2 Jul 2007 16:41:09 +1000 From: Norberto Meijome To: kalin@el.net Message-ID: <20070702164109.2985ddf7@localhost> In-Reply-To: <50260.74.64.6.149.1183342874.squirrel@mail.el.net> References: <54357.74.64.6.149.1183317914.squirrel@mail.el.net> <20070701204010.GA82531@slackbox.xs4all.nl> <28283d910707011359o1109cecap2f908f424d74cb7d@mail.gmail.com> <20070701224950.7191e190@gumby.homeunix.com.> <18056.11717.973968.984604@jerusalem.litteratus.org> <20070702011717.47687ee9@gumby.homeunix.com.> <50260.74.64.6.149.1183342874.squirrel@mail.el.net> X-Mailer: Claws Mail 2.9.2 (GTK+ 2.10.13; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: RW , Abdoulaye Walsimou , freebsd-questions@freebsd.org, Gaye Subject: Re: flash ( With details and user test results) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jul 2007 06:41:15 -0000 On Sun, 1 Jul 2007 22:21:14 -0400 (EDT) "kalin mintchev" wrote: > > On Sun, 1 Jul 2007 18:42:13 -0400 > > Robert Huff wrote: > > > >> > >> RW writes: > >> > >> > If you install www/nspluginwrapper, and follow the instructions, > >> > the flash plugin will work with native firefox and opera browsers. > >> > >> This is flash-9, and not flash-7? > >> > > > > Yes >=20 > can you use that flash7 to watch videos on the new cnn site and youtube? --- [ from freebsd-ports@ ] On Sun, 01 Jul 2007 21:34:28 +0200 Gaye Abdoulaye Walsimou wrote: > kalin mintchev a =E9crit : > > and which port do i exactly install to be able to whach flash video? > > i did the /usr/ports/www/flashplugin-mozilla - didn't work. the other o= ne > > is marked as broken... > > now that cnn moved to that i can't watch it anymore and i have never be= en > > able to see any of the videos on youtube.... what do i need? > > [...] > > =20 > I follow this howto (french howto) and have flash 9 working >=20 > http://oregnier.developpez.com/cours/unix/freebsd/plugins/firefox/nsplugi= nwrapper/ ok.. this is quite an interesting thread. I had tried flash > 7 with native ffox sometime last year. The answer was to give up on it and have linux-fir= efox and the whole linux-* saga. So I decided to give this a try again, with some mixed results. I double checked what I was doing with the steps shown in the URL Gaye kindly provid= ed, it all checked out as expected. Ups : ffox native still works better, to me, than linux-firefox : it's not = such a cpu hog, it feels more snappy. Flash9 works mostly, except in certain cas= es, and in those cases, it's not fatal (ffox doesnt die) Downs: Flash videos, such as those in video.google, youtube and others, load (static image is shown, start streaming), play for about 1 second with vide= o + sound, and then they just dissapear from the browser, with errors from the NSPluginWrapper. Details follow, apologies for the lengthy email... $ uname -a FreeBSD ayiin.xxxxxxx 6.2-STABLE FreeBSD 6.2-STABLE #10: Sun Jul 1 09:50:= 58 EST 2007 root@ayiin.xxxxxxxxx:/usr/obj/usr/src/sys/AYIIN i386 Kernel + world updated on Sun Jul 1 09:50:58 EST 2007 (EST =3D GMT +10) Ports up to date. Native ffox : firefox-2.0.0.4,1 Native JDK : diablo-jdk Linux Flash 9 : www/linux-flashplugin9 Native Mplayer-plugin www/mplayer-plugin plugin wrapper : www/nspluginwrapper up to here we have jdk, mplayer running GREAT (which is better than my experience in the past) [betom@ayiin] [Mon Jul 2 15:22:36 2007] /usr/ports/www/nspluginwrapper $ nspluginwrapper -v -a -i Auto-install plugins from /usr/X11R6/lib/browser_plugins Looking for plugins in /usr/X11R6/lib/browser_plugins Auto-install plugins from /usr/X11R6/lib/firefox/plugins Looking for plugins in /usr/X11R6/lib/firefox/plugins Auto-install plugins from /usr/X11R6/lib/linux-mozilla/plugins Looking for plugins in /usr/X11R6/lib/linux-mozilla/plugins Install plugin /usr/X11R6/lib/linux-mozilla/plugins/nphelix.so into /home/betom/.mozilla/plugins/npwrapper.nphelix.so Install plugin /usr/X11R6/lib/linux-mozilla/plugins/libflashplayer.so Segmentation fault: 11 I then cleaned up all linux firefox left overs, run as root just in case. [root@ayiin] [Mon Jul 2 15:54:00 2007] ~ # nspluginwrapper -v -a -i Auto-install plugins from /usr/X11R6/lib/browser_plugins Looking for plugins in /usr/X11R6/lib/browser_plugins Auto-install plugins from /usr/X11R6/lib/firefox/plugins Looking for plugins in /usr/X11R6/lib/firefox/plugins Auto-install plugins from /usr/X11R6/lib/linux-mozilla/plugins Looking for plugins in /usr/X11R6/lib/linux-mozilla/plugins Install plugin /usr/X11R6/lib/linux-mozilla/plugins/nphelix.so into /usr/local/lib/browser_plugins/npwrapper.nphelix.so Auto-install plugins from /usr/local/lib/npapi/linux-flashplugin Looking for plugins in /usr/local/lib/npapi/linux-flashplugin Install plugin /usr/local/lib/npapi/linux-flashplugin/libflashplayer.so Segmentation fault: 11 (core dumped) nspluginwrapper -l=20 cores with seg 10 or 11. BUT installing /usr/local/lib/npapi/linux-flashplugin/libflashplayer.so by = hand worked great. strange. Anyway, this is what happens when I tested the flash plugin. The following = is the stderr from firefox (native), with my comments interspec'ed , beginining with ### [betom@ayiin] [Mon Jul 2 15:55:27 2007] ~ $ firefox ### ### Not sure what the msgs up to this point refer to - firefox-native witho= ut any plugin doesnt produce these messages at all ### (Gecko:42617): libgnomevfs-WARNING **: Deprecated function. User modificat= ions to the MIME database are no longer supported. (Gecko:42617): libgnomevfs-WARNING **: Deprecated function. User modificat= ions to the MIME database are no longer supported. (Gecko:42617): libgnomevfs-WARNING **: Deprecated function. User modificat= ions to the MIME database are no longer supported. (Gecko:42617): libgnomevfs-WARNING **: Deprecated function. User modificat= ions to the MIME database are no longer supported. (Gecko:42617): libgnomevfs-WARNING **: Deprecated function. User modificat= ions to the MIME database are no longer supported. (Gecko:42617): libgnomevfs-WARNING **: Deprecated function. User modificat= ions to the MIME database are no longer supported. ### ### Loaded a local .swf . It worked ok...then issued this msg. ### *** NSPlugin Wrapper *** ERROR: NPP_Destroy() invoke: Connection closed *** NSPlugin Wrapper *** ERROR: NP_Shutdown() invoke: Connection closed ### ### Reloaded the .swf, no problems this time. ### ### ### Went to video.google.com - clicked on one of the videos, randomly http:= //video.google.com.au/videoplay?docid=3D-708218345413567790=20 ### Video started loading, buzzing sound ( as if there was static in sound = card), then video completelly blanked out ,as if it was removed from the pa= ge. Msgs showed: ### (npviewer.bin:42668): Gtk-CRITICAL **: gtk_window_resize: assertion `width = > 0' failed *** NSPlugin Wrapper *** ERROR: NPP_Write() invoke: Connection closed *** NSPlugin Wrapper *** ERROR: NPP_DestroyStream() invoke: Connection clos= ed *** NSPlugin Wrapper *** ERROR: NPP_URLNotify() invoke: Connection closed *** NSPlugin Wrapper *** ERROR: NPP_Destroy() invoke: Connection closed *** NSPlugin Wrapper *** ERROR: NPClass::Invalidate() invoke: Connection cl= osed *** NSPlugin Wrapper *** ERROR: NP_Shutdown() invoke: Connection closed ### ### repeated test with video.google.com ### (npviewer.bin:42682): Gtk-CRITICAL **: gtk_window_resize: assertion `width = > 0' failed *** NSPlugin Wrapper *** ERROR: NPP_WriteReady() invoke: Connection closed *** NSPlugin Wrapper *** ERROR: NPP_WriteReady() invoke: Connection closed [MORE AND MORE OF THE SAME, CONTINUOSLY] *** NSPlugin Wrapper *** ERROR: NPP_WriteReady() invoke: Connection closed *** NSPlugin Wrapper *** ERROR: NPP_WriteReady() invoke: Connection closed *** NSPlugin Wrapper *** ERROR: NPP_WriteReady() invoke: Connection closed ### yes, the messages were non-stop while the video.google page was open - = i hit back and got : *** NSPlugin Wrapper *** ERROR: NPP_DestroyStream() invoke: Connection clos= ed *** NSPlugin Wrapper *** ERROR: NPP_URLNotify() invoke: Connection closed *** NSPlugin Wrapper *** ERROR: NPP_Destroy() invoke: Connection closed *** NSPlugin Wrapper *** ERROR: NP_Shutdown() invoke: Connection closed ### ### tried with youtube.com.=20 ### Flash loaded ok, simple flash stuff like the 'videos being watched now'= worked fine. ### Clicking on the suggested videon on the top RHS started playing the vid= eo + sound, after 1 second, again: ### this happens with CPU spiking to 100% ### *** NSPlugin Wrapper *** ERROR: NPP_WriteReady() invoke: Connection closed *** NSPlugin Wrapper *** ERROR: NPP_NewStream() invoke: Connection closed *** NSPlugin Wrapper *** ERROR: NPP_URLNotify() invoke: Connection closed *** NSPlugin Wrapper *** ERROR: NPP_WriteReady() invoke: Connection closed *** NSPlugin Wrapper *** ERROR: NPP_WriteReady() invoke: Connection closed *** NSPlugin Wrapper *** ERROR: NPP_WriteReady() invoke: Connection closed [MORE AND MORE OF THE SAME, CONTINUOSLY] *** NSPlugin Wrapper *** ERROR: NPP_WriteReady() invoke: Connection closed *** NSPlugin Wrapper *** ERROR: NPP_WriteReady() invoke: Connection closed *** NSPlugin Wrapper *** ERROR: NPP_WriteReady() invoke: Connection closed ### ### Hit back button, bang, NPP_Destroy ### *** NSPlugin Wrapper *** ERROR: NPP_Destroy() invoke: Connection closed *** NSPlugin Wrapper *** ERROR: NPClass::Invalidate() invoke: Connection cl= osed *** NSPlugin Wrapper *** ERROR: NPP_DestroyStream() invoke: Connection clos= ed *** NSPlugin Wrapper *** ERROR: NPP_URLNotify() invoke: Connection closed *** NSPlugin Wrapper *** ERROR: NPP_Destroy() invoke: Connection closed *** NSPlugin Wrapper *** ERROR: NPClass::Invalidate() invoke: Connection cl= osed *** NSPlugin Wrapper *** ERROR: NP_Shutdown() invoke: Connection closed ### ### Browsing around... non-video Flash objects. working fine ### ** NSPlugin Wrapper *** ERROR: NPP_Write() wait for reply: Connection closed *** NSPlugin Wrapper *** ERROR: NPP_DestroyStream() invoke: Connection clos= ed *** NSPlugin Wrapper *** ERROR: NPP_GetValue() invoke: Connection closed *** NSPlugin Wrapper *** WARNING: unhandled variable 11 in NPP_GetValue() *** NSPlugin Wrapper *** ERROR: NPP_GetValue() invoke: Connection closed *** NSPlugin Wrapper *** WARNING: unhandled variable 11 in NPP_GetValue() *** NSPlugin Wrapper *** ERROR: NPP_New() invoke: Connection closed *** NSPlugin Wrapper *** ERROR: NPP_GetValue() invoke: Connection closed *** NSPlugin Wrapper *** WARNING: unhandled variable 11 in NPP_GetValue() *** NSPlugin Wrapper *** ERROR: NPP_Destroy() invoke: Connection closed *** NSPlugin Wrapper *** ERROR: NP_Shutdown() invoke: Connection closed *** NSPlugin Wrapper *** ERROR: NPP_Write() wait for reply: Connection clos= ed *** NSPlugin Wrapper *** ERROR: NPP_DestroyStream() invoke: Connection clos= ed *** NSPlugin Wrapper *** ERROR: NPP_GetValue() invoke: Connection closed *** NSPlugin Wrapper *** WARNING: unhandled variable 11 in NPP_GetValue() *** NSPlugin Wrapper *** ERROR: NPP_GetValue() invoke: Connection closed *** NSPlugin Wrapper *** ERROR: NPP_SetWindow() invoke: Connection closed *** NSPlugin Wrapper *** ERROR: NPP_GetValue() invoke: Connection closed *** NSPlugin Wrapper *** ERROR: NPP_SetWindow() invoke: Connection closed *** NSPlugin Wrapper *** ERROR: NPP_GetValue() invoke: Connection closed *** NSPlugin Wrapper *** WARNING: unhandled variable 11 in NPP_GetValue() *** NSPlugin Wrapper *** ERROR: NPP_GetValue() invoke: Connection closed *** NSPlugin Wrapper *** WARNING: unhandled variable 11 in NPP_GetValue() *** NSPlugin Wrapper *** ERROR: NPP_New() invoke: Connection closed *** NSPlugin Wrapper *** ERROR: NPP_GetValue() invoke: Connection closed *** NSPlugin Wrapper *** WARNING: unhandled variable 11 in NPP_GetValue() *** NSPlugin Wrapper *** ERROR: NPP_Destroy() invoke: Connection closed *** NSPlugin Wrapper *** ERROR: NPP_Destroy() invoke: Connection closed *** NSPlugin Wrapper *** ERROR: NP_Shutdown() invoke: Connection closed ### ### Visited http://www.thegridlayer.com/ . Main Flash loads and dissapears = within a second ### NO CPU spike. ### *** NSPlugin Wrapper *** ERROR: NPP_Destroy() invoke: Connection closed *** NSPlugin Wrapper *** ERROR: NPP_Destroy() invoke: Connection closed *** NSPlugin Wrapper *** ERROR: NPP_Destroy() invoke: Connection closed *** NSPlugin Wrapper *** ERROR: NPP_Destroy() invoke: Connection closed *** NSPlugin Wrapper *** ERROR: NP_Shutdown() invoke: Connection closed *** NSPlugin Wrapper *** ERROR: NPP_Write() wait for reply: Connection clos= ed *** NSPlugin Wrapper *** ERROR: NPP_DestroyStream() invoke: Connection clos= ed *** NSPlugin Wrapper *** ERROR: NPP_NewStream() invoke: Connection closed *** NSPlugin Wrapper *** ERROR: NPP_GetValue() invoke: Connection closed *** NSPlugin Wrapper *** WARNING: unhandled variable 11 in NPP_GetValue() *** NSPlugin Wrapper *** ERROR: NPP_GetValue() invoke: Connection closed *** NSPlugin Wrapper *** ERROR: NPP_SetWindow() invoke: Connection closed *** NSPlugin Wrapper *** ERROR: NPP_New() invoke: Connection closed If anyone has any tests / changes to suggest, I'm happy to test :) Thanks!! _________________________ {Beto|Norberto|Numard} Meijome FAST, CHEAP, SECURE: Pick Any TWO I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned.