From owner-freebsd-emulation@FreeBSD.ORG Thu Oct 2 13:03:43 2008 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 054AF106568F; Thu, 2 Oct 2008 13:03:43 +0000 (UTC) (envelope-from vova@sw.ru) Received: from relay.sw.ru (mailhub.sw.ru [195.214.232.25]) by mx1.freebsd.org (Postfix) with ESMTP id 7170F8FC08; Thu, 2 Oct 2008 13:03:41 +0000 (UTC) (envelope-from vova@sw.ru) Received: from vbook.fbsd.ru ([10.30.1.111]) (authenticated bits=0) by relay.sw.ru (8.13.4/8.13.4) with ESMTP id m92D3cMO005651 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 2 Oct 2008 17:03:39 +0400 (MSD) Received: from vova by vbook.fbsd.ru with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KlNqE-000JEf-KD; Thu, 02 Oct 2008 17:03:38 +0400 From: Vladimir Grebenschikov To: Tijl Coosemans In-Reply-To: <200810021446.57051.tijl@ulyssis.org> References: <200810011852.45247.tijl@ulyssis.org> <1222927463.1798.11.camel@localhost> <200810021446.57051.tijl@ulyssis.org> Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: SWsoft Date: Thu, 02 Oct 2008 17:03:38 +0400 Message-Id: <1222952618.1798.56.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov Cc: freebsd-emulation@freebsd.org, Chagin Dmitry Subject: Re: firefox & flash9 patches X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vova@fbsd.ru List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 13:03:43 -0000 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