Bug 24141

Summary: [sound] emu10k1 has trouble playing non-44.1KHz samples (like 22KHz and 11KHz)
Product: Base System Reporter: dforste <dforste>
Component: kernAssignee: sound
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.2-RELEASE   
Hardware: Any   
OS: Any   

Description dforste 2001-01-08 02:30:00 UTC
The emu10k1 driver has trouble playing samples which are not 44.1KHz.  
22KHz and 11KHz samples sound staticy and `rough.'  The sample pops
every now and then, but always when the sample starts playing.  It 
sounds sort of like an AM radio station...This occurs with mono or 
stereo playback.  

My system:
PIII-800EB w/ VIA chipset
192MB RAM
SB Live!

Fix: 

I noticed that a fix was commited for something very similar to this
a while back, but the last commit brought that bug back.  I used to
have this card working OK under 4.1 (or 4.0, can't remeber) and the
then -CURRENT emu10k.* driver (was running from the NMI bug).
How-To-Repeat: Play any 11KHz or 22KHz audio stream.
Comment 1 iedowse freebsd_committer freebsd_triage 2001-11-18 19:58:49 UTC
State Changed
From-To: open->feedback


Does this problem still exist?
Comment 2 Matt Sykes 2002-01-31 06:35:27 UTC
Yes this problem most definitely still exists.

I'm getting these symptoms on 4.5-stable as of 
an hour ago with the same card.

Kernel compiled with "device pcm".

dual PIII 550 512M RAM

$ cat /dev/sndstat
FreeBSD Audio Driver (newpcm) Jan 30 2002 23:27:39
Installed devices:
pcm0: <Creative EMU10K1> at io 0xb800 irq 5 (4p/1r/0v channels
duplex)

$ dmesg
Copyright (c) 1992-2002 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993,
1994
	The Regents of the University of California. All rights reserved.
FreeBSD 4.5-STABLE #0: Wed Jan 30 23:28:22 GMT 2002
    root@xerxes:/usr/obj/usr/src/sys/XERXES
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (551.25-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x673  Stepping = 3
 
Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 536858624 (524276K bytes)
avail memory = 519344128 (507172K bytes)
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  1, version: 0x00040011, at 0xfee00000
 cpu1 (AP):  apic id:  0, version: 0x00040011, at 0xfee00000
 io0 (APIC): apic id:  2, version: 0x00170011, at 0xfec00000
Preloaded elf kernel "kernel" at 0xc035e000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc035e09c.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 6 entries at 0xc00f0d20
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
IOAPIC #0 intpin 19 -> irq 2
IOAPIC #0 intpin 17 -> irq 5
IOAPIC #0 intpin 16 -> irq 10
pci0: <PCI bus> on pcib0
pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on
pci0
pci1: <PCI bus> on pcib1
isab0: <Intel 82371AB PCI to ISA bridge> at device 4.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0xd800-0xd80f at device
4.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <Intel 82371AB/EB (PIIX4) USB controller> at 4.2 irq 2
Timecounter "PIIX"  frequency 3579545 Hz
chip1: <Intel 82371AB Power management controller> port 0xe800-0xe80f
at device 4.3 on pci0
xl0: <3Com 3c900-COMBO Etherlink XL> port 0xd000-0xd03f irq 2 at
device 9.0 on pci0
xl0: Ethernet address: 00:60:08:ab:aa:16
xl0: selecting 10baseT transceiver, half duplex
pcm0: <Creative EMU10K1> port 0xb800-0xb81f irq 5 at device 11.0 on
pci0
pci0: <Matrox MGA Millennium 2064W graphics accelerator> at 12.0 irq
10
orm0: <Option ROM> at iomem 0xc0000-0xc7fff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on
isa0
sc0: <System console> on isa0
sc0: VGA <8 virtual consoles, flags=0x200>
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on
isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via IOAPIC #0 intpin 2
IPsec: Initialized Security Association Processing.
IP Filter: v3.4.20 initialized.  Default = pass all, Logging =
enabled
SMP: AP CPU #1 Launched!
ata0-master: DMA limited to UDMA33, non-ATA66 compliant cable
ad0: 19470MB <IBM-DJNA-352030> [39560/16/63] at ata0-master UDMA33
ad1: 8063MB <QUANTUM FIREBALL SE8.4A> [16383/16/63] at ata0-slave
UDMA33
acd0: CDROM <CD-ROM 50X> at ata1-master using PIO4
Mounting root from ufs:/dev/ad0s1a










__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
Comment 3 Sheldon Hearn freebsd_committer freebsd_triage 2002-01-31 09:46:11 UTC
State Changed
From-To: feedback->open

Problem persists in 4.5-RELEASE. 


Comment 4 Sheldon Hearn freebsd_committer freebsd_triage 2002-01-31 09:46:11 UTC
Responsible Changed
From-To: freebsd-bugs->sound

Over to maintainer.
Comment 5 dforste 2003-03-07 07:42:24 UTC
Wow!  2 years later I try out 5.0, have the same problem, go to search
bug database and find my old bug report...;)  This problem still exists
with 5.0-RELEASE.
Comment 6 Mathew Kanner 2003-12-09 20:29:19 UTC
Hello David,
	I'm trying to clean out the PR database, sorry it's such a
long time for you to get a respone.  Does this problem still occur for
you?  Playing a 11khz stream works ok for me.

pcm1: <Creative EMU10K1> port 0xb400-0xb41f irq 5 at device 8.0 on pci0
pcm1: <SigmaTel STAC9708/11 AC97 Codec>

	--Mat

-- 
	Canada is a country whose main exports are hockey players
	and cold fronts. Our main imports are baseball players and
	acid rain.
			- Pierre Elliott Trudeau
Comment 7 matk freebsd_committer freebsd_triage 2003-12-09 20:32:20 UTC
State Changed
From-To: open->feedback

Query the submitter to find out if the problem still occurs for him. 
It does not for me.  Hopefully we can soon close this pr
Comment 8 Kris Kennaway freebsd_committer freebsd_triage 2005-07-30 02:15:46 UTC
State Changed
From-To: feedback->closed

Feedback timeout