From owner-freebsd-questions@FreeBSD.ORG Sat Jun 2 02:35:37 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 6ACD816A41F for ; Sat, 2 Jun 2007 02:35:37 +0000 (UTC) (envelope-from nlecic@EUnet.yu) Received: from smtpclu-1.eunet.yu (smtpclu-1.eunet.yu [194.247.192.226]) by mx1.freebsd.org (Postfix) with ESMTP id D087313C44C for ; Sat, 2 Jun 2007 02:35:36 +0000 (UTC) (envelope-from nlecic@EUnet.yu) Received: from nyx.localhost (adsl-229-172.eunet.yu [213.198.229.172]) by smtpclu-1.eunet.yu (8.13.6/8.13.6) with ESMTP id l522Zv7p002571; Sat, 2 Jun 2007 04:35:58 +0200 Message-Id: <200706020235.l522Zv7p002571@smtpclu-1.eunet.yu> Date: Sat, 2 Jun 2007 04:35:33 +0200 From: Nikola Lecic To: Ozan Enginoglu In-Reply-To: <1180746840.13173.5.camel@laptop> References: <1180738844.1116.9.camel@laptop> <200706020001.l5201mKS004494@smtpclu-1.eunet.yu> <1180746840.13173.5.camel@laptop> X-Mailer: Claws Mail 2.9.2 (GTK+ 2.10.12; i386-portbld-freebsd6.2) X-Operating-System: FreeBSD 6.2-RELEASE X-Face: pbl6-.[$G'Fi(Ogs2xlXP-V6{3||$Y[LOYs&~GJoikj'cVjcFC[V7du;;0~6nO= [Vi2?uU1Pq~,=Adj@,T:|"`$AF~il]J.Nz#2pU',Y7.{B;m/?{#sO^Dvo$rnmY6] Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-EUNET-AVAS-Milter-Version: 2.0.0 X-AVAS-Virus-Status: clean X-AVAS-Spamd-Symbols: BAYES_50,TW_LR,TW_RW,TW_WX,UNPARSEABLE_RELAY X-AVAS-Spam-Score: 0.2 Cc: freebsd-questions Subject: Re: Flashplugin problem after xorg 7.2 upgrade 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: Sat, 02 Jun 2007 02:35:37 -0000 On Sat, 02 Jun 2007 04:13:59 +0300 Ozan Enginoglu wrote: > Thanks for the quick reply, Sure! =20 > On Sat, 2007-06-02 at 02:01 +0200, Nikola Lecic wrote: > > Hello, > >=20 > > On Sat, 02 Jun 2007 02:00:44 +0300 > > Ozan Enginoglu wrote: > >=20 > > > After i upgrated to xorg 7.2 i had firefox core-dump problem. It > > > used to crast when i enter a site with a lot of flash plugin. And > > > it uses a lot of CPU power! > > >=20 > > > I removed flash plugin libs from /usr/local/lib/browser_plugins > > > and plugins directory of firefox. Now i can surf without any > > > core-dump error. > > >=20 > > > when i try to reinstall flashplugin, firefox cant succedd to run > > > them. > > >=20 > > > What should i do? Any suggestions? > >=20 > > What flashplugin and wrapper do you use? If you use > > linux-flashplugin-7.0r69 with nspluginwrapper (you probably do, with > > native Firefox), you might need the following after Xorg upgrade: > >=20 > > %ln -s ~/.mozilla/plugins ~/.mozilla/firefox/plugins > >=20 > > That works for me. Before that you can of course consider to > > re-create nspluginwrapper's files, like this: > >=20 > > %nspluginwrapper -v -a -r (remove old wrapper files) > > %nspluginwrapper -v -a -i (install all available plugins) > >=20 > > Then check with about:plugins if all of them are recognised by > > Firefox. > >=20 > > Nikola Le=C4=8Di=C4=87 >=20 >=20 > As a matter of fact, i used to play flash files without > nspluginwrapper. Of course that was before upgrading. Now i installed > it and did as you wrote above. You can't use linux plugins with native FreeBSD apps without some sort of wrapper. > I got another core dump error. Here is the output: >=20 > root@laptop[0]:/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/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 > =20 > into /usr/local/lib/browser_plugins/npwrapper.libflashplayer.so > Auto-install plugins > from /usr/X11R6/Adobe/Acrobat7.0/ENU/Browser/intellinux > Looking for plugins > in /usr/X11R6/Adobe/Acrobat7.0/ENU/Browser/intellinux > Install > plugin /usr/X11R6/Adobe/Acrobat7.0/ENU/Browser/intellinux/nppdf.so > Segmentation fault: 11 (core dumped) =20 No, nspluginwrapper runs on a per-user basis, you should run it as an ordinary user. Step-by-step: (1) Make sure you didn't do any handiwork in /usr/local/lib/browser_plugins. Just make sure Firefox is aware of installed plugins (use about:plugins), add a symlink if necessary, but don't move or delete anything. If not sure, reinstall plugin ports. (2) You must have the following packages installed: firefox-2.0.0.3_1,1 nspluginwrapper-0.9.91.4_1 linux-flashplugin-7.0r69 Make sure you _don't_ have linuxpluginwrapper installed as it can collide with nspluginwrapper. Also, uninstall all other flash players to make situation easier. (3) Then, run 'nspluginwrapper -a -i -r' to clean old files (if any) and 'nspluginwrapper -a -i -v' as the user who uses Firefox. Then, list what is installed. On my box: %nspluginwrapper -l /home/nikola/.mozilla/plugins/npwrapper.libflashplayer.so Original plugin: /usr/local/lib/npapi/linux-flashplugin/libflashplayer.so Wrapper version string: 0.9.91.4 /home/nikola/.mozilla/plugins/npwrapper.nphelix.so Original plugin: /usr/X11R6/lib/linux-mozilla/plugins/nphelix.so Wrapper version string: 0.9.91.4 /home/nikola/.mozilla/plugins/npwrapper.nppdf.so Original plugin: /usr/X11R6/Adobe/Acrobat7.0/ENU/Browser/intellinux/nppdf.so Wrapper version string: 0.9.91.4 Of course, no seg fault should happen. If it does, that might be another problem, not related to flash player. I also have to add a symlink in ~/.mozilla after Xorg upgrade, as I desribed in my previous mail. Actually, I have two of them, like this: %ll ~/.mozilla/firefox total 18 drwx------ 10 nikola nyx 1024 Jun 2 04:11 jazuhv63.default lrwxr-xr-x 1 nikola nyx 16 May 27 03:41 pluginreg.dat -> ../pluginreg.dat lrwxr-xr-x 1 nikola nyx 10 May 27 03:41 plugins -> ../plugins -rw-r--r-- 1 nikola nyx 94 Feb 23 20:11 profiles.ini (4) Restart Firefox. In about:plugins page this entry should appear: Shockwave Flash Nom de fichier : npwrapper.libflashplayer.so Shockwave Flash 7.0 r69 (5) Open YouTube and enjoy. > My firefox runs very normal right now but npwiever.bin uses a lot of > cpu. Is it normal? How much? On my box <25%, and works smoothly. Maybe someone else can confirm. > And is there any way to play flash files without using > "nspluginwrapper"? Only in linux versions (linux-opera, linux-firefox...). There is no way to use linux flashplugin in native browsers without a wrapper. Nikola Le=C4=8Di=C4=87