From owner-freebsd-multimedia Sun Mar 24 13:39:20 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from mail.dvart.com (mail.dvart.com [64.79.2.12]) by hub.freebsd.org (Postfix) with ESMTP id 69FA937B41E for ; Sun, 24 Mar 2002 13:38:39 -0800 (PST) Received: from mail.dvart.com (mail.dvart.com [64.79.2.12]) by mail.dvart.com (Postfix) with ESMTP id C1B4DCD2A for ; Sun, 24 Mar 2002 13:36:30 -0800 (PST) Date: Sun, 24 Mar 2002 13:36:21 -0800 (PST) From: bruno@tinkerbox.org X-Sender: bschwand@mail.dvart.com Reply-To: bruno@tinkerbox.org To: multimedia@freebsd.org Subject: cdda2wav, yamaha SCSI drive Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi everybody, I am having a problem with my freebsd box and my yamaha CRW8824S cd re-writer. Whenever I try to use cdda2wav to rip audio tracks, it works fine for a couple of seconds and then simply hangs. The activity light on the drive stops flashing (stays lit continuously) running cdda2wav in SCSI verbose mode (-V) shows this as the last command: ReadMMC12 CDDA... Executing 'ReadCD MMC 12' command on Bus 0 Target 5, Lun 0 timeout 300s CDB: BE 04 00 00 0B D0 00 00 1B 10 00 00 then it just sits there, until I decide to turn the drive off. Ctrl-C does not kill cdda2wav. some info from dmesg: ahc0: port 0x9800-0x98ff mem 0xde800000-0xde800fff irq 10 at device 11.0 on pci0 aic7870: Single Channel A, SCSI Id=7, 16/255 SCBs cd0 at ahc0 bus 0 target 5 lun 0 cd0: Removable CD-ROM SCSI-2 device cd0: 10.000MB/s transfers (10.000MHz, offset 15) uname output: FreeBSD duron.bschwand.net 4.5-STABLE FreeBSD 4.5-STABLE #0: Sat Mar 23 15:23:29 PST 2002 bruno@duron.bschwand.net:/usr/obj/usr/src/sys/GENERIC i386 anybody seen this ? solution ? workaround ? thanks for any help. oh, and using cdda2wav with my IDE dvd/cd drive is terribly slow, and the audio sounds like crap ! The little grabbed from the scsi drive is excellent quality, and ripping is unbelieveably fast.. bruno To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sun Mar 24 13:49:23 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from tomts9-srv.bellnexxia.net (tomts9.bellnexxia.net [209.226.175.53]) by hub.freebsd.org (Postfix) with ESMTP id 254D737B405 for ; Sun, 24 Mar 2002 13:49:18 -0800 (PST) Received: from khan.anarcat.dyndns.org ([65.94.191.9]) by tomts9-srv.bellnexxia.net (InterMail vM.4.01.03.23 201-229-121-123-20010418) with ESMTP id <20020324214916.VJMZ20830.tomts9-srv.bellnexxia.net@khan.anarcat.dyndns.org>; Sun, 24 Mar 2002 16:49:16 -0500 Received: from lenny.anarcat.dyndns.org (lenny.anarcat.dyndns.org [192.168.0.4]) by khan.anarcat.dyndns.org (Postfix) with SMTP id 341531920; Sun, 24 Mar 2002 16:49:12 -0500 (EST) Received: by lenny.anarcat.dyndns.org (sSMTP sendmail emulation); Sun, 24 Mar 2002 16:48:15 -0500 Date: Sun, 24 Mar 2002 16:48:15 -0500 From: The Anarcat To: bruno@tinkerbox.org Cc: multimedia@freebsd.org Subject: Re: cdda2wav, yamaha SCSI drive Message-ID: <20020324214814.GA275@lenny.anarcat.dyndns.org> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="45Z9DzgjV8m4Oswq" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.27i Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --45Z9DzgjV8m4Oswq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable FWIW, I have a Yamaha 8424S which works fine with cdda2wav. ahc0: port 0x8400-0x84ff mem 0xd6000000-0xd6000fff irq 9 at device 13.0 on pci0 aic7860: Ultra Single Channel A, SCSI Id=3D7, 3/255 SCBs cd0 at ahc0 bus 0 target 3 lun 0 cd0: Removable CD-ROM SCSI-2 device=20 cd0: 20.000MB/s transfers (20.000MHz, offset 15) I've almost never been able to rip audio out of my ide drive though. a. On Sun Mar 24, 2002 at 01:36:21PM -0800, bruno@tinkerbox.org wrote: > Hi everybody, >=20 > I am having a problem with my freebsd box and my yamaha CRW8824S cd > re-writer. Whenever I try to use cdda2wav to rip audio tracks, it works > fine for a couple of seconds and then simply hangs. The activity light on > the drive stops flashing (stays lit continuously) >=20 > running cdda2wav in SCSI verbose mode (-V) shows this as the last command: >=20 > ReadMMC12 CDDA... > Executing 'ReadCD MMC 12' command on Bus 0 Target 5, Lun 0 timeout 300s > CDB: BE 04 00 00 0B D0 00 00 1B 10 00 00 >=20 > then it just sits there, until I decide to turn the drive off. Ctrl-C does > not kill cdda2wav. >=20 > some info from dmesg: >=20 > ahc0: port 0x9800-0x98ff mem > 0xde800000-0xde800fff irq 10 at device 11.0 on pci0 > aic7870: Single Channel A, SCSI Id=3D7, 16/255 SCBs >=20 > cd0 at ahc0 bus 0 target 5 lun 0 > cd0: Removable CD-ROM SCSI-2 device=20 > cd0: 10.000MB/s transfers (10.000MHz, offset 15) >=20 > uname output: >=20 > FreeBSD duron.bschwand.net 4.5-STABLE FreeBSD 4.5-STABLE #0: Sat Mar 23 > 15:23:29 PST 2002 bruno@duron.bschwand.net:/usr/obj/usr/src/sys/GENERIC > i386 >=20 > anybody seen this ? solution ? workaround ? >=20 >=20 > thanks for any help. > oh, and using cdda2wav with my IDE dvd/cd drive is terribly slow, and the > audio sounds like crap ! The little grabbed from the scsi drive is > excellent quality, and ripping is unbelieveably fast.. >=20 > bruno >=20 >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-multimedia" in the body of the message --45Z9DzgjV8m4Oswq Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjyeSZ4ACgkQttcWHAnWiGeKAACdGaOZPAOs14mvS/ZUbRAlVBKH opYAn2gxclg3QttQiG1s9Dycb3mGOkor =tJ2l -----END PGP SIGNATURE----- --45Z9DzgjV8m4Oswq-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Mon Mar 25 11:30:22 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from f1node03.rhrz.uni-bonn.de (node03-gb.rhrz.uni-bonn.de [131.220.15.202]) by hub.freebsd.org (Postfix) with ESMTP id 76A5637B416 for ; Mon, 25 Mar 2002 11:30:19 -0800 (PST) Received: from moritz.alleswirdgelber (ascend-tk-p188.dialin.uni-bonn.de [131.220.244.188]) by f1node03.rhrz.uni-bonn.de (8.9.3/8.9.3) with ESMTP id UAA46248; Mon, 25 Mar 2002 20:30:11 +0100 Received: from localhost (localhost [127.0.0.1]) by moritz.alleswirdgelber (8.11.3/8.9.3) with ESMTP id g2PJ19L00480; Mon, 25 Mar 2002 20:01:09 +0100 (CET) (envelope-from uzs106@ibm.rhrz.uni-bonn.de) Date: Mon, 25 Mar 2002 20:01:09 +0100 (CET) From: Heiko Recktenwald X-Sender: uzs106@moritz.alleswirdgelber To: bruno@tinkerbox.org Cc: multimedia@FreeBSD.ORG Subject: Re: cdda2wav, yamaha SCSI drive In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > I am having a problem with my freebsd box and my yamaha CRW8824S cd > re-writer. Whenever I try to use cdda2wav to rip audio tracks, it works > fine for a couple of seconds and then simply hangs. The activity light on > the drive stops flashing (stays lit continuously) Have you tried tosha ? Works with many drives. H. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Mon Mar 25 12:54:27 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from square.cnd.mcgill.ca (square.CND.McGill.CA [132.206.114.119]) by hub.freebsd.org (Postfix) with ESMTP id 2687A37B405 for ; Mon, 25 Mar 2002 12:54:24 -0800 (PST) Received: (from mat@localhost) by square.cnd.mcgill.ca (8.9.3/8.9.3) id PAA46300 for freebsd-multimedia@freebsd.org; Mon, 25 Mar 2002 15:54:23 -0500 (EST) (envelope-from mat) Date: Mon, 25 Mar 2002 15:54:23 -0500 From: Mathew Kanner To: freebsd-multimedia@freebsd.org Subject: playing DVD works Message-ID: <20020325155423.A45756@cnd.mcgill.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Organization: I speak for myself, operating in Montreal, CANADA Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi All, Just a note to the list to say that playing DVDs does indeed work. I borrowed my friends Austin Powers DVD and tried to play it. I installed the CVS version of mplayer (from last night) mplayer -dvd 1 -dvd-device /dev/acd1c -cache 20960 Without the cache, the A/V sync gets really bad and I get the standard mplayer "your machine is too slow" message. For the record, my machine is a dual celeron 500. XFree 4, xv output and hw.ata.atapi_dma=1 in /boot/loader.conf. 4.4-STABLE FreeBSD 4.4-STABLE #2: Mon Dec 10 20:43:49 EST 2001 --Mat -- The Brain: Are you pondering what I'm pondering, Pinky? Pinky: Wha, I think so Brain, but-- *snort* No, no, it's too stupid. The Brain: We will disguise ourselves as a cow! Pinky: Narf! That was it *exactly*! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Mon Mar 25 13:21:27 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from mailgate.rz.uni-karlsruhe.de (mailgate.rz.uni-karlsruhe.de [129.13.64.97]) by hub.freebsd.org (Postfix) with ESMTP id 6076837B400 for ; Mon, 25 Mar 2002 13:21:23 -0800 (PST) Received: from f113.hadiko.de (root@hadif113.hadiko.uni-karlsruhe.de [172.20.42.143]) by mailgate.rz.uni-karlsruhe.de with esmtp (Exim 3.33 #1) id 16pbu6-0004XO-00; Mon, 25 Mar 2002 22:21:22 +0100 Received: (from riggs@localhost) by f113.hadiko.de (8.11.6/8.11.6) id g2PLLLF39043; Mon, 25 Mar 2002 22:21:21 +0100 (CET) (envelope-from riggs) Date: Mon, 25 Mar 2002 22:21:21 +0100 From: "Thomas E. Zander" To: Mathew Kanner Cc: freebsd-multimedia@freebsd.org Subject: Re: playing DVD works Message-ID: <20020325212121.GH34217@f113.hadiko.de> References: <20020325155423.A45756@cnd.mcgill.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <20020325155423.A45756@cnd.mcgill.ca> Organization: RiggiServ - Ihr Partner =?iso-8859-15?Q?f?= =?iso-8859-15?Q?=FCr?= alles Delikate X-PGP-KeyID: 0xC85996CD X-PGP-Fingerprint: 4F59 75B4 4CE3 3B00 BC61 5400 8DD4 8929 C859 96CD X-Mailer: Riggisoft Ausguck Eggsbress (Build 1017090234) X-Operating-System: Riggiland BSD 4.5-STABLE (To serve and protect.) Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, On Mon, 25. Mar 2002, at 15:54 -0500, Mathew Kanner wrote according to [playing DVD works]: > Just a note to the list to say that playing DVDs does indeed > work. There are still informations that playing DVDs doesn't work? Where? The base system supports everything that's necessary since 2001-09-25. mplayer from ports does fine for most people, and ogle does fine, too. > Without the cache, the A/V sync gets really bad and I get the > standard mplayer "your machine is too slow" message. For the record, > my machine is a dual celeron 500. This is interesting...you don't get full frame rate without the -cache option?? A celeron 500 should be fast enough. The 'dual' doesn't matter here, mplayer doesn't do threading, so it runs on only one CPU. Which graphics board do you use to watch? Regards, Riggs -- - "[...] I talked to the computer at great length and -- explained my view of the Universe to it" said Marvin. --- And what happened?" pressed Ford. ---- "It committed suicide." said Marvin. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Mon Mar 25 13:44:37 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from square.cnd.mcgill.ca (square.CND.McGill.CA [132.206.114.119]) by hub.freebsd.org (Postfix) with ESMTP id F08AF37B404 for ; Mon, 25 Mar 2002 13:44:33 -0800 (PST) Received: (from mat@localhost) by square.cnd.mcgill.ca (8.9.3/8.9.3) id QAA46517; Mon, 25 Mar 2002 16:44:10 -0500 (EST) (envelope-from mat) Date: Mon, 25 Mar 2002 16:44:10 -0500 From: Mathew Kanner To: "Thomas E. Zander" Cc: Mathew Kanner , freebsd-multimedia@FreeBSD.ORG Subject: Re: playing DVD works Message-ID: <20020325164410.B45756@cnd.mcgill.ca> References: <20020325155423.A45756@cnd.mcgill.ca> <20020325212121.GH34217@f113.hadiko.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: Thomas E. Zander's message [Re: playing DVD works] as of Mon, Mar 25, 2002 at 10:21:21PM +0100 Organization: I speak for myself, operating in Montreal, CANADA Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mar 25, Thomas E. Zander wrote: > On Mon, 25. Mar 2002, at 15:54 -0500, Mathew Kanner wrote > according to [playing DVD works]: > There are still informations that playing DVDs doesn't work? Where? > The base system supports everything that's necessary since 2001-09-25. > mplayer from ports does fine for most people, and ogle does fine, too. Notes to the list occasionally say that people can't play DVDs, I just wanted something out there to say otherwise. > > Without the cache, the A/V sync gets really bad and I get the > > standard mplayer "your machine is too slow" message. For the record, > > my machine is a dual celeron 500. > > This is interesting...you don't get full frame rate without the -cache > option?? Indeed. > A celeron 500 should be fast enough. The 'dual' doesn't matter here, > mplayer doesn't do threading, so it runs on only one CPU. Actually, I think is forks another process to cache. > Which graphics board do you use to watch? Matrox 400. --Mat -- Brain: Pinky, are you pondering what I'm pondering? Pinky: Um... I think so, Brain, but what if the chicken won't wear the nylons? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Tue Mar 26 12:42:16 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by hub.freebsd.org (Postfix) with SMTP id C4BBD37B419 for ; Tue, 26 Mar 2002 12:42:11 -0800 (PST) Received: (qmail 29793 invoked by uid 0); 26 Mar 2002 20:42:01 -0000 Received: from pd9003319.dip.t-dialin.net (HELO gmx.net) (217.0.51.25) by mail.gmx.net (mp014-rz3) with SMTP; 26 Mar 2002 20:42:01 -0000 Message-ID: <3CA0DD21.7040806@gmx.net> Date: Tue, 26 Mar 2002 21:42:09 +0100 From: Michael Nottebrock User-Agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:0.9.9) Gecko/20020310 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mathew Kanner Cc: freebsd-multimedia@FreeBSD.ORG Subject: Re: playing DVD works References: <20020325155423.A45756@cnd.mcgill.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Mathew Kanner wrote: > Just a note to the list to say that playing DVDs does indeed > work. I borrowed my friends Austin Powers DVD and tried to play it. > I installed the CVS version of mplayer (from last night) > > mplayer -dvd 1 -dvd-device /dev/acd1c -cache 20960 I never knew that the "cache" parameter existed. :) I already get smooth playback with -cache 512, but I really wonder why the software needs to precache in order to achieve full framerate. The dvd-drive is an atapi triple-speed and I never had problems getting full framerate on the same machine with the same drive in Linux or Windows (and yes, UDMA is on), so maybe there is some kind of inefficiency/weirdness in ata causing all the trouble? Are there any means to influence read-ahead-caching and the like via sysctl? -- Michael Nottebrock To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Tue Mar 26 13:22:56 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from freebsd.dk (fw-rl0.freebsd.dk [212.242.86.114]) by hub.freebsd.org (Postfix) with ESMTP id EFC3E37B400 for ; Tue, 26 Mar 2002 13:22:48 -0800 (PST) Received: (from sos@localhost) by freebsd.dk (8.11.6/8.11.6) id g2QLMZt51205; Tue, 26 Mar 2002 22:22:35 +0100 (CET) (envelope-from sos) From: Søren Schmidt Message-Id: <200203262122.g2QLMZt51205@freebsd.dk> Subject: Re: playing DVD works In-Reply-To: <3CA0DD21.7040806@gmx.net> To: Michael Nottebrock Date: Tue, 26 Mar 2002 22:22:30 +0100 (CET) Cc: Mathew Kanner , freebsd-multimedia@FreeBSD.ORG Reply-To: sos@freebsd.dk X-Mailer: ELM [version 2.4ME+ PL94b (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=ISO-8859-1 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org It seems Michael Nottebrock wrote: > Mathew Kanner wrote: > > Just a note to the list to say that playing DVDs does indeed > > work. I borrowed my friends Austin Powers DVD and tried to play it. > > I installed the CVS version of mplayer (from last night) > > > > mplayer -dvd 1 -dvd-device /dev/acd1c -cache 20960 > > I never knew that the "cache" parameter existed. :) I already get smooth > playback with -cache 512, but I really wonder why the software needs to > precache in order to achieve full framerate. The dvd-drive is an atapi > triple-speed and I never had problems getting full framerate on the same > machine with the same drive in Linux or Windows (and yes, UDMA is on), > so maybe there is some kind of inefficiency/weirdness in ata causing all > the trouble? Are there any means to influence read-ahead-caching and the > like via sysctl? *BSD doesn't do readhead, and neither does any of the drivers AFAIK... -Søren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Wed Mar 27 1:59:27 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from whisky.wu-wien.ac.at (whisky.wu-wien.ac.at [137.208.16.37]) by hub.freebsd.org (Postfix) with ESMTP id 1AACC37B417 for ; Wed, 27 Mar 2002 01:59:23 -0800 (PST) Received: (from gonter@localhost) by whisky.wu-wien.ac.at (8.11.3/8.11.0) id g2R9xLt52051 for multimedia@FreeBSD.ORG; Wed, 27 Mar 2002 10:59:21 +0100 (CET) (envelope-from gonter) From: Gerhard Gonter Message-Id: <200203270959.g2R9xLt52051@whisky.wu-wien.ac.at> Subject: Re: cdda2wav, yamaha SCSI drive In-Reply-To: from Heiko Recktenwald at "Mar 25, 2002 08:01:09 pm" To: multimedia@FreeBSD.ORG Date: Wed, 27 Mar 2002 10:59:21 +0100 (CET) X-Mailer: ELM [version 2.4ME+ PL68 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org According to Heiko Recktenwald: > > I am having a problem with my freebsd box and my yamaha CRW8824S cd > > re-writer. Whenever I try to use cdda2wav to rip audio tracks, it works > > fine for a couple of seconds and then simply hangs. The activity light on > > the drive stops flashing (stays lit continuously) > > Have you tried tosha ? Works with many drives. tosha does not work with my CRW8824S, it worked with my CRW4416S. I currently use cdda2wav with my CRW8824S. Does this problem exist with other discs or just this particular one? +gg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Wed Mar 27 11:12:45 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from square.cnd.mcgill.ca (square.CND.McGill.CA [132.206.114.119]) by hub.freebsd.org (Postfix) with ESMTP id 4389837B419 for ; Wed, 27 Mar 2002 11:12:41 -0800 (PST) Received: (from mat@localhost) by square.cnd.mcgill.ca (8.9.3/8.9.3) id OAA56425 for freebsd-multimedia@freebsd.org; Wed, 27 Mar 2002 14:12:40 -0500 (EST) (envelope-from mat) Date: Wed, 27 Mar 2002 14:12:40 -0500 From: Mathew Kanner To: freebsd-multimedia@freebsd.org Subject: Re: playing DVD works Message-ID: <20020327141240.C45756@cnd.mcgill.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: Michael Nottebrock's message [Re: playing DVD works] as of Tue, Mar 26, 2002 at 09:42:09PM +0100 Organization: I speak for myself, operating in Montreal, CANADA Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mar 26, Michael Nottebrock wrote: > Mathew Kanner wrote: > > Just a note to the list to say that playing DVDs does indeed > > work. I borrowed my friends Austin Powers DVD and tried to play it. > > I installed the CVS version of mplayer (from last night) > > > > mplayer -dvd 1 -dvd-device /dev/acd1c -cache 20960 > > I never knew that the "cache" parameter existed. :) I already get smooth > playback with -cache 512, but I really wonder why the software needs to > precache in order to achieve full framerate. Hm, I just noticed that a small buffer (like 512) works ok for me aswell, maybe the 20mb buffer was overkill :) Just note that when you use the cache, mplayer has two processes, I presume one is to cache, the other is to play, this would give a better concurrency. --Mat -- Brain: Are you pondering what I'm pondering? Pinky: I think so, Brain, but how will we get a pair of Abe Vigoda's pants? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Wed Mar 27 18:40:28 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by hub.freebsd.org (Postfix) with ESMTP id 3479637B41D for ; Wed, 27 Mar 2002 18:40:19 -0800 (PST) Received: from localhost.lakwod3.co.home.com ([12.253.150.137]) by rwcrmhc51.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with SMTP id <20020328024018.VCLL2626.rwcrmhc51.attbi.com@localhost.lakwod3.co.home.com>; Thu, 28 Mar 2002 02:40:18 +0000 In-reply-to: <3C9897B6.5440650A@fadesa.es>; from freebsd@fadesa.es on Wed, Mar 20, 2002 at 02:07:50PM +0000 Content-transfer-encoding: 8bit References: <20020315074048.A12682@hostwiththemost> <3C921767.F8DE91F5@fadesa.es> <20020317125611.A74777@hostwiththemost> <3C9897B6.5440650A@fadesa.es> To: =?iso-8859-1?Q?Jos=E9_M=2E_Fandi=F1o?= Cc: freebsd-multimedia@freebsd.org Content-type: text/plain; charset=iso-8859-1 Subject: Re: Some audio capture questions From: Sean LeBlanc X-mda: Mail::Internet Mail::Sendmail Sendmail +mmhack 1.1 on Linux User-agent: Mutt/1.2.5i Mime-version: 1.0 Content-disposition: inline Date: Wed, 27 Mar 2002 19:43:59 -0700 Message-id: <20020327194359.A33743@hostwiththemost> Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On 03-20 14:07, José M. Fandiño wrote: > Sean LeBlanc wrote: > > > > Hi, I saw some questions about audio recording earlier. I have some > > > > questions of my own. I am basement DJ, and I'd like to capture my sessions > > > > to something like MP3 or Ogg via my soundcard. I currently have a Aureal > > > > Vortex 8830 (that's what dmesg says, anyway). Will this hardware work? > > > > Also, do any tools exist to do on-the-fly capture and encoding to MP3 or > > > > Ogg? > > > > > > sox + lame > > > > Do you have any examples of how to use these two to capture from audio card > > to Ogg/MP3? > > yes, I'm using an AC97 soundcard. First check the record input and level > (just use aumix, umix, kmix for this) and then I use this command line: > > sox -V -t ossdsp -c 2 -r 44100 -t wav - | lame -abr 192 -b 160 -m s -q 2 - sample.mp3 > (of course, you must select your quality preferences for mp3 encoding.) > > and for funny real-time effects you can use: > > sox -V -t ossdsp -c 2 -r 44100 -t ossdsp -c 2 -r 44100 echos 0.8 0.7 40.0 0.25 63.0 0.3 > > in the soxexam(1) manpage there are more curious examples ;) Okay, I've been struggling with just the sox end for a bit now. I've tried encoding to WAV, I've tried compiling in Ogg support, and encoding to that, I've tried playing around with the options a bit, but I still get what sounds like what can best be described as a quick fast-forward every few seconds, or that the record I'm playing is skipping (it's not). Here is the commandline that I've tried most recently: bash-2.05$ sox -V -t ossdsp -c 2 -r 44100 /dev/audio -t ogg sample.ogg sox: Input file /dev/audio: using sample rate 44100 size bytes, encoding unsigned, 2 channels sox: Input file /dev/audio: comment "/dev/audio" Channels: 2 Rate: 44100 sox: Output file sample.ogg: using sample rate 44100 size bytes, encoding unsigned, 2 channels sox: Output file: comment "/dev/audio" I've tried leaving out the "-r 44100" bit, I've tried /dev/dsp instead of /dev/audio, all with similar results when I play the resulting file. Could it be my sound card? I think my CPU/RAM should be enough (PIII 700MHz w/ 128M of RAM). Could my soundcard be the problem? TIA, -- Sean LeBlanc:seanleblanc@attbi.com Yahoo:seanleblancathome ICQ:138565743 MSN:seanleblancathome AIM:sleblancathome Good communications is as stimulating as black coffee and just as hard to sleep after. -Anne Morrow Lindbergh, "Gift From The Sea" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Thu Mar 28 7: 9:42 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from lags.wv.cs.cmu.edu (LAGS.WV.CS.cmu.edu [128.2.67.149]) by hub.freebsd.org (Postfix) with ESMTP id 9C6F937B43E; Thu, 28 Mar 2002 07:08:59 -0800 (PST) Received: (from dpelleg@localhost) by lags.wv.cs.cmu.edu (8.11.6/8.11.6) id g2SF8wF00354; Thu, 28 Mar 2002 10:08:58 -0500 (EST) (envelope-from dpelleg) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15523.12810.43144.903232@lags.wv.cs.cmu.edu> Date: Thu, 28 Mar 2002 10:08:58 -0500 To: mobile@FreeBSD.ORG, multimedia@FreeBSD.ORG Cc: shadows Subject: Re: sound on a thinkpad X23? In-Reply-To: References: <15521.47250.3191.492261@palraz.wburn> X-Mailer: VM 7.00 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid From: Dan Pelleg Reply-To: Dan Pelleg Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org shadows writes: > This is most likely your onboard or pcmcia NIC or the onboard modem. I am > having the same problem with my Xircom 10-100TX +56k PCMCIA card. I am > getting a new a one to replace it that is already tested with > freebsd. With relation to the sound I saw on > http://taylor.tam.uiuc.edu/~jfreund/Linux_Thinkpad_X23.html that he got it > to work half ass. It may not work with freebsd at all. > > Thomas B > > On Wed, 27 Mar 2002, Dan Pelleg wrote: > > > > > I'm having trouble configuring sound on a 2662-E5U. I'm getting nothing > > under "Installed Devices" when I kldload snd. If I compile the kernel with > > "device pcm", I get: > > > > pci0: (vendor=0x8086 dev=0x2483) at 31.3 irq 11 > > pcm0: irq 11 at device 31.5 on pci0 > > pcm0: unable to map IO port space > > device_probe_and_attach: pcm0 attach returned 6 > > > > Hints anyone? > > > > Yeah, the pci0 message relates to the SMBus controller (if I'm reading the output from pciconf correctly). I've got the onboard NIC and PCMCIA wireless and the onboard modem (lucent winmodem via ltmdm port) to work. Sound is the remaining issue... I forgot to mention, I'm running 4.5R-p2. I'm attaching some pciconf output that might give more info. And also CC-ing multimedia@ in hope of more hints. none1@pci0:31:5: class=0x040100 card=0x02221014 chip=0x24858086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82801CA/CAM AC'97 Audio Controller' class = multimedia subclass = audio -- Dan Pelleg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Thu Mar 28 10:21:38 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from lags.wv.cs.cmu.edu (LAGS.WV.CS.cmu.edu [128.2.67.149]) by hub.freebsd.org (Postfix) with ESMTP id 891C237B400; Thu, 28 Mar 2002 10:21:12 -0800 (PST) Received: (from dpelleg@localhost) by lags.wv.cs.cmu.edu (8.11.6/8.11.6) id g2SIL6M00355; Thu, 28 Mar 2002 13:21:06 -0500 (EST) (envelope-from dpelleg) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="EduEcmq6ly" Content-Transfer-Encoding: 7bit Message-ID: <15523.24337.771765.197144@lags.wv.cs.cmu.edu> Date: Thu, 28 Mar 2002 13:21:05 -0500 To: mobile@freebsd.org, multimedia@freebsd.org Subject: Re: sound on a thinkpad X23? In-Reply-To: <200203281802.g2SI2fL22433@puma.icir.org> References: <15523.17917.477241.249439@lags.wv.cs.cmu.edu> <200203281802.g2SI2fL22433@puma.icir.org> X-Mailer: VM 7.00 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid From: Dan Pelleg Reply-To: Dan Pelleg Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --EduEcmq6ly Content-Type: text/plain; charset=us-ascii Content-Description: message body text Content-Transfer-Encoding: 7bit I'm following up my sound-problem post by attaching the output from pciconf and dmesg. Thanks in advance to whoever cares to look at this (and to those that already have and contacted me). --EduEcmq6ly Content-Type: application/octet-stream Content-Disposition: attachment; filename="pciconf" Content-Transfer-Enc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CBjaGlwPTB4MjQ4NTgwODYgcmV2PTB4MDEg aGRyPTB4MDAKbm9uZTJAcGNpMTowOjA6CWNsYXNzPTB4MDMwMDAwIGNhcmQ9MHgwMjM5MTAx NCBjaGlwPTB4NGM1OTEwMDIgcmV2PTB4MDAgaGRyPTB4MDAKcGNpYzBAcGNpMjozOjA6CWNs YXNzPTB4MDYwNzAwIGNhcmQ9MHgwMTg1MTAxNCBjaGlwPTB4MDQ3NjExODAgcmV2PTB4ODAg aGRyPTB4MDIKcGNpYzFAcGNpMjozOjE6CWNsYXNzPTB4MDYwNzAwIGNhcmQ9MHgwMTg1MTAx NCBjaGlwPTB4MDQ3NjExODAgcmV2PTB4ODAgaGRyPTB4MDIKbHRtZG0wQHBjaTI6NTowOglj bGFzcz0weDA3ODAwMCBjYXJkPTB4MDQxMDE0NjggY2hpcD0weDA0NDkxMWMxIHJldj0weDAx IGhkcj0weDAwCmZ4cDBAcGNpMjo4OjA6CWNsYXNzPTB4MDIwMDAwIGNhcmQ9MHgwMjA5MTAx NCBjaGlwPTB4MTAzMTgwODYgcmV2PTB4NDEgaGRyPTB4MDAK --EduEcmq6ly Content-Type: application/octet-stream Content-Disposition: attachment; filename="dmesg" Content-Transfer-Encoding: base64 Q29weXJpZ2h0IChjKSAxOTkyLTIwMDIgVGhlIEZyZWVCU0QgUHJvamVjdC4KQ29weXJpZ2h0 IChjKSAxOTc5LCAxOTgwLCAxOTgzLCAxOTg2LCAxOTg4LCAxOTg5LCAxOTkxLCAxOTkyLCAx OTkzLCAxOTk0CglUaGUgUmVnZW50cyBvZiB0aGUgVW5pdmVyc2l0eSBvZiBDYWxpZm9ybmlh LiBBbGwgcmlnaHRzIHJlc2VydmVkLgpGcmVlQlNEIDQuNS1SRUxFQVNFLXAyICMxODogV2Vk IE1hciAyNyAwNzoxMTowNiBFU1QgMjAwMgogICAgZEBwOi9tbnQvcmFpZC9vYmovdXNyL3Ny Yy9zeXMvTEFOSwpDYWxpYnJhdGluZyBjbG9jayh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aXAKcGNpYzogSS9P IHdpbiAwIGZsYWdzIDE1IDI0MC0yN2YKd2kwOiBGb3JjaW5nIElSUSB0byAxMQp3aTA6IEV0 aGVybmV0IGFkZHJlc3M6IDAwOjAyOjJkOjMyOjFiOjA2CndpMDogd2lfZ2VuZXJpY19hdHRh Y2g6d2lfaGFzX3dlcCA9IDEKYnBmOiB3aTAgYXR0YWNoZWQKcGNpYzA6IEV2ZW50IG1hc2sg MHg5Cg== --EduEcmq6ly-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Thu Mar 28 14:18:57 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from moo.sysabend.org (moo.sysabend.org [63.86.88.201]) by hub.freebsd.org (Postfix) with ESMTP id 02AEC37B434 for ; Thu, 28 Mar 2002 14:18:51 -0800 (PST) Received: by moo.sysabend.org (Postfix, from userid 1004) id D73E57597; Thu, 28 Mar 2002 14:21:47 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by moo.sysabend.org (Postfix) with ESMTP id BE9001D94; Thu, 28 Mar 2002 14:21:47 -0800 (PST) Date: Thu, 28 Mar 2002 14:21:47 -0800 (PST) From: Jamie Bowden To: Mathew Kanner Cc: freebsd-multimedia@freebsd.org Subject: Re: playing DVD works In-Reply-To: <20020327141240.C45756@cnd.mcgill.ca> Message-ID: Approved: yep X-representing: Only myself. X-badge: We don't need no stinking badges. X-obligatory-profanity: Fuck X-moo: Moo. MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, 27 Mar 2002, Mathew Kanner wrote: :On Mar 26, Michael Nottebrock wrote: :> Mathew Kanner wrote: :> > Just a note to the list to say that playing DVDs does indeed :> > work. I borrowed my friends Austin Powers DVD and tried to play it. :> > I installed the CVS version of mplayer (from last night) :> > :> > mplayer -dvd 1 -dvd-device /dev/acd1c -cache 20960 With the current port, -dvd-device appears to have been removed. :> I never knew that the "cache" parameter existed. :) I already get smooth :> playback with -cache 512, but I really wonder why the software needs to :> precache in order to achieve full framerate. : Hm, I just noticed that a small buffer (like 512) works ok for :me aswell, maybe the 20mb buffer was overkill :) I'm currently running 'mplayer -dvd 1 -cache 1024 -rootwin' on a Dell Latitude C810 with a 1600x1200x32bpp display. It's nice to have your desktop be a running movie. Jamie Bowden -- "It was half way to Rivendell when the drugs began to take hold" Hunter S Tolkien "Fear and Loathing in Barad Dur" Iain Bowen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Thu Mar 28 19:59:20 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from rwcrmhc54.attbi.com (rwcrmhc54.attbi.com [216.148.227.87]) by hub.freebsd.org (Postfix) with ESMTP id 8CB9C37B416 for ; Thu, 28 Mar 2002 19:59:17 -0800 (PST) Received: from localhost.lakwod3.co.home.com ([12.253.150.137]) by rwcrmhc54.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with SMTP id <20020329035917.KJW1214.rwcrmhc54.attbi.com@localhost.lakwod3.co.home.com> for ; Fri, 29 Mar 2002 03:59:17 +0000 Subject: Cat'ing /dev/audio Content-transfer-encoding: 8bit From: Sean LeBlanc Cc: freebsd-multimedia@freebsd.org X-mda: Mail::Internet Mail::Sendmail Sendmail +mmhack 1.1 on Linux Content-type: text/plain; charset=us-ascii User-agent: Mutt/1.2.5i Mime-version: 1.0 Content-disposition: inline Date: Thu, 28 Mar 2002 21:03:00 -0700 Message-id: <20020328210300.A57458@hostwiththemost> Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org For some reason, I can't get cat'ing of /dev/audio to work. Here is what happens when I try to cat /dev/audio to a .au file: bash-2.05$ cat /dev/audio > sample.au cat: /dev/audio: Invalid argument Any ideas why this isn't working? Sound currently plays on said soundcard; /dev/audio is there, I can record (sort of; this post is related to another post I've recently posted here) from this soundcard, but the sound is choppy. -- Sean LeBlanc:seanleblanc@attbi.com Yahoo:seanleblancathome ICQ:138565743 MSN:seanleblancathome AIM:sleblancathome Not many men have both good fortune and good sense. -Titus Livy To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Thu Mar 28 21: 6:51 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from and.engin.umich.edu (and.engin.umich.edu [141.213.42.26]) by hub.freebsd.org (Postfix) with ESMTP id 30B0937B404 for ; Thu, 28 Mar 2002 21:06:48 -0800 (PST) Received: from localhost (agorski@localhost [127.0.0.1]) by and.engin.umich.edu (8.9.3/8.9.1) with ESMTP id AAA28247; Fri, 29 Mar 2002 00:06:43 -0500 (EST) Date: Fri, 29 Mar 2002 00:06:43 -0500 (EST) From: "Adam D. Gorski" To: Sean LeBlanc Cc: Subject: Re: Cat'ing /dev/audio In-Reply-To: <20020328210300.A57458@hostwiththemost> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org You got the syntax backwards.. you want to redirect the au file to /dev/audio, not the other way around. Try cat sample.au > /dev/audio Hope that works... - Adam P.S. If anyone knows why my SB16 crackles and pops while I try to play mp3/ogg but works fine with .au and .wav files, feel free to let me know :P On Thu, 28 Mar 2002, Sean LeBlanc wrote: ::For some reason, I can't get cat'ing of /dev/audio to work. Here is what ::happens when I try to cat /dev/audio to a .au file: :: ::bash-2.05$ cat /dev/audio > sample.au ::cat: /dev/audio: Invalid argument :: ::Any ideas why this isn't working? Sound currently plays on said soundcard; ::/dev/audio is there, I can record (sort of; this post is related to another ::post I've recently posted here) from this soundcard, but the sound is ::choppy. :: ::-- ::Sean LeBlanc:seanleblanc@attbi.com Yahoo:seanleblancathome ::ICQ:138565743 MSN:seanleblancathome AIM:sleblancathome ::Not many men have both good fortune and good sense. ::-Titus Livy :: :: ::To Unsubscribe: send mail to majordomo@FreeBSD.org ::with "unsubscribe freebsd-multimedia" in the body of the message :: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Thu Mar 28 21:23:10 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from jupiter.linuxengine.net (jupiter.linuxengine.net [209.61.188.254]) by hub.freebsd.org (Postfix) with ESMTP id 73FD237B400 for ; Thu, 28 Mar 2002 21:23:07 -0800 (PST) Received: from jupiterweb.commercevault.com (jupiterweb.commercevault.com [209.61.179.16] (may be forged)) by jupiter.linuxengine.net (8.11.6/8.11.0) with ESMTP id g2T5N1h26759; Thu, 28 Mar 2002 23:23:01 -0600 Date: Thu, 28 Mar 2002 23:23:01 -0600 (CST) From: John Utz X-X-Sender: john@jupiter.linuxengine.net To: "Adam D. Gorski" Cc: Sean LeBlanc , Subject: Re: Cat'ing /dev/audio In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, 29 Mar 2002, Adam D. Gorski wrote: > P.S. If anyone knows why my SB16 crackles and pops while I try to play > mp3/ogg but works fine with .au and .wav files, feel free to let me know :P OTTOMH, overall system utilization. mp3 and ogg need extensive work ( manipulation wrt to the psycho-accoustic model ) to move from disk to soundcard. au and wav are an uncompressed format that maps directly to the d/a hardware in the card. so, i am assuming that if you have an isa based card (sb16) that the cpu and ram in this particular computer arent particularly generous either. if you can get some audio to come out sounding good, then the other ones are probably fixable too, because the load for rebuilding the mp3 and oggs isnt *that* great. but i dont really know very much about your computer and kernel option specifics, so i should probably stop guessing :-) -- John L. Utz III john@utzweb.net Idiocy is the Impulse Function in the Convolution of Life To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Mar 29 5:55:25 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from and.engin.umich.edu (and.engin.umich.edu [141.213.42.26]) by hub.freebsd.org (Postfix) with ESMTP id 4A6A437B400 for ; Fri, 29 Mar 2002 05:55:18 -0800 (PST) Received: from localhost (agorski@localhost [127.0.0.1]) by and.engin.umich.edu (8.9.3/8.9.1) with ESMTP id IAA02961; Fri, 29 Mar 2002 08:54:49 -0500 (EST) Date: Fri, 29 Mar 2002 08:54:49 -0500 (EST) From: "Adam D. Gorski" To: John Utz Cc: Subject: SB problem (was: Cat'ing /dev/audio) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Ok, let me be a bit more specific. I actually e-mailed this list about this problem about a week ago, but got no response. So here are the details. I moved to FreeBSD just recently from Slackware. Everything runs beautifully, except my sound. I originally had a SB PCI 64 (es1370 chip) in my box, which Linux loved and everything was happy. However, under FreeBSD, playing mp3/ogg files produced terrible popping/screeching that made the music unlistenable. Note: under Linux, I had no problems. My box is a p2-450 with 256 megs of ram, so I would think that playing mp3's wouldn't be an issue. I was told that perhaps my sound card is whacky, so I ordered a SB 16 PCI, which is what I have installed right now. Unfortunately, the problem persists. I can cat au files and play wavs in xmms just fine, but mp3's still crack. I've searched google for hours, I've tried everything I could find in the mailing list archive, through google, and in #freebsd, but nothing helped. What I did to get sound: While making my custom kernel, I included 'device pcm', which I thought is all I needed, and did the 'sh MAKEDEV snd0' step as well. Since then I've tried many variations of the kernel options, but nothing helped. I've been told that this sounds like an IRQ problem, but I have since switched the IRQ my SB is on (was 10, now it's 5) and that didn't help. Currently in my kernel I have this line: device pcm0 at isa? port? irq 11 drq 1 flags 0x15 but for some reason the FreeBSD still puts the card under IRQ 5. It _is_ a PnP card, so I thought 'device pcm' was all I needed, but I'm not sure anymore. Here is some relevant output once again: from dmesg: pcm0: port 0xa000-0xa03f irq 5 at device 11.0 on pci0 And the output of pciconf and vmstat can be found here: http://www-personal.umich.edu/~agorski/vmstat http://www-personal.umich.edu/~agorski/pciconf So as you see, the problem is something I've been desperately trying to resolve. If anyone has any clues or suggestions, I would love to hear them. Thanks you. - Adam On Thu, 28 Mar 2002, John Utz wrote: ::On Fri, 29 Mar 2002, Adam D. Gorski wrote: :: ::> P.S. If anyone knows why my SB16 crackles and pops while I try to play ::> mp3/ogg but works fine with .au and .wav files, feel free to let me know :P :: ::OTTOMH, overall system utilization. :: ::mp3 and ogg need extensive work ( manipulation wrt to the psycho-accoustic ::model ) to move from disk to soundcard. :: ::au and wav are an uncompressed format that maps directly to the d/a ::hardware in the card. :: ::so, i am assuming that if you have an isa based card (sb16) that the cpu ::and ram in this particular computer arent particularly generous either. :: ::if you can get some audio to come out sounding good, then the other ones ::are probably fixable too, because the load for rebuilding the mp3 and oggs ::isnt *that* great. :: ::but i dont really know very much about your computer and kernel option ::specifics, so i should probably stop guessing :-) :: ::-- :: ::John L. Utz III ::john@utzweb.net :: ::Idiocy is the Impulse Function in the Convolution of Life :: :: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Mar 29 6:26:55 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by hub.freebsd.org (Postfix) with SMTP id 26C9937B405 for ; Fri, 29 Mar 2002 06:26:52 -0800 (PST) Received: (qmail 4281 invoked by uid 0); 29 Mar 2002 14:26:51 -0000 Received: from pd9003329.dip.t-dialin.net (HELO gmx.net) (217.0.51.41) by mail.gmx.net (mp008-rz3) with SMTP; 29 Mar 2002 14:26:51 -0000 Message-ID: <3CA479B4.8090909@gmx.net> Date: Fri, 29 Mar 2002 15:27:00 +0100 From: Michael Nottebrock User-Agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:0.9.9) Gecko/20020310 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Adam D. Gorski" Cc: freebsd-multimedia@FreeBSD.ORG Subject: Re: SB problem (was: Cat'ing /dev/audio) References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Adam D. Gorski wrote: > Since then I've tried many variations of the kernel options, but nothing > helped. I've been told that this sounds like an IRQ problem, but I have > since switched the IRQ my SB is on (was 10, now it's 5) and that didn't > help. Currently in my kernel I have this line: > > device pcm0 at isa? port? irq 11 drq 1 flags 0x15 > > but for some reason the FreeBSD still puts the card under IRQ 5. It _is_ a > PnP card, so I thought 'device pcm' was all I needed, but I'm not sure > anymore. I don't have that card, but you surely don't need the parameters to pcm0 (they're only needed for non-PnP ISA cards). If you want to force the card to a different IRQ, try using your BIOS setup. According to the manual pages, you would need both pcm and sbc (the soundblaster bridge driver). It is not necessary to include them into the kernel, putting snd_sbc_load="YES" into /boot/loader.conf should load snd_sbc.ko and autoload snd_pcm.ko as a dependency. What version of FreeBSD are you running? -- Michael Nottebrock To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Mar 29 6:50: 9 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from nef.ens.fr (nef.ens.fr [129.199.96.32]) by hub.freebsd.org (Postfix) with ESMTP id 23D9637B417 for ; Fri, 29 Mar 2002 06:50:05 -0800 (PST) Received: from corto.lpt.ens.fr (corto.lpt.ens.fr [129.199.122.2]) by nef.ens.fr (8.10.1/1.01.28121999) with ESMTP id g2TEnrp87697 ; Fri, 29 Mar 2002 15:49:53 +0100 (CET) Received: from (rsidd@localhost) by corto.lpt.ens.fr (8.9.3/jtpda-5.3.1) id PAA68073 ; Fri, 29 Mar 2002 15:49:53 +0100 (CET) Date: Fri, 29 Mar 2002 15:49:53 +0100 From: Rahul Siddharthan To: "Adam D. Gorski" Cc: John Utz , freebsd-multimedia@FreeBSD.ORG Subject: Re: SB problem (was: Cat'ing /dev/audio) Message-ID: <20020329154953.I53370@lpt.ens.fr> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from agorski@engin.umich.edu on Fri, Mar 29, 2002 at 08:54:49AM -0500 X-Operating-System: FreeBSD 3.4-STABLE i386 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Adam D. Gorski said on Mar 29, 2002 at 08:54:49: > Ok, let me be a bit more specific. I actually e-mailed this list about this > problem about a week ago, but got no response. So here are the details. > > I moved to FreeBSD just recently from Slackware. Everything runs > beautifully, except my sound. I originally had a SB PCI 64 (es1370 chip) in > my box, which Linux loved and everything was happy. However, under FreeBSD, > playing mp3/ogg files produced terrible popping/screeching that made the > music unlistenable. Note: under Linux, I had no problems. My box is a p2-450 > with 256 megs of ram, so I would think that playing mp3's wouldn't be an > issue. Does your card work with a fixed sampling rate, or is it variable? The problem sounds familiar: I had the same problems when downsampling from the 48000 Hz input of my sound card to a 44100 Hz file. I'm told that if you needed to downsample output the same thing would happen; I needed to upsample output from 44100 to 48000 and would get some minor distortion but nothing serious. I got around that small distortion by sending my output through arts (kde's sound daemon) configured to output at 48000 Hz; apparently arts's upsampling worked better than the native driver's. You could try something like that too, or get hold of a sound file whose rate is the same as your card's and play that directly. Rahul To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Mar 29 9: 8: 9 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from obh.snafu.de (obh.snafu.de [213.73.92.34]) by hub.freebsd.org (Postfix) with ESMTP id 218BB37B416 for ; Fri, 29 Mar 2002 09:08:06 -0800 (PST) Received: from ob by obh.snafu.de with local (Exim 3.35 #1) id 16qzrA-0006Vp-00; Fri, 29 Mar 2002 18:08:04 +0100 Date: Fri, 29 Mar 2002 18:08:04 +0100 From: Oliver Brandmueller To: "Adam D. Gorski" Cc: freebsd-multimedia@FreeBSD.ORG Subject: Re: SB problem (was: Cat'ing /dev/audio) Message-ID: <20020329170804.GB17735@e-Gitt.NET> Mail-Followup-To: "Adam D. Gorski" , freebsd-multimedia@FreeBSD.ORG References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.28i Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi. On Fri, Mar 29, 2002 at 08:54:49AM -0500, Adam D. Gorski wrote: > I moved to FreeBSD just recently from Slackware. Everything runs > beautifully, except my sound. I originally had a SB PCI 64 (es1370 chip) in > my box, which Linux loved and everything was happy. However, under FreeBSD, > playing mp3/ogg files produced terrible popping/screeching that made the > music unlistenable. Note: under Linux, I had no problems. My box is a p2-450 > with 256 megs of ram, so I would think that playing mp3's wouldn't be an > issue. I had similar problems: mp3's were crackling with xmms. This was fixed after the last xmms update. Before that I had no problems, when using esd for output in xmms instead of direct OSS output. - Oliver -- | Oliver Brandmueller | Offenbacher Str. 1 | Germany D-14197 Berlin | | Fon +49-172-3130856 | Fax +49-172-3145027 | WWW: http://the.addict.de/ | | Ich bin das Internet. Sowahr ich Gott helfe. | | Eine gewerbliche Nutzung aller enthaltenen Adressen ist nicht gestattet! | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Mar 29 9:30:57 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from jupiter.linuxengine.net (jupiter.linuxengine.net [209.61.188.254]) by hub.freebsd.org (Postfix) with ESMTP id 643AA37B405 for ; Fri, 29 Mar 2002 09:30:47 -0800 (PST) Received: from jupiterweb.commercevault.com (jupiterweb.commercevault.com [209.61.179.16] (may be forged)) by jupiter.linuxengine.net (8.11.6/8.11.0) with ESMTP id g2THUih01878; Fri, 29 Mar 2002 11:30:44 -0600 Date: Fri, 29 Mar 2002 11:30:44 -0600 (CST) From: John Utz X-X-Sender: john@jupiter.linuxengine.net To: "Adam D. Gorski" Cc: freebsd-multimedia@FreeBSD.ORG Subject: Re: SB problem (was: Cat'ing /dev/audio) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, 29 Mar 2002, Adam D. Gorski wrote: > Ok, let me be a bit more specific. I actually e-mailed this list about this > problem about a week ago, but got no response. So here are the details. > > I moved to FreeBSD just recently from Slackware. Everything runs > beautifully, except my sound. I originally had a SB PCI 64 (es1370 chip) in > my box, which Linux loved and everything was happy. However, under FreeBSD, > playing mp3/ogg files produced terrible popping/screeching that made the > music unlistenable. Note: under Linux, I had no problems. My box is a p2-450 > with 256 megs of ram, so I would think that playing mp3's wouldn't be an > issue. ok, we have eliminated that particular theory. this should be a mitee-fine box for the job. > I was told that perhaps my sound card is whacky, so I ordered a SB 16 PCI, > which is what I have installed right now. Unfortunately, the problem > persists. I can cat au files and play wavs in xmms just fine, but mp3's > still crack. I've searched google for hours, I've tried everything I could > find in the mailing list archive, through google, and in #freebsd, but > nothing helped. What I did to get sound: > > While making my custom kernel, I included 'device pcm', which I thought is > all I needed, and did the 'sh MAKEDEV snd0' step as well. > > Since then I've tried many variations of the kernel options, but nothing > helped. I've been told that this sounds like an IRQ problem, but I have > since switched the IRQ my SB is on (was 10, now it's 5) and that didn't > help. Currently in my kernel I have this line: > > device pcm0 at isa? port? irq 11 drq 1 flags 0x15 > > but for some reason the FreeBSD still puts the card under IRQ 5. It _is_ a > PnP card, so I thought 'device pcm' was all I needed, but I'm not sure > anymore. device pcm is all you should need, you are correct about that. > Here is some relevant output once again: > > from dmesg: > pcm0: port 0xa000-0xa03f irq 5 at device 11.0 on pci0 so, lessee here. it's probably getting probed and attached in the pnp portion, so it's going to ignore your pcm config arguments. at worst, your pcm arguments will cause grief later in the boot process, but i dunno for sure. so, here's *my* wild-ass collection of guesses and things to try :-) check that the PNP stuff in the bios is turned on, and add option PNPBIOS to your kernel config. if it *still* sux, get *rid* of all of your pcm stuff in your kernel and try and kldload the moduele directly from the console and see if you get any errors... i think there is a module that you could load directly, but i cant get to my fuckin box at home from work this morning....my ssh keeps hanging there. > And the output of pciconf and vmstat can be found here: > http://www-personal.umich.edu/~agorski/vmstat > http://www-personal.umich.edu/~agorski/pciconf hey, why do you have the realtek *and* the 3com? interrupts are not a limitless resource on an x86....is this just your local bridge to your roomates box or something? > So as you see, the problem is something I've been desperately trying to > resolve. If anyone has any clues or suggestions, I would love to hear them. > Thanks you. keep poking. i'll help a bit. > - Adam > > On Thu, 28 Mar 2002, John Utz wrote: > > ::On Fri, 29 Mar 2002, Adam D. Gorski wrote: > :: > ::> P.S. If anyone knows why my SB16 crackles and pops while I try to play > ::> mp3/ogg but works fine with .au and .wav files, feel free to let me know :P > :: > ::OTTOMH, overall system utilization. > :: > ::mp3 and ogg need extensive work ( manipulation wrt to the psycho-accoustic > ::model ) to move from disk to soundcard. > :: > ::au and wav are an uncompressed format that maps directly to the d/a > ::hardware in the card. > :: > ::so, i am assuming that if you have an isa based card (sb16) that the cpu > ::and ram in this particular computer arent particularly generous either. > :: > ::if you can get some audio to come out sounding good, then the other ones > ::are probably fixable too, because the load for rebuilding the mp3 and oggs > ::isnt *that* great. > :: > ::but i dont really know very much about your computer and kernel option > ::specifics, so i should probably stop guessing :-) > :: > ::-- > :: > ::John L. Utz III > ::john@utzweb.net > :: > ::Idiocy is the Impulse Function in the Convolution of Life > :: > :: > -- John L. Utz III john@utzweb.net Idiocy is the Impulse Function in the Convolution of Life To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Mar 29 9:56:48 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from and.engin.umich.edu (and.engin.umich.edu [141.213.42.26]) by hub.freebsd.org (Postfix) with ESMTP id DD78137B404 for ; Fri, 29 Mar 2002 09:56:43 -0800 (PST) Received: from localhost (agorski@localhost [127.0.0.1]) by and.engin.umich.edu (8.9.3/8.9.1) with ESMTP id MAA05377; Fri, 29 Mar 2002 12:56:42 -0500 (EST) Date: Fri, 29 Mar 2002 12:56:42 -0500 (EST) From: "Adam D. Gorski" To: John Utz Cc: Subject: Re: SB problem (was: Cat'ing /dev/audio) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org First of all, I removed all the PCM stuff from my KERNCONF file, and I put snd_sbc_load="YES" in my /boot/loader.conf. This broke things if anything, since now I get the following from dmesg: pci0: (vendor=0x1274, dev=0x5880) at 11.0 irq 10 Now for some responses below, and other info: ::check that the PNP stuff in the bios is turned on, and add I have "PnP OS = YES" in the bios.. I assume that's what you mean ::option PNPBIOS Already have it ::if it *still* sux, get *rid* of all of your pcm stuff in your kernel and ::try and kldload the moduele directly from the console and see if you get ::any errors... i think there is a module that you could load directly, but ::i cant get to my fuckin box at home from work this morning....my ssh keeps ::hanging there. Hrm.. not sure how to use kldload. But the problem is still present after removing all the stuff from the kernel. ::hey, why do you have the realtek *and* the 3com? interrupts are not a ::limitless resource on an x86....is this just your local bridge to your ::roomates box or something? The 3com is my card to the outside, while my RealTek is goes to the Lan. My box, besides being my box (read: baby, love, etc.) is also the gateway for my apartment (ipfw w/ natd). ::keep poking. i'll help a bit. Ok, so I figured I'd post my dmesg up as well, in case something in there looks wrong that I'm not aware of. Note, this is the latest one, after the loader.conf failed and card wasn't detected. I can post one with the pcm included in the kernel if you guys would like. http://www-personal.umich.edu/~agorski/dmesg As for poking around, I feel limited by my current knowledge, or rather lack of, of BSD... in Slackware everything worked like a charm, but I felt that BSD was calling me. Please keep in mind, I do love it already, but this problem is a rather annoying one as music is something I can't live without, and Shoutcast is oh-so-nice :) Thank you to all who have responded, and to all who will in the future *hint* *hint* Not giving up just yet, - Adam To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Mar 29 10:16:15 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from nef.ens.fr (nef.ens.fr [129.199.96.32]) by hub.freebsd.org (Postfix) with ESMTP id E5EF137B425 for ; Fri, 29 Mar 2002 10:15:32 -0800 (PST) Received: from corto.lpt.ens.fr (corto.lpt.ens.fr [129.199.122.2]) by nef.ens.fr (8.10.1/1.01.28121999) with ESMTP id g2TIFSp21208 ; Fri, 29 Mar 2002 19:15:28 +0100 (CET) Received: from (rsidd@localhost) by corto.lpt.ens.fr (8.9.3/jtpda-5.3.1) id TAA78206 ; Fri, 29 Mar 2002 19:15:27 +0100 (CET) Date: Fri, 29 Mar 2002 19:15:27 +0100 From: Rahul Siddharthan To: "Adam D. Gorski" Cc: John Utz , freebsd-multimedia@FreeBSD.ORG Subject: Re: SB problem (was: Cat'ing /dev/audio) Message-ID: <20020329191527.B77860@lpt.ens.fr> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from agorski@engin.umich.edu on Fri, Mar 29, 2002 at 08:54:49AM -0500 X-Operating-System: FreeBSD 3.4-STABLE i386 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > I moved to FreeBSD just recently from Slackware. Everything runs > beautifully, except my sound. I originally had a SB PCI 64 (es1370 chip) in > my box, which Linux loved and everything was happy. However, under FreeBSD, > playing mp3/ogg files produced terrible popping/screeching that made the > music unlistenable. Note: under Linux, I had no problems. My box is a p2-450 > with 256 megs of ram, so I would think that playing mp3's wouldn't be an > issue. > > I was told that perhaps my sound card is whacky, so I ordered a SB 16 PCI, > which is what I have installed right now. Unfortunately, the problem > persists. I can cat au files and play wavs in xmms just fine, but mp3's > still crack. Are the wavs and aus generated from the mp3s, or are they different files? If different, what are their sampling rates? If your files were from different sources, try this: (a) encode a wav which works to ogg (using oggenc, say), and see whether that still works. (b) decode a problematic ogg to wav (ogg123 -d wav -f output.wav input.ogg), and see whether that still has problems. If the answer is "yes" to both I'm pretty sure it's sample rate conversion, as I suggested in an earlier mail. In any case I really don't see what sort of hardware problem can distinguish between ogg and wav, given that you have more than enough CPU horsepower, etc. And if the answer is "no" to (b) (the wav plays fine) and you have plenty of disk space, well there's your short-term solution for playing music... Rahul To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Mar 29 13: 6: 7 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from and.engin.umich.edu (and.engin.umich.edu [141.213.42.26]) by hub.freebsd.org (Postfix) with ESMTP id 4ED7037B419 for ; Fri, 29 Mar 2002 13:06:04 -0800 (PST) Received: from localhost (agorski@localhost [127.0.0.1]) by and.engin.umich.edu (8.9.3/8.9.1) with ESMTP id QAA08815; Fri, 29 Mar 2002 16:06:02 -0500 (EST) Date: Fri, 29 Mar 2002 16:06:02 -0500 (EST) From: "Adam D. Gorski" To: Rahul Siddharthan Cc: Subject: Re: SB problem (was: Cat'ing /dev/audio) In-Reply-To: <20020329191527.B77860@lpt.ens.fr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Ok.. I converted an 8Khz wav file to Ogg, and that played fine... I converted a 44Khz Ogg to wav... I got the popping/screeching So basically it goes along with the suggestion that it's a sampling problem... but is this a BSD-only issue? Everything played like a charm for me under Linux, no matter what my current CPU load was, never a single skip. I really appreciate the help you guys are giving me, and any other suggestions would be greatly appreciated. Oh, almost forgot.. when I play that 128bps/44Khz Ogg in XMMS, the bitrate fluctuates.. meaning it goes from like 98 to 114 to 104 to 112 and so forth, which is accompanied by the screeching. - Adam ::Are the wavs and aus generated from the mp3s, or are they different ::files? If different, what are their sampling rates? :: ::If your files were from different sources, try this: ::(a) encode a wav which works to ogg (using oggenc, say), and see whether :: that still works. ::(b) decode a problematic ogg to wav (ogg123 -d wav -f output.wav input.ogg), :: and see whether that still has problems. :: ::If the answer is "yes" to both I'm pretty sure it's sample rate ::conversion, as I suggested in an earlier mail. In any case I really ::don't see what sort of hardware problem can distinguish between ogg ::and wav, given that you have more than enough CPU horsepower, etc. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Mar 29 13:16:44 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from postfix2-1.free.fr (postfix2-1.free.fr [213.228.0.9]) by hub.freebsd.org (Postfix) with ESMTP id 1103E37B41A for ; Fri, 29 Mar 2002 13:16:38 -0800 (PST) Received: from bluerondo.a.la.turk (nas-cbv-3-136-35.dial.proxad.net [62.147.136.35]) by postfix2-1.free.fr (Postfix) with ESMTP id 3F0E94B1 for ; Fri, 29 Mar 2002 22:16:35 +0100 (CET) Received: (qmail 858 invoked by uid 1001); 29 Mar 2002 21:16:28 -0000 Date: Fri, 29 Mar 2002 22:16:28 +0100 From: Rahul Siddharthan To: "Adam D. Gorski" Cc: freebsd-multimedia@FreeBSD.ORG Subject: Re: SB problem (was: Cat'ing /dev/audio) Message-ID: <20020329211628.GA824@lpt.ens.fr> References: <20020329191527.B77860@lpt.ens.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.27i X-Operating-System: FreeBSD 4.5-STABLE i386 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Adam D. Gorski said on Mar 29, 2002 at 16:06:02: > Ok.. I converted an 8Khz wav file to Ogg, and that played fine... > > I converted a 44Khz Ogg to wav... I got the popping/screeching > > So basically it goes along with the suggestion that it's a sampling > problem... but is this a BSD-only issue? Everything played like a charm for > me under Linux, no matter what my current CPU load was, never a single skip. It's an issue, as I understand, with the way the PCM sound driver in FreeBSD handles sampling rate conversion: it doesn't do it very well. The only solution I found which worked reliably for me was playing it through arts, specifying the correct output rate (I also tried esd but that didn't work). > Oh, almost forgot.. when I play that 128bps/44Khz Ogg in XMMS, the bitrate > fluctuates.. meaning it goes from like 98 to 114 to 104 to 112 and so forth, > which is accompanied by the screeching. That's a red herring, it doesn't mean anything. The bit rate isn't the sampling rate; the sampling rate is the "output" and is constant, the bit rate is the effective number of bits per second in the encoded file and can vary according to what compression scheme you're using. Basically, the maximum frequency you can reproduce (Nyquist frequency) is set by your sampling rate. When you "upsample" (convert a lower sampling rate to a higher one) you're doing some sort of interpolation, if it's not very good you'll get a bit of distortion but no more. But when you "downsample" some frequencies in your original signal may now be higher than your new Nyqvist frequency -- then if you're not doing it carefully, they get "aliased" into lower frequencies, mixing up with what was already there, and resulting in plenty of noise like what you hear. I think there's no OS-level fix for this problem except digging into the pcm driver, which I'm not competent to do. As a user, you can either look for some sound software which does high-quality sampling rate conversion before output, or play everything through arts. (Even if you're not using kde you can run artsd separately from the command line, and xmms and ogg123 both have arts plugins.) HTH, Rahul To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Mar 29 13:40: 7 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from postfix2-1.free.fr (postfix2-1.free.fr [213.228.0.9]) by hub.freebsd.org (Postfix) with ESMTP id 99F5337B400 for ; Fri, 29 Mar 2002 13:40:03 -0800 (PST) Received: from bluerondo.a.la.turk (nas-cbv-3-139-117.dial.proxad.net [62.147.139.117]) by postfix2-1.free.fr (Postfix) with ESMTP id 6AFD44E1 for ; Fri, 29 Mar 2002 22:40:02 +0100 (CET) Received: (qmail 944 invoked by uid 1001); 29 Mar 2002 21:38:57 -0000 Date: Fri, 29 Mar 2002 22:38:57 +0100 From: Rahul Siddharthan To: "Adam D. Gorski" Cc: freebsd-multimedia@FreeBSD.ORG Subject: Re: SB problem (was: Cat'ing /dev/audio) Message-ID: <20020329213857.GB824@lpt.ens.fr> References: <20020329191527.B77860@lpt.ens.fr> <20020329211628.GA824@lpt.ens.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020329211628.GA824@lpt.ens.fr> User-Agent: Mutt/1.3.27i X-Operating-System: FreeBSD 4.5-STABLE i386 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I wrote: > > Oh, almost forgot.. when I play that 128bps/44Khz Ogg in XMMS, the bitrate > > fluctuates.. meaning it goes from like 98 to 114 to 104 to 112 and so forth, > > which is accompanied by the screeching. > > That's a red herring, it doesn't mean anything. The bit rate isn't > the sampling rate; the sampling rate is the "output" and is constant, > the bit rate is the effective number of bits per second in the encoded > file and can vary according to what compression scheme you're using. Or rather, I guess it does mean something but it's not important. Basically the bit rate is set by the sort of signal at that point of time; increase in bit rate implies a more complex waveform, which implies presence of higher frequencies, which implies aliasing problems in downsampling, which give you your noise... That is, the bitrate fluctuations don't cause the noise, they're both caused by certain features in your original sound file. At least, that's how it looks to me from here... Rahul To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Mar 29 13:42:46 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from web21109.mail.yahoo.com (web21109.mail.yahoo.com [216.136.227.111]) by hub.freebsd.org (Postfix) with SMTP id AFB8237B400 for ; Fri, 29 Mar 2002 13:42:43 -0800 (PST) Message-ID: <20020329214243.92444.qmail@web21109.mail.yahoo.com> Received: from [152.15.26.29] by web21109.mail.yahoo.com via HTTP; Fri, 29 Mar 2002 13:42:43 PST Date: Fri, 29 Mar 2002 13:42:43 -0800 (PST) From: Vinod Subject: tools for measuring streaming media over a network To: freebsd-multimedia@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Can anyone tell me what network monitoring tools are available on freebsd suitable for monitoring things like frame size,frames per second,frame no. e.t.c when streaming videos are received though the network. Thanks, Vinod __________________________________________________ Do You Yahoo!? Yahoo! Greetings - send holiday greetings for Easter, Passover http://greetings.yahoo.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Mar 29 14:24:52 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from postfix2-1.free.fr (postfix2-1.free.fr [213.228.0.9]) by hub.freebsd.org (Postfix) with ESMTP id 5512337B405 for ; Fri, 29 Mar 2002 14:24:46 -0800 (PST) Received: from bluerondo.a.la.turk (nas-cbv-6-151-48.dial.proxad.net [62.147.151.48]) by postfix2-1.free.fr (Postfix) with ESMTP id 1CBA2269 for ; Fri, 29 Mar 2002 23:24:42 +0100 (CET) Received: (qmail 1270 invoked by uid 1001); 29 Mar 2002 22:24:35 -0000 Date: Fri, 29 Mar 2002 23:24:34 +0100 From: Rahul Siddharthan To: "Adam D. Gorski" Cc: freebsd-multimedia@FreeBSD.ORG Subject: Re: SB problem (was: Cat'ing /dev/audio) Message-ID: <20020329222434.GA1188@lpt.ens.fr> References: <20020329191527.B77860@lpt.ens.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.27i X-Operating-System: FreeBSD 4.5-STABLE i386 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org By the way, though the symptoms are of sample rate conversion problems, it's a bit puzzling that you have noise with 44100 Hz files, since most cards are 44100 Hz or 48000 Hz. Perhaps yours is 22050 Hz or something? Or perhaps there's some setting you can change for this? If it's 44100, (random uneducated guess on my part) maybe your sound card is miscalibrated and its frequency is meant to be 44100 but is actually less. (Or maybe your computer's clock frequency is too high, or something.) You could try downsampling your sound to various values (use, eg, sox in the ports) and see what's the highest value it sounds good. Rahul To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Mar 29 14:27:46 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from and.engin.umich.edu (and.engin.umich.edu [141.213.42.26]) by hub.freebsd.org (Postfix) with ESMTP id 9F5BE37B404 for ; Fri, 29 Mar 2002 14:27:41 -0800 (PST) Received: from localhost (agorski@localhost [127.0.0.1]) by and.engin.umich.edu (8.9.3/8.9.1) with ESMTP id RAA09794; Fri, 29 Mar 2002 17:27:40 -0500 (EST) Date: Fri, 29 Mar 2002 17:27:40 -0500 (EST) From: "Adam D. Gorski" To: Cc: Subject: Re: SB problem (was: Cat'ing /dev/audio) In-Reply-To: <200203292143.g2TLhLA97186@scms.utmb.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Ok.. I compared dmesg versus pciconf -l, and I found this.. I dunno if this means anything, but I figured I'd mention it... the first matching works, which is for my 3Com card: * dmesg: xl0: <3Com 3c900B-TPO Etherlink XL> port 0xd000-0xd07f mem 0xe1000000-0xe100007f irq 9 at device 9.0 on pci0 * pciconf -l xl0@pci0:9:0: class=0x020000 card=0x900410b7 chip=0x900410b7 rev=0x04 hdr=0x00 So both show IRQ 9 (if I'm reading the output right) which seems fine.. but.. check out my RTL and SB outputs: * dmesg rl0: port 0x9800-0x98ff mem 0xe0000000-0xe00000ff irq 11 at device 12.0 on pci0 pcm0: port 0xa000-0xa03f irq 10 at device 11.0 on pci0 * pciconf -l rl0@pci0:12:0: class=0x020000 card=0x813910ec chip=0x813910ec rev=0x10 hdr=0x00 pcm0@pci0:11:0: class=0x040100 card=0x20001274 chip=0x58801274 rev=0x02 hdr=0x00 Ok, notice how one lists the SB @ IRQ 10, while the other shows it @ IRQ 11? I dunno, just something that caught my eye based on the suggestions below. Maybe this helps, - Adam On Fri, 29 Mar 2002 bdodson@scms.utmb.edu wrote: ::On 29 Mar, Adam D. Gorski wrote: ::> Hey, ::> ::> Thanks for the response. I went into my BIOS and told it that I don't have a ::> PnP OS, but the modules still did not detect the card. So I re-compiled the ::> kernel with 'device pcm', and the card is detected once again, but the ::> problems persist. I'm going to try some things that were suggested still, ::> and hopefully I'll get at least a step closer to the solution. Thanks once ::> again! ::> ::> - Adam ::> :: ::Hmm... I'm out of ideas. The bare 'device pcm' is right for devices ::being configured by pnp (as all pci devices are). 'device pcm0 ......' ::is right for devices which need to be hand configured (only isa or ::pccard devices). It sounds to me like you may have pci irq (or other ::resource) conflicts. You might try to do :: ::pciconf -vl (as root) :: ::and see if anything shows up that looks obviously bogus. I'm sorry I ::can't help you with the interpretation, but if you post the result to ::the multimedia list, this may allow them to give you better help. :: ::Good luck, ::Bud :: ::> On Fri, 29 Mar 2002 bdodson@scms.utmb.edu wrote: ::> ::> ::(reading your post via the archives, not subscribed to multimedia) ::> :: ::> ::I'm sure that someone will point out that FreeBSD is NOT a "PnP OS", so ::> ::you need to set your BIOS to "PnP OS = NO". I have no idea whether that ::> ::will fix your problem, but I know for sure setting it to YES is wrong. ::> ::That is probably why the modules did not work right: nothing is ::> ::configuring PNP. ::> :: ::> ::Good luck, ::> ::Bud Dodson ::> :: :: :: ::-- ::M. L. Dodson bdodson@scms.utmb.edu ::409-772-2178 FAX: 409-772-1790 :: :: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Mar 29 14:29:28 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from and.engin.umich.edu (and.engin.umich.edu [141.213.42.26]) by hub.freebsd.org (Postfix) with ESMTP id 488F937B404 for ; Fri, 29 Mar 2002 14:29:25 -0800 (PST) Received: from localhost (agorski@localhost [127.0.0.1]) by and.engin.umich.edu (8.9.3/8.9.1) with ESMTP id RAA09800; Fri, 29 Mar 2002 17:29:23 -0500 (EST) Date: Fri, 29 Mar 2002 17:29:23 -0500 (EST) From: "Adam D. Gorski" To: Rahul Siddharthan Cc: Subject: Re: SB problem (was: Cat'ing /dev/audio) In-Reply-To: <20020329222434.GA1188@lpt.ens.fr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org But this is happeneing with my old SB PCI 64 as well, which played mp3's like mad under Linux... the fact that it was not working under FreeBSD is what got me to purchase that SB 16 in the first place (that, plus the fact that 2 gusy that I know up here have the SB 16 PCI working under FreeBSD). So I don't think it's the card :\ - Adam On Fri, 29 Mar 2002, Rahul Siddharthan wrote: ::By the way, though the symptoms are of sample rate conversion ::problems, it's a bit puzzling that you have noise with 44100 Hz files, ::since most cards are 44100 Hz or 48000 Hz. Perhaps yours is 22050 Hz ::or something? Or perhaps there's some setting you can change for ::this? :: ::If it's 44100, (random uneducated guess on my part) maybe your sound ::card is miscalibrated and its frequency is meant to be 44100 but is ::actually less. (Or maybe your computer's clock frequency is too high, ::or something.) You could try downsampling your sound to various ::values (use, eg, sox in the ports) and see what's the highest value it ::sounds good. :: ::Rahul :: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Mar 29 14:31:54 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from jupiter.linuxengine.net (jupiter.linuxengine.net [209.61.188.254]) by hub.freebsd.org (Postfix) with ESMTP id E1AED37B405 for ; Fri, 29 Mar 2002 14:31:42 -0800 (PST) Received: from jupiterweb.commercevault.com (jupiterweb.commercevault.com [209.61.179.16] (may be forged)) by jupiter.linuxengine.net (8.11.6/8.11.0) with ESMTP id g2TMVSh10014; Fri, 29 Mar 2002 16:31:28 -0600 Date: Fri, 29 Mar 2002 16:31:28 -0600 (CST) From: John Utz X-X-Sender: john@jupiter.linuxengine.net To: "Adam D. Gorski" Cc: Rahul Siddharthan , Subject: Re: SB problem (was: Cat'ing /dev/audio) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, 29 Mar 2002, Adam D. Gorski wrote: > Ok.. I converted an 8Khz wav file to Ogg, and that played fine... > > I converted a 44Khz Ogg to wav... I got the popping/screeching > > So basically it goes along with the suggestion that it's a sampling > problem... but is this a BSD-only issue? Everything played like a charm for > me under Linux, no matter what my current CPU load was, never a single skip. > I really appreciate the help you guys are giving me, and any other > suggestions would be greatly appreciated. > > Oh, almost forgot.. when I play that 128bps/44Khz Ogg in XMMS, the bitrate > fluctuates.. meaning it goes from like 98 to 114 to 104 to 112 and so forth, > which is accompanied by the screeching. that's awfully interesting. ogg is supposed to do that. it's a variable bitrate format. it's not supposed to make nasty noises, tho, and it doesnt on my box. are you building all the sound apps from source or using packages? do you have the faster 586 FPU stuff compiled into the kernel? are some things being built with -mpentiumpro flag passed to gcc? i can play mp3s and oggs on my p166mmx hp laptop, but i have every single kernel hot-rod turned on.... this is quite a perplexing problem, my current guess is a math error where some portion of the system is expecting the calc's to be done in one way but it's getting them in a slightly different format. > - Adam > > ::Are the wavs and aus generated from the mp3s, or are they different > ::files? If different, what are their sampling rates? > :: > ::If your files were from different sources, try this: > ::(a) encode a wav which works to ogg (using oggenc, say), and see whether > :: that still works. > ::(b) decode a problematic ogg to wav (ogg123 -d wav -f output.wav input.ogg), > :: and see whether that still has problems. > :: > ::If the answer is "yes" to both I'm pretty sure it's sample rate > ::conversion, as I suggested in an earlier mail. In any case I really > ::don't see what sort of hardware problem can distinguish between ogg > ::and wav, given that you have more than enough CPU horsepower, etc. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-multimedia" in the body of the message > -- John L. Utz III john@utzweb.net Idiocy is the Impulse Function in the Convolution of Life To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Mar 29 14:37:48 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from jupiter.linuxengine.net (jupiter.linuxengine.net [209.61.188.254]) by hub.freebsd.org (Postfix) with ESMTP id E21BB37B404 for ; Fri, 29 Mar 2002 14:37:40 -0800 (PST) Received: from jupiterweb.commercevault.com (jupiterweb.commercevault.com [209.61.179.16] (may be forged)) by jupiter.linuxengine.net (8.11.6/8.11.0) with ESMTP id g2TMbXh10181; Fri, 29 Mar 2002 16:37:33 -0600 Date: Fri, 29 Mar 2002 16:37:33 -0600 (CST) From: John Utz X-X-Sender: john@jupiter.linuxengine.net To: "Adam D. Gorski" Cc: bdodson@scms.utmb.edu, Subject: Re: SB problem (was: Cat'ing /dev/audio) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org that's an interesting result have you tried hardwiring the irq's in the bios? On Fri, 29 Mar 2002, Adam D. Gorski wrote: > Ok.. I compared dmesg versus pciconf -l, and I found this.. I dunno if this > means anything, but I figured I'd mention it... the first matching works, > which is for my 3Com card: > > * dmesg: > xl0: <3Com 3c900B-TPO Etherlink XL> port 0xd000-0xd07f mem > 0xe1000000-0xe100007f irq 9 at device 9.0 on pci0 > > * pciconf -l > xl0@pci0:9:0: class=0x020000 card=0x900410b7 chip=0x900410b7 rev=0x04 > hdr=0x00 > > So both show IRQ 9 (if I'm reading the output right) which seems fine.. > but.. check out my RTL and SB outputs: > > * dmesg > rl0: port 0x9800-0x98ff mem > 0xe0000000-0xe00000ff irq 11 at device 12.0 on pci0 > > pcm0: port 0xa000-0xa03f irq 10 at device 11.0 on pci0 > > * pciconf -l > rl0@pci0:12:0: class=0x020000 card=0x813910ec chip=0x813910ec rev=0x10 > hdr=0x00 > > pcm0@pci0:11:0: class=0x040100 card=0x20001274 chip=0x58801274 rev=0x02 > hdr=0x00 > > > Ok, notice how one lists the SB @ IRQ 10, while the other shows it @ IRQ 11? > I dunno, just something that caught my eye based on the suggestions below. > > Maybe this helps, > > - Adam > > > On Fri, 29 Mar 2002 bdodson@scms.utmb.edu wrote: > > ::On 29 Mar, Adam D. Gorski wrote: > ::> Hey, > ::> > ::> Thanks for the response. I went into my BIOS and told it that I don't have a > ::> PnP OS, but the modules still did not detect the card. So I re-compiled the > ::> kernel with 'device pcm', and the card is detected once again, but the > ::> problems persist. I'm going to try some things that were suggested still, > ::> and hopefully I'll get at least a step closer to the solution. Thanks once > ::> again! > ::> > ::> - Adam > ::> > :: > ::Hmm... I'm out of ideas. The bare 'device pcm' is right for devices > ::being configured by pnp (as all pci devices are). 'device pcm0 ......' > ::is right for devices which need to be hand configured (only isa or > ::pccard devices). It sounds to me like you may have pci irq (or other > ::resource) conflicts. You might try to do > :: > ::pciconf -vl (as root) > :: > ::and see if anything shows up that looks obviously bogus. I'm sorry I > ::can't help you with the interpretation, but if you post the result to > ::the multimedia list, this may allow them to give you better help. > :: > ::Good luck, > ::Bud > :: > ::> On Fri, 29 Mar 2002 bdodson@scms.utmb.edu wrote: > ::> > ::> ::(reading your post via the archives, not subscribed to multimedia) > ::> :: > ::> ::I'm sure that someone will point out that FreeBSD is NOT a "PnP OS", so > ::> ::you need to set your BIOS to "PnP OS = NO". I have no idea whether that > ::> ::will fix your problem, but I know for sure setting it to YES is wrong. > ::> ::That is probably why the modules did not work right: nothing is > ::> ::configuring PNP. > ::> :: > ::> ::Good luck, > ::> ::Bud Dodson > ::> :: > :: > :: > ::-- > ::M. L. Dodson bdodson@scms.utmb.edu > ::409-772-2178 FAX: 409-772-1790 > :: > :: > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-multimedia" in the body of the message > -- John L. Utz III john@utzweb.net Idiocy is the Impulse Function in the Convolution of Life To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Mar 29 14:38:18 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from postfix1-2.free.fr (postfix1-2.free.fr [213.228.0.130]) by hub.freebsd.org (Postfix) with ESMTP id BFDB337B405 for ; Fri, 29 Mar 2002 14:38:08 -0800 (PST) Received: from bluerondo.a.la.turk (nas-cbv-6-151-48.dial.proxad.net [62.147.151.48]) by postfix1-2.free.fr (Postfix) with ESMTP id 1811BAB4AB for ; Fri, 29 Mar 2002 23:38:07 +0100 (CET) Received: (qmail 1405 invoked by uid 1001); 29 Mar 2002 22:38:01 -0000 Date: Fri, 29 Mar 2002 23:38:01 +0100 From: Rahul Siddharthan To: "Adam D. Gorski" Cc: multimedia@freebsd.org Subject: Re: SB problem (was: Cat'ing /dev/audio) Message-ID: <20020329223801.GA1382@lpt.ens.fr> References: <20020329222434.GA1188@lpt.ens.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.27i X-Operating-System: FreeBSD 4.5-STABLE i386 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Adam D. Gorski said on Mar 29, 2002 at 17:29:23: > But this is happeneing with my old SB PCI 64 as well, which played mp3's > like mad under Linux... the fact that it was not working under FreeBSD is > what got me to purchase that SB 16 in the first place (that, plus the fact > that 2 gusy that I know up here have the SB 16 PCI working under FreeBSD). Well if your computer clock frequency is too high, that would explain why both cards don't work right. But I'm no hardware expert, I don't know whether this is a possible explanation... Rahul > On Fri, 29 Mar 2002, Rahul Siddharthan wrote: > > ::By the way, though the symptoms are of sample rate conversion > ::problems, it's a bit puzzling that you have noise with 44100 Hz files, > ::since most cards are 44100 Hz or 48000 Hz. Perhaps yours is 22050 Hz > ::or something? Or perhaps there's some setting you can change for > ::this? > :: > ::If it's 44100, (random uneducated guess on my part) maybe your sound > ::card is miscalibrated and its frequency is meant to be 44100 but is > ::actually less. (Or maybe your computer's clock frequency is too high, > ::or something.) You could try downsampling your sound to various > ::values (use, eg, sox in the ports) and see what's the highest value it > ::sounds good. > :: > ::Rahul > :: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Mar 29 15:10:58 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from and.engin.umich.edu (and.engin.umich.edu [141.213.42.26]) by hub.freebsd.org (Postfix) with ESMTP id CDDD437B416 for ; Fri, 29 Mar 2002 15:10:52 -0800 (PST) Received: from localhost (agorski@localhost [127.0.0.1]) by and.engin.umich.edu (8.9.3/8.9.1) with ESMTP id SAA10202; Fri, 29 Mar 2002 18:10:51 -0500 (EST) Date: Fri, 29 Mar 2002 18:10:51 -0500 (EST) From: "Adam D. Gorski" To: John Utz Cc: Subject: Re: SB problem (was: Cat'ing /dev/audio) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Answers below... ::are you building all the sound apps from source or using packages? I've built everything from source, using portinstall mainly. When I installed BSD, I updated my /usr/src and /usr/ports, made world, then proceeded to portinstall things (though in the beginning I had some dependency failiures because I didn't cvsup all port collections, just selected ones, so I had to get them after anyways to actually get the stuff to compile). ::do you have the faster 586 FPU stuff compiled into the kernel? Uhm.. this is what I have, if this is what you mean: machine i386 cpu I686_CPU ident Nut maxusers 0 ::are some things being built with -mpentiumpro flag passed to gcc? in make.conf I have the following (relevant) lines: CPUTYPE= p2 CFLAGS= -O -pipe COPTFLAGS= -O -pipe -funroll-loops Still at it, - Adam To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Mar 29 15:12: 5 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from and.engin.umich.edu (and.engin.umich.edu [141.213.42.26]) by hub.freebsd.org (Postfix) with ESMTP id CCBBB37B41E for ; Fri, 29 Mar 2002 15:11:27 -0800 (PST) Received: from localhost (agorski@localhost [127.0.0.1]) by and.engin.umich.edu (8.9.3/8.9.1) with ESMTP id SAA10206; Fri, 29 Mar 2002 18:11:26 -0500 (EST) Date: Fri, 29 Mar 2002 18:11:26 -0500 (EST) From: "Adam D. Gorski" To: John Utz Cc: Subject: Re: SB problem (was: Cat'ing /dev/audio) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hrm, no, I was told not to try that. I guess I could do that, but do I need to make some modifications in BSD as well? - Adam On Fri, 29 Mar 2002, John Utz wrote: ::that's an interesting result :: ::have you tried hardwiring the irq's in the bios? :: :: ::On Fri, 29 Mar 2002, Adam D. Gorski wrote: :: ::> Ok.. I compared dmesg versus pciconf -l, and I found this.. I dunno if this ::> means anything, but I figured I'd mention it... the first matching works, ::> which is for my 3Com card: ::> ::> * dmesg: ::> xl0: <3Com 3c900B-TPO Etherlink XL> port 0xd000-0xd07f mem ::> 0xe1000000-0xe100007f irq 9 at device 9.0 on pci0 ::> ::> * pciconf -l ::> xl0@pci0:9:0: class=0x020000 card=0x900410b7 chip=0x900410b7 rev=0x04 ::> hdr=0x00 ::> ::> So both show IRQ 9 (if I'm reading the output right) which seems fine.. ::> but.. check out my RTL and SB outputs: ::> ::> * dmesg ::> rl0: port 0x9800-0x98ff mem ::> 0xe0000000-0xe00000ff irq 11 at device 12.0 on pci0 ::> ::> pcm0: port 0xa000-0xa03f irq 10 at device 11.0 on pci0 ::> ::> * pciconf -l ::> rl0@pci0:12:0: class=0x020000 card=0x813910ec chip=0x813910ec rev=0x10 ::> hdr=0x00 ::> ::> pcm0@pci0:11:0: class=0x040100 card=0x20001274 chip=0x58801274 rev=0x02 ::> hdr=0x00 ::> ::> ::> Ok, notice how one lists the SB @ IRQ 10, while the other shows it @ IRQ 11? ::> I dunno, just something that caught my eye based on the suggestions below. ::> ::> Maybe this helps, ::> ::> - Adam ::> ::> ::> On Fri, 29 Mar 2002 bdodson@scms.utmb.edu wrote: ::> ::> ::On 29 Mar, Adam D. Gorski wrote: ::> ::> Hey, ::> ::> ::> ::> Thanks for the response. I went into my BIOS and told it that I don't have a ::> ::> PnP OS, but the modules still did not detect the card. So I re-compiled the ::> ::> kernel with 'device pcm', and the card is detected once again, but the ::> ::> problems persist. I'm going to try some things that were suggested still, ::> ::> and hopefully I'll get at least a step closer to the solution. Thanks once ::> ::> again! ::> ::> ::> ::> - Adam ::> ::> ::> :: ::> ::Hmm... I'm out of ideas. The bare 'device pcm' is right for devices ::> ::being configured by pnp (as all pci devices are). 'device pcm0 ......' ::> ::is right for devices which need to be hand configured (only isa or ::> ::pccard devices). It sounds to me like you may have pci irq (or other ::> ::resource) conflicts. You might try to do ::> :: ::> ::pciconf -vl (as root) ::> :: ::> ::and see if anything shows up that looks obviously bogus. I'm sorry I ::> ::can't help you with the interpretation, but if you post the result to ::> ::the multimedia list, this may allow them to give you better help. ::> :: ::> ::Good luck, ::> ::Bud ::> :: ::> ::> On Fri, 29 Mar 2002 bdodson@scms.utmb.edu wrote: ::> ::> ::> ::> ::(reading your post via the archives, not subscribed to multimedia) ::> ::> :: ::> ::> ::I'm sure that someone will point out that FreeBSD is NOT a "PnP OS", so ::> ::> ::you need to set your BIOS to "PnP OS = NO". I have no idea whether that ::> ::> ::will fix your problem, but I know for sure setting it to YES is wrong. ::> ::> ::That is probably why the modules did not work right: nothing is ::> ::> ::configuring PNP. ::> ::> :: ::> ::> ::Good luck, ::> ::> ::Bud Dodson ::> ::> :: ::> :: ::> :: ::> ::-- ::> ::M. L. Dodson bdodson@scms.utmb.edu ::> ::409-772-2178 FAX: 409-772-1790 ::> :: ::> :: ::> ::> ::> To Unsubscribe: send mail to majordomo@FreeBSD.org ::> with "unsubscribe freebsd-multimedia" in the body of the message ::> :: ::-- :: ::John L. Utz III ::john@utzweb.net :: ::Idiocy is the Impulse Function in the Convolution of Life :: :: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Mar 29 15:16: 9 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from histidine.utmb.edu (histidine.utmb.edu [129.109.59.80]) by hub.freebsd.org (Postfix) with ESMTP id 7F25237B41C for ; Fri, 29 Mar 2002 15:16:01 -0800 (PST) Received: from scms.utmb.edu (histidine.utmb.edu [129.109.59.80]) by histidine.utmb.edu (8.11.6/8.11.6) with ESMTP id g2TNFob71775; Fri, 29 Mar 2002 17:15:50 -0600 (CST) (envelope-from bdodson@scms.utmb.edu) Received: from scms.utmb.edu (localhost [127.0.0.1]) by scms.utmb.edu (8.11.6/8.11.6) with ESMTP id g2TNFmA97325; Fri, 29 Mar 2002 17:15:49 -0600 (CST) (envelope-from bdodson@scms.utmb.edu) Message-Id: <200203292315.g2TNFmA97325@scms.utmb.edu> Date: Fri, 29 Mar 2002 17:15:46 -0600 (CST) From: bdodson@scms.utmb.edu Reply-To: bdodson@scms.utmb.edu Subject: Re: SB problem (was: Cat'ing /dev/audio) To: john@utzweb.net Cc: agorski@engin.umich.edu, freebsd-multimedia@FreeBSD.ORG In-Reply-To: MIME-Version: 1.0 Content-Type: TEXT/plain; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Or moving the card to a different slot? But, from your posting to the list, it seems you don't have a problem any more, is that right? You guys have saturated my knowledge base :( Sorry Bud On 29 Mar, John Utz wrote: > that's an interesting result > > have you tried hardwiring the irq's in the bios? > > > On Fri, 29 Mar 2002, Adam D. Gorski wrote: > >> Ok.. I compared dmesg versus pciconf -l, and I found this.. I dunno if this >> means anything, but I figured I'd mention it... the first matching works, >> which is for my 3Com card: >> >> * dmesg: >> xl0: <3Com 3c900B-TPO Etherlink XL> port 0xd000-0xd07f mem >> 0xe1000000-0xe100007f irq 9 at device 9.0 on pci0 >> >> * pciconf -l >> xl0@pci0:9:0: class=0x020000 card=0x900410b7 chip=0x900410b7 rev=0x04 >> hdr=0x00 >> >> So both show IRQ 9 (if I'm reading the output right) which seems fine.. >> but.. check out my RTL and SB outputs: >> >> * dmesg >> rl0: port 0x9800-0x98ff mem >> 0xe0000000-0xe00000ff irq 11 at device 12.0 on pci0 >> >> pcm0: port 0xa000-0xa03f irq 10 at device 11.0 on pci0 >> >> * pciconf -l >> rl0@pci0:12:0: class=0x020000 card=0x813910ec chip=0x813910ec rev=0x10 >> hdr=0x00 >> >> pcm0@pci0:11:0: class=0x040100 card=0x20001274 chip=0x58801274 rev=0x02 >> hdr=0x00 >> >> >> Ok, notice how one lists the SB @ IRQ 10, while the other shows it @ IRQ 11? >> I dunno, just something that caught my eye based on the suggestions below. >> >> Maybe this helps, >> >> - Adam >> >> >> On Fri, 29 Mar 2002 bdodson@scms.utmb.edu wrote: >> >> ::On 29 Mar, Adam D. Gorski wrote: >> ::> Hey, >> ::> >> ::> Thanks for the response. I went into my BIOS and told it that I don't have a >> ::> PnP OS, but the modules still did not detect the card. So I re-compiled the >> ::> kernel with 'device pcm', and the card is detected once again, but the >> ::> problems persist. I'm going to try some things that were suggested still, >> ::> and hopefully I'll get at least a step closer to the solution. Thanks once >> ::> again! >> ::> >> ::> - Adam >> ::> >> :: >> ::Hmm... I'm out of ideas. The bare 'device pcm' is right for devices >> ::being configured by pnp (as all pci devices are). 'device pcm0 ......' >> ::is right for devices which need to be hand configured (only isa or >> ::pccard devices). It sounds to me like you may have pci irq (or other >> ::resource) conflicts. You might try to do >> :: >> ::pciconf -vl (as root) >> :: >> ::and see if anything shows up that looks obviously bogus. I'm sorry I >> ::can't help you with the interpretation, but if you post the result to >> ::the multimedia list, this may allow them to give you better help. >> :: >> ::Good luck, >> ::Bud >> :: >> ::> On Fri, 29 Mar 2002 bdodson@scms.utmb.edu wrote: >> ::> >> ::> ::(reading your post via the archives, not subscribed to multimedia) >> ::> :: >> ::> ::I'm sure that someone will point out that FreeBSD is NOT a "PnP OS", so >> ::> ::you need to set your BIOS to "PnP OS = NO". I have no idea whether that >> ::> ::will fix your problem, but I know for sure setting it to YES is wrong. >> ::> ::That is probably why the modules did not work right: nothing is >> ::> ::configuring PNP. >> ::> :: >> ::> ::Good luck, >> ::> ::Bud Dodson >> ::> :: >> :: >> :: -- M. L. Dodson bdodson@scms.utmb.edu 409-772-2178 FAX: 409-772-1790 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Mar 29 15:23:54 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from and.engin.umich.edu (and.engin.umich.edu [141.213.42.26]) by hub.freebsd.org (Postfix) with ESMTP id 9AED137B487 for ; Fri, 29 Mar 2002 15:23:05 -0800 (PST) Received: from localhost (agorski@localhost [127.0.0.1]) by and.engin.umich.edu (8.9.3/8.9.1) with ESMTP id SAA10352; Fri, 29 Mar 2002 18:22:59 -0500 (EST) Date: Fri, 29 Mar 2002 18:22:59 -0500 (EST) From: "Adam D. Gorski" To: Cc: Subject: Re: SB problem (was: Cat'ing /dev/audio) In-Reply-To: <200203292315.g2TNFmA97325@scms.utmb.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org No, I still have the problem. I moved the card around, but that didn't help anything. I even took out the (possibly offending) RTL card, but that had no effect either. I'm at a loss really... I guess I don't _need_ mp3's, but this is one of those problems that just nags at the back of your brain... - Adam On Fri, 29 Mar 2002 bdodson@scms.utmb.edu wrote: ::Or moving the card to a different slot? :: ::But, from your posting to the list, it seems you don't have a problem ::any more, is that right? :: ::You guys have saturated my knowledge base :( ::Sorry :: ::Bud :: ::On 29 Mar, John Utz wrote: ::> that's an interesting result ::> ::> have you tried hardwiring the irq's in the bios? ::> ::> ::> On Fri, 29 Mar 2002, Adam D. Gorski wrote: ::> ::>> Ok.. I compared dmesg versus pciconf -l, and I found this.. I dunno if this ::>> means anything, but I figured I'd mention it... the first matching works, ::>> which is for my 3Com card: ::>> ::>> * dmesg: ::>> xl0: <3Com 3c900B-TPO Etherlink XL> port 0xd000-0xd07f mem ::>> 0xe1000000-0xe100007f irq 9 at device 9.0 on pci0 ::>> ::>> * pciconf -l ::>> xl0@pci0:9:0: class=0x020000 card=0x900410b7 chip=0x900410b7 rev=0x04 ::>> hdr=0x00 ::>> ::>> So both show IRQ 9 (if I'm reading the output right) which seems fine.. ::>> but.. check out my RTL and SB outputs: ::>> ::>> * dmesg ::>> rl0: port 0x9800-0x98ff mem ::>> 0xe0000000-0xe00000ff irq 11 at device 12.0 on pci0 ::>> ::>> pcm0: port 0xa000-0xa03f irq 10 at device 11.0 on pci0 ::>> ::>> * pciconf -l ::>> rl0@pci0:12:0: class=0x020000 card=0x813910ec chip=0x813910ec rev=0x10 ::>> hdr=0x00 ::>> ::>> pcm0@pci0:11:0: class=0x040100 card=0x20001274 chip=0x58801274 rev=0x02 ::>> hdr=0x00 ::>> ::>> ::>> Ok, notice how one lists the SB @ IRQ 10, while the other shows it @ IRQ 11? ::>> I dunno, just something that caught my eye based on the suggestions below. ::>> ::>> Maybe this helps, ::>> ::>> - Adam ::>> ::>> ::>> On Fri, 29 Mar 2002 bdodson@scms.utmb.edu wrote: ::>> ::>> ::On 29 Mar, Adam D. Gorski wrote: ::>> ::> Hey, ::>> ::> ::>> ::> Thanks for the response. I went into my BIOS and told it that I don't have a ::>> ::> PnP OS, but the modules still did not detect the card. So I re-compiled the ::>> ::> kernel with 'device pcm', and the card is detected once again, but the ::>> ::> problems persist. I'm going to try some things that were suggested still, ::>> ::> and hopefully I'll get at least a step closer to the solution. Thanks once ::>> ::> again! ::>> ::> ::>> ::> - Adam ::>> ::> ::>> :: ::>> ::Hmm... I'm out of ideas. The bare 'device pcm' is right for devices ::>> ::being configured by pnp (as all pci devices are). 'device pcm0 ......' ::>> ::is right for devices which need to be hand configured (only isa or ::>> ::pccard devices). It sounds to me like you may have pci irq (or other ::>> ::resource) conflicts. You might try to do ::>> :: ::>> ::pciconf -vl (as root) ::>> :: ::>> ::and see if anything shows up that looks obviously bogus. I'm sorry I ::>> ::can't help you with the interpretation, but if you post the result to ::>> ::the multimedia list, this may allow them to give you better help. ::>> :: ::>> ::Good luck, ::>> ::Bud ::>> :: ::>> ::> On Fri, 29 Mar 2002 bdodson@scms.utmb.edu wrote: ::>> ::> ::>> ::> ::(reading your post via the archives, not subscribed to multimedia) ::>> ::> :: ::>> ::> ::I'm sure that someone will point out that FreeBSD is NOT a "PnP OS", so ::>> ::> ::you need to set your BIOS to "PnP OS = NO". I have no idea whether that ::>> ::> ::will fix your problem, but I know for sure setting it to YES is wrong. ::>> ::> ::That is probably why the modules did not work right: nothing is ::>> ::> ::configuring PNP. ::>> ::> :: ::>> ::> ::Good luck, ::>> ::> ::Bud Dodson ::>> ::> :: ::>> :: ::>> :: :: ::-- ::M. L. Dodson bdodson@scms.utmb.edu ::409-772-2178 FAX: 409-772-1790 :: :: ::To Unsubscribe: send mail to majordomo@FreeBSD.org ::with "unsubscribe freebsd-multimedia" in the body of the message :: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Mar 29 15:33:38 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from jupiter.linuxengine.net (jupiter.linuxengine.net [209.61.188.254]) by hub.freebsd.org (Postfix) with ESMTP id 26CF537B43E for ; Fri, 29 Mar 2002 15:33:10 -0800 (PST) Received: from jupiterweb.commercevault.com (jupiterweb.commercevault.com [209.61.179.16] (may be forged)) by jupiter.linuxengine.net (8.11.6/8.11.0) with ESMTP id g2TNX7h11651; Fri, 29 Mar 2002 17:33:07 -0600 Date: Fri, 29 Mar 2002 17:33:07 -0600 (CST) From: John Utz X-X-Sender: john@jupiter.linuxengine.net To: "Adam D. Gorski" Cc: freebsd-multimedia@FreeBSD.ORG Subject: Re: SB problem (was: Cat'ing /dev/audio) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org i have a minor ahah here..... On Fri, 29 Mar 2002, Adam D. Gorski wrote: > Answers below... > > ::are you building all the sound apps from source or using packages? > > I've built everything from source, using portinstall mainly. When I > installed BSD, I updated my /usr/src and /usr/ports, made world, then > proceeded to portinstall things (though in the beginning I had some > dependency failiures because I didn't cvsup all port collections, just > selected ones, so I had to get them after anyways to actually get the stuff > to compile). > > ::do you have the faster 586 FPU stuff compiled into the kernel? > > Uhm.. this is what I have, if this is what you mean: > > machine i386 > cpu I686_CPU > ident Nut > maxusers 0 > > ::are some things being built with -mpentiumpro flag passed to gcc? > > in make.conf I have the following (relevant) lines: > > CPUTYPE= p2 i think you should try not using p2 > CFLAGS= -O -pipe i usually hack this to -O2 > COPTFLAGS= -O -pipe -funroll-loops > > > Still at it, > > - Adam > -- John L. Utz III john@utzweb.net Idiocy is the Impulse Function in the Convolution of Life To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Mar 29 15:35:34 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from jupiter.linuxengine.net (jupiter.linuxengine.net [209.61.188.254]) by hub.freebsd.org (Postfix) with ESMTP id 62FCB37B416 for ; Fri, 29 Mar 2002 15:35:21 -0800 (PST) Received: from jupiterweb.commercevault.com (jupiterweb.commercevault.com [209.61.179.16] (may be forged)) by jupiter.linuxengine.net (8.11.6/8.11.0) with ESMTP id g2TNZJh11687; Fri, 29 Mar 2002 17:35:19 -0600 Date: Fri, 29 Mar 2002 17:35:19 -0600 (CST) From: John Utz X-X-Sender: john@jupiter.linuxengine.net To: "Adam D. Gorski" Cc: freebsd-multimedia@FreeBSD.ORG Subject: Re: SB problem (was: Cat'ing /dev/audio) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, 29 Mar 2002, Adam D. Gorski wrote: > Hrm, no, I was told not to try that. well, it's not optimal. but i have used it before to good effect. > I guess I could do that, but do I need to make some modifications in BSD > as well? no, you wouldnt need to mess with your build. but dont do it now. i think the p2 flag is the next thing you should try > - Adam > > On Fri, 29 Mar 2002, John Utz wrote: > > ::that's an interesting result > :: > ::have you tried hardwiring the irq's in the bios? > :: > :: > ::On Fri, 29 Mar 2002, Adam D. Gorski wrote: > :: > ::> Ok.. I compared dmesg versus pciconf -l, and I found this.. I dunno if this > ::> means anything, but I figured I'd mention it... the first matching works, > ::> which is for my 3Com card: > ::> > ::> * dmesg: > ::> xl0: <3Com 3c900B-TPO Etherlink XL> port 0xd000-0xd07f mem > ::> 0xe1000000-0xe100007f irq 9 at device 9.0 on pci0 > ::> > ::> * pciconf -l > ::> xl0@pci0:9:0: class=0x020000 card=0x900410b7 chip=0x900410b7 rev=0x04 > ::> hdr=0x00 > ::> > ::> So both show IRQ 9 (if I'm reading the output right) which seems fine.. > ::> but.. check out my RTL and SB outputs: > ::> > ::> * dmesg > ::> rl0: port 0x9800-0x98ff mem > ::> 0xe0000000-0xe00000ff irq 11 at device 12.0 on pci0 > ::> > ::> pcm0: port 0xa000-0xa03f irq 10 at device 11.0 on pci0 > ::> > ::> * pciconf -l > ::> rl0@pci0:12:0: class=0x020000 card=0x813910ec chip=0x813910ec rev=0x10 > ::> hdr=0x00 > ::> > ::> pcm0@pci0:11:0: class=0x040100 card=0x20001274 chip=0x58801274 rev=0x02 > ::> hdr=0x00 > ::> > ::> > ::> Ok, notice how one lists the SB @ IRQ 10, while the other shows it @ IRQ 11? > ::> I dunno, just something that caught my eye based on the suggestions below. > ::> > ::> Maybe this helps, > ::> > ::> - Adam > ::> > ::> > ::> On Fri, 29 Mar 2002 bdodson@scms.utmb.edu wrote: > ::> > ::> ::On 29 Mar, Adam D. Gorski wrote: > ::> ::> Hey, > ::> ::> > ::> ::> Thanks for the response. I went into my BIOS and told it that I don't have a > ::> ::> PnP OS, but the modules still did not detect the card. So I re-compiled the > ::> ::> kernel with 'device pcm', and the card is detected once again, but the > ::> ::> problems persist. I'm going to try some things that were suggested still, > ::> ::> and hopefully I'll get at least a step closer to the solution. Thanks once > ::> ::> again! > ::> ::> > ::> ::> - Adam > ::> ::> > ::> :: > ::> ::Hmm... I'm out of ideas. The bare 'device pcm' is right for devices > ::> ::being configured by pnp (as all pci devices are). 'device pcm0 ......' > ::> ::is right for devices which need to be hand configured (only isa or > ::> ::pccard devices). It sounds to me like you may have pci irq (or other > ::> ::resource) conflicts. You might try to do > ::> :: > ::> ::pciconf -vl (as root) > ::> :: > ::> ::and see if anything shows up that looks obviously bogus. I'm sorry I > ::> ::can't help you with the interpretation, but if you post the result to > ::> ::the multimedia list, this may allow them to give you better help. > ::> :: > ::> ::Good luck, > ::> ::Bud > ::> :: > ::> ::> On Fri, 29 Mar 2002 bdodson@scms.utmb.edu wrote: > ::> ::> > ::> ::> ::(reading your post via the archives, not subscribed to multimedia) > ::> ::> :: > ::> ::> ::I'm sure that someone will point out that FreeBSD is NOT a "PnP OS", so > ::> ::> ::you need to set your BIOS to "PnP OS = NO". I have no idea whether that > ::> ::> ::will fix your problem, but I know for sure setting it to YES is wrong. > ::> ::> ::That is probably why the modules did not work right: nothing is > ::> ::> ::configuring PNP. > ::> ::> :: > ::> ::> ::Good luck, > ::> ::> ::Bud Dodson > ::> ::> :: > ::> :: > ::> :: > ::> ::-- > ::> ::M. L. Dodson bdodson@scms.utmb.edu > ::> ::409-772-2178 FAX: 409-772-1790 > ::> :: > ::> :: > ::> > ::> > ::> To Unsubscribe: send mail to majordomo@FreeBSD.org > ::> with "unsubscribe freebsd-multimedia" in the body of the message > ::> > :: > ::-- > :: > ::John L. Utz III > ::john@utzweb.net > :: > ::Idiocy is the Impulse Function in the Convolution of Life > :: > :: > -- John L. Utz III john@utzweb.net Idiocy is the Impulse Function in the Convolution of Life To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Mar 29 15:36:58 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from nef.ens.fr (nef.ens.fr [129.199.96.32]) by hub.freebsd.org (Postfix) with ESMTP id 9722537B400 for ; Fri, 29 Mar 2002 15:36:54 -0800 (PST) Received: from corto.lpt.ens.fr (corto.lpt.ens.fr [129.199.122.2]) by nef.ens.fr (8.10.1/1.01.28121999) with ESMTP id g2TNapp56823 ; Sat, 30 Mar 2002 00:36:51 +0100 (CET) Received: from (rsidd@localhost) by corto.lpt.ens.fr (8.9.3/jtpda-5.3.1) id AAA88899 ; Sat, 30 Mar 2002 00:36:50 +0100 (CET) Date: Sat, 30 Mar 2002 00:36:49 +0100 From: Rahul Siddharthan To: "Adam D. Gorski" Cc: bdodson@scms.utmb.edu, freebsd-multimedia@FreeBSD.ORG Subject: Re: SB problem (was: Cat'ing /dev/audio) Message-ID: <20020330003649.A88610@lpt.ens.fr> References: <200203292315.g2TNFmA97325@scms.utmb.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from agorski@engin.umich.edu on Fri, Mar 29, 2002 at 06:22:59PM -0500 X-Operating-System: FreeBSD 3.4-STABLE i386 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Adam D. Gorski said on Mar 29, 2002 at 18:22:59: > No, I still have the problem. I moved the card around, but that didn't help > anything. I even took out the (possibly offending) RTL card, but that had no > effect either. I'm at a loss really... I guess I don't _need_ mp3's, but > this is one of those problems that just nags at the back of your brain... If you get good sound output at low sampling rates, and bad quality only at high sampling rates, I'm not at all convinced it's a problem with IRQs and the like. As a quick and painless check, I suggest you try doing what I said with sox: take a sound which doesn't play well (44100 Hz), downsample it with sox to 22050 Hz (sox input.wav -r 22050 output.wav resample), with possibly some options for resample -- look at the sox(1) man page, and do the same for various other rates too. See at what sampling rate you get acceptable sound quality. If it's 22050 Hz, that's what your card is set up to take. If it's somewhat less than 44100 Hz, it would look like some miscalibrated clock somewhere. If it's some number totally different from these, well I can't figure that out... Rahul To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Mar 29 15:41:20 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from nef.ens.fr (nef.ens.fr [129.199.96.32]) by hub.freebsd.org (Postfix) with ESMTP id 9D85537B42C for ; Fri, 29 Mar 2002 15:41:08 -0800 (PST) Received: from corto.lpt.ens.fr (corto.lpt.ens.fr [129.199.122.2]) by nef.ens.fr (8.10.1/1.01.28121999) with ESMTP id g2TNf7p57146 ; Sat, 30 Mar 2002 00:41:07 +0100 (CET) Received: from (rsidd@localhost) by corto.lpt.ens.fr (8.9.3/jtpda-5.3.1) id AAA89060 ; Sat, 30 Mar 2002 00:41:07 +0100 (CET) Date: Sat, 30 Mar 2002 00:41:07 +0100 From: Rahul Siddharthan To: John Utz Cc: "Adam D. Gorski" , freebsd-multimedia@FreeBSD.ORG Subject: Re: SB problem (was: Cat'ing /dev/audio) Message-ID: <20020330004107.B88610@lpt.ens.fr> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from john@utzweb.net on Fri, Mar 29, 2002 at 05:33:07PM -0600 X-Operating-System: FreeBSD 3.4-STABLE i386 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org John Utz said on Mar 29, 2002 at 17:33:07: > i have a minor ahah here..... > > > in make.conf I have the following (relevant) lines: > > > > CPUTYPE= p2 > > i think you should try not using p2 > > > CFLAGS= -O -pipe > > i usually hack this to -O2 On a PII-450 MHz, all these things should absolutely not be an issue at all. You should get perfectly good output without any optimisation. Moreover, if the machine is too slow the output will be jerky and discontinuous, but it won't have the sort of noise Adam describes. Rahul To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Mar 29 16: 5:40 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from and.engin.umich.edu (and.engin.umich.edu [141.213.42.26]) by hub.freebsd.org (Postfix) with ESMTP id D69A937B405 for ; Fri, 29 Mar 2002 16:05:37 -0800 (PST) Received: from localhost (agorski@localhost [127.0.0.1]) by and.engin.umich.edu (8.9.3/8.9.1) with ESMTP id TAA10799; Fri, 29 Mar 2002 19:05:36 -0500 (EST) Date: Fri, 29 Mar 2002 19:05:36 -0500 (EST) From: "Adam D. Gorski" To: John Utz Cc: Subject: Re: SB problem (was: Cat'ing /dev/audio) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Well, I re-compiled mpg123 for i386, but it's still crackling... did you mean that I should recompile my whole system form the bottom up? I hope not... - Adam ::my current supposition is a math error, because i know that gcc with the ::more specialized cpu architecture setups isnt particularly well tested, ::and it's tested even less on freebsd! furthermore, preparing oggs and ::mp3's for play is a math intensive process, so any goof ups in the math ::code would be painfully evident. :: ::but, i am guessing. :: :: :: ::> Rahul ::> :: ::-- :: ::John L. Utz III ::john@utzweb.net :: ::Idiocy is the Impulse Function in the Convolution of Life :: :: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Mar 29 16:22:40 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from jupiter.linuxengine.net (jupiter.linuxengine.net [209.61.188.254]) by hub.freebsd.org (Postfix) with ESMTP id 36D9837B41A for ; Fri, 29 Mar 2002 16:21:53 -0800 (PST) Received: from jupiterweb.commercevault.com (jupiterweb.commercevault.com [209.61.179.16] (may be forged)) by jupiter.linuxengine.net (8.11.6/8.11.0) with ESMTP id g2U0L2h13405; Fri, 29 Mar 2002 18:21:02 -0600 Date: Fri, 29 Mar 2002 18:21:02 -0600 (CST) From: John Utz X-X-Sender: john@jupiter.linuxengine.net To: "Adam D. Gorski" Cc: freebsd-multimedia@FreeBSD.ORG Subject: Re: SB problem (was: Cat'ing /dev/audio) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, 29 Mar 2002, Adam D. Gorski wrote: > Well, I re-compiled mpg123 for i386, but it's still crackling... did you > mean that I should recompile my whole system form the bottom up? I hope > not... did you recompile the entire box with p2? if you did, then you probably should recompile the whole thing. if you just compiled the kernel and the mods with p2, then just recompile and reinstall those. refresh my memory, did you rebuild the whole machine from src? or did u just do the kernel? and if you just did the kernel, did u just copy the kernel up to / or did you do a make install? if you rebuilt the kernel and modules but didnt do a make install and copied the kernel to / instead, then you have a kernel that was built with p2 and modules that where not. > - Adam > > ::my current supposition is a math error, because i know that gcc with the > ::more specialized cpu architecture setups isnt particularly well tested, > ::and it's tested even less on freebsd! furthermore, preparing oggs and > ::mp3's for play is a math intensive process, so any goof ups in the math > ::code would be painfully evident. > :: > ::but, i am guessing. > :: > :: > :: > ::> Rahul > ::> > :: > ::-- > :: > ::John L. Utz III > ::john@utzweb.net > :: > ::Idiocy is the Impulse Function in the Convolution of Life > :: > :: > -- John L. Utz III john@utzweb.net Idiocy is the Impulse Function in the Convolution of Life To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Mar 29 16:44:19 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from postfix2-2.free.fr (postfix2-2.free.fr [213.228.0.140]) by hub.freebsd.org (Postfix) with ESMTP id 77FC637B431 for ; Fri, 29 Mar 2002 16:43:59 -0800 (PST) Received: from bluerondo.a.la.turk (nas-cbv-4-142-124.dial.proxad.net [62.147.142.124]) by postfix2-2.free.fr (Postfix) with ESMTP id B775A5FB21 for ; Sat, 30 Mar 2002 01:43:57 +0100 (CET) Received: (qmail 1901 invoked by uid 1001); 30 Mar 2002 00:43:12 -0000 Date: Sat, 30 Mar 2002 01:43:11 +0100 From: Rahul Siddharthan To: John Utz Cc: "Adam D. Gorski" , freebsd-multimedia@FreeBSD.ORG Subject: Re: SB problem (was: Cat'ing /dev/audio) Message-ID: <20020330004311.GA1858@lpt.ens.fr> References: <20020330004107.B88610@lpt.ens.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.27i X-Operating-System: FreeBSD 4.5-STABLE i386 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > i would also concede that your suggestion that the problem is a sampling > rate problem is possible. because it would be concievable that linux/alsa > might have a more sophisticated approach to automagically resampling > things. > > *but*, i simply dont run into content that has been sampled that way! i > havent ever run into stuff that i cant play via xmms on my 4.5 box. > evidently that isnt the case for you. Is yours the same card (SB16)? There are lots of cards which accept variable sampling rates; the problem arises when they don't. If you have absolutely no problems with an SB16 whatever the sampling rate of your soundfile, I'd agree that sampling rate is probably not the issue in this case. Note that with upsampling, you won't get problems nearly as bad. So if your card accepts 44100 Hz and all your soundfiles are 44100 Hz or less, you won't hear the kind of noise Adam complains of; there may be some slight distortion (that was my experience) but you need good speakers to make it out. The problem comes with downsampling, eg playing a 48000 Hz sound into a 44100 Hz card. Given that other people apparently use the SB16 on FreeBSD happily, my guess would be either Adam's computer clock is too fast (a signal which should be 44100 Hz ends up at 42000 Hz, say) or his cards accept only 22050Hz for some reason. And yes, alsa is probably pretty sophisticated about things like sample rate conversion. And now that it's become standard in the linux kernel, more and more linux-based sound applications are going to require it (some do already) and it will be difficult to port them to FreeBSD :-( > my current supposition is a math error, because i know that gcc with the > more specialized cpu architecture setups isnt particularly well tested, > and it's tested even less on freebsd! furthermore, preparing oggs and > mp3's for play is a math intensive process, so any goof ups in the math > code would be painfully evident. Well, gcc3 may well have problems, but the stock gcc (2.95.x) is quite well tested with vorbis and other audio software. Also it's not terribly obvious to me why a math error would affect high sampling rates and not low ones.... Methinks it's time one of the experts on the list spoke up. Rahul To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Mar 29 16:49:15 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from jupiter.linuxengine.net (jupiter.linuxengine.net [209.61.188.254]) by hub.freebsd.org (Postfix) with ESMTP id D6DC437B417 for ; Fri, 29 Mar 2002 16:49:09 -0800 (PST) Received: from jupiterweb.commercevault.com (jupiterweb.commercevault.com [209.61.179.16] (may be forged)) by jupiter.linuxengine.net (8.11.6/8.11.0) with ESMTP id g2TNr2h12123; Fri, 29 Mar 2002 17:53:02 -0600 Date: Fri, 29 Mar 2002 17:53:02 -0600 (CST) From: John Utz X-X-Sender: john@jupiter.linuxengine.net To: Rahul Siddharthan Cc: "Adam D. Gorski" , Subject: Re: SB problem (was: Cat'ing /dev/audio) In-Reply-To: <20020330004107.B88610@lpt.ens.fr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org hi rahul On Sat, 30 Mar 2002, Rahul Siddharthan wrote: > John Utz said on Mar 29, 2002 at 17:33:07: > > i have a minor ahah here..... > > > > > in make.conf I have the following (relevant) lines: > > > > > > CPUTYPE= p2 > > > > i think you should try not using p2 > > > > > CFLAGS= -O -pipe > > > > i usually hack this to -O2 > > On a PII-450 MHz, all these things should absolutely not be an issue > at all. You should get perfectly good output without any > optimisation. Moreover, if the machine is too slow the output will > be jerky and discontinuous, but it won't have the sort of noise Adam > describes. i agree that -O2 shouldnt be an issue given the circumstances. i agree that the if it where required, the failure mode would be as you suggest. i included that as a by the way, but i didnt make that clear. i would also concede that your suggestion that the problem is a sampling rate problem is possible. because it would be concievable that linux/alsa might have a more sophisticated approach to automagically resampling things. *but*, i simply dont run into content that has been sampled that way! i havent ever run into stuff that i cant play via xmms on my 4.5 box. evidently that isnt the case for you. my current supposition is a math error, because i know that gcc with the more specialized cpu architecture setups isnt particularly well tested, and it's tested even less on freebsd! furthermore, preparing oggs and mp3's for play is a math intensive process, so any goof ups in the math code would be painfully evident. but, i am guessing. > Rahul > -- John L. Utz III john@utzweb.net Idiocy is the Impulse Function in the Convolution of Life To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Mar 29 17: 1:34 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from jupiter.linuxengine.net (jupiter.linuxengine.net [209.61.188.254]) by hub.freebsd.org (Postfix) with ESMTP id 314CC37B425 for ; Fri, 29 Mar 2002 17:01:08 -0800 (PST) Received: from jupiterweb.commercevault.com (jupiterweb.commercevault.com [209.61.179.16] (may be forged)) by jupiter.linuxengine.net (8.11.6/8.11.0) with ESMTP id g2U114h14404; Fri, 29 Mar 2002 19:01:04 -0600 Date: Fri, 29 Mar 2002 19:01:04 -0600 (CST) From: John Utz X-X-Sender: john@jupiter.linuxengine.net To: Rahul Siddharthan Cc: "Adam D. Gorski" , Subject: Re: SB problem (was: Cat'ing /dev/audio) In-Reply-To: <20020330004311.GA1858@lpt.ens.fr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sat, 30 Mar 2002, Rahul Siddharthan wrote: > > i would also concede that your suggestion that the problem is a sampling > > rate problem is possible. because it would be concievable that linux/alsa > > might have a more sophisticated approach to automagically resampling > > things. > > > > *but*, i simply dont run into content that has been sampled that way! i > > havent ever run into stuff that i cant play via xmms on my 4.5 box. > > evidently that isnt the case for you. > > Is yours the same card (SB16)? There are lots of cards which accept > variable sampling rates; the problem arises when they don't. If you > have absolutely no problems with an SB16 whatever the sampling rate > of your soundfile, I'd agree that sampling rate is probably not the > issue in this case. ahh, good point. but i have both more sophisticated and less sophisticated cards then that card and neither of them have the problem. *but* that's not the same thing as having the exact card, so i take your point. but he has neighbors running the same card without trouble. > Note that with upsampling, you won't get problems nearly as bad. So > if your card accepts 44100 Hz and all your soundfiles are 44100 Hz or > less, you won't hear the kind of noise Adam complains of; there may be > some slight distortion (that was my experience) but you need good > speakers to make it out. The problem comes with downsampling, eg > playing a 48000 Hz sound into a 44100 Hz card. Given that other > people apparently use the SB16 on FreeBSD happily, my guess would be > either Adam's computer clock is too fast (a signal which should be > 44100 Hz ends up at 42000 Hz, say) or his cards accept only 22050Hz > for some reason. > > And yes, alsa is probably pretty sophisticated about things like > sample rate conversion. And now that it's become standard in the > linux kernel, more and more linux-based sound applications are going > to require it (some do already) and it will be difficult to port them > to FreeBSD :-( > > > my current supposition is a math error, because i know that gcc with the > > more specialized cpu architecture setups isnt particularly well tested, > > and it's tested even less on freebsd! furthermore, preparing oggs and > > mp3's for play is a math intensive process, so any goof ups in the math > > code would be painfully evident. > > Well, gcc3 may well have problems, but the stock gcc (2.95.x) is quite > well tested with vorbis and other audio software. Also it's not > terribly obvious to me why a math error would affect high sampling > rates and not low ones.... ahh, here's where we are talking past each other. and maybe i missed something. your assuming that an mp3 or ogg is the same type of file as a .wav or a .au file. they are not. in order to play an ogg file or an mp3 file, *or* to *convert* them to a .wav or a .au or a .aiff file. so, if you start with an ogg or mp3 and turn it into a low or high bitrate mp3, and you have math problems, you will get nasty sounds when you play it. that would tell me it's a math problem if you start with a high bitrate wav and a lo bitrate wave and the lo bitrate wave doesnt have noise and the highbitrate one does, then your right, math is irrelevant. but my recoolection was the original complaint was that wavs played ok, but mp3's didnt > Methinks it's time one of the experts on the list spoke up. they've had plenty of time and they havent shared.... > Rahul > -- John L. Utz III john@utzweb.net Idiocy is the Impulse Function in the Convolution of Life To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Mar 29 17: 1:58 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from and.engin.umich.edu (and.engin.umich.edu [141.213.42.26]) by hub.freebsd.org (Postfix) with ESMTP id 84F9B37B41B for ; Fri, 29 Mar 2002 17:01:44 -0800 (PST) Received: from localhost (agorski@localhost [127.0.0.1]) by and.engin.umich.edu (8.9.3/8.9.1) with ESMTP id UAA11446; Fri, 29 Mar 2002 20:01:43 -0500 (EST) Date: Fri, 29 Mar 2002 20:01:43 -0500 (EST) From: "Adam D. Gorski" To: John Utz Cc: Subject: Re: SB problem (was: Cat'ing /dev/audio) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Ok, several responses to various recommendations/ideas are included here.. first off.. I installed sox and performed the suggested downsampling. I took a 44khz wav file and converted it to 38Khz, 22Khz, and 8Khz... all wav files prdouced the same screeching as the 44Khz one. Next, I recompiled mpg123 and my kernel with i386 instead of p2 in make.conf. That made no difference. I built my system up from source. After an initial 'bare' console install, I did a cvsup to get /usr/src and /usr/ports, made world, made the kernel, made X, etc., all using the optimizations I've mentioned. I do everything 'properly' if you will, so for the kernel I started with the GENERIC file which I modified based on reading LINT and various documents, and I compiled it using 'make kernel KERNCONF=MYCONF'. As far as I know, I have done everything 'according to the rules.' As I've said, 2 of my friends run the exact same card under 4.5 with no problems... but let's not forget that my SP 64 (es1370) experiences the same problem. It _could_ be that my clock is fast, but that would be odd... my system was pretty good back in 98 when I built it.. just in case any of this means anything: Asus P2B w/ P2-450 Matrox G200 256MB ram Promise ATA/100 Controller -> IBM Deskstar 20 gig, 7200 (BSD's Home :)) Various other driver, nics, etc. The box has been humming flawlessly since I've put it together, with almost no down time (other than moving from apartment to apartment). It ran Win98 fine back in the day, then housed Linux for 2+ years... I figured I'd have seen problems if there were any serious ones. Sorry to all those who don't give a crap, I didn't mean to spam this list with my rather minor problem, but I don't really know who else to turn to :\ - Adam On Fri, 29 Mar 2002, John Utz wrote: ::On Fri, 29 Mar 2002, Adam D. Gorski wrote: :: ::> Well, I re-compiled mpg123 for i386, but it's still crackling... did you ::> mean that I should recompile my whole system form the bottom up? I hope ::> not... :: ::did you recompile the entire box with p2? if you did, then you probably ::should recompile the whole thing. :: ::if you just compiled the kernel and the mods with p2, then just recompile ::and reinstall those. :: ::refresh my memory, did you rebuild the whole machine from src? or did u ::just do the kernel? :: ::and if you just did the kernel, did u just copy the kernel up to / or did ::you do a make install? :: ::if you rebuilt the kernel and modules but didnt do a make install and ::copied the kernel to / instead, then you have a kernel that was built with ::p2 and modules that where not. :: ::> - Adam ::> ::> ::my current supposition is a math error, because i know that gcc with the ::> ::more specialized cpu architecture setups isnt particularly well tested, ::> ::and it's tested even less on freebsd! furthermore, preparing oggs and ::> ::mp3's for play is a math intensive process, so any goof ups in the math ::> ::code would be painfully evident. ::> :: ::> ::but, i am guessing. ::> :: ::> :: ::> :: ::> ::> Rahul ::> ::> ::> :: ::> ::-- ::> :: ::> ::John L. Utz III ::> ::john@utzweb.net ::> :: ::> ::Idiocy is the Impulse Function in the Convolution of Life ::> :: ::> :: ::> :: ::-- :: ::John L. Utz III ::john@utzweb.net :: ::Idiocy is the Impulse Function in the Convolution of Life :: :: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Mar 29 17: 4:52 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from jupiter.linuxengine.net (jupiter.linuxengine.net [209.61.188.254]) by hub.freebsd.org (Postfix) with ESMTP id E69C437B42A for ; Fri, 29 Mar 2002 17:04:09 -0800 (PST) Received: from jupiterweb.commercevault.com (jupiterweb.commercevault.com [209.61.179.16] (may be forged)) by jupiter.linuxengine.net (8.11.6/8.11.0) with ESMTP id g2U147h14529; Fri, 29 Mar 2002 19:04:07 -0600 Date: Fri, 29 Mar 2002 19:04:07 -0600 (CST) From: John Utz X-X-Sender: john@jupiter.linuxengine.net To: "Adam D. Gorski" Cc: freebsd-multimedia@FreeBSD.ORG Subject: Re: SB problem (was: Cat'ing /dev/audio) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org you have pretty much exhausted all of the things that i can think off. if you get it to work, plz let me know :-( On Fri, 29 Mar 2002, Adam D. Gorski wrote: > Ok, several responses to various recommendations/ideas are included here.. > first off.. I installed sox and performed the suggested downsampling. I took > a 44khz wav file and converted it to 38Khz, 22Khz, and 8Khz... all wav files > prdouced the same screeching as the 44Khz one. > > Next, I recompiled mpg123 and my kernel with i386 instead of p2 in > make.conf. That made no difference. > > I built my system up from source. After an initial 'bare' console install, I > did a cvsup to get /usr/src and /usr/ports, made world, made the kernel, > made X, etc., all using the optimizations I've mentioned. I do everything > 'properly' if you will, so for the kernel I started with the GENERIC file > which I modified based on reading LINT and various documents, and I compiled > it using 'make kernel KERNCONF=MYCONF'. As far as I know, I have done > everything 'according to the rules.' > > As I've said, 2 of my friends run the exact same card under 4.5 with no > problems... but let's not forget that my SP 64 (es1370) experiences the same > problem. It _could_ be that my clock is fast, but that would be odd... my > system was pretty good back in 98 when I built it.. just in case any of this > means anything: > > Asus P2B w/ P2-450 > Matrox G200 > 256MB ram > Promise ATA/100 Controller -> IBM Deskstar 20 gig, 7200 (BSD's Home :)) > Various other driver, nics, etc. > > The box has been humming flawlessly since I've put it together, with almost > no down time (other than moving from apartment to apartment). It ran Win98 > fine back in the day, then housed Linux for 2+ years... I figured I'd have > seen problems if there were any serious ones. > > Sorry to all those who don't give a crap, I didn't mean to spam this list > with my rather minor problem, but I don't really know who else to turn to :\ > > - Adam > > On Fri, 29 Mar 2002, John Utz wrote: > > ::On Fri, 29 Mar 2002, Adam D. Gorski wrote: > :: > ::> Well, I re-compiled mpg123 for i386, but it's still crackling... did you > ::> mean that I should recompile my whole system form the bottom up? I hope > ::> not... > :: > ::did you recompile the entire box with p2? if you did, then you probably > ::should recompile the whole thing. > :: > ::if you just compiled the kernel and the mods with p2, then just recompile > ::and reinstall those. > :: > ::refresh my memory, did you rebuild the whole machine from src? or did u > ::just do the kernel? > :: > ::and if you just did the kernel, did u just copy the kernel up to / or did > ::you do a make install? > :: > ::if you rebuilt the kernel and modules but didnt do a make install and > ::copied the kernel to / instead, then you have a kernel that was built with > ::p2 and modules that where not. > :: > ::> - Adam > ::> > ::> ::my current supposition is a math error, because i know that gcc with the > ::> ::more specialized cpu architecture setups isnt particularly well tested, > ::> ::and it's tested even less on freebsd! furthermore, preparing oggs and > ::> ::mp3's for play is a math intensive process, so any goof ups in the math > ::> ::code would be painfully evident. > ::> :: > ::> ::but, i am guessing. > ::> :: > ::> :: > ::> :: > ::> ::> Rahul > ::> ::> > ::> :: > ::> ::-- > ::> :: > ::> ::John L. Utz III > ::> ::john@utzweb.net > ::> :: > ::> ::Idiocy is the Impulse Function in the Convolution of Life > ::> :: > ::> :: > ::> > :: > ::-- > :: > ::John L. Utz III > ::john@utzweb.net > :: > ::Idiocy is the Impulse Function in the Convolution of Life > :: > :: > -- John L. Utz III john@utzweb.net Idiocy is the Impulse Function in the Convolution of Life To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Mar 29 19:57: 3 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from and.engin.umich.edu (and.engin.umich.edu [141.213.42.26]) by hub.freebsd.org (Postfix) with ESMTP id 0A93E37B430 for ; Fri, 29 Mar 2002 19:56:53 -0800 (PST) Received: from localhost (agorski@localhost [127.0.0.1]) by and.engin.umich.edu (8.9.3/8.9.1) with ESMTP id WAA13561; Fri, 29 Mar 2002 22:56:51 -0500 (EST) Date: Fri, 29 Mar 2002 22:56:51 -0500 (EST) From: "Adam D. Gorski" To: John Utz Cc: Subject: Re: SB problem (was: Cat'ing /dev/audio) SOLVED!!! In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Ok! The sound is working... let me give you a rundown of what happened... I couldn't get anything to work, as you all have noticed, so I sorta gave up. One of the guys who has an SB16 working under FreeBSD wouldn't let the matter go that easily, and he somehow obtained an Ensoniqu es1371 card. He told me to try it, and that if that didn't work, he didn't know what would. I took the card, put it in my box, fired it up, it got detected... but the sound was still screeching... even worse than before. Thinking that this could be an IRQ problem, I decided to gut my box. I took out both NIC cards, and disabled both IDE controllers in the BIOS. All I had left was my video card, my sound card, and my Promise PCI controller that connect to the IBM (FreeBSD) drive. I fired the box up, everything booted, the Ensonique was detected... but the sound was still shitty... better, but shitty. I basically said "screw this" and shut the box down... now, my box doesn't shut off automatically (since I have a UPS that I want to shut down with apcupsd in case of power failiure) so I turned it off by hand as many times before in the past 3 days... it sorta did a reset in a way, but I powered it down right after, not giving it a second thought. I put all cards back in, and decided to go back to my SB PCI 64 (es1370) since.. well, I dunno why, just did. I go to turn the PC on... nothing. Dead. I freak out. I try agian. Nothing. I unplug it, plug it back in, still zilch. I reset my UPS, but I just can't get the box to power up! I thought I blew my power supply and felt like crying for a while... I unplugged it once more and left it unplugged for 3 minutes or so.. plugged it back in, and bam! It powered up. I went into the BIOS to turn my onboard IDE controllers back on, but they already were... "what's this?" I thought. Turns out, somehow my BIOS got reset... I must have caused some sort of power surge and it wiped it. I checked all settings and noted that all were as I always had them, except something called "PCI Bus timer" or something like that... I had it set to 0 (don't remember ever chaning it though), now it was 32. I figure why mess with BIOS defaults that I know nothing about, so I left it. I booted into FreeBSD, and just for the hell of it, I tried an mp3... sweet monkey's uncle! It worked! Not a crackle, not a squeek, nothing! Pure crystal music! So uhm... what solved it? I guess manually resetting the BIOS... that's about the only thing I can think of. Maybe somehow, somwhere, over the past few years I changed something that Linux accepted (or ignored the dumb luser), but BSD took seriously... no clue. Either way, I just wanted to update you all with this (short story), and thank you all for responding! I am on my way to tweaking this box more, now that I can listen to some pretty music while doing it :) I knew _we_ could do it, - Adam On Fri, 29 Mar 2002, John Utz wrote: ::you have pretty much exhausted all of the things that i can think off. :: ::if you get it to work, plz let me know :-( :: ::On Fri, 29 Mar 2002, Adam D. Gorski wrote: :: ::> Ok, several responses to various recommendations/ideas are included here.. ::> first off.. I installed sox and performed the suggested downsampling. I took ::> a 44khz wav file and converted it to 38Khz, 22Khz, and 8Khz... all wav files ::> prdouced the same screeching as the 44Khz one. ::> ::> Next, I recompiled mpg123 and my kernel with i386 instead of p2 in ::> make.conf. That made no difference. ::> ::> I built my system up from source. After an initial 'bare' console install, I ::> did a cvsup to get /usr/src and /usr/ports, made world, made the kernel, ::> made X, etc., all using the optimizations I've mentioned. I do everything ::> 'properly' if you will, so for the kernel I started with the GENERIC file ::> which I modified based on reading LINT and various documents, and I compiled ::> it using 'make kernel KERNCONF=MYCONF'. As far as I know, I have done ::> everything 'according to the rules.' ::> ::> As I've said, 2 of my friends run the exact same card under 4.5 with no ::> problems... but let's not forget that my SP 64 (es1370) experiences the same ::> problem. It _could_ be that my clock is fast, but that would be odd... my ::> system was pretty good back in 98 when I built it.. just in case any of this ::> means anything: ::> ::> Asus P2B w/ P2-450 ::> Matrox G200 ::> 256MB ram ::> Promise ATA/100 Controller -> IBM Deskstar 20 gig, 7200 (BSD's Home :)) ::> Various other driver, nics, etc. ::> ::> The box has been humming flawlessly since I've put it together, with almost ::> no down time (other than moving from apartment to apartment). It ran Win98 ::> fine back in the day, then housed Linux for 2+ years... I figured I'd have ::> seen problems if there were any serious ones. ::> ::> Sorry to all those who don't give a crap, I didn't mean to spam this list ::> with my rather minor problem, but I don't really know who else to turn to :\ ::> ::> - Adam ::> ::> On Fri, 29 Mar 2002, John Utz wrote: ::> ::> ::On Fri, 29 Mar 2002, Adam D. Gorski wrote: ::> :: ::> ::> Well, I re-compiled mpg123 for i386, but it's still crackling... did you ::> ::> mean that I should recompile my whole system form the bottom up? I hope ::> ::> not... ::> :: ::> ::did you recompile the entire box with p2? if you did, then you probably ::> ::should recompile the whole thing. ::> :: ::> ::if you just compiled the kernel and the mods with p2, then just recompile ::> ::and reinstall those. ::> :: ::> ::refresh my memory, did you rebuild the whole machine from src? or did u ::> ::just do the kernel? ::> :: ::> ::and if you just did the kernel, did u just copy the kernel up to / or did ::> ::you do a make install? ::> :: ::> ::if you rebuilt the kernel and modules but didnt do a make install and ::> ::copied the kernel to / instead, then you have a kernel that was built with ::> ::p2 and modules that where not. ::> :: ::> ::> - Adam ::> ::> ::> ::> ::my current supposition is a math error, because i know that gcc with the ::> ::> ::more specialized cpu architecture setups isnt particularly well tested, ::> ::> ::and it's tested even less on freebsd! furthermore, preparing oggs and ::> ::> ::mp3's for play is a math intensive process, so any goof ups in the math ::> ::> ::code would be painfully evident. ::> ::> :: ::> ::> ::but, i am guessing. ::> ::> :: ::> ::> :: ::> ::> :: ::> ::> ::> Rahul ::> ::> ::> ::> ::> :: ::> ::> ::-- ::> ::> :: ::> ::> ::John L. Utz III ::> ::> ::john@utzweb.net ::> ::> :: ::> ::> ::Idiocy is the Impulse Function in the Convolution of Life ::> ::> :: ::> ::> :: ::> ::> ::> :: ::> ::-- ::> :: ::> ::John L. Utz III ::> ::john@utzweb.net ::> :: ::> ::Idiocy is the Impulse Function in the Convolution of Life ::> :: ::> :: ::> :: ::-- :: ::John L. Utz III ::john@utzweb.net :: ::Idiocy is the Impulse Function in the Convolution of Life :: :: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Mar 29 21:28:45 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from teryx.bobdbob.com (w178.z067105181.was-dc.dsl.cnc.net [67.105.181.178]) by hub.freebsd.org (Postfix) with ESMTP id E0A1637B404 for ; Fri, 29 Mar 2002 21:28:42 -0800 (PST) Received: (from protius@localhost) by teryx.bobdbob.com (8.11.6/8.9.3) id g2U5Sfn48977 for freebsd-multimedia@freebsd.org; Sat, 30 Mar 2002 00:28:41 -0500 (EST) (envelope-from protius) Date: Sat, 30 Mar 2002 00:28:41 -0500 (EST) From: Protius Message-Id: <200203300528.g2U5Sfn48977@teryx.bobdbob.com> To: freebsd-multimedia@freebsd.org Subject: Creative CT7160 mpeg card Reply-To: protius@bobdbob.com Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I've been playing with a Creative Labs CT7160 mpeg decoder card for the last couple of weeks, and I have vaguely functional FreeBSD device driver for it. http://www.bobdbob.com/~protius/ls220/ Is there any interest in this card/driver? Beta test, anyone? Does anyone have a clue why it insists upon using an audio sample rate of 48KHz, despite what the mpeg file itself says? Please CC replies directly, just in case I miss them on the mailling list... -Tommy "Microsoft wants shareholders. Open source programmers protius@bobdbob.com "want the damn thing to work." - Cliff Sarginson KE4ILZ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sat Mar 30 7:35:12 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from anchor-post-32.mail.demon.net (anchor-post-32.mail.demon.net [194.217.242.90]) by hub.freebsd.org (Postfix) with ESMTP id 4B52637B405 for ; Sat, 30 Mar 2002 07:35:08 -0800 (PST) Received: from vilnya.demon.co.uk ([158.152.19.238]) by anchor-post-32.mail.demon.net with esmtp (Exim 3.35 #1) id 16rKqc-000DLd-0W; Sat, 30 Mar 2002 15:32:56 +0000 Received: from haveblue (haveblue.rings [10.2.4.64]) by vilnya.demon.co.uk (Postfix) with SMTP id 70D6B10789; Sat, 30 Mar 2002 15:30:53 +0000 (GMT) Message-ID: <004001c1d7ff$e85b3b90$4004020a@haveblue> From: "Cameron Grant" To: "Adam D. Gorski" , "John Utz" Cc: References: Subject: Re: SB problem (was: Cat'ing /dev/audio) SOLVED!!! Date: Sat, 30 Mar 2002 15:31:05 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > somehow my BIOS got reset... I must have caused some sort of power surge and > it wiped it. I checked all settings and noted that all were as I always had > them, except something called "PCI Bus timer" or something like that... I > had it set to 0 (don't remember ever chaning it though), now it was 32. I > figure why mess with BIOS defaults that I know nothing about, so I left it. > I booted into FreeBSD, and just for the hell of it, I tried an mp3... sweet > monkey's uncle! It worked! Not a crackle, not a squeek, nothing! Pure > crystal music! > > So uhm... what solved it? I guess manually resetting the BIOS... that's > about the only thing I can think of. Maybe somehow, somwhere, over the past > few years I changed something that Linux accepted (or ignored the dumb > luser), but BSD took seriously... no clue. Either way, I just wanted to > update you all with this (short story), and thank you all for responding! I > am on my way to tweaking this box more, now that I can listen to some pretty > music while doing it :) that's the default latency timer; it controls how long a card gets to hold on to the bus each time it gains control. it can be overriden on a per card basis which the linux driver may do- we rely on the bios to set things up correctly. basically your box was ripping the bus out from under the soundcard in mid-transfer. -cg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sat Mar 30 13:15:43 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by hub.freebsd.org (Postfix) with SMTP id 2D3A037B41A for ; Sat, 30 Mar 2002 13:15:39 -0800 (PST) Received: (qmail 7398 invoked by uid 0); 30 Mar 2002 21:15:34 -0000 Received: from pd9003293.dip.t-dialin.net (HELO gmx.net) (217.0.50.147) by mail.gmx.net (mp007-rz3) with SMTP; 30 Mar 2002 21:15:34 -0000 Message-ID: <3CA62B03.4040606@gmx.net> Date: Sat, 30 Mar 2002 22:15:47 +0100 From: Michael Nottebrock User-Agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:0.9.9) Gecko/20020310 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Adam D. Gorski" Cc: bdodson@scms.utmb.edu, freebsd-multimedia@FreeBSD.ORG Subject: Re: SB problem (was: Cat'ing /dev/audio) References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Adam D. Gorski wrote: > Ok.. I compared dmesg versus pciconf -l, and I found this.. I dunno if this > means anything, but I figured I'd mention it... the first matching works, > which is for my 3Com card: > > * dmesg: > xl0: <3Com 3c900B-TPO Etherlink XL> port 0xd000-0xd07f mem > 0xe1000000-0xe100007f irq 9 at device 9.0 on pci0 > > * pciconf -l > xl0@pci0:9:0: class=0x020000 card=0x900410b7 chip=0x900410b7 rev=0x04 > hdr=0x00 > > So both show IRQ 9 (if I'm reading the output right) which seems fine.. > but.. check out my RTL and SB outputs: > > * dmesg > rl0: port 0x9800-0x98ff mem > 0xe0000000-0xe00000ff irq 11 at device 12.0 on pci0 > > pcm0: port 0xa000-0xa03f irq 10 at device 11.0 on pci0 > > * pciconf -l > rl0@pci0:12:0: class=0x020000 card=0x813910ec chip=0x813910ec rev=0x10 > hdr=0x00 > > pcm0@pci0:11:0: ^^ | Device number, not IRQ. -- Michael Nottebrock To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sat Mar 30 21: 3:27 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from jupiter.linuxengine.net (jupiter.linuxengine.net [209.61.188.254]) by hub.freebsd.org (Postfix) with ESMTP id E269237B416 for ; Sat, 30 Mar 2002 21:03:14 -0800 (PST) Received: from jupiterweb.commercevault.com (jupiterweb.commercevault.com [209.61.179.16] (may be forged)) by jupiter.linuxengine.net (8.11.6/8.11.0) with ESMTP id g2V53Bh09968; Sat, 30 Mar 2002 23:03:11 -0600 Date: Sat, 30 Mar 2002 23:03:11 -0600 (CST) From: John Utz X-X-Sender: john@jupiter.linuxengine.net To: "Adam D. Gorski" Cc: freebsd-multimedia@FreeBSD.ORG Subject: Re: SB problem (was: Cat'ing /dev/audio) SOLVED!!! In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org this is exactly the kind of story i love hearing. i'll save this bit of bios obscurata for the rest of my days. that's so weird, and cool! congrats! On Fri, 29 Mar 2002, Adam D. Gorski wrote: > Ok! The sound is working... let me give you a rundown of what happened... > > I couldn't get anything to work, as you all have noticed, so I sorta gave > up. One of the guys who has an SB16 working under FreeBSD wouldn't let the > matter go that easily, and he somehow obtained an Ensoniqu es1371 card. He > told me to try it, and that if that didn't work, he didn't know what would. > > I took the card, put it in my box, fired it up, it got detected... but the > sound was still screeching... even worse than before. Thinking that this > could be an IRQ problem, I decided to gut my box. I took out both NIC cards, > and disabled both IDE controllers in the BIOS. All I had left was my video > card, my sound card, and my Promise PCI controller that connect to the IBM > (FreeBSD) drive. I fired the box up, everything booted, the Ensonique was > detected... but the sound was still shitty... better, but shitty. I > basically said "screw this" and shut the box down... now, my box doesn't > shut off automatically (since I have a UPS that I want to shut down with > apcupsd in case of power failiure) so I turned it off by hand as many times > before in the past 3 days... it sorta did a reset in a way, but I powered it > down right after, not giving it a second thought. > > I put all cards back in, and decided to go back to my SB PCI 64 (es1370) > since.. well, I dunno why, just did. I go to turn the PC on... nothing. > Dead. I freak out. I try agian. Nothing. I unplug it, plug it back in, still > zilch. I reset my UPS, but I just can't get the box to power up! I thought I > blew my power supply and felt like crying for a while... I unplugged it once > more and left it unplugged for 3 minutes or so.. plugged it back in, and > bam! It powered up. I went into the BIOS to turn my onboard IDE controllers > back on, but they already were... "what's this?" I thought. Turns out, > somehow my BIOS got reset... I must have caused some sort of power surge and > it wiped it. I checked all settings and noted that all were as I always had > them, except something called "PCI Bus timer" or something like that... I > had it set to 0 (don't remember ever chaning it though), now it was 32. I > figure why mess with BIOS defaults that I know nothing about, so I left it. > I booted into FreeBSD, and just for the hell of it, I tried an mp3... sweet > monkey's uncle! It worked! Not a crackle, not a squeek, nothing! Pure > crystal music! > > So uhm... what solved it? I guess manually resetting the BIOS... that's > about the only thing I can think of. Maybe somehow, somwhere, over the past > few years I changed something that Linux accepted (or ignored the dumb > luser), but BSD took seriously... no clue. Either way, I just wanted to > update you all with this (short story), and thank you all for responding! I > am on my way to tweaking this box more, now that I can listen to some pretty > music while doing it :) > > I knew _we_ could do it, > > - Adam > > On Fri, 29 Mar 2002, John Utz wrote: > > ::you have pretty much exhausted all of the things that i can think off. > :: > ::if you get it to work, plz let me know :-( > :: > ::On Fri, 29 Mar 2002, Adam D. Gorski wrote: > :: > ::> Ok, several responses to various recommendations/ideas are included here.. > ::> first off.. I installed sox and performed the suggested downsampling. I took > ::> a 44khz wav file and converted it to 38Khz, 22Khz, and 8Khz... all wav files > ::> prdouced the same screeching as the 44Khz one. > ::> > ::> Next, I recompiled mpg123 and my kernel with i386 instead of p2 in > ::> make.conf. That made no difference. > ::> > ::> I built my system up from source. After an initial 'bare' console install, I > ::> did a cvsup to get /usr/src and /usr/ports, made world, made the kernel, > ::> made X, etc., all using the optimizations I've mentioned. I do everything > ::> 'properly' if you will, so for the kernel I started with the GENERIC file > ::> which I modified based on reading LINT and various documents, and I compiled > ::> it using 'make kernel KERNCONF=MYCONF'. As far as I know, I have done > ::> everything 'according to the rules.' > ::> > ::> As I've said, 2 of my friends run the exact same card under 4.5 with no > ::> problems... but let's not forget that my SP 64 (es1370) experiences the same > ::> problem. It _could_ be that my clock is fast, but that would be odd... my > ::> system was pretty good back in 98 when I built it.. just in case any of this > ::> means anything: > ::> > ::> Asus P2B w/ P2-450 > ::> Matrox G200 > ::> 256MB ram > ::> Promise ATA/100 Controller -> IBM Deskstar 20 gig, 7200 (BSD's Home :)) > ::> Various other driver, nics, etc. > ::> > ::> The box has been humming flawlessly since I've put it together, with almost > ::> no down time (other than moving from apartment to apartment). It ran Win98 > ::> fine back in the day, then housed Linux for 2+ years... I figured I'd have > ::> seen problems if there were any serious ones. > ::> > ::> Sorry to all those who don't give a crap, I didn't mean to spam this list > ::> with my rather minor problem, but I don't really know who else to turn to :\ > ::> > ::> - Adam > ::> > ::> On Fri, 29 Mar 2002, John Utz wrote: > ::> > ::> ::On Fri, 29 Mar 2002, Adam D. Gorski wrote: > ::> :: > ::> ::> Well, I re-compiled mpg123 for i386, but it's still crackling... did you > ::> ::> mean that I should recompile my whole system form the bottom up? I hope > ::> ::> not... > ::> :: > ::> ::did you recompile the entire box with p2? if you did, then you probably > ::> ::should recompile the whole thing. > ::> :: > ::> ::if you just compiled the kernel and the mods with p2, then just recompile > ::> ::and reinstall those. > ::> :: > ::> ::refresh my memory, did you rebuild the whole machine from src? or did u > ::> ::just do the kernel? > ::> :: > ::> ::and if you just did the kernel, did u just copy the kernel up to / or did > ::> ::you do a make install? > ::> :: > ::> ::if you rebuilt the kernel and modules but didnt do a make install and > ::> ::copied the kernel to / instead, then you have a kernel that was built with > ::> ::p2 and modules that where not. > ::> :: > ::> ::> - Adam > ::> ::> > ::> ::> ::my current supposition is a math error, because i know that gcc with the > ::> ::> ::more specialized cpu architecture setups isnt particularly well tested, > ::> ::> ::and it's tested even less on freebsd! furthermore, preparing oggs and > ::> ::> ::mp3's for play is a math intensive process, so any goof ups in the math > ::> ::> ::code would be painfully evident. > ::> ::> :: > ::> ::> ::but, i am guessing. > ::> ::> :: > ::> ::> :: > ::> ::> :: > ::> ::> ::> Rahul > ::> ::> ::> > ::> ::> :: > ::> ::> ::-- > ::> ::> :: > ::> ::> ::John L. Utz III > ::> ::> ::john@utzweb.net > ::> ::> :: > ::> ::> ::Idiocy is the Impulse Function in the Convolution of Life > ::> ::> :: > ::> ::> :: > ::> ::> > ::> :: > ::> ::-- > ::> :: > ::> ::John L. Utz III > ::> ::john@utzweb.net > ::> :: > ::> ::Idiocy is the Impulse Function in the Convolution of Life > ::> :: > ::> :: > ::> > :: > ::-- > :: > ::John L. Utz III > ::john@utzweb.net > :: > ::Idiocy is the Impulse Function in the Convolution of Life > :: > :: > -- John L. Utz III john@utzweb.net Idiocy is the Impulse Function in the Convolution of Life To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message