Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Mar 2006 15:30:13 +0000
From:      Baldur Gislason <baldur@foo.is>
To:        Ariff Abdullah <ariff@FreeBSD.org>
Cc:        freebsd-multimedia@FreeBSD.org
Subject:   Re: Skipping audio
Message-ID:  <20060315153013.GU20678@gremlin.foo.is>
In-Reply-To: <20060315212125.6aec6723.ariff@FreeBSD.org>
References:  <20060315121115.GT20678@gremlin.foo.is> <20060315212125.6aec6723.ariff@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
I'm using VLC media player to play sound, the output goes through enlightenment sound daemon.

baldur@clippy:~$ uname -a
FreeBSD clippy.magnet.ie 6.0-STABLE FreeBSD 6.0-STABLE #0: Wed Feb  1 15:32:20 GMT 2006     root@clippy.magnet.ie:/usr/obj/usr/src/sys/BALDUR  i386
baldur@clippy:~$ pciconf -lv | grep -B 4 audio
pcm0@pci0:30:2: class=0x040100 card=0x01751028 chip=0x266e8086 rev=0x03 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801FB/FR/FW/FRW AC '97 Audio Controller'
    class    = multimedia
    subclass = audio
baldur@clippy:~$ dmesg | grep ^pcm 
pcm0: <Intel ICH6 (82801FB)> port 0xec00-0xecff,0xe8c0-0xe8ff mem 0xdffffa00-0xdffffbff,0xdffff900-0xdffff9ff irq 23 at device 30.2 on pci0
pcm0: <Analog Devices AD1980 AC97 Codec>
pcm1: <USB Audio> on uaudio0
pcm1: detached

root@clippy:~# sysctl hw.snd.verbose=2 ; cat /dev/sndstat
hw.snd.verbose: 1 -> 2
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: <Intel ICH6 (82801FB)> at io 0xdffffa00, 0xdffff900 irq 23 bufsz 16384 kld snd_ich (1p/1r/4v channels duplex default)
        [pcm0:play:0]: spd 48000, fmt 0x10000010, flags 0x00101020, 0x00000000
        interrupts 36413808, underruns 0, ready 0
        {userland} -> feeder_vchan_s16(0x10000010) -> {hardware}
        pcm0:play:0[pcm0:virtual:0]: spd 44100/48000, fmt 0x10000010, flags 0x10003030, 0x00000010, pid 70906
        interrupts 0, underruns 0, ready 0
        {userland} -> feeder_root(0x10000010) -> feeder_rate(44100 -> 48000) -> {hardware}
        pcm0:play:0[pcm0:virtual:1]: spd 48000, fmt 0x10000010, flags 0x10003030, 0x00000000, pid 15804
        interrupts 0, underruns 0, ready 16384
        {userland} -> feeder_root(0x10000010) -> {hardware}
        pcm0:play:0[pcm0:virtual:2]: spd 44100/48000, fmt 0x10000010, flags 0x10000000, 0x00000010
        interrupts 0, underruns 0, ready 0
        {userland} -> feeder_root(0x10000010) -> feeder_rate(44100 -> 48000) -> {hardware}
        pcm0:play:0[pcm0:virtual:3]: spd 0, fmt 0x00000000/0x00000008, flags 0x10000000, 0x00000000
        interrupts 0, underruns 0, ready 0
        {userland} -> feeder_root(0x00000000) -> {hardware}
        [pcm0:record:0]: spd 8000, fmt 0x00000008/0x10000010, flags 0x00000000, 0x00000000
        interrupts 0, overruns 0, hfree 1024, sfree 131072
        {hardware} -> feeder_root(0x10000010) -> feeder_16leto8(0x10000010 -> 0x10000040) -> feeder_stereotomono8(0x10000040 -> 0x00000040) -> feeder_sign8(0x00000040 -> 0x00000008) -> {userland}

root@clippy:~# sysctl hw.snd
hw.snd.report_soft_formats: 1
hw.snd.targetirqrate: 32
hw.snd.verbose: 2
hw.snd.maxautovchans: 0
hw.snd.unit: 0
hw.snd.pcm0.buffersize: 16384
hw.snd.pcm0.vchans: 4
hw.snd.pcm0.ac97rate: 48000

baldur@clippy:~$ /usr/sbin/mixer 
Mixer vol      is currently set to  37:37
Mixer pcm      is currently set to  69:69
Mixer line     is currently set to   0:0
Mixer mic      is currently set to   0:0
Mixer cd       is currently set to  75:75
Mixer rec      is currently set to   0:0
Mixer igain    is currently set to   0:0
Mixer ogain    is currently set to  48:48
Mixer line1    is currently set to  75:75
Mixer phin     is currently set to   0:0
Mixer phout    is currently set to   0:0
Recording source: mic


On Wed, Mar 15, 2006 at 09:21:25PM +0800, Ariff Abdullah wrote:
> On Wed, 15 Mar 2006 12:11:15 +0000
> Baldur Gislason <baldur@foo.is> wrote:
> > I've been using FreeBSD for years and I've had a problem on many of
> > my boxes that the audio tends to skip a lot if I'm browsing the web
> > or doing something else that is processing intensive for short
> > periods. Is there any known workaround for this?
> > 
> Pretty much depend on what audio application you use, driver/kernel
> settings, etc. etc.
> 
> 	http://people.freebsd.org/~ariff/BUG_REPORT
> 
> . and give me the output of 1-6 .
> 
> 
> --
> Ariff Abdullah
> FreeBSD






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