From owner-freebsd-multimedia Sun Sep 16 6:59:11 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from fepZ.post.tele.dk (fepz.post.tele.dk [195.41.46.133]) by hub.freebsd.org (Postfix) with ESMTP id 2933637B403 for ; Sun, 16 Sep 2001 06:59:09 -0700 (PDT) Received: from there ([62.243.124.171]) by fepZ.post.tele.dk (InterMail vM.4.01.03.21 201-229-121-121-20010307) with SMTP id <20010916135907.HEVY9437.fepZ.post.tele.dk@there> for ; Sun, 16 Sep 2001 15:59:07 +0200 Content-Type: text/plain; charset="iso-8859-1" From: Bjarne Wichmann Petersen To: freebsd-multimedia@freebsd.org Subject: Setting priority Date: Sun, 16 Sep 2001 16:01:19 +0200 X-Mailer: KMail [version 1.3] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20010916135907.HEVY9437.fepZ.post.tele.dk@there> 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 Is there some way to get the various mediaplayers running at a higher priority without having to login as superuser and renicing the process? Bjarne To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sun Sep 16 12: 0: 3 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from mule.aciri.org (mule.aciri.org [192.150.187.28]) by hub.freebsd.org (Postfix) with ESMTP id EFC3C37B401; Sun, 16 Sep 2001 11:59:53 -0700 (PDT) Received: from mule.aciri.org (localhost [127.0.0.1]) by mule.aciri.org (8.11.3/8.11.1) with ESMTP id f8GIxrN52078; Sun, 16 Sep 2001 11:59:53 -0700 (PDT) (envelope-from hodson@mule.aciri.org) Message-Id: <200109161859.f8GIxrN52078@mule.aciri.org> X-Mailer: exmh version 2.1.1 10/15/1999 To: sobomax@FreeBSD.org Cc: multimedia@FreeBSD.org, current@FreeBSD.org Reply-To: orion@FreeBSD.org In-reply-to: Your message of Sat, 15 Sep 2001 11:41:16 +0400 Subject: Re: " Making DMA buffer resizeable depending on audio speed/format " Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 16 Sep 2001 11:59:53 -0700 From: Orion Hodson 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 Maxim The sound driver interface provides the application writer the choice to set the buffering they require. This patch has obvious implications for the ordering of ioctl's that we may not want to introduce. I suspect (not insist :-) the two specific fixes you report are caused by: - mss maximum buffer size is too small (4096 bytes ~ 23 ms of CD quality audio). Your patch helps because you increase the default buffering to 16384 bytes. - digger relies on a sound library that does not always set the blocksize (there are paths in the SDL audio code where this is the case, eg esd). Your patch helps because it sets the default buffer size smaller. Increasing the default buffering is certainly an option we should consider. However, any application that wants low latency should talk to the sound device directly and use the existing ioctls to get this. AFAIK, these work very well, mail sound@freebsd.org if there are specific examples where this is not the case. Kind Regards - Orion In message ,Maxim Sobolev writes: > This is a multi-part message in MIME format. > > --192.168.1.100.0.526.1000539647.245.19907 > Content-Type: text/plain > > Hi there, > > I want to get your comments on the attached patch, which makes sound > driver resizing its DMA buffer according to the currently selected > audio speed/format. This is necessary because most audio hardware > supports wide range of speeds/formats, which makes it hard to define > one buffer size that will satisfy all supported formats and providing > minimal latency for the formats with low datarates, while good skip > protection for formats with high datarates. For example 4096 bytes used > now in most drivers doesn't protect data playing on 44kHz from skipping > when there is some kernel activity going on (for example output on > console or switching between consoles), while at the same time this > size means 0.5s latency for games that use 8kHz/8 bit audio formats, > which is a quite noticeable delay. > > Attached patch fixes some maximal buffer size, which is necessary > for proper registering with the DMA subsystem, while scales this > buffer down when format with lower datarate is selected. I'm running > this patch for a month on my -current system with OPL3-SA hardware > and so far it works like a charm - mpg123 no longer skips when I'm > scrolling in the editor running on console, while audio delay in > digger (22kHz, 8 bit, mono) is absolutely unnoticeable. > > This patch only improves mss driver, but it should be relatively > easy to modify other drivers as well (I do not have a hardware to > test changes on). > > Thank you in advance! > > -Maxim > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sun Sep 16 13:32:19 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from mx7.port.ru (mx7.port.ru [194.67.57.17]) by hub.freebsd.org (Postfix) with ESMTP id 492D137B408; Sun, 16 Sep 2001 13:32:13 -0700 (PDT) Received: from [62.244.28.189] (helo=notebook.vega.com) by mx7.port.ru with esmtp (Exim 3.14 #1) id 15iiaB-0003kl-00; Mon, 17 Sep 2001 00:32:05 +0400 To: orion@FreeBSD.ORG Cc: multimedia@FreeBSD.ORG, current@FreeBSD.ORG From: Maxim Sobolev Reply-To: sobomax@FreeBSD.org Subject: Re: " Making DMA buffer resizeable depending on audio speed/format " X-Mailer: Pygmy (v0.5.11) In-Reply-To: <200109161859.f8GIxrN52078@mule.aciri.org> Message-Id: Date: Mon, 17 Sep 2001 00:32:05 +0400 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 Sun, 16 Sep 2001 11:59:53 -0700, Orion Hodson wrote: > > Maxim > > The sound driver interface provides the application writer the choice to set > the buffering they require. This patch has obvious implications for the > ordering of ioctl's that we may not want to introduce. Yes, OSS interface allows for that, but currently FreeBSD doesn't fully provide applications with means to control buffering, because it only allows application to regulate front buffer size and state, while retains back buffer (i.e. DMA buffer) out of application's control, thus significantly lowering its ability to control audio latency. > I suspect (not insist :-) the two specific fixes you report are caused by: > > - mss maximum buffer size is too small (4096 bytes ~ 23 ms of CD quality > audio). Your patch helps because you increase the default buffering to 16384 > bytes. > > - digger relies on a sound library that does not always set the blocksize > (there are paths in the SDL audio code where this is the case, eg esd). Your > patch helps because it sets the default buffer size smaller. Not actually. If our pcm driver was correctly reporting its internal state then SDL would be able to cope with situation intelligently (it has the code to do so), but as long as now pcm driver doesn't reports to the application state of its DMA buffers the application has no ways to regulate buffering intelligently. You may want to look for my previous messages on topic (more than a year ago on multimedia@ list). I reduced this problem by downsizing a mss buffer size from the 64KB (sic!) to 4KB now, but this creates another problem with the high speed audio. :(( > Increasing the default buffering is certainly an option we should consider. > However, any application that wants low latency should talk to the sound > device directly and use the existing ioctls to get this. AFAIK, these work > very well, mail sound@freebsd.org if there are specific examples where this is > not the case. See above. -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sun Sep 16 14: 0:26 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from finch-post-10.mail.demon.net (finch-post-10.mail.demon.net [194.217.242.38]) by hub.freebsd.org (Postfix) with ESMTP id 5ED6437B40B; Sun, 16 Sep 2001 14:00:18 -0700 (PDT) Received: from vilnya.demon.co.uk ([158.152.19.238]) by finch-post-10.mail.demon.net with esmtp (Exim 2.12 #1) id 15ij1U-000Oba-0A; Sun, 16 Sep 2001 21:00:17 +0000 Received: from haveblue (haveblue.rings [10.2.4.5]) by vilnya.demon.co.uk (Postfix) with SMTP id D336C32622; Sun, 16 Sep 2001 21:58:58 +0100 (BST) Message-ID: <012801c13ef2$5d759800$0504020a@haveblue> From: "Cameron Grant" To: , Cc: , References: Subject: Re: " Making DMA buffer resizeable depending on audio speed/format " Date: Sun, 16 Sep 2001 21:58:41 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" 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 > > The sound driver interface provides the application writer the choice to set > > the buffering they require. This patch has obvious implications for the > > ordering of ioctl's that we may not want to introduce. > > Yes, OSS interface allows for that, but currently FreeBSD doesn't fully > provide applications with means to control buffering, because it only > allows application to regulate front buffer size and state, while retains > back buffer (i.e. DMA buffer) out of application's control, thus > significantly lowering its ability to control audio latency. we set the hardware buffer to the smaller of the application requested size and the maximum size supported by the hardware driver. > Not actually. If our pcm driver was correctly reporting its internal state > then SDL would be able to cope with situation intelligently (it has the code to > do so), but as long as now pcm driver doesn't reports to the application state > of its DMA buffers the application has no ways to regulate buffering > intelligently. You may want to look for my previous messages on topic (more > than a year ago on multimedia@ list). I reduced this problem by downsizing > a mss buffer size from the 64KB (sic!) to 4KB now, but this creates another > problem with the high speed audio. :(( have you tested this in the last 6 months? note that mss.c does not fully implement setblocksize. some drivers do not attempt to implement it at all, but the majority implement it correctly. -cg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sun Sep 16 16:12:20 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from mail.netrus.net (mail.netrus.net [206.251.192.232]) by hub.freebsd.org (Postfix) with ESMTP id D6BA937B415 for ; Sun, 16 Sep 2001 16:12:17 -0700 (PDT) Received: from eyrie.homenet (whee@dialin-pm3-miami-FL-2-162.netrus.net [206.251.198.162]) by mail.netrus.net (8.8.8/8.8.8) with ESMTP id SAA12605 for ; Sun, 16 Sep 2001 18:12:37 -0400 Received: (from troc@localhost) by eyrie.homenet (8.11.4/8.11.4) id f8GNCFV05323 for freebsd-multimedia@freebsd.org; Sun, 16 Sep 2001 19:12:15 -0400 (EDT) (envelope-from troc) Date: Sun, 16 Sep 2001 19:12:14 -0400 From: Rocco Caputo To: freebsd-multimedia@freebsd.org Subject: Re: Setting priority Message-ID: <20010916191214.C1012@eyrie.homenet> References: <20010916135907.HEVY9437.fepZ.post.tele.dk@there> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010916135907.HEVY9437.fepZ.post.tele.dk@there>; from mekanix@privat.dk on Sun, Sep 16, 2001 at 04:01:19PM +0200 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 Sun, Sep 16, 2001 at 04:01:19PM +0200, Bjarne Wichmann Petersen wrote: > Is there some way to get the various mediaplayers running at a higher > priority without having to login as superuser and renicing the process? > > Bjarne I use sudo to invoke (as root) a script like this: #!/bin/sh exec /usr/sbin/rtprio 16 /usr/bin/su troc -c /usr/X11R6/bin/xmms ... which runs xmms at realtime priority, but as me, not root. It assumes a specific login ID, which probably isn't a big deal. Make sure the script's permissions are locked tight. -- Rocco Caputo / troc@netrus.net / poe.perl.org / poe.sourceforge.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Mon Sep 17 8: 0:16 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from D00015.dialonly.kemerovo.su (www2.svzserv.kemerovo.su [213.184.65.86]) by hub.freebsd.org (Postfix) with ESMTP id 2034B37B414; Mon, 17 Sep 2001 08:00:08 -0700 (PDT) Received: from svzserv.kemerovo.su (localhost.dialonly.kemerovo.su [127.0.0.1]) by D00015.dialonly.kemerovo.su (8.11.6/8.11.4) with ESMTP id f8HEtaE04680; Mon, 17 Sep 2001 22:55:37 +0800 (KRAST) (envelope-from eugen@svzserv.kemerovo.su) Message-ID: <3BA60EE8.EDDF0E5C@svzserv.kemerovo.su> Date: Mon, 17 Sep 2001 22:55:36 +0800 From: Eugene Grosbein Organization: SVZServ X-Mailer: Mozilla 4.76 [ru] (X11; U; FreeBSD 4.4-RC i386) X-Accept-Language: ru, en MIME-Version: 1.0 To: freebsd-multimedia@freebsd.org Cc: freebsd-stable@freebsd.org, freebsd-ports@freebsd.FreeBSD.ORG, .org@svzserv.kemerovo.su Subject: [SOLVED] Broken sound with 4.4-RC Content-Type: text/plain; charset=koi8-r 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 > I was running old 4.3-STABLE and sound worked fine. > After updating to 4.4-RC via cvsup (past 4.4RC4-STATE) > audo playback suffers of frequent breakages: instead of music > I hear metallic jar within less then a second. Then music > continues, then another jar etc. Very annoying. > I use pcm driver. I found the source of this jar. I'he installed 'gkrellm' from ports. It's installed as root:kmem with SUID bit (no SGID, however). Running gkrellm while audio playback produces sound breakage. The solution is removing SUID bit from gkrellm binary. All metallic effects have disappeared now. Eugene Grosbein To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Mon Sep 17 19:24:55 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from guru.mired.org (okc-94-248-46.mmcable.com [24.94.248.46]) by hub.freebsd.org (Postfix) with SMTP id 4192037B40D for ; Mon, 17 Sep 2001 19:24:49 -0700 (PDT) Received: (qmail 80903 invoked by uid 100); 18 Sep 2001 02:24:46 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15270.45166.357473.814933@guru.mired.org> Date: Mon, 17 Sep 2001 21:24:46 -0500 To: Eugene Grosbein Cc: freebsd-multimedia@freebsd.org, freebsd-stable@freebsd.org, freebsd-ports@freebsd.FreeBSD.ORG, .org@svzserv.kemerovo.su Subject: Re: [SOLVED] Broken sound with 4.4-RC In-Reply-To: <3BA60EE8.EDDF0E5C@svzserv.kemerovo.su> References: <3BA60EE8.EDDF0E5C@svzserv.kemerovo.su> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ 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 Eugene Grosbein types: > > I was running old 4.3-STABLE and sound worked fine. > > After updating to 4.4-RC via cvsup (past 4.4RC4-STATE) > > audo playback suffers of frequent breakages: instead of music > > I hear metallic jar within less then a second. Then music > > continues, then another jar etc. Very annoying. > > I use pcm driver. > I found the source of this jar. > I'he installed 'gkrellm' from ports. > It's installed as root:kmem with SUID bit (no SGID, however). > Running gkrellm while audio playback produces sound breakage. > The solution is removing SUID bit from gkrellm binary. > All metallic effects have disappeared now. There have been multiple reports of gkrellm causing SMP systems to freeze - more accurately, gkrellm plugins cause this to happen. Which prompts me to ask if you are running SMP, and if you have any gkrellm plugins running. FWIW, if you define WITHOUT_SENSOR when you install gkrellm, it will not turn on the SUID bit on the binary. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Tue Sep 18 2:58:40 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from casper.imasy.or.jp (casper.imasy.or.jp [202.227.24.9]) by hub.freebsd.org (Postfix) with ESMTP id 416BE37B403; Tue, 18 Sep 2001 02:58:32 -0700 (PDT) Received: from piano.mahoroba.org (IDENT:w/j8YnXl4OYr5qW4r/xgKXzaXUV5h0RjArqtoNCp+ehKarYkE4EdTiSaIsC/trVF@piano.mob.spacecom.netspace.or.jp [3ffe:505:200f:2000:200:f4ff:fe5e:7147]) (authenticated as ume with DIGEST-MD5) by casper.imasy.or.jp (8.11.6/8.11.6/casper) with ESMTP/inet6 id f8I9wGe15614 (using TLSv1/SSLv3 with cipher EDH-RSA-DES-CBC3-SHA (168 bits) verified OK); Tue, 18 Sep 2001 18:58:22 +0900 (JST) (envelope-from ume@mahoroba.org) Received: from piano.mahoroba.org (IDENT:ZgH2L/iaUZteiy44vCvwPQzvBYyQVDFo4SUS7qz1R6NqKzWt03UUXLgGzWUPVRLV@localhost [IPv6:::1]) by piano.mahoroba.org (8.12.0.Beta19/8.12.0.Beta19/piano) with ESMTP id f8I9vrM7029479; Tue, 18 Sep 2001 18:57:57 +0900 (JST) (envelope-from ume@mahoroba.org) Date: Tue, 18 Sep 2001 18:57:52 +0900 Message-ID: From: Hajimu UMEMOTO To: Mike Meyer Cc: Eugene Grosbein , freebsd-multimedia@freebsd.org, freebsd-stable@freebsd.org, freebsd-ports@freebsd.FreeBSD.ORG Subject: Re: [SOLVED] Broken sound with 4.4-RC In-Reply-To: <15270.45166.357473.814933@guru.mired.org> References: <3BA60EE8.EDDF0E5C@svzserv.kemerovo.su> <15270.45166.357473.814933@guru.mired.org> User-Agent: xcite1.38> Wanderlust/2.4.1 (Stand By Me) SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) Emacs/20.7 (i386--freebsd) MULE/4.0 (=?ISO-2022-JP?B?GyRCMlYxYxsoQg==?=) X-Operating-System: FreeBSD 4.4-RELEASE MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") 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, >>>>> On Mon, 17 Sep 2001 21:24:46 -0500 >>>>> Mike Meyer said: mwm> FWIW, if you define WITHOUT_SENSOR when you install gkrellm, it will mwm> not turn on the SUID bit on the binary. I turnd it default, yesterday. Now, you can enable sensor by specifying WITH_SENSOR, instead. Sincerely, -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@bisd.hitachi.co.jp ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Tue Sep 18 11:47:16 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from hindenburg.eboai.org (hindenburg.eboai.org [206.183.134.245]) by hub.freebsd.org (Postfix) with ESMTP id 1958337B405 for ; Tue, 18 Sep 2001 11:47:14 -0700 (PDT) Received: by hindenburg.eboai.org (Postfix, from userid 1000) id 476FA5E2DB; Tue, 18 Sep 2001 14:47:13 -0400 (EDT) Date: Tue, 18 Sep 2001 14:47:13 -0400 From: Chip Marshall To: freebsd-multimedia@freebsd.org Subject: Driver for USB cameras Message-ID: <20010918144713.A55035@setzer.chocobo.cx> Reply-To: chip@chocobo.cx Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.20i X-URL: http://www.chocobo.cx/chip/ X-OS: FreeBSD 4.2-RELEASE i386 up 124 days, 2:43 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 was just thinking that it would be nice to be able to access USB cameras via the same sort of methods used to access meteor and bktr cards, rather than via a userland application. Would it be worthwhile to turn the vid program for accessing OV511 USB cameras into a device driver with a bktr/meteor style interface? -- Chip Marshall http://www.chocobo.cx/chip/ GCM/CS d+(-) s+:++ a20>? C++ UB++++$ P+++$ L- E--- W++ N+@ o K- w O M+ V-- PS PE Y? PGP++ t+@ 5 X R>+ tv+() b++>+++ DI++++ D(-) G++ e>++ h!>++ r-- y- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Thu Sep 20 8:30:46 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from fepF.post.tele.dk (fepF.post.tele.dk [195.41.46.135]) by hub.freebsd.org (Postfix) with ESMTP id 60CF837B40A for ; Thu, 20 Sep 2001 08:30:43 -0700 (PDT) Received: from there ([62.243.124.171]) by fepF.post.tele.dk (InterMail vM.4.01.03.21 201-229-121-121-20010307) with SMTP id <20010920153041.QSJQ2356.fepF.post.tele.dk@there> for ; Thu, 20 Sep 2001 17:30:41 +0200 Content-Type: text/plain; charset="iso-8859-1" From: Bjarne Wichmann Petersen To: freebsd-multimedia@freebsd.org Subject: Choosing a soundcard. Date: Thu, 20 Sep 2001 17:32:57 +0200 X-Mailer: KMail [version 1.3] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20010920153041.QSJQ2356.fepF.post.tele.dk@there> 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'm currently using a SB PCI 128. Most of the time I'm quite pleased with it. Playing MP3's and various systemsound. But playing DVD's (vlc etc.) a few mp3's and some games I get this scratchy, electric sound like some bad wiring or something. I can't figure out whether it's the soundcard or some bad decoding going on? Is SB PCI128 suited for movies and such? Would a jump to eg. SB Live 5.1 stop these articfacts? Bjarne To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Thu Sep 20 19:43: 6 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from cain.gsoft.com.au (genesi.lnk.telstra.net [139.130.136.161]) by hub.freebsd.org (Postfix) with ESMTP id 6034E37B419 for ; Thu, 20 Sep 2001 19:42:54 -0700 (PDT) Received: from cain.gsoft.com.au (root@spare0.gsoft.com.au [203.38.152.114]) by cain.gsoft.com.au (8.8.8/8.8.8) with ESMTP id MAA23300; Fri, 21 Sep 2001 12:12:43 +0930 (CST) (envelope-from doconnor@gsoft.com.au) Message-ID: X-Mailer: XFMail 1.5.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20010920153041.QSJQ2356.fepF.post.tele.dk@there> Date: Fri, 21 Sep 2001 12:12:43 +0930 (CST) From: "Daniel O'Connor" To: Bjarne Wichmann Petersen Subject: RE: Choosing a soundcard. Cc: freebsd-multimedia@freebsd.org 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 20-Sep-2001 Bjarne Wichmann Petersen wrote: > But playing DVD's (vlc etc.) a few mp3's and some games I get this scratchy, > electric sound like some bad wiring or something. I can't figure out whether > it's the soundcard or some bad decoding going on? > Is SB PCI128 suited for movies and such? I think there is a bug in the pcm driver to do with sample rate conversion. I get the effect you describe in mplayer when playing 48kHz sound tracks unless I force it to play at 44.1kHz. Not really sure about it though.. --- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Sep 21 3: 2:23 2001 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 7422737B422 for ; Fri, 21 Sep 2001 03:02:18 -0700 (PDT) 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 f8LA29n48883 ; Fri, 21 Sep 2001 12:02:09 +0200 (CEST) Received: from (rsidd@localhost) by corto.lpt.ens.fr (8.9.3/jtpda-5.3.1) id MAA43329 ; Fri, 21 Sep 2001 12:02:08 +0200 (CEST) Date: Fri, 21 Sep 2001 12:02:08 +0200 From: Rahul Siddharthan To: "Daniel O'Connor" Cc: Bjarne Wichmann Petersen , freebsd-multimedia@FreeBSD.ORG Subject: Re: Choosing a soundcard. Message-ID: <20010921120208.C42208@lpt.ens.fr> References: <20010920153041.QSJQ2356.fepF.post.tele.dk@there> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from doconnor@gsoft.com.au on Fri, Sep 21, 2001 at 12:12:43PM +0930 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 Daniel O'Connor said on Sep 21, 2001 at 12:12:43: > > On 20-Sep-2001 Bjarne Wichmann Petersen wrote: > > But playing DVD's (vlc etc.) a few mp3's and some games I get > > this scratchy, electric sound like some bad wiring or something. > > I can't figure out whether it's the soundcard or some bad > > decoding going on? Is SB PCI128 suited for movies and such? > > I think there is a bug in the pcm driver to do with sample rate > conversion. > > I get the effect you describe in mplayer when playing 48kHz sound > tracks unless I force it to play at 44.1kHz. Yes, I have the opposite problem: my sound card accepts only 48000 Hz and the pcm driver's upsampling of 44100 Hz sound doesn't seem satisfactory. It's not a scratchy electrical sound though, just a slight distortion more audible in some kinds of music than in others. On the other hand, if I try to record from the mic at a frequency lower than 48000 Hz, I do get a noise exactly like what you describe (a scratchy electrical sound). Earlier on this list I was told the distortion may be an issue with the driver for my card (VIA VT82C686A) but quite definitely it's an issue with the upsampling, so maybe it affects other cards too. I get around it by playing all my sound through KDE's aRts, which seems to do the upsampling correctly. But there are other issues with using aRts on FreeBSD, and besides, not all non-KDE software supports it (xmms and ogg123 do, though). I haven't tried mplayer. - Rahul To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Sep 21 7:24:34 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from fepC.post.tele.dk (fepC.post.tele.dk [195.41.46.147]) by hub.freebsd.org (Postfix) with ESMTP id 4CA9E37B40D for ; Fri, 21 Sep 2001 07:24:31 -0700 (PDT) Received: from there ([62.243.124.171]) by fepC.post.tele.dk (InterMail vM.4.01.03.21 201-229-121-121-20010307) with SMTP id <20010921142429.QPUH10378.fepC.post.tele.dk@there>; Fri, 21 Sep 2001 16:24:29 +0200 Content-Type: text/plain; charset="iso-8859-1" From: Bjarne Wichmann Petersen To: Rahul Siddharthan , "Daniel O'Connor" Subject: Re: Choosing a soundcard. Date: Fri, 21 Sep 2001 16:26:45 +0200 X-Mailer: KMail [version 1.3] Cc: freebsd-multimedia@FreeBSD.ORG References: <20010920153041.QSJQ2356.fepF.post.tele.dk@there> <20010921120208.C42208@lpt.ens.fr> In-Reply-To: <20010921120208.C42208@lpt.ens.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20010921142429.QPUH10378.fepC.post.tele.dk@there> 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 Friday 21 September 2001 12:02, Rahul Siddharthan wrote: > Yes, I have the opposite problem: my sound card accepts only 48000 Hz > and the pcm driver's upsampling of 44100 Hz sound doesn't seem > satisfactory. VLC have the option to choose the output (44k1 vs. 48k) but I couldn't hear any difference. > It's not a scratchy electrical sound though, just a > slight distortion more audible in some kinds of music than in others. > On the other hand, if I try to record from the mic at a frequency > lower than 48000 Hz, I do get a noise exactly like what you describe > (a scratchy electrical sound). Earlier on this list I was told the > distortion may be an issue with the driver for my card (VIA VT82C686A) > but quite definitely it's an issue with the upsampling, so maybe it > affects other cards too. Well I have this with both AOpen AX59Pro (VIA MVP3) and EPoX 8KTA+ (VIA KT133A) and with both SB and EPoX's on board soundchip. And moreover I get it not only with BSD but with Windows as well (eg. Deus Ex in the scenes with speach). So I'm not entirely convinced it's a driver-issue. But if it were, is SB Live (EMU101) better supported with pcm than the cheaper SB PCI XX? > I get around it by playing all my sound through KDE's aRts, which > seems to do the upsampling correctly. But there are other issues with > using aRts on FreeBSD, and besides, not all non-KDE software supports > it (xmms and ogg123 do, though). I haven't tried mplayer. You got aRts working with xmms??? Please mail me a binary!! I haven't been able to get it working here! Bjarne To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Sep 21 8: 6:18 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from cain.gsoft.com.au (genesi.lnk.telstra.net [139.130.136.161]) by hub.freebsd.org (Postfix) with ESMTP id C696A37B41B for ; Fri, 21 Sep 2001 08:06:10 -0700 (PDT) Received: from cain.gsoft.com.au (root@spare0.gsoft.com.au [203.38.152.114]) by cain.gsoft.com.au (8.8.8/8.8.8) with ESMTP id AAA02381; Sat, 22 Sep 2001 00:35:58 +0930 (CST) (envelope-from doconnor@gsoft.com.au) Message-ID: X-Mailer: XFMail 1.5.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20010921142429.QPUH10378.fepC.post.tele.dk@there> Date: Sat, 22 Sep 2001 00:35:56 +0930 (CST) From: "Daniel O'Connor" To: Bjarne Wichmann Petersen Subject: Re: Choosing a soundcard. Cc: freebsd-multimedia@FreeBSD.ORG Cc: freebsd-multimedia@FreeBSD.ORG, Rahul Siddharthan 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 21-Sep-2001 Bjarne Wichmann Petersen wrote: > On Friday 21 September 2001 12:02, Rahul Siddharthan wrote: > not only with BSD but with Windows as well (eg. Deus Ex in the scenes with > speach). So I'm not entirely convinced it's a driver-issue. That kind of suggests its hardware to me :) > But if it were, is SB Live (EMU101) better supported with pcm than the > cheaper SB PCI XX? Don't really know.. About the same I think, but under Windows you'd get nice surround sound :) > You got aRts working with xmms??? Please mail me a binary!! I haven't been > able to get it working here! I use gqmpeg :) (And no artsd) --- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Sep 21 9: 6:56 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from ewey.excite.com (ewey-rwcmta.excite.com [198.3.99.191]) by hub.freebsd.org (Postfix) with ESMTP id 21C7537B41B for ; Fri, 21 Sep 2001 09:06:55 -0700 (PDT) Received: from frente.excite.com ([199.172.157.226]) by ewey.excite.com (InterMail vM.4.01.02.39 201-229-119-122) with ESMTP id <20010921160654.NUNG7149.ewey.excite.com@frente.excite.com>; Fri, 21 Sep 2001 09:06:54 -0700 Message-ID: <5545742.1001088414651.JavaMail.imail@frente.excite.com> Date: Fri, 21 Sep 2001 09:06:52 -0700 (PDT) From: Matt Lipa To: multimedia@freebsd.org Subject: Sound card Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Sender-Ip: 24.254.21.2 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 hello, I am trying to compile my kernel to use my sound card. I have read LINT and the sound.doc that it referances. My problem is that I have a Soundblaster Live. If you could tell me how to specify that in the kernel, or let me know where I could find it that would be great. Also, I am probably not the first to ask you abou this, so maybe Soundblaster Live and Soundblaster Platinum would be nice additions to the LINT file. It seems to me a lot of people are turning their machines into Freebsd workstations, as I am, so adding support for those cards would be benificial. Anyways, any help would be greatly appreciated. Thank you for any help you can provide. ~Matt _______________________________________________________ http://inbox.excite.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Sep 21 9:18: 4 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from smtpproxy1.mitre.org (smtpproxy1.mitre.org [129.83.20.90]) by hub.freebsd.org (Postfix) with ESMTP id 2BC9937B418 for ; Fri, 21 Sep 2001 09:17:56 -0700 (PDT) Received: from avsrv1.mitre.org (avsrv1.mitre.org [129.83.20.58]) by smtpproxy1.mitre.org (8.11.3/8.11.3) with ESMTP id f8LGHsE20211; Fri, 21 Sep 2001 12:17:54 -0400 (EDT) Received: from MAILHUB2 (mailhub2.mitre.org [129.83.221.18]) by smtpsrv1.mitre.org (8.11.3/8.11.3) with ESMTP id f8LGHrf22240; Fri, 21 Sep 2001 12:17:53 -0400 (EDT) Received: from dhcp-105-164.mitre.org (128.29.105.164) by mailhub2.mitre.org with SMTP id 7799605; Fri, 21 Sep 2001 12:17:51 -0400 Message-ID: <3BAB6830.F9C0DBAA@mitre.org> Date: Fri, 21 Sep 2001 12:17:52 -0400 From: Jason Andresen Organization: The MITRE Corporation X-Mailer: Mozilla 4.75 [en]C-20000818M (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Matt Lipa Cc: multimedia@freebsd.org Subject: Re: Sound card References: <5545742.1001088414651.JavaMail.imail@frente.excite.com> 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 Matt Lipa wrote: > > hello, > I am trying to compile my kernel to use my sound card. I have read LINT and > the sound.doc that it referances. My problem is that I have a Soundblaster > Live. If you could tell me how to specify that in the kernel, or let me know > where I could find it that would be great. Also, I am probably not the > first to ask you abou this, so maybe Soundblaster Live and Soundblaster > Platinum would be nice additions to the LINT file. It seems to me a lot of > people are turning their machines into Freebsd workstations, as I am, so > adding support for those cards would be benificial. Anyways, any help would > be greatly appreciated. Thank you for any help you can provide. The sound is really easy to configure in the kernel now, it's one line: device pcm It's even modularized so you don't necessarily have to build it into the kernel directly. -- \ |_ _|__ __|_ \ __| Jason Andresen jandrese@mitre.org |\/ | | | / _| Network and Distributed Systems Engineer _| _|___| _| _|_\___| Office: 703-883-7755 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Sep 21 9:21:39 2001 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 503BE37B405 for ; Fri, 21 Sep 2001 09:21:35 -0700 (PDT) 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 f8LGLXn89182 ; Fri, 21 Sep 2001 18:21:33 +0200 (CEST) Received: from (rsidd@localhost) by corto.lpt.ens.fr (8.9.3/jtpda-5.3.1) id SAA60289 ; Fri, 21 Sep 2001 18:21:32 +0200 (CEST) Date: Fri, 21 Sep 2001 18:21:32 +0200 From: Rahul Siddharthan To: Bjarne Wichmann Petersen Cc: "Daniel O'Connor" , freebsd-multimedia@FreeBSD.ORG Subject: Re: Choosing a soundcard. Message-ID: <20010921182132.A51229@lpt.ens.fr> References: <20010920153041.QSJQ2356.fepF.post.tele.dk@there> <20010921120208.C42208@lpt.ens.fr> <20010921142429.QPUH10378.fepC.post.tele.dk@there> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010921142429.QPUH10378.fepC.post.tele.dk@there>; from mekanix@privat.dk on Fri, Sep 21, 2001 at 04:26:45PM +0200 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 Bjarne Wichmann Petersen said on Sep 21, 2001 at 16:26:45: > You got aRts working with xmms??? Please mail me a binary!! I haven't been > able to get it working here! The binary is unchanged (use the FreeBSD port). What you need to do is compile the xmms arts plugin separately (can download from the xmms web page, it compiled out of the box for me) and install it in /usr/X11R6/lib/xmms/Output/ ("make install" should install it ok, give the prefix as /usr/X11R6 when configuring). I could email it to you but it's probably better if you compile it yourself with your installed xmms headers etc. There's still an issue where it often complains of not being able to load the arts plugin. In that case you need to get hold of the shared library libgcc.so (not compiled in gcc by default, but you can get instructions on the web) and install it somewhere, say ~/lib, and type (if csh/tcsh) setenv LD_PRELOAD ~/lib/libgcc.so before starting xmms. R To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sat Sep 22 15:14:40 2001 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 2FB1837B428 for ; Sat, 22 Sep 2001 15:14:37 -0700 (PDT) Received: from bluerondo.a.la.turk (nas-cbv-4-25-225.dial.proxad.net [213.228.25.225]) by postfix2-1.free.fr (Postfix) with ESMTP id 674C9346 for ; Sun, 23 Sep 2001 00:14:35 +0200 (CEST) Received: (qmail 484 invoked by uid 1001); 22 Sep 2001 22:11:04 -0000 Date: Sun, 23 Sep 2001 00:11:04 +0200 From: Rahul Siddharthan To: Bjarne Wichmann Petersen Cc: Rahul Siddharthan , Daniel O'Connor , freebsd-multimedia@FreeBSD.ORG Subject: Re: Choosing a soundcard. Message-ID: <20010923001104.B373@lpt.ens.fr> References: <20010920153041.QSJQ2356.fepF.post.tele.dk@there> <20010921142429.QPUH10378.fepC.post.tele.dk@there> <20010921182132.A51229@lpt.ens.fr> <20010922184344.BPCL1168.fepA.post.tele.dk@there> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010922184344.BPCL1168.fepA.post.tele.dk@there>; from mekanix@privat.dk on Sat, Sep 22, 2001 at 08:46:04PM +0200 X-Operating-System: FreeBSD 4.4-PRERELEASE 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 Bjarne Wichmann Petersen said on Sep 22, 2001 at 20:46:04: > > > The binary is unchanged (use the FreeBSD port). What you need to > > do is compile the xmms arts plugin separately (can download from the > > xmms web page, it compiled out of the box for me) > > well, I seem to recall that I needed to point to the xmms-headers (and the > gtk as well?), You need the headers in compiling the arts backend, yes. If you compiled that successfully, that's all you need, I think. > > There's still an issue where it often complains of not being able to > > load the arts plugin. In that case you need to get hold of the > > shared library libgcc.so (not compiled in gcc by default, but you can > > get instructions on the web) and install it somewhere, say ~/lib, > > and type (if csh/tcsh) > > setenv LD_PRELOAD ~/lib/libgcc.so > > before starting xmms. > > I've done all this, but still get the same error. Hm, well it works for me. Try the arts mailing list, maybe.... R To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sat Sep 22 15:22: 7 2001 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 8DB1737B40D for ; Sat, 22 Sep 2001 15:22:04 -0700 (PDT) Received: from bluerondo.a.la.turk (nas-cbv-4-25-225.dial.proxad.net [213.228.25.225]) by postfix2-2.free.fr (Postfix) with ESMTP id E869E5F816 for ; Sun, 23 Sep 2001 00:22:02 +0200 (CEST) Received: (qmail 726 invoked by uid 1001); 22 Sep 2001 22:21:57 -0000 Date: Sun, 23 Sep 2001 00:21:57 +0200 From: Rahul Siddharthan To: Bjarne Wichmann Petersen Cc: Daniel O'Connor , freebsd-multimedia@FreeBSD.ORG Subject: Re: Choosing a soundcard. Message-ID: <20010923002157.A708@lpt.ens.fr> References: <20010920153041.QSJQ2356.fepF.post.tele.dk@there> <20010921142429.QPUH10378.fepC.post.tele.dk@there> <20010921182132.A51229@lpt.ens.fr> <20010922184344.BPCL1168.fepA.post.tele.dk@there> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010922184344.BPCL1168.fepA.post.tele.dk@there>; from mekanix@privat.dk on Sat, Sep 22, 2001 at 08:46:04PM +0200 X-Operating-System: FreeBSD 4.4-PRERELEASE 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 Bjarne Wichmann Petersen said on Sep 22, 2001 at 20:46:04: > > > There's still an issue where it often complains of not being able to > > load the arts plugin. In that case you need to get hold of the > > shared library libgcc.so (not compiled in gcc by default, but you can > > get instructions on the web) and install it somewhere, say ~/lib, > > and type (if csh/tcsh) > > setenv LD_PRELOAD ~/lib/libgcc.so > > before starting xmms. > > I've done all this, but still get the same error. Obvious remark, sorry if it sounds stupid, but - are you starting xmms from the same shell where you set the LD_PRELOAD variable? Of course, it won't work if you're clicking on an icon or something. - Rahul To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sat Sep 22 18:20: 6 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from iwat.resnet.bucknell.edu (iwat.resnet.bucknell.edu [134.82.88.20]) by hub.freebsd.org (Postfix) with ESMTP id 81D1037B41E for ; Sat, 22 Sep 2001 18:20:01 -0700 (PDT) Received: (from iwat@localhost) by iwat.resnet.bucknell.edu (8.11.6/8.11.6) id f8N1K1B45713 for freebsd-multimedia@FreeBSD.org; Sat, 22 Sep 2001 21:20:01 -0400 (EDT) (envelope-from iwat) Date: Sat, 22 Sep 2001 21:20:01 -0400 From: Ian Wat To: freebsd-multimedia@FreeBSD.org Subject: XMMS cpu usage Message-ID: <20010922212001.A45682@iwat.resnet.bucknell.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Editor: Vim http://www.vim.org/ X-Info: http://www.students.bucknell.edu/iwat X-Operating-System: FreeBSD/4.4-STABLE (i386) X-Uptime: 9:19PM up 2 days, 23:49, 1 user, load averages: 0.05, 0.06, 0.16 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 Hello, I'm experiencing a lot of CPU usage when running XMMS. About 15-20% when playing mp3/ogg files and about 2-3% when not. XMMS (1.2.5) is compiled from ports and I'm using the PCM driver as a module. From the information from mailing lists and such, it seems like a threading issue. Anybody have any ideas? FreeBSD Audio Driver (newpcm) Sep 19 2001 21:23:17 Installed devices: pcm0: at io 0xb800 irq 5 (4p/3r/0v channels duplex) /---------------------------------------------------------------------------\ | Ian J Wat || http://www.students.bucknell.edu/iwat | | Bucknell University || http://www.bucknell.edu | | Lewisburg, Pennsylvania || | \---------------------------------------------------------------------------/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message