From owner-freebsd-current@FreeBSD.ORG Thu Sep 17 20:34:25 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B0CE71065672; Thu, 17 Sep 2009 20:34:25 +0000 (UTC) (envelope-from oberman@es.net) Received: from mailgw.es.net (mail3.es.net [IPv6:2001:400:4c01::2]) by mx1.freebsd.org (Postfix) with ESMTP id 837678FC14; Thu, 17 Sep 2009 20:34:25 +0000 (UTC) Received: from ptavv.es.net (ptavv.es.net [IPv6:2001:400:910::29]) by mailgw.es.net (8.14.3/8.14.3) with ESMTP id n8HKYNK8011459 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 17 Sep 2009 13:34:24 -0700 Received: from ptavv.es.net (ptavv.es.net [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 374B31CC37; Thu, 17 Sep 2009 13:34:23 -0700 (PDT) To: AN In-reply-to: Your message of "Thu, 17 Sep 2009 20:14:16 -0000." Date: Thu, 17 Sep 2009 13:34:23 -0700 From: "Kevin Oberman" Message-Id: <20090917203423.374B31CC37@ptavv.es.net> X-Proofpoint-Virus-Version: vendor=fsecure engine=1.12.8161:2.4.5, 1.2.40, 4.0.166 definitions=2009-09-17_09:2009-09-17, 2009-09-17, 2009-09-17 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=5.0.0-0908210000 definitions=main-0909170114 Cc: freebsd-current@freebsd.org, freebsd-gnome@freebsd.org Subject: Re: no sound from Flash9 plugin X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Sep 2009 20:34:25 -0000 > Date: Thu, 17 Sep 2009 20:14:16 +0000 (GMT) > From: AN > > > > On Thu, 17 Sep 2009, Kevin Oberman wrote: > > >> Date: Thu, 17 Sep 2009 17:49:16 +0000 (GMT) > >> From: AN > >> Sender: owner-freebsd-gnome@freebsd.org > >> > >> I'm having a problem getting sound to play in Flash9, the video works > >> fine. I followed the instructions from http://crnl.org/blog/2008/11/01/flash-9-for-freebsd-71 > >> and the install completed without problems. > >> > >> System info: > >> > >> uname -a > >> FreeBSD test.fu.bar 8.0-BETA4 FreeBSD 8.0-BETA4 #0: Sun Sep 6 04:44:31 > >> UTC 2009 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC > >> amd64 > >> > >> Gnome 2.26.3 > >> > >> firefox-3.5.3,1 Web browser based on the browser portion of Mozilla > >> linux-flashplugin-9.0r246 Adobe Flash Player NPAPI Plugin > >> linux-f10-atk-1.24.0 Accessibility Toolkit, Linux/i386 binary (Linux > >> Fedora 10) > >> linux-f10-cairo-1.8.0 Vector graphics library Cairo (Linux Fedora 10) > >> linux-f10-expat-2.0.1 Linux/i386 binary port of Expat XML-parsing library > >> (Linux > >> linux-f10-fontconfig-2.6.0 An XML-based font configuration API for X > >> Windows (Linux Fe > >> linux-f10-gtk2-2.14.7 GTK+ library, version 2.X (Linux Fedora 10) > >> linux-f10-jpeg-6b RPM of the JPEG lib (Linux Fedora 10) > >> linux-f10-openssl-0.9.8g The OpenSSL toolkit (Linux Fedora 10) > >> linux-f10-pango-1.22.3 The pango library (Linux Fedora 10) > >> linux-f10-png-1.2.37 RPM of the PNG lib (Linux Fedora 10) > >> linux-f10-tiff-3.8.2 The TIFF library, Linux/i386 binary (Linux Fedora 10) > >> linux-f10-xorg-libs-7.4_1 Xorg libraries (Linux Fedora 10) > >> linux-flashplugin-9.0r246 Adobe Flash Player NPAPI Plugin > >> linux_base-f10-10_2 Base set of packages needed in Linux mode for > >> i386/amd64 (L > >> > >> > >> part of dmesg: > >> Copyright (c) 1992-2009 The FreeBSD Project. > >> Sep 17 10:42:34 test kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, > >> 1989, 1991, 1992, 1993, 1994 > >> Sep 17 10:42:34 test kernel: The Regents of the University of California. > >> All rights reserved. > >> Sep 17 10:42:34 test kernel: FreeBSD is a registered trademark of The > >> FreeBSD Foundation. > >> Sep 17 10:42:34 test kernel: FreeBSD 8.0-BETA4 #0: Sun Sep 6 04:44:31 UTC > >> 2009 > >> Sep 17 10:42:34 test kernel: > >> root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC > >> Sep 17 10:42:34 test kernel: WARNING: WITNESS option enabled, expect > >> reduced performance. > >> Sep 17 10:42:34 test kernel: Timecounter "i8254" frequency 1193182 Hz > >> quality 0 > >> Sep 17 10:42:34 test kernel: CPU: Intel(R) Core(TM)2 Quad CPU Q8200 @ > >> 2.33GHz (2333.08-MHz K8-class CPU) > >> Sep 17 10:42:34 test kernel: Origin = "GenuineIntel" Id = 0x10677 > >> Stepping = 7 > >> Sep 17 10:42:34 test kernel: > >> Features=0xbfebfbff > >> Sep 17 10:42:34 test kernel: > >> Features2=0x8e39d > >> Sep 17 10:42:34 test kernel: AMD Features=0x20100800 > >> Sep 17 10:42:34 test kernel: AMD Features2=0x1 > >> Sep 17 10:42:34 test kernel: TSC: P-state invariant > >> Sep 17 10:42:34 test kernel: real memory = 4294967296 (4096 MB) > >> Sep 17 10:42:34 test kernel: avail memory = 4104114176 (3913 MB) > >> Sep 17 10:42:34 test kernel: ACPI APIC Table: > >> Sep 17 10:42:34 test kernel: FreeBSD/SMP: Multiprocessor System Detected: > >> 4 CPUs > >> Sep 17 10:42:34 test kernel: FreeBSD/SMP: 1 package(s) x 4 core(s) > >> > >> Sound is working for all system sounds, and multimedia apps like totem. > >> Any help is really appreciated, please let me know if there is more info > >> that I need to provide. > >> > >> TIA > >> _______________________________________________ > >> freebsd-gnome@freebsd.org mailing list > >> http://lists.freebsd.org/mailman/listinfo/freebsd-gnome > >> To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.org" > >> > > > > Andy, > > > > This has been a known issue with Flash9 since Adobe fixed a security > > problem a couple of months ago. Since Flash does not support the OSS > > audio used by FreeBSD, they probably were unaware that they were > > breaking the sound. > > > > The only solution I have seen is to install Flash10 > > (linux-f10-flash10). > > > > Since linux_base-f10 is the standard Linux emulation for 8.0, I suggest > > that you replace all of your linux-* ports with "linux-f10-*" ports. If > > you use portupgrade, 'portupgrade -o emulators/linux_base-f10 > > linux_base'. Use a similar command for all of your linux-* ports. Look > > in /usr/ports/UPDATING, you will find a discussion of updating linux to > > f10. > > > > Note that users will need to update the nsplugingwrapper plug-ins before > > Flash10 will work. I believe that 'nspluginwrapper -u' should do the > > trick. (Remember that it must be run by each user while logged into his > > or her own account.) > > -- > > R. Kevin Oberman, Network Engineer > > Energy Sciences Network (ESnet) > > Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) > > E-mail: oberman@es.net Phone: +1 510 486-8634 > > Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751 > > > Hi Kevin: > > Thanks for your reply. I installed linux-f10-flash10 as you suggested. > > pkg_info | grep linux-f10-flashplugin-10.0r32 > linux-f10-flashplugin-10.0r32 Adobe Flash Player NPAPI Plugin > > I had already installed linux_base-f10-10_2, see above. I tried to > execute nspluginwrapper -u, and I received this response: nspluginwrapper: > expected plugin(s) file name to update > > Now, flash does not work at all. Previously I had video, but no sound, > and now nothing. I tried the following command, cd > /usr/local/lib/firefox3/plugins && ln -s > /usr/local/lib/browser_plugins/npwrapper.libflashplayer.so > npwrapper.libflashplayer.so but still nothing. > > Any other ideas, what other info can I provide to troubleshoot? > > Thanks > First, are all linux ports updated to -f10 versions? Does your make.conf contain the required lines: OVERRIDE_LINUX_BASE_PORT=f10 OVERRIDE_LINUX_NONBASE_PORTS=f10 If that is all OK, it looks like nspluginwrapper is not dealing with the update option in a useful way. nspluginwrapper -l Note the first two lines for each plug-in. nspluginwrapper -r (first line of the plug-in output above) nspluginwrapper -i (Location listed in "Original plugin" line, perhaps modified) For flash, the install line will be: nspluginwrapper -i /usr/local/lib/npapi/linux-f10-flashplugin/libflashplayer.so I had to use 'pkg_info -L linux-f10-flashplugin-10.0r32' to fine that one. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751