Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Oct 2008 17:03:38 +0400
From:      Vladimir Grebenschikov <vova@fbsd.ru>
To:        Tijl Coosemans <tijl@ulyssis.org>
Cc:        freebsd-emulation@freebsd.org, Chagin Dmitry <dchagin@freebsd.org>
Subject:   Re: firefox & flash9 patches
Message-ID:  <1222952618.1798.56.camel@localhost>
In-Reply-To: <200810021446.57051.tijl@ulyssis.org>
References:  <200810011852.45247.tijl@ulyssis.org> <1222927463.1798.11.camel@localhost> <200810021446.57051.tijl@ulyssis.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 2008-10-02 at 14:46 +0200, Tijl Coosemans wrote:
> On Thursday 02 October 2008 08:04:23 Vladimir Grebenschikov wrote:
> > On Wed, 2008-10-01 at 18:52 +0200, Tijl Coosemans wrote:
> > 
> > Do you have working sound with your flashsupport patch and flash9 ?
> > 
> > I've tried both - your pre-build library and to build library myself
> > with your patch - same effect, I have a lot of "ALSA" complains on
> > output and no actual sound:
> > (I am trying on 8-CURRENT)
> > 
> > ...
> > ALSA lib conf.c:3493:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device
> > ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
> > ALSA lib conf.c:3493:(_snd_config_evaluate) function snd_func_concat returned error: No such device
> > ALSA lib confmisc.c:1072:(snd_func_refer) error evaluating name
> > ALSA lib conf.c:3493:(_snd_config_evaluate) function snd_func_refer returned error: No such device
> > ALSA lib conf.c:3962:(snd_config_expand) Evaluate error: No such device
> > ALSA lib pcm.c:2099:(snd_pcm_open_noupdate) Unknown PCM default
> > ALSA lib pcm_hw.c:1305:(_snd_pcm_hw_open) Invalid value for card
> > ALSA lib confmisc.c:672:(snd_func_card_driver) cannot find card '0'
> > ALSA lib conf.c:3493:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device
> > ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
> > ALSA lib conf.c:3493:(_snd_config_evaluate) function snd_func_concat returned error: No such device
> > ALSA lib confmisc.c:1072:(snd_func_refer) error evaluating name
> > ALSA lib conf.c:3493:(_snd_config_evaluate) function snd_func_refer returned error: No such device
> > ALSA lib conf.c:3962:(snd_config_expand) Evaluate error: No such device
> > ALSA lib pcm.c:2099:(snd_pcm_open_noupdate) Unknown PCM default
> > ALSA lib pcm_hw.c:1305:(_snd_pcm_hw_open) Invalid value for card
> > ALSA lib confmisc.c:672:(snd_func_card_driver) cannot find card '0'
> > ...
> > 
> > Any hints will be very appreciated.
> 
> I have sound in both linux-firefox and native firefox 2. The
> libflashsupport installed by the linux-flashplugin9 port already makes
> sound work for me.
> 
> I have the following linux packages installed:
> 
> linux-atk-1.9.1     Accessibility Toolkit, Linux/i386 binary
> linux-cairo-1.0.2   Linux cairo binary
> linux-expat-1.95.8  Linux/i386 binary port of Expat XML-parsing library
> linux-firefox-2.0.0.17 Web browser based on the browser portion of Mozilla
> linux-flashplugin-9.0r124_1 Adobe Flash Player NPAPI Plugin
> linux-fontconfig-2.2.3_7 Linux/i386 binary of Fontconfig
> linux-glib2-2.6.6   Version 2.X Linux/i386 binary port of GLib
> linux-gtk2-2.6.10   GTK+ library, version 2.X, Linux binary
> linux-hicolor-icon-theme-0.5_1 A high-color icon theme shell from the FreeDesktop project
> linux-jpeg-6b.34    RPM of the JPEG lib
> linux-openssl-0.9.7f SSL and crypto library (Linux Version)
> linux-pango-1.10.2  Linux pango binary
> linux-png-1.2.8_2   RPM of the PNG lib
> linux-tiff-3.7.1    TIFF library, Linux/i386 binary
> linux-xorg-libs-6.8.2_5 Xorg libraries, linux binaries
> linux_base-fc-4_13  Base set of packages needed in Linux mode (for i386/amd64)
> 
> Kernel with Dmitry's linprocfs patch and linprocfs mounted on
> /compat/linux/proc
> 
> sysctl compat.linux
> compat.linux.oss_version: 198144
> compat.linux.osrelease: 2.4.2
> compat.linux.osname: Linux
> 
> That's it for linux-firefox.

Hm, in my case it even does not starts with osrelease=2.4.2
$ linux-firefox
FATAL: kernel too old
$

> For native firefox, you need to install nspluginwrapper and run
> "nspluginwrapper -v -a -i" as root.

Same diagnostic from flashplugin9 under ff3, looks like it is due to
glibc from fedora8

looks like either flashpayer9 or flashsupport or some linux library
provides additional ALSA->pcm compatibility.

> My patch for libflashsupport improves handling of the sound buffer,
> but sound should already work without it.

-- 
Vladimir B. Grebenschikov
vova@fbsd.ru



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1222952618.1798.56.camel>