Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 May 2006 19:37:27 +0930
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        Alexander Leidinger <Alexander@leidinger.net>
Cc:        freebsd-multimedia@freebsd.org
Subject:   Re: snd_ich garbled audio
Message-ID:  <200605101937.45885.doconnor@gsoft.com.au>
In-Reply-To: <20060510091107.ihklfr948ock04gc@netchild.homeip.net>
References:  <200605101601.40457.doconnor@gsoft.com.au> <20060510091107.ihklfr948ock04gc@netchild.homeip.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart6632646.tnJrMvLgHW
Content-Type: multipart/mixed;
  boundary="Boundary-01=_htbYEpfxayuyv7U"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

--Boundary-01=_htbYEpfxayuyv7U
Content-Type: text/plain;
  charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Wednesday 10 May 2006 16:41, Alexander Leidinger wrote:
> > It is not totally garbled and doesn't happen all the time but it is
> > almost like the endianess is wrong, or something similar as it only
> > affects loud-ish sounds..
>
> Please reduce your mixer settings. If the problem vanishes, too high

The mixer settings are quite low usually (pcm & vol/ogain)

> mixer settings was the cause. If it doesn't vanishes please read:

> =C2=A0 =C2=A0 =C2=A0http://people.freebsd.org/~ariff/BUG_REPORT

Erp, sorry..

uname->
=46reeBSD inchoate.localdomain 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Mon Mar =
27 17:10:04 CST 2006     darius@inchoate.localdomain:/usr/obj/usr/src/sys/I=
NCHOATE  i386

[inchoate 19:16] ~ >sudo pciconf -lv | grep -B 4 audio
pcm0@pci0:31:5: class=3D0x040100 card=3D0x016a1028 chip=3D0x24c58086 rev=3D=
0x01 hdr=3D0x00
    vendor   =3D 'Intel Corporation'
    device   =3D '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controll=
er'
    class    =3D multimedia
    subclass =3D audio


dmesg ->
May  7 12:05:40 inchoate kernel: pcm0: <Intel ICH4 (82801DB)> port 0xb800-0=
xb8ff,0xbc40-0xbc7f mem 0xf4fff800-0xf4fff9ff,0xf4fff400-0xf4fff4ff irq 9 a=
t device 31.5 on pci0
May  7 12:05:40 inchoate kernel: pcm0: <SigmaTel STAC9750/51 AC97 Codec>

[inchoate 19:14] ~ >cat /dev/sndstat
=46reeBSD Audio Driver (newpcm)
Installed devices:
pcm0: <Intel ICH4 (82801DB)> at io 0xf4fff800, 0xf4fff400 irq 9 bufsz 16384=
 kld snd_ich (1p/1r/4v channels duplex default)
        [pcm0:play:0:dsp0.0]: spd 48000, fmt 0x10000010, flags 0x00101000, =
0x00000000
        interrupts 2855, underruns 0, ready 0 [b:8192/4096/2|bs:131072/4096=
/32]
        {userland} -> feeder_vchan_s16(0x10000010) -> {hardware}
        pcm0:play:0:dsp0.0[pcm0:virtual:0:dsp0.2]: spd 44100/48000, fmt 0x1=
0000010, flags 0x10000000, 0x00000010
        interrupts 0, underruns 0, ready 0 [b:0/4096/0|bs:131072/4096/32]
        {userland} -> feeder_root(0x10000010) -> feeder_rate(44100 -> 48000=
) -> {hardware}
        pcm0:play:0:dsp0.0[pcm0:virtual:1:dsp0.3]: spd 0, fmt 0x00000000/0x=
00000008, flags 0x10000000, 0x00000000
        interrupts 0, underruns 0, ready 0 [b:0/0/0|bs:0/0/0]
        {userland} -> feeder_root(0x00000000) -> {hardware}
        pcm0:play:0:dsp0.0[pcm0:virtual:2:dsp0.4]: spd 0, fmt 0x00000000/0x=
00000008, flags 0x10000000, 0x00000000
        interrupts 0, underruns 0, ready 0 [b:0/0/0|bs:0/0/0]
        {userland} -> feeder_root(0x00000000) -> {hardware}
        pcm0:play:0:dsp0.0[pcm0:virtual:3:dsp0.5]: spd 0, fmt 0x00000000/0x=
00000008, flags 0x10000000, 0x00000000
        interrupts 0, underruns 0, ready 0 [b:0/0/0|bs:0/0/0]
        {userland} -> feeder_root(0x00000000) -> {hardware}
        [pcm0:record:0:dsp0.1]: spd 44100, fmt 0x10000010, flags 0x00000000=
, 0x00000000
        interrupts 0, overruns 0, hfree 8192, sfree 131072 [b:8192/4096/2|b=
s:131072/4096/32]
        {hardware} -> feeder_root(0x10000010) -> {userland}

[inchoate 19:16] ~ >sysctl hw.snd
hw.snd.report_soft_formats: 1
hw.snd.targetirqrate: 32
hw.snd.feeder_rate_buffersize: 8192
hw.snd.feeder_rate_scaling: 5
hw.snd.feeder_rate_ratemax: 1102500
hw.snd.feeder_rate_ratemin: 4000
hw.snd.verbose: 1
hw.snd.maxautovchans: 0
hw.snd.unit: 0
hw.snd.pcm0.buffersize: 16384
hw.snd.pcm0.vchans: 4
hw.snd.pcm0.vchanrate: 48000
hw.snd.pcm0.ac97rate: 48000

[inchoate 19:16] ~ >mixer
Mixer vol      is currently set to  80:80
Mixer pcm      is currently set to  24:24
Mixer speaker  is currently set to   0:0
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  80:80
Mixer igain    is currently set to   0:0
Mixer ogain    is currently set to  40:40
Mixer line1    is currently set to   0:0
Mixer phin     is currently set to   0:0
Mixer phout    is currently set to   0:0
Mixer video    is currently set to   0:0
Recording source: mic


=2D-=20
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C

--Boundary-01=_htbYEpfxayuyv7U
Content-Type: text/plain;
  charset="utf-8";
  name="INCHOATE"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="INCHOATE"

machine		i386
cpu		I686_CPU
ident		INCHOATE

makeoptions DEBUG=-g

options 	SCHED_4BSD		#4BSD scheduler
options 	INET			#InterNETworking
options		IPSEC			#IP security
options		IPSEC_ESP		#IP security (crypto; define w/ IPSEC)
options		IPSEC_DEBUG		#debug for IP security
options 	FFS			#Berkeley Fast Filesystem
options 	SOFTUPDATES		#Enable FFS soft updates support
options 	UFS_DIRHASH		#Improve performance on big directories
options 	PSEUDOFS		#Pseudo-filesystem framework
options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
options 	COMPAT_FREEBSD4		#Compatible with FreeBSD4
options 	SCSI_DELAY=1000		#Delay (in ms) before probing SCSI
options 	KTRACE			#ktrace(1) support
options 	SYSVSHM			#SYSV-style shared memory
options 	SYSVMSG			#SYSV-style message queues
options 	SYSVSEM			#SYSV-style semaphores
options 	_KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev

# Debugging for use in -current
options 	DDB			#Enable the kernel debugger
options		ALT_BREAK_TO_DEBUGGER	#So we can break into ddb via dcons
options		KDB
options		GDB

#options 	INVARIANTS		#Enable calls of extra sanity checking
options 	INVARIANT_SUPPORT	#Extra sanity checks of internal structures, required by INVARIANTS
#options 	WITNESS			#Enable checks to detect deadlocks and cycles
#options 	WITNESS_SKIPSPIN	#Don't run witness on spinlocks for speed

device		isa
device		pci

# Floppy drives
device		fdc

# ATA and ATAPI devices
device		ata
device		atadisk			# ATA disk drives
device		atapicd			# ATAPI CDROM drives
device		atapicam		# ATAPI SCSI shim

device		scbus           # SCSI bus (required for SCSI)
device		da              # Direct Access (disks)
device		sa              # Sequential Access (tape etc)
device		cd              # CD
device		pass            # Passthrough device (direct SCSI access)

# atkbdc0 controls both the keyboard and the PS/2 mouse
device		atkbdc		# AT keyboard controller
device		atkbd		# AT keyboard
device		psm		# PS/2 mouse

device		vga		# VGA video card driver

device		splash		# Splash screen and screen saver support

# syscons is the default console driver, resembling an SCO console
device		sc

device		agp		# support several AGP chipsets

# Floating point support - do not disable.
device		npx

device		pmtimer

device		cbb			# cardbus (yenta) bridge
device		pccard			# PC Card (16-bit) bus
device		cardbus			# CardBus (32-bit) bus

# Serial (COM) ports
device		sio		# 8250, 16[45]50 based serial ports

# Parallel port
device		ppc
device		ppbus		# Parallel port bus (required)
device		lpt		# Printer
device		plip		# TCP/IP over parallel
device		ppi		# Parallel port interface device

device		loop		# Network loopback
device		ether		# Ethernet support
device		pty		# Pseudo-ttys (telnet etc)
device		bpf		# Berkeley packet filter

device		mem
device		io


--Boundary-01=_htbYEpfxayuyv7U--

--nextPart6632646.tnJrMvLgHW
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (FreeBSD)

iD8DBQBEYbtx5ZPcIHs/zowRAjOCAJ958TsFd9ulys5TKGUEj2dc+BAy2ACghTwH
iC0S7OIRUuXwnyB3AyUAnUE=
=qXe6
-----END PGP SIGNATURE-----

--nextPart6632646.tnJrMvLgHW--



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