Re: no sound from Flash9 plugin

From: Kevin Oberman <oberman_at_es.net>
Date: Thu, 17 Sep 2009 13:34:23 -0700
> Date: Thu, 17 Sep 2009 20:14:16 +0000 (GMT)
> From: AN <andy_at_neu.net>
> 
> 
> 
> On Thu, 17 Sep 2009, Kevin Oberman wrote:
> 
> >> Date: Thu, 17 Sep 2009 17:49:16 +0000 (GMT)
> >> From: AN <andy_at_neu.net>
> >> Sender: owner-freebsd-gnome_at_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_at_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_at_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  _at_
> >> 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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
> >> Sep 17 10:42:34 test kernel:
> >> Features2=0x8e39d<SSE3,DTES64,MON,DS_CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1>
> >> Sep 17 10:42:34 test kernel: AMD Features=0x20100800<SYSCALL,NX,LM>
> >> Sep 17 10:42:34 test kernel: AMD Features2=0x1<LAHF>
> >> 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: <A_M_I_ OEMAPIC >
> >> 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_at_freebsd.org mailing list
> >> http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
> >> To unsubscribe, send any mail to "freebsd-gnome-unsubscribe_at_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_at_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_at_es.net			Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751
Received on Thu Sep 17 2009 - 18:34:25 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:55 UTC