No sound in flashplayer video

Hi,

I installed www/linux-flashplugin10 but I don't get any sound from flash. I've already checked the forums for similar threads but I can't find anything suitable.

Here are my stats for libflashsupport -
Code:
FreeBSD-82# /usr/compat/linux/bin/sh /usr/compat/linux/usr/bin/ldd /usr/compat/linux/usr/lib/libflashsupport.so
        libssl.so.7 => /lib/libssl.so.7 (0x21029000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x21074000)
        libc.so.6 => /lib/libc.so.6 (0x2108e000)
        libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x21206000)
        libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x21234000)
        libcom_err.so.2 => /lib/libcom_err.so.2 (0x212d3000)
        libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x212d7000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x212fc000)
        libcrypto.so.7 => /lib/libcrypto.so.7 (0x21313000)
        libdl.so.2 => /lib/libdl.so.2 (0x21467000)
        libz.so.1 => /lib/libz.so.1 (0x2146c000)
        /lib/ld-linux.so.2 (0x01001000)
        libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x21481000)
        libkeyutils.so.1 => /lib/libkeyutils.so.1 (0x2148b000)
        libselinux.so.1 => /lib/libselinux.so.1 (0x2148e000)

Can someone please help?

Best,

Dave
 
Sound works in other applications? If you run firefox from a terminal, and go to a flash page, does it give you any errors on the terminal?

Adam
 
adamk:

Sound works on system.

I get this error on youtube -

Code:
*** NSPlugin Viewer  *** WARNING: unhandled variable 18 (<unknown variable>) in NPN_GetValue()

Best,

dave
 
You're going to need to provide more information. Which version of FreeBSD are you running? Have you started the linuxulator and mounted the linux proc system? Does sound work on your system at all?
 
Hi,

I have already answered that the sound works on my box. I am running FreeBSD-8.2-amd64. I've configured everything as per the handbook & linproc is mounted.

best,

dave
 
Should be working, check for typos in /etc/fstab, rc.conf, and loader.conf. Have you updated the linux_base from something else and is compat.linux.osrelease: 2.6.16? I actually use the nspluginwrapper-devel port. I don't think that's the problem though.
 
Here are the details -

Code:
FreeBSD-82# cat /etc/fstab
# Device                Mountpoint      FStype  Options         Dump    Pass#
/dev/ad6s2b             none            swap    sw              0       0
/dev/ad6s2a             /               ufs     rw              1       1
/dev/ad6s2g             /home           ufs     rw              2       2
/dev/ad6s2d             /tmp            ufs     rw              2       2
/dev/ad6s2f             /usr            ufs     rw              2       2
/dev/ad6s2e             /var            ufs     rw              2       2
/dev/acd0               /cdrom          cd9660  ro,noauto       0       0
procfs                  /proc           procfs  rw              0       0
linproc    /usr/compat/linux/proc   linprocfs   rw              0       0

Code:
FreeBSD-82# sysctl compat.linux.osrelease
compat.linux.osrelease: 2.6.16

Code:
cat /boot/loader.conf
linux_load="YES"
nvidia_load="YES"

## Added by the detect_sound script
snd_hda_load="YES"

## firefox-http5 set-up
sem_load="YES"

## qemu set-up
aio_load="YES"
kqemu_load="YES"

Code:
cat /etc/rc.conf
# -- sysinstall generated deltas -- # Sat Mar  5 17:14:11 2011
# Created: Sat Mar  5 17:14:11 2011
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
hostname="FreeBSD-82.grumpy-biatch.org"
ifconfig_nfe0="DHCP"
keymap="us.iso"
moused_enable="YES"
moused_port="/dev/psm0"
moused_type="auto"
dbus_enable="YES"
hald_enable="YES"
linux_enable="YES"
local_startup="${local_startup} /usr/local/kde4/etc/rc.d"
kdm4_enable="YES"
fusefs_enable="YES"
kqemu_enable="YES"

Code:
kldstat
Id Refs Address            Size     Name
 1   29 0xffffffff80100000 c9fe20   kernel
 2    3 0xffffffff80da0000 42558    linux.ko
 3    1 0xffffffff80de3000 24d98    snd_hda.ko
 4    2 0xffffffff80e08000 75668    sound.ko
 5    1 0xffffffff80e7e000 da6400   nvidia.ko
 6    1 0xffffffff81e22000 3ee0     linprocfs.ko
 7    1 0xffffffff81e26000 a8ea     fuse.ko
 8    1 0xffffffff81e31000 5ec6     aio.ko
 9    1 0xffffffff81e37000 285bc    kqemu.ko
 
On my system [cmd=]ls -ld /compat[/cmd] shows /compat to be a symlink. I'm not sure when /compat became a symlink but certainly for 8.X and above.
 
I reinstalled flashplayer, nspluginwrapper & linux_base but it still doesn't work. In addition, I installed it on other machine but there is no sound in it as well.
 
The sound in flashplayer is fixed by adding
Code:
hw.snd.default_unit=1
hw.snd.compat_linux_mmap=1
to /etc/sysctl.conf. I changed output device preference to /dev/dsp1 in phonon.
 
Hi guys! I'm in the same conditions... I'm using Flash Player 10.1 on FreeBSD 9.1 (32 bit) but I have no sound on any browser. Obviously I have already checked if the sound works correctly in other applications. I can't use the latest Flash Player version because it makes the browser crash (it happened on this machine with Linux too) but with an older version I never had any problems until now... For installing the plugin I have followed these steps:

First I have removed the Flash Player 11 version, then I have downloaded the 10.1 version (Linux-32) and I have moved libflashplayer.so to /usr/local/lib/browser_plugins, then I have installed the plugin with nspluginwrapper -v -a -i.
I have already tried to add these 2 lines on /etc/sysctl.conf but it doesn't work:
Code:
hw.snd.default_unit=1
hw.snd.compat_linux_mmap=1
Have you an idea?
 
EDIT: If I run Epiphany in a terminal, when I move to a YouTube video I get a huge amount of these errors:
Code:
ALSA lib conf.c:4633:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM default
ALSA lib pcm_hw.c:1433:(_snd_pcm_hw_open) Invalid value for card
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4154:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4154:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4154:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4633:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM default
ALSA lib pcm_hw.c:1433:(_snd_pcm_hw_open) Invalid value for card
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4154:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4154:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4154:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4633:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM default
ALSA lib pcm_hw.c:1433:(_snd_pcm_hw_open) Invalid value for card
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4154:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4154:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4154:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:4633:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM default
ALSA lib pcm_hw.c:1433:(_snd_pcm_hw_open) Invalid value for card
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4154:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
 
Your sound card is listed as pcm0 device. Optionally, you can add in /boot/loader.conf
Code:
hw.snd.default_unit=0

Remove Linux mmap compatibility variable from /etc/sysctl.conf
Code:
# sysctl -d hw.snd.compat_linux_mmap
hw.snd.compat_linux_mmap: linux mmap compatibility (-1=force disable 0=auto 1=force enable)

Reinstall all ALSA related stuff, to know which ALSA ports you have installed run # pkg_info -Ix alsa.
 
Back
Top