Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Mar 2002 08:54:49 -0500 (EST)
From:      "Adam D. Gorski" <agorski@engin.umich.edu>
To:        John Utz <john@utzweb.net>
Cc:        <freebsd-multimedia@FreeBSD.ORG>
Subject:   SB problem (was: Cat'ing /dev/audio)
Message-ID:  <Pine.SOL.4.33.0203290840060.2808-100000@and.engin.umich.edu>
In-Reply-To: <Pine.LNX.4.44.0203282314560.25756-100000@jupiter.linuxengine.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Ok, let me be a bit more specific. I actually e-mailed this list about this
problem about a week ago, but got no response. So here are the details.

I moved to FreeBSD just recently from Slackware. Everything runs
beautifully, except my sound. I originally had a SB PCI 64 (es1370 chip) in
my box, which Linux loved and everything was happy. However, under FreeBSD,
playing mp3/ogg files produced terrible popping/screeching that made the
music unlistenable. Note: under Linux, I had no problems. My box is a p2-450
with 256 megs of ram, so I would think that playing mp3's wouldn't be an
issue.

I was told that perhaps my sound card is whacky, so I ordered a SB 16 PCI,
which is what I have installed right now. Unfortunately, the problem
persists. I can cat au files and play wavs in xmms just fine, but mp3's
still crack. I've searched google for hours, I've tried everything I could
find in the mailing list archive, through google, and in #freebsd, but
nothing helped. What I did to get sound:

While making my custom kernel, I included 'device pcm', which I thought is
all I needed, and did the 'sh MAKEDEV snd0' step as well.

Since then I've tried many variations of the kernel options, but nothing
helped. I've been told that this sounds like an IRQ problem, but I have
since switched the IRQ my SB is on (was 10, now it's 5) and that didn't
help. Currently in my kernel I have this line:

device    pcm0 at isa? port? irq 11 drq 1 flags 0x15

but for some reason the FreeBSD still puts the card under IRQ 5. It _is_ a
PnP card, so I thought 'device pcm' was all I needed, but I'm not sure
anymore.

Here is some relevant output once again:

from dmesg:
pcm0: <Creative CT5880-C> port 0xa000-0xa03f irq 5 at device 11.0 on pci0

And the output of pciconf and vmstat can be found here:
http://www-personal.umich.edu/~agorski/vmstat
http://www-personal.umich.edu/~agorski/pciconf

So as you see, the problem is something I've been desperately trying to
resolve. If anyone has any clues or suggestions, I would love to hear them.
Thanks you.

- Adam

On Thu, 28 Mar 2002, John Utz wrote:

::On Fri, 29 Mar 2002, Adam D. Gorski wrote:
::
::> P.S. If anyone knows why my SB16 crackles and pops while I try to play
::> mp3/ogg but works fine with .au and .wav files, feel free to let me know :P
::
::OTTOMH, overall system utilization.
::
::mp3 and ogg need extensive work ( manipulation wrt to the psycho-accoustic
::model ) to move from disk to soundcard.
::
::au and wav are an uncompressed format that maps directly to the d/a
::hardware in the card.
::
::so, i am assuming that if you have an isa based card (sb16) that the cpu
::and ram in this particular computer arent particularly generous either.
::
::if you can get some audio to come out sounding good, then the other ones
::are probably fixable too, because the load for rebuilding the mp3 and oggs
::isnt *that* great.
::
::but i dont really know very much about your computer and kernel option
::specifics, so i should probably stop guessing :-)
::
::--
::
::John L. Utz III
::john@utzweb.net
::
::Idiocy is the Impulse Function in the Convolution of Life
::
::


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SOL.4.33.0203290840060.2808-100000>