From ken@panzer.kdm.org Tue Mar 21 20:17:06 2000 Return-Path: Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by hub.freebsd.org (Postfix) with ESMTP id 89D0D37BE15 for ; Tue, 21 Mar 2000 20:17:05 -0800 (PST) (envelope-from ken@panzer.kdm.org) Received: (from ken@localhost) by panzer.kdm.org (8.9.3/8.9.1) id VAA44192; Tue, 21 Mar 2000 21:17:01 -0700 (MST) (envelope-from ken) Message-Id: <200003220417.VAA44192@panzer.kdm.org> Date: Tue, 21 Mar 2000 21:17:01 -0700 (MST) From: ken@kdm.org Sender: ken@panzer.kdm.org Reply-To: ken@kdm.org To: FreeBSD-gnats-submit@freebsd.org Subject: random static with GUS PnP X-Send-Pr-Version: 3.2 >Number: 17542 >Category: kern >Synopsis: [sound] random static with GUS PnP >Confidential: no >Severity: non-critical >Priority: low >Responsible: greid >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Mar 21 20:20:00 PST 2000 >Closed-Date: Wed Apr 05 14:11:12 GMT 2006 >Last-Modified: Wed Apr 05 14:11:12 GMT 2006 >Originator: Kenneth D. Merry >Release: FreeBSD 4.0-CURRENT i386 >Organization: KDM Enterprises >Environment: Current box from the end of February: FreeBSD panzer.kdm.org 4.0-CURRENT FreeBSD 4.0-CURRENT #0: Sat Feb 26 19:57:24 MST 2000 ken@panzer.kdm.org:/a/ken/perforce/FreeBSD-ken/src/sys/compile/panzer i386 This is a dual Pentium Pro 200 box, with 192MB of RAM and a GUS PnP Pro (the GUS PnP "Pro" has 512K of onboard memory): Copyright (c) 1992-2000 The FreeBSD Project. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 4.0-CURRENT #0: Sat Feb 26 19:57:24 MST 2000 ken@panzer.kdm.org:/a/ken/perforce/FreeBSD-ken/src/sys/compile/panzer Timecounter "i8254" frequency 1193182 Hz CPU: Pentium Pro (199.43-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x617 Stepping = 7 Features=0xfbff real memory = 201326592 (196608K bytes) avail memory = 191422464 (186936K 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 0xc036e000. Pentium Pro MTRR support enabled npx0: on motherboard npx0: INT 16 interface [ ... ] gusc0: at port 0x220-0x22f,0x320-0x327,0x32c-0x32f irq 9,11 drq 0,1 on isa0 pcm0: on gusc0 unknown0: at port 0x170-0x177,0x376-0x377 irq 15 drq 3 on isa0 unknown1: at port 0x201 on isa0 unknown2: at port 0x388-0x389 irq 5 on isa0 unknown3: at irq 10 on isa0 Kernel config file options: device pcm0 device gusc0 # cat /dev/sndstat FreeBSD Audio Driver (newpcm) Feb 26 2000 19:55:06 Installed devices: pcm0: at io 0x32c irq 9 drq 1:0 (1p/1r channels duplex) >Description: The problem is that I sometimes get static instead of normal sound when I play sound files with one of the following applications compiled from the ports tree: - mpg123 - amp - pcmplay (comes with tosha) - waveplay If I control-C out of the sound file once the static starts, and then start it again, usually I don't get any static. I think in general, this happens 1 in 10 or 20 times I try to play a sound file. For what it's worth, both Voxware (after Amancio hacked on it for a while) and Luigi's pcm code didn't behave like this, This has been a problem since the newpcm introduction. Sometimes, after I've gotten static while playing a sound file, I hear a hissing sound in either the left or right channel from subsequent sound files. There are only two ways I know of to "fix" that behavior: - reboot the box - keep cranking up sound player programs and ^C out of them until I get another round of static. Usually this will take care of the problem. Recompiling the applications and/or updating to newer versions doesn't help. Also, this can happen with any sound file I've tried. Most of the sound files I'm using are 16bit, 44KHz stereo. Let me know if more information is needed. >How-To-Repeat: See above. >Fix: If I knew, this wouldn't be a problem. :) >Release-Note: >Audit-Trail: Responsible-Changed-From-To: freebsd-bugs->cg Responsible-Changed-By: ken Responsible-Changed-When: Thu Mar 23 09:38:41 PST 2000 Responsible-Changed-Why: Over to the maintainer. State-Changed-From-To: open->feedback State-Changed-By: greid State-Changed-When: Thu Jul 12 18:25:20 PDT 2001 State-Changed-Why: Is this still a problem with more recent sources? Responsible-Changed-From-To: cg->greid Responsible-Changed-By: greid Responsible-Changed-When: Thu Jul 12 18:25:20 PDT 2001 Responsible-Changed-Why: I'll handle feedback http://www.FreeBSD.org/cgi/query-pr.cgi?pr=17542 State-Changed-From-To: feedback->closed State-Changed-By: greid State-Changed-When: Wed Sep 12 08:43:30 PDT 2001 State-Changed-Why: Feedback timeout http://www.FreeBSD.org/cgi/query-pr.cgi?pr=17542 State-Changed-From-To: closed->feedback State-Changed-By: ken State-Changed-When: Wed Sep 12 09:20:28 PDT 2001 State-Changed-Why: Re-opening this, putting this in feedback. I actually sent feedback to greid and cg, but never got a response. I just didn't CC it to freebsd-gnats-submit. http://www.FreeBSD.org/cgi/query-pr.cgi?pr=17542 From: "Kenneth D. Merry" To: greid@FreeBSD.org Cc: cg@FreeBSD.org, FreeBSD-gnats-submit@FreeBSD.org Subject: Re: kern/17542: random static with GUS PnP Date: Wed, 12 Sep 2001 10:21:59 -0600 [ Re-sending the original message I sent on this back in July ] On Thu, Jul 12, 2001 at 18:25:48 -0700, greid@FreeBSD.org wrote: > Synopsis: random static with GUS PnP > > State-Changed-From-To: open->feedback > State-Changed-By: greid > State-Changed-When: Thu Jul 12 18:25:20 PDT 2001 > State-Changed-Why: > Is this still a problem with more recent sources? > > > Responsible-Changed-From-To: cg->greid > Responsible-Changed-By: greid > Responsible-Changed-When: Thu Jul 12 18:25:20 PDT 2001 > Responsible-Changed-Why: > I'll handle feedback > > http://www.FreeBSD.org/cgi/query-pr.cgi?pr=17542 It was still a problem as of August, 2000. I haven't upgraded the version of -current on that machine since. (It's an SMP box, and my main mail gateway. :) To try it out with a more recent -current I'd have to move it to a different machine. If you really want more feedback, I may be able to move it this weekend. Before I spend time doing that, it might be good to get some idea from Cameron whether he thinks this might have been fixed. The last significant change to the GUS driver was in July 2000. It has been broken since newpcm was introduced in 1999. Ken -- Kenneth Merry ken@kdm.org From: "Kenneth D. Merry" To: greid@FreeBSD.org Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: kern/17542: random static with GUS PnP Date: Fri, 28 Sep 2001 20:09:28 -0600 On Wed, Sep 12, 2001 at 09:21:12 -0700, ken@FreeBSD.org wrote: > Synopsis: random static with GUS PnP > > State-Changed-From-To: closed->feedback > State-Changed-By: ken > State-Changed-When: Wed Sep 12 09:20:28 PDT 2001 > State-Changed-Why: > Re-opening this, putting this in feedback. I actually sent feedback to > greid and cg, but never got a response. I just didn't CC it to > freebsd-gnats-submit. FYI, this is still a problem in -stable as of September 21st. Ken -- Kenneth Merry ken@kdm.org State-Changed-From-To: feedback->open State-Changed-By: linimon State-Changed-When: Wed Apr 5 04:30:39 UTC 2006 State-Changed-Why: http://www.freebsd.org/cgi/query-pr.cgi?pr=17542 State-Changed-From-To: open->feedback State-Changed-By: linimon State-Changed-When: Wed Apr 5 04:31:11 UTC 2006 State-Changed-Why: Is this still a problem with modern versions of FreeBSD? http://www.freebsd.org/cgi/query-pr.cgi?pr=17542 From: "Kenneth D. Merry" To: Mark Linimon Cc: greid@FreeBSD.org, freebsd-gnats-submit@FreeBSD.org Subject: Re: kern/17542: [sound] random static with GUS PnP Date: Wed, 5 Apr 2006 05:49:37 -0600 On Wed, Apr 05, 2006 at 04:31:18 +0000, Mark Linimon wrote: > Synopsis: [sound] random static with GUS PnP > > State-Changed-From-To: open->feedback > State-Changed-By: linimon > State-Changed-When: Wed Apr 5 04:31:11 UTC 2006 > State-Changed-Why: > Is this still a problem with modern versions of FreeBSD? > > http://www.freebsd.org/cgi/query-pr.cgi?pr=17542 I haven't tried it in years, probably since the last feedback I sent in September 2001. :) Ken -- Kenneth Merry ken@kdm.org State-Changed-From-To: feedback->closed State-Changed-By: linimon State-Changed-When: Wed Apr 5 14:10:27 UTC 2006 State-Changed-Why: It's been so long since this PR came in (and since the submitter tried it) that this PR is just stale and should be closed. http://www.freebsd.org/cgi/query-pr.cgi?pr=17542 >Unformatted: