From owner-freebsd-sparc64@FreeBSD.ORG Fri Aug 21 08:45:23 2009 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 71859106568B for ; Fri, 21 Aug 2009 08:45:23 +0000 (UTC) (envelope-from ardelean@ww.uni-erlangen.de) Received: from servww6.ww.uni-erlangen.de (servww6.ww.uni-erlangen.de [131.188.238.13]) by mx1.freebsd.org (Postfix) with ESMTP id F12E68FC66 for ; Fri, 21 Aug 2009 08:45:22 +0000 (UTC) Received: by servww6.ww.uni-erlangen.de (Postfix, from userid 512) id AE35662003; Fri, 21 Aug 2009 10:45:20 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by servww6.ww.uni-erlangen.de (Postfix) with ESMTP id 7BEBB62002; Fri, 21 Aug 2009 10:45:20 +0200 (CEST) Date: Fri, 21 Aug 2009 10:45:20 +0200 (CEST) From: Gheorghe Ardelean To: Christian Ramseyer In-Reply-To: <4A8DC0DF.4040701@networkz.ch> Message-ID: References: <4A7C6B50.3070503@networkz.ch> <20090817205340.GA75477@alchemy.franken.de> <20090817215612.GB75477@alchemy.franken.de> <20090818192748.GA6585@alchemy.franken.de> <20090819161410.GA19351@alchemy.franken.de> <4A8DC0DF.4040701@networkz.ch> User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-sparc64@freebsd.org Subject: Re: Audio on Sunblade 100 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Aug 2009 08:45:23 -0000 On Thu, 20 Aug 2009, Christian Ramseyer wrote: [...] > As it worked for Gheorghe, chances are that I'm doing something > wrong/different: Now I have tested also mpg321 and it has a not that good sound quality. A lot of noise is coming out but the sound is there all the time. The noise is coming always on the bass (maybe drums?) parts. blade100# mpg321 Baltimora\ -\ Tarzan\ Boy.mp3 High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2, and 3. Version 0.59q (2002/03/23). Written and copyrights by Joe Drew. Uses code from various people. See 'README' for more! THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK! Playing MPEG stream from Baltimora - Tarzan Boy.mp3 ... MPEG 1.0 layer III, 128 kbit/s, 48000 Hz joint-stereo mpg123 is still ok: blade100# mpg123 Baltimora\ -\ Tarzan\ Boy.mp3 High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3 version 1.6.4; written and copyright by Michael Hipp and others free software (LGPL/GPL) without any warranty but with best wishes Playing MPEG stream 1 of 1: Baltimora - Tarzan Boy.mp3 ... MPEG 1.0 layer III, 128 kbit/s, 48000 Hz joint-stereo So this is some kind of strange to me. I have tested also xmms with the result of only noise comming out. And x11amp dies when loading. So up to now the only viable solution is mpg123 (at least for me). All I can see is mpgs321 is using different libraries from mpg123: blade100# ldd /usr/local/bin/mpg123 /usr/local/bin/mpg123: libltdl.so.4 => /usr/local/lib/libltdl.so.4 (0x4035a000) libmpg123.so.11 => /usr/local/lib/libmpg123.so.11 (0x40464000) libm.so.5 => /lib/libm.so.5 (0x405aa000) libc.so.7 => /lib/libc.so.7 (0x406d4000) blade100# ldd /usr/local/bin/mpg321 /usr/local/bin/mpg321: libid3tag.so.0 => /usr/local/lib/libid3tag.so.0 (0x40346000) libmad.so.2 => /usr/local/lib/libmad.so.2 (0x40466000) libz.so.4 => /lib/libz.so.4 (0x40588000) libao.so.3 => /usr/local/lib/libao.so.3 (0x4069e000) libc.so.7 => /lib/libc.so.7 (0x407a4000) libthr.so.3 => /lib/libthr.so.3 (0x409e2000) Christian, could please also test mpg123 and let us know if you get different results? > - the driver is built directly into the kernel, I'm using > sparc64/conf/GENERIC with minimal modifications: I included the driver also in the kernel. blade100# diff -u GENERIC GENERIC.orig --- GENERIC 2009-08-19 12:51:27.000000000 +0200 +++ GENERIC.orig 2009-08-21 10:26:47.000000000 +0200 @@ -241,6 +241,3 @@ device dcons # Dumb console driver device dcons_crom # Configuration ROM for dcons -device sound -device snd_t4dwave - in /etc/make.conf I have this line: MODULES_OVERRIDE= ipfw and the kernel was build this way: cd /usr/src/sys/sparc64/conf config GENERIC (I modifed the GENERIC file) cd ../compile/GENERIC make cleandepend && make depend make make install reboot Regards, Gheorghe Ardelean.