From owner-freebsd-questions@FreeBSD.ORG Tue Jul 29 22:24:23 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0684937B401 for ; Tue, 29 Jul 2003 22:24:23 -0700 (PDT) Received: from soda.csua.berkeley.edu (soda.CSUA.Berkeley.EDU [128.32.112.233]) by mx1.FreeBSD.org (Postfix) with ESMTP id 618E843FD7 for ; Tue, 29 Jul 2003 22:24:20 -0700 (PDT) (envelope-from markm@cal.berkeley.edu) Received: from soda.csua.berkeley.edu (IDENT:odCRoOHLkUwoI4yC++X2lj3hyqhXWfZO@localhost [127.0.0.1]) h6U5OKOc093545 for ; Tue, 29 Jul 2003 22:24:20 -0700 (PDT) (envelope-from markm@cal.berkeley.edu) Received: from localhost (mjm@localhost)h6U5OK8F093542 for ; Tue, 29 Jul 2003 22:24:20 -0700 (PDT) X-Authentication-Warning: soda.csua.berkeley.edu: mjm owned process doing -bs Date: Tue, 29 Jul 2003 22:24:20 -0700 (PDT) From: "Mark J. Miller" X-X-Sender: mjm@soda.csua.berkeley.edu To: freebsd-questions@freebsd.org Message-ID: <20030729220743.H91642-100000@soda.csua.berkeley.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Dell Inspiron 2600: Sound output slowed when using vchannels X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jul 2003 05:24:23 -0000 Hi, I just tried adding some virtual channels to my laptop to get XMMS and KDE's sound server to play nicely using the commands: sysctl hw.snd.pcm0.vchans=4 sysctl hw.snd.maxautovchans=4 As soon as I play the next mp3, even with XMMS still pointing at /dev/dsp0, Liz Phair starts sounding like she's tired and has a cold. Timing it, it seems like each track takes an extra 5 seconds per minute of play. Setting the number of vchannels to 1 doesn't fix things, but setting it back to 0 restores things to perfect playback. This is very repeatable. The hardware is the Inspiron 2600's builtin soundcard. Here's the output of dmesg: Copyright (c) 1992-2003 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.8-STABLE #0: Wed Jun 18 22:43:27 PDT 2003 mjm@zoe.verizon.net:/usr/obj/usr/src/sys/ZOE.5 Timecounter "i8254" frequency 1193182 Hz CPU: Mobile Intel(R) Pentium(R) 4 - M CPU 1.70GHz (1695.01-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf27 Stepping = 7 Features=0xbfebf9ff real memory = 133693440 (130560K bytes) avail memory = 123301888 (120412K bytes) Preloaded elf kernel "kernel" at 0xc068c000. Preloaded elf module "linux.ko" at 0xc068c09c. Preloaded elf module "nvidia.ko" at 0xc068c13c. Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 8 entries at 0xc00fdf40 apm0: on motherboard apm0: found APM BIOS v1.2, connected at v1.2 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 agp0: mem 0xec000000-0xefffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 nvidia0: mem 0xf0000000-0xf7ffffff,0xe0000000-0xe0ffffff irq 10 at device 0.0 on pci1 uhci0: port 0x1800-0x181f irq 10 at device 29.0 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0x1820-0x183f irq 11 at device 29.1 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered pcib2: at device 30.0 on pci0 pci2: on pcib2 xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0x3000-0x307f mem 0xe8000000-0xe800007f irq 10 at device 1.0 on pci2 xl0: Ethernet address: 00:08:74:e5:ff:7c miibus0: on xl0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pcic0: irq 10 at device 4.0 on pci2 pcic0: PCI Memory allocated: 0x88000000 pcic0: Warning: O2micro OZ68xx chips may not work pccard0: on pcic0 isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1840-0x184f,0-0x3,0-0x7,0-0x3,0-0x7 at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: (vendor=0x8086, dev=0x2483) at 31.3 irq 10 pcm0: port 0x1880-0x18bf,0x1c00-0x1cff irq 10 at device 31.5 on pci0 pcm0: pci0: (vendor=0x8086, dev=0x2486) at 31.6 irq 10 orm0: