From owner-freebsd-multimedia Sun Sep 9 7: 1:47 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from mta06-svc.ntlworld.com (mta06-svc.ntlworld.com [62.253.162.46]) by hub.freebsd.org (Postfix) with ESMTP id 33E1537B409 for ; Sun, 9 Sep 2001 07:01:44 -0700 (PDT) Received: from sobek.lan ([62.252.13.75]) by mta06-svc.ntlworld.com (InterMail vM.4.01.03.00 201-229-121) with ESMTP id <20010909140142.TIEM288.mta06-svc.ntlworld.com@sobek.lan>; Sun, 9 Sep 2001 15:01:42 +0100 Received: (from greid@localhost) by sobek.lan (8.11.5/8.11.5) id f89E1eR55875; Sun, 9 Sep 2001 15:01:40 +0100 (BST) (envelope-from greid@FreeBSD.org) X-Authentication-Warning: sobek.lan: greid set sender to greid@FreeBSD.org using -f Date: Sun, 9 Sep 2001 15:01:40 +0100 From: George Reid To: Kevin Bailey Cc: freebsd-multimedia@FreeBSD.org Subject: Re: Device/kernel config Message-ID: <20010909150140.A55763@FreeBSD.org> References: <20010906094750.A590@stout.troikanetworks.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="zhXaljGHf11kAtnf" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010906094750.A590@stout.troikanetworks.com>; from ke-news@retriever.dyndns.org on Thu, Sep 06, 2001 at 09:47:50AM -0700 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 --zhXaljGHf11kAtnf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 06, 2001 at 09:47:50AM -0700, Kevin Bailey wrote: > I'm trying to get working an old sound card that I just started installed. > I think it's an OPTi MAD16. It's 16-bit ISA and has an OPTi 82C928 A > and a Crystal CS4248-KL chip. I've read the man pages and documentation > under /usrc/src/sys/i386/isa/sound but I don't even know where to > begin to configure the kernel to use it. This chip (OPTi82C928) is not supported by newpcm, but it's cousins (930,= =20 931, 924, 925) are. I am quite happy to write support for it if you are=20 willing to test the code. --=20 +-------------------+---------------------+ | George Reid | FreeBSD Committer | | +44 7740 197460 | greid@FreeBSD.org | +-------------------+---------------------+ --zhXaljGHf11kAtnf 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 iEYEARECAAYFAjubdkQACgkQzfFYnvlgwa7JBgCfQkIoRmQ1cTvKSTnda5JgDZfw iS4An0ZB7eT/rh4pJLPDtEjDAc5e8tmA =7OOf -----END PGP SIGNATURE----- --zhXaljGHf11kAtnf-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Mon Sep 10 3:53: 8 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from bastuba.partitur.se (bastuba.partitur.se [212.209.169.194]) by hub.freebsd.org (Postfix) with ESMTP id 60E5737B409 for ; Mon, 10 Sep 2001 03:53:00 -0700 (PDT) Received: (from root@localhost) by bastuba.partitur.se (8.11.3/8.11.3) id f8AAqxD95179 for freebsd-multimedia@FreeBSD.ORG.AVP; Mon, 10 Sep 2001 12:52:59 +0200 (CEST) (envelope-from girgen@partitur.se) Received: from elbas.partitur.se (elbas.partitur.se [212.209.169.222]) by bastuba.partitur.se (8.11.3/8.11.3) with ESMTP id f8AAqwl95163; Mon, 10 Sep 2001 12:52:58 +0200 (CEST) (envelope-from girgen@partitur.se) Received: from partitur.se (localhost [127.0.0.1]) by elbas.partitur.se (8.11.3/8.11.3) with ESMTP id f8AAqws71101; Mon, 10 Sep 2001 12:52:58 +0200 (CEST) (envelope-from girgen@partitur.se) Message-ID: <3B9C9B8A.5DDFE31@partitur.se> Date: Mon, 10 Sep 2001 12:52:58 +0200 From: Palle Girgensohn Organization: Partitur X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: sv, en MIME-Version: 1.0 To: freebsd-multimedia@FreeBSD.ORG Subject: Anybody tried the crossover plugin on FreeBSD? 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 Hi! The Crossover plugin, http://www.codeweavers.com/products/crossover/ ( it runs quicktime et al on Linux) was recently announced. Did anybody try this on FreeBSD? It will probably depend on WINE. Can't seem to find out the detailts without purchasing it, and since I don't use Linux at all, I'd like to know if sonebody tested it first ;-) Palle -- Partitur Informationsteknik AB Wenner-Gren Center +46 8 566 280 02 113 46 Stockholm +46 70 785 86 02 Sweden girgen@partitur.se To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Mon Sep 10 11: 1:14 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from mercury.is.co.za (mercury.is.co.za [196.4.160.222]) by hub.freebsd.org (Postfix) with ESMTP id A04DA37B415 for ; Mon, 10 Sep 2001 11:00:40 -0700 (PDT) Received: from rehmet.alt.za (c2-rba-51.dial-up.net [196.33.195.179]) by mercury.is.co.za (Postfix) with ESMTP id B67CE4A7E for ; Mon, 10 Sep 2001 20:00:33 +0200 (SAST) Received: (from geoff@localhost) by rehmet.alt.za (8.11.4/8.11.3) id f8AHwq000344 for freebsd-multimedia@freebsd.org; Mon, 10 Sep 2001 19:58:52 +0200 (SAST) (envelope-from geoff) Date: Mon, 10 Sep 2001 19:58:52 +0200 From: Geoff Rehmet To: freebsd-multimedia@freebsd.org Subject: Problem with CMedia 8738 Message-ID: <20010910195852.A320@redpoint.rehmet.alt.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i 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 trying to get my sound card with a Cmedia 8738 chipset working udner 4.3-STABLE, but have run into the problem, that for any program that talks to /dev/dsp, only the SPDIF port is active, while the speakers work when using /dev/audio (no SPDIF then). Dmesg output includes the following: pcm0: port 0xd800-0xd8ff irq 11 at device 12.0 on pci0 And cat /dev/sndstat gives: redpoint:~% cat /dev/sndstat FreeBSD Audio Driver (newpcm) Jul 25 2001 21:52:10 Installed devices: pcm0: at io 0xd800 irq 11 (1p/1r channels duplex) I hope I am not missing anything really obvious. Any help on this one would be appreciated. Ciao, Geoff. -- Geoff Rehmet email: geoff@rehmet.alt.za, geoff@rucus.ru.ac.za, csgr@freebsd.org phone: +27-83-292-5800 url: http://www.rehmet.alt.za To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Mon Sep 10 15:23: 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 A39B237B403 for ; Mon, 10 Sep 2001 15:23:00 -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 f8AMLfN89486; Mon, 10 Sep 2001 15:21:41 -0700 (PDT) (envelope-from hodson@mule.aciri.org) Message-Id: <200109102221.f8AMLfN89486@mule.aciri.org> X-Mailer: exmh version 2.1.1 10/15/1999 To: Geoff Rehmet Cc: freebsd-multimedia@freebsd.org In-reply-to: Your message of Mon, 10 Sep 2001 19:58:52 +0200 Subject: Re: " Problem with CMedia 8738 " Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 10 Sep 2001 15:21:41 -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 In message <20010910195852.A320@redpoint.rehmet.alt.za>,Geoff Rehmet writes: > I'm trying to get my sound card with a Cmedia 8738 chipset > working udner 4.3-STABLE, but have run into the problem, > that for any program that talks to /dev/dsp, only the SPDIF > port is active, while the speakers work when using /dev/audio > (no SPDIF then). > > Dmesg output includes the following: > pcm0: port 0xd800-0xd8ff irq 11 at device 12.0 on pci0 > > And cat /dev/sndstat gives: > redpoint:~% cat /dev/sndstat > FreeBSD Audio Driver (newpcm) Jul 25 2001 21:52:10 > Installed devices: > pcm0: at io 0xd800 irq 11 (1p/1r channels duplex) > > I hope I am not missing anything really obvious. > > Any help on this one would be appreciated. > > Ciao, > Geoff. Geoff, This sounds like a bug if you are running exactly the same test on both device entries. The use of SPDIF should be triggered by the sample rate selected - it can only work at 44.1kHz and 48kHz there is no hook to check which device is in use. We really need a sysctl to select whether SPDIF comes on at 44.1/48kHz. Kind Regards - Orion To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Tue Sep 11 7: 7:45 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 A46D637B409 for ; Tue, 11 Sep 2001 07:07:41 -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 f8BE7Zn71264 for ; Tue, 11 Sep 2001 16:07:35 +0200 (CEST) Received: from (rsidd@localhost) by corto.lpt.ens.fr (8.9.3/jtpda-5.3.1) id QAA92319 for freebsd-multimedia@freebsd.org; Tue, 11 Sep 2001 16:07:35 +0200 (CEST) Date: Tue, 11 Sep 2001 16:07:35 +0200 From: Rahul Siddharthan To: freebsd-multimedia@freebsd.org Subject: Slight distortion with VIA VT82C686A sound card Message-ID: <20010911160735.A91920@lpt.ens.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i 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 Hi - my VIA VT82C686A on-board sound card works fine with FreeBSD, and I'm mostly happy, but there is a slight but annoying distortion. It seems to affect things like certain human voices, violins, etc; I can't make out any problem with deep bass, or high treble. It's hard to describe, but it sounds like a speaker being slightly overdriven and therefore "rattling", or perhaps like slight feedback noise. It's not a problem with the laptop speaker: it's noticeable with output to a regular (fairly hi-fi) music system, as well as with headphones. There is no problem with sound from an audio CD (output taken from the same headphone socket). But ripped audio (the raw wav file, and .ogg files) from the same CDs has this distortion. So do downloaded mp3 and shn files. Is it probably just bad hardware, or could there be a problem with the sound driver? I erased windows from this machine a while ago (before I realised this problem), so unfortunately I can't compare. I'm running -STABLE from Aug 14 or so. The output from cat /dev/sndstat is FreeBSD Audio Driver (newpcm) Aug 21 2001 19:35:58 Installed devices: pcm0: at io 0x1000 irq 9 (1p/1r/0v channels duplex) Thanks - Rahul To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Wed Sep 12 7:59:14 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from mailout06.sul.t-online.de (mailout06.sul.t-online.com [194.25.134.19]) by hub.freebsd.org (Postfix) with ESMTP id DA24D37B40D; Wed, 12 Sep 2001 07:59:06 -0700 (PDT) Received: from fwd02.sul.t-online.de by mailout06.sul.t-online.de with smtp id 15hBTj-0000ne-0D; Wed, 12 Sep 2001 16:59:03 +0200 Received: from goofy.disney.gb (320066129553-0001@[217.81.129.140]) by fwd02.sul.t-online.com with esmtp id 15hBTb-1tCxTUC; Wed, 12 Sep 2001 16:58:55 +0200 Received: from guenter (helo=localhost) by goofy.disney.gb with local-esmtp (Exim 3.31 #1 (Debian)) id 15hBTa-0006KP-00; Wed, 12 Sep 2001 16:58:54 +0200 Date: Wed, 12 Sep 2001 16:58:54 +0200 (CEST) From: bartscgr@t-online.de (Guenter Bartsch) X-X-Sender: Reply-To: To: Heiko Schaefer Cc: , Robert Edmonds , xine-user , Subject: Re: [xine-user] xine on freebsd? In-Reply-To: <20010912154515.X1528-100000@daneel.foundation.hs> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Sender: 320066129553-0001@t-dialin.net 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 Wed, 12 Sep 2001, Heiko Schaefer wrote: > > has anyone got xine to play DVDs on freebsd? videolan can play DVDs on > > freebsd.. but the playback sucks even on a 500 mhz machine. > > by now, xine runs pretty nicely on freebsd. however, unfortunately not > quite as well as on linux > i am currently trying to find reasons for this lack of performance on > freebsd compared to linux and am mostly stuck with the theory that agp > support is not really the same as on linux. maybe someone who knows more > about xfree, agp and freebsd will eventually comment on this or propose a > solution. any input on this would be welcome... even when using XvShm to display the video data xfree86 uses significantly more cpu power on freebsd than on linux (~15% on freebsd compared to ~1-3% on linux) which further indicates there's something wrong here. Comments, hints, ideas very welcome, Guenter -- time is a funny concept To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Wed Sep 12 8:19:48 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from smtpproxy2.mitre.org (smtpproxy2.mitre.org [128.29.154.90]) by hub.freebsd.org (Postfix) with ESMTP id 8616537B407; Wed, 12 Sep 2001 08:19:25 -0700 (PDT) Received: from avsrv2.mitre.org (avsrv2.mitre.org [128.29.154.4]) by smtpproxy2.mitre.org (8.11.3/8.11.3) with ESMTP id f8CFJ6g14468; Wed, 12 Sep 2001 11:19:07 -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 f8CFJ5f08471; Wed, 12 Sep 2001 11:19:05 -0400 (EDT) Received: from dhcp-105-164.mitre.org (128.29.105.164) by mailhub2.mitre.org with SMTP id 7696702; Wed, 12 Sep 2001 11:19:04 -0400 Message-ID: <3B9F7CE8.E96D1B0@mitre.org> Date: Wed, 12 Sep 2001 11:19:04 -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: bartscgr@studbox.uni-stuttgart.de Cc: Heiko Schaefer , multimedia@freebsd.org, Robert Edmonds , xine-user , freebsd-hackers@freebsd.org Subject: Re: [xine-user] xine on freebsd? References: 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 Guenter Bartsch wrote: > > Hi, > > On Wed, 12 Sep 2001, Heiko Schaefer wrote: > > > > has anyone got xine to play DVDs on freebsd? videolan can play DVDs on > > > freebsd.. but the playback sucks even on a 500 mhz machine. > > > > by now, xine runs pretty nicely on freebsd. however, unfortunately not > > quite as well as on linux > > > i am currently trying to find reasons for this lack of performance on > > freebsd compared to linux and am mostly stuck with the theory that agp > > support is not really the same as on linux. maybe someone who knows more > > about xfree, agp and freebsd will eventually comment on this or propose a > > solution. any input on this would be welcome... > > even when using XvShm to display the video data xfree86 uses significantly > more cpu power on freebsd than on linux (~15% on freebsd compared to ~1-3% > on linux) which further indicates there's something wrong here. > > Comments, hints, ideas very welcome, Are you using XFree 4.x? What video cards are in both boxes? Are they the same box just dual booting? I've found that XFree 3.x is a processor pig on my system, but XFree 4.x is nice and light, particularly with Xv. I'm using a Matrox G200 with the slightly older Matrox HAL. Sometimes I wonder if Linux puts more of a buffer on DVDs than FreeBSD does, given the way that most of the linux DVD programs are written (read, decode, display, continue) they tend to IO starve themselves under FreeBSD. -- \ |_ _|__ __|_ \ __| 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 Wed Sep 12 8:48:50 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from pintail.mail.pas.earthlink.net (pintail.mail.pas.earthlink.net [207.217.120.122]) by hub.freebsd.org (Postfix) with ESMTP id 9550937B406; Wed, 12 Sep 2001 08:48:45 -0700 (PDT) Received: from mindspring.com (dialup-209.247.142.20.Dial1.SanJose1.Level3.net [209.247.142.20]) by pintail.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id IAA05511; Wed, 12 Sep 2001 08:48:24 -0700 (PDT) Message-ID: <3B9F83F4.70585613@mindspring.com> Date: Wed, 12 Sep 2001 08:49:08 -0700 From: Terry Lambert Reply-To: tlambert2@mindspring.com X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Jason Andresen Cc: bartscgr@studbox.uni-stuttgart.de, Heiko Schaefer , multimedia@freebsd.org, Robert Edmonds , xine-user , freebsd-hackers@freebsd.org Subject: Re: [xine-user] xine on freebsd? References: <3B9F7CE8.E96D1B0@mitre.org> 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 Jason Andresen wrote: > Are you using XFree 4.x? What video cards are in both boxes? > Are they the same box just dual booting? I've found that XFree > 3.x is a processor pig on my system, but XFree 4.x is nice and > light, particularly with Xv. I'll echo the 3.x vs. 4.x observation. > Sometimes I wonder if Linux puts more of a buffer on DVDs than > FreeBSD does, given the way that most of the linux DVD programs > are written (read, decode, display, continue) they tend to IO > starve themselves under FreeBSD. Double buffering the I/O is a definite win. This is really an application space issue, since you want to buffer at least two key frames and the associated deltas... Linux tends to do this automatically. I've also noticed that Linux tends to precache the index data (just like the MACH paper that cached the entire FAT for an MSDOSFS and turned off UFS cacheing as "unfair", in order to "prove" that MSDOSFS was "faster" than UFS), which may be a good idea, or at least a useful mount option. Also, look at the optimization options chosen by configure in Linux vs. FreeBSD for compiling the player. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Wed Sep 12 9:22: 9 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from mailout00.sul.t-online.de (mailout00.sul.t-online.com [194.25.134.16]) by hub.freebsd.org (Postfix) with ESMTP id 3A63437B40B; Wed, 12 Sep 2001 09:21:56 -0700 (PDT) Received: from fwd02.sul.t-online.de by mailout00.sul.t-online.de with smtp id 15hCaH-0000w9-0C; Wed, 12 Sep 2001 18:09:53 +0200 Received: from goofy.disney.gb (320066129553-0001@[217.81.129.140]) by fwd02.sul.t-online.com with esmtp id 15hCZg-02IRKiC; Wed, 12 Sep 2001 18:09:16 +0200 Received: from guenter (helo=localhost) by goofy.disney.gb with local-esmtp (Exim 3.31 #1 (Debian)) id 15hCZf-0006Ov-00; Wed, 12 Sep 2001 18:09:15 +0200 Date: Wed, 12 Sep 2001 18:09:15 +0200 (CEST) From: bartscgr@t-online.de (Guenter Bartsch) X-X-Sender: Reply-To: To: Jason Andresen Cc: , Heiko Schaefer , , xine-user , Subject: Re: [xine-user] xine on freebsd? In-Reply-To: <3B9F7CE8.E96D1B0@mitre.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Sender: 320066129553-0001@t-dialin.net 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 Jason, On Wed, 12 Sep 2001, Jason Andresen wrote: > > even when using XvShm to display the video data xfree86 uses significantly > > more cpu power on freebsd than on linux (~15% on freebsd compared to ~1-3% > > on linux) which further indicates there's something wrong here. > > > > Comments, hints, ideas very welcome, > > Are you using XFree 4.x? yep, xfree 4.1 exactly > What video cards are in both boxes? in my box it's a riva TNT (so I don't have Xv on FreeBSD), but in Heiko's box (where we do most of the performance testing) we've seen these results both with a GeForce 2MX and a Matrox G400 on a GNU/Linux / FreeBSD dual boot machine (first there we used the GeForce card and later replaced it by the G400 one but the results were roughly the same). > Sometimes I wonder if Linux puts more of a buffer on DVDs than FreeBSD > does yep, on linux there's hardly any difference between reading single block or larger chunks of data from the device, even when using raw devices. FreeBSD seems to have trouble reading single blocks here, but with xine's new dvd read_cache that heiko mentioned xine reads data in 16kb chunks and the device read performance is roughly the same as on linux now. The only thing that is still significantly slower on freebsd is the actual frame display on X11. For full-PAL (720x576) images xine easily decodes all frames on heiko's box but throws away 30% of them because X11 is too slow to display them in time - this indicates to me that there's something wrong with X11 shared memory support on FreeBSD here. Somehow I get the feeling that there are extra memcpys involved here - maybe the MTRR isn't set up correctly so the CPU caches the display data or, more likely, the CPU is used to copy to images into the framebuffer instead of letting the graphic's card do the work via dma/agp. Any ideas? Cheers, Guenter -- time is a funny concept To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Wed Sep 12 12:53:49 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from thelma.nvidia.com (z06.nvidia.com [209.213.198.25]) by hub.freebsd.org (Postfix) with ESMTP id 0977337B405 for ; Wed, 12 Sep 2001 12:53:42 -0700 (PDT) Received: from dhcp-198-206.nvidia.com (dhcp-198-206.nvidia.com [172.16.198.206]) by thelma.nvidia.com (8.8.8+Sun/8.8.8) with ESMTP id MAA07018; Wed, 12 Sep 2001 12:52:53 -0700 (PDT) Date: Wed, 12 Sep 2001 12:52:47 -0700 (PDT) From: Mark Vojkovich To: bartscgr@studbox.uni-stuttgart.de Cc: xpert@xfree86.org, xine-user@lists.sourceforge.net, multimedia@freebsd.org Subject: Re: [Xpert]XvShm slower on freebsd than on line 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 Wed, 12 Sep 2001 bartscgr@t-online.de wrote: > Hi, > > perhaps somebody on this list can give us a clue about this ongoing > discussion on the xine and freebsd mailing lists; > > ---------- Forwarded message ---------- > Date: Wed, 12 Sep 2001 18:09:15 +0200 (CEST) > From: Guenter Bartsch > To: Jason Andresen > Cc: bartscgr@studbox.uni-stuttgart.de, Heiko Schaefer , > multimedia@freebsd.org, xine-user , > freebsd-hackers@freebsd.org > Subject: Re: [xine-user] xine on freebsd? > > Hi Jason, > > On Wed, 12 Sep 2001, Jason Andresen wrote: > > > > even when using XvShm to display the video data xfree86 uses significantly > > > more cpu power on freebsd than on linux (~15% on freebsd compared to ~1-3% > > > on linux) which further indicates there's something wrong here. > > > > > > Comments, hints, ideas very welcome, Most likely an MTRR issue. An easy test is: x11perf -shmput500 On something like a BX chipset with write combining you should get in the vicinity of 150 Megabytes/sec througput (ie. roughly 150 rects per second in 32bpp, 300 in 16bpp) on either the "nv" or "mga" drivers that come with XFree86. Mark. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Wed Sep 12 13:12:44 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 AAEFB37B401 for ; Wed, 12 Sep 2001 13:12:41 -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 f8CKCHN08891; Wed, 12 Sep 2001 13:12:18 -0700 (PDT) (envelope-from hodson@mule.aciri.org) Message-Id: <200109122012.f8CKCHN08891@mule.aciri.org> X-Mailer: exmh version 2.1.1 10/15/1999 To: Rahul Siddharthan Cc: freebsd-multimedia@freebsd.org In-reply-to: Your message of Tue, 11 Sep 2001 16:07:35 +0200 Subject: Re: " Slight distortion with VIA VT82C686A sound card " Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 12 Sep 2001 13:12:17 -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 In message <20010911160735.A91920@lpt.ens.fr>,Rahul Siddharthan writes: > > Is it probably just bad hardware, or could there be a problem with the > sound driver? I erased windows from this machine a while ago (before > I realised this problem), so unfortunately I can't compare. AFAIK, this is a problem with the driver. The problem appears to be more marked at lower sampling rates and is not apparent under Win32. Kind Regards - Orion To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Wed Sep 12 13:31:56 2001 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 1B35537B40B for ; Wed, 12 Sep 2001 13:31:51 -0700 (PDT) Received: (from sos@localhost) by freebsd.dk (8.11.3/8.11.3) id f8CKVnk54324; Wed, 12 Sep 2001 22:31:49 +0200 (CEST) (envelope-from sos) From: Søren Schmidt Message-Id: <200109122031.f8CKVnk54324@freebsd.dk> Subject: Re: " Slight distortion with VIA VT82C686A sound card " In-Reply-To: <200109122012.f8CKCHN08891@mule.aciri.org> "from Orion Hodson at Sep 12, 2001 01:12:17 pm" To: Orion Hodson Date: Wed, 12 Sep 2001 22:31:35 +0200 (CEST) Cc: Rahul Siddharthan , freebsd-multimedia@FreeBSD.ORG Reply-To: sos@freebsd.dk X-Mailer: ELM [version 2.4ME+ PL88 (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 Orion Hodson wrote: > In message <20010911160735.A91920@lpt.ens.fr>,Rahul Siddharthan writes: > > > > Is it probably just bad hardware, or could there be a problem with the > > sound driver? I erased windows from this machine a while ago (before > > I realised this problem), so unfortunately I can't compare. > > AFAIK, this is a problem with the driver. The problem appears to be more > marked at lower sampling rates and is not apparent under Win32. Its a known problem, several has mentioned this odd behavior... However I don't know if anybody is working on solving this... -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 Sep 12 13:47:37 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from mta03-svc.ntlworld.com (mta03-svc.ntlworld.com [62.253.162.43]) by hub.freebsd.org (Postfix) with ESMTP id 616E437B408 for ; Wed, 12 Sep 2001 13:47:27 -0700 (PDT) Received: from sobek.lan ([62.252.9.204]) by mta03-svc.ntlworld.com (InterMail vM.4.01.03.00 201-229-121) with ESMTP id <20010912204725.DFVH23687.mta03-svc.ntlworld.com@sobek.lan>; Wed, 12 Sep 2001 21:47:25 +0100 Received: (from greid@localhost) by sobek.lan (8.11.5/8.11.5) id f8CKlOk94512; Wed, 12 Sep 2001 21:47:24 +0100 (BST) (envelope-from greid@FreeBSD.org) X-Authentication-Warning: sobek.lan: greid set sender to greid@FreeBSD.org using -f Date: Wed, 12 Sep 2001 21:47:24 +0100 From: George Reid To: =?unknown-8bit?Q?S=F8ren_Schmidt?= Cc: freebsd-multimedia@FreeBSD.org Subject: Re: " Slight distortion with VIA VT82C686A sound card " Message-ID: <20010912214723.A94456@FreeBSD.org> References: <200109122012.f8CKCHN08891@mule.aciri.org> <200109122031.f8CKVnk54324@freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=unknown-8bit Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: <200109122031.f8CKVnk54324@freebsd.dk>; from sos@freebsd.dk on Wed, Sep 12, 2001 at 10:31:35PM +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 Wed, Sep 12, 2001 at 10:31:35PM +0200, Søren Schmidt wrote: > Its a known problem, several has mentioned this odd behavior... > However I don't know if anybody is working on solving this... > > -Soren I've got quite a bit on at the moment, but I hope to take a look at it sometime this week. Several people have reported "metallic" sound. -- +-------------------+---------------------+ | George Reid | FreeBSD Committer | | +44 7740 197460 | greid@FreeBSD.org | +-------------------+---------------------+ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Wed Sep 12 13:47:37 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 13F9937B409 for ; Wed, 12 Sep 2001 13:47:29 -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 f8CKlNN09263; Wed, 12 Sep 2001 13:47:23 -0700 (PDT) (envelope-from hodson@mule.aciri.org) Message-Id: <200109122047.f8CKlNN09263@mule.aciri.org> X-Mailer: exmh version 2.1.1 10/15/1999 To: sos@freebsd.dk Cc: Rahul Siddharthan , freebsd-multimedia@FreeBSD.ORG Reply-To: orion@FreeBSD.ORG Subject: Re: " Slight distortion with VIA VT82C686A sound card " In-Reply-To: Message from S ren Schmidt of "Wed, 12 Sep 2001 22:31:35 +0200." <200109122031.f8CKVnk54324@freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Date: Wed, 12 Sep 2001 13:47:23 -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 In message <200109122031.f8CKVnk54324@freebsd.dk>,S ren Schmidt writes: > It seems Orion Hodson wrote: > > In message <20010911160735.A91920@lpt.ens.fr>,Rahul Siddharthan write= s: > > > = > > > Is it probably just bad hardware, or could there be a problem with = the > > > sound driver? I erased windows from this machine a while ago (befo= re > > > I realised this problem), so unfortunately I can't compare. > > = > > AFAIK, this is a problem with the driver. The problem appears to be = more = > > marked at lower sampling rates and is not apparent under Win32. > = > Its a known problem, several has mentioned this odd behavior... > However I don't know if anybody is working on solving this... It's on my todo list. - Orion To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Wed Sep 12 14: 0:51 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 E4A4837B40C for ; Wed, 12 Sep 2001 14:00:48 -0700 (PDT) Received: from bluerondo.a.la.turk (nas-cbv-2-28-233.dial.proxad.net [213.228.28.233]) by postfix2-2.free.fr (Postfix) with ESMTP id 72A6F5FA02 for ; Wed, 12 Sep 2001 23:00:17 +0200 (CEST) Received: (qmail 1013 invoked by uid 1001); 12 Sep 2001 20:59:57 -0000 Date: Wed, 12 Sep 2001 22:59:57 +0200 From: Rahul Siddharthan To: orion@FreeBSD.ORG Cc: sos@freebsd.dk, freebsd-multimedia@FreeBSD.ORG Subject: Re: " Slight distortion with VIA VT82C686A sound card " Message-ID: <20010912225957.A994@lpt.ens.fr> References: <200109122047.f8CKlNN09263@mule.aciri.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200109122047.f8CKlNN09263@mule.aciri.org>; from hodson@aciri.org on Wed, Sep 12, 2001 at 01:47:23PM -0700 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 Orion Hodson said on Sep 12, 2001 at 13:47:23: > > > AFAIK, this is a problem with the driver. The problem appears to be more > > > marked at lower sampling rates and is not apparent under Win32. > > > > Its a known problem, several has mentioned this odd behavior... > > However I don't know if anybody is working on solving this... > > It's on my todo list. Any help I can offer? I know very little about it but I could test preliminary patches etc. Or if you give some hints about what could be wrong I could try poking around myself, though it probably won't give any results. Anyway, it would be nice to have it fixed. I'm not on the -multimedia list; should I subscribe? Thanks Rahul To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Wed Sep 12 18:44:24 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 C3CFF37B410; Wed, 12 Sep 2001 18:44: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 LAA21526; Thu, 13 Sep 2001 11:14:00 +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: Date: Thu, 13 Sep 2001 11:13:59 +0930 (CST) From: "Daniel O'Connor" To: bartscgr@studbox.uni-stuttgart.de Subject: Re: [xine-user] xine on freebsd? Cc: freebsd-hackers@freebsd.org, Robert Edmonds , multimedia@freebsd.org, Heiko Schaefer , xine-user 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 12-Sep-2001 Guenter Bartsch wrote: > even when using XvShm to display thevideo data xfree86 uses significantly > more cpu power on freebsd than on linux (~15% on freebsd compared to ~1-3% > on linux) which further indicates there's something wrong here. > > Comments, hints, ideas very welcome, My personal recommendation is to use mplayer. (ports/graphics/mplayer). It _rocks_ :) The SDL video renderer supports the Xv extension and can go fullscreen and the press of a key. I haven't had this program crash once yet even after feeding it some pretty nasty movie files. [xine-users@ ignore this paragraph please ;) ] As to your actual question.. How to you know the Linux and FreeBSD top's are measuring the same thing? top is a very poor way to measure CPU usage, a much better idea would be to play the movie and then exit, and measure the total CPU time used for that activity. This would be moderatly difficult for Xfree86, but maybe do something like.. 1) Edit .xinitrc to run xine with the movie as it's only activity. 2) Run /usr/bin/time startx Compare the numbers between the two systems :) Also, are you sure that you have enough shared memory on the freebsd box? By default the amount of shm you can use is fairly small, and if you use GNOME it will easily eat it all. --- 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 Wed Sep 12 20:41: 9 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from magic.adaptec.com (magic.adaptec.com [208.236.45.80]) by hub.freebsd.org (Postfix) with ESMTP id 7BAE437B401; Wed, 12 Sep 2001 20:41:05 -0700 (PDT) Received: from redfish.adaptec.com (redfish.adaptec.com [162.62.50.11]) by magic.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id UAA07532; Wed, 12 Sep 2001 20:40:16 -0700 (PDT) Received: from btc.btc.adaptec.com (btc.btc.adaptec.com [162.62.64.10]) by redfish.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id UAA17676; Wed, 12 Sep 2001 20:27:14 -0700 (PDT) Received: from btcexc01.btc.adaptec.com (btcexc01 [162.62.147.10]) by btc.btc.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id VAA29435; Wed, 12 Sep 2001 21:40:11 -0600 (MDT) Received: by btcexc01.btc.adaptec.com with Internet Mail Service (5.5.2653.19) id ; Wed, 12 Sep 2001 21:40:13 -0600 Message-ID: <50486691668CD511BB660000D11ABE92147246@btcexc01.btc.adaptec.com> From: "Long, Scott" To: "'Daniel O'Connor'" , bartscgr@studbox.uni-stuttgart.de Cc: freebsd-hackers@freebsd.org, Robert Edmonds , multimedia@freebsd.org, Heiko Schaefer , xine-user Subject: RE: [xine-user] xine on freebsd? Date: Wed, 12 Sep 2001 21:40:12 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) 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 > Also, are you sure that you have enough shared memory on the freebsd box? By > default the amount of shm you can use is fairly small, and if you use GNOME it > will easily eat it all. I can't agree with this statement more. Gnome/GTK is a pig on SHM, and the FreeBSD default make relatively low amounts of memory and segments available. There are various kernel options and tunables that can be set to ajust this. Scott To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Thu Sep 13 1: 6: 2 2001 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 1369837B407 for ; Thu, 13 Sep 2001 01:05:57 -0700 (PDT) Received: from bluerondo.a.la.turk (nas-cbv-5-47-204.dial.proxad.net [212.27.47.204]) by postfix1-2.free.fr (Postfix) with ESMTP id E24C0AB3A5 for ; Thu, 13 Sep 2001 10:05:55 +0200 (CEST) Received: (qmail 948 invoked by uid 1001); 13 Sep 2001 07:58:32 -0000 Date: Thu, 13 Sep 2001 09:58:32 +0200 From: Rahul Siddharthan To: orion@FreeBSD.ORG Cc: sos@freebsd.dk, freebsd-multimedia@FreeBSD.ORG Subject: Re: " Slight distortion with VIA VT82C686A sound card " Message-ID: <20010913095832.A925@lpt.ens.fr> References: <200109122047.f8CKlNN09263@mule.aciri.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200109122047.f8CKlNN09263@mule.aciri.org>; from hodson@aciri.org on Wed, Sep 12, 2001 at 01:47:23PM -0700 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 Orion Hodson said on Sep 12, 2001 at 13:47:23: > > It seems Orion Hodson wrote: > > > In message <20010911160735.A91920@lpt.ens.fr>,Rahul Siddharthan writes: > > > > > > > > Is it probably just bad hardware, or could there be a problem with the > > > > sound driver? I erased windows from this machine a while ago (before > > > > I realised this problem), so unfortunately I can't compare. > > > > > > AFAIK, this is a problem with the driver. The problem appears to be more > > > marked at lower sampling rates and is not apparent under Win32. > > > > Its a known problem, several has mentioned this odd behavior... > > However I don't know if anybody is working on solving this... It seems like it's caused by the upsampling to 48000 Hz. If I configure KDE (artsd) to force the sampling rate to be 48000 Hz, it sounds much better. Thanks - R To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Fri Sep 14 23:48:40 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 B2B6637B407; Fri, 14 Sep 2001 23:48:31 -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 f8F6mBM08136; Sat, 15 Sep 2001 14:48:11 +0800 (KRAST) (envelope-from eugen@svzserv.kemerovo.su) Message-ID: <3BA2F9AA.E0863C88@svzserv.kemerovo.su> Date: Sat, 15 Sep 2001 14:48:10 +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 Subject: 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 Hi! 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. $ cat at io 0x530 irq 5 drq 0:1 (1p/1r/0v channels duplex) I will be happy to supply as much additional information as it needs. My card is ISA PnP Yamaha OPL3-SA2. Eugene Grosbein To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sat Sep 15 0:41:47 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from smtp6.port.ru (mx6.port.ru [194.67.57.16]) by hub.freebsd.org (Postfix) with ESMTP id 42B2937B40D; Sat, 15 Sep 2001 00:41:26 -0700 (PDT) Received: from [62.244.28.189] (helo=notebook.vega.com) by smtp6.port.ru with esmtp (Exim 3.14 #1) id 15iA4g-0007aK-00; Sat, 15 Sep 2001 11:41:16 +0400 To: cg@FreeBSD.org Cc: multimedia@FreeBSD.org, current@FreeBSD.org From: Maxim Sobolev Reply-To: sobomax@FreeBSD.org Subject: Making DMA buffer resizeable depending on audio speed/format X-Mailer: Pygmy (v0.5.11) Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="192.168.1.100.0.526.1000539647.245.19907" Message-Id: Date: Sat, 15 Sep 2001 11:41:16 +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 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 --192.168.1.100.0.526.1000539647.245.19907 Content-Type: application/octet-stream; name="pcm.diff" Content-Transfer-Encoding: base64 PyBpc2EvbXNzLmMsdgo/IHBjbS9idWZmZXIuYyx2Cj8gcGNtL3NvdW5kLmMsdgpJbmRleDogaXNh L21zcy5jCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT0KUkNTIGZpbGU6IC9ob21lL25jdnMvc3JjL3N5cy9kZXYvc291bmQv aXNhL21zcy5jLHYKcmV0cmlldmluZyByZXZpc2lvbiAxLjcxCmRpZmYgLWQgLXUgLXIxLjcxIG1z cy5jCi0tLSBpc2EvbXNzLmMJMjAwMS8wOC8yM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PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09ClJDUyBmaWxlOiAvaG9tZS9uY3ZzL3NyYy9zeXMvZGV2L3NvdW5k L3BjbS9idWZmZXIuaCx2CnJldHJpZXZpbmcgcmV2aXNpb24gMS4zCmRpZmYgLWQgLXUgLXIxLjMg YnVmZmVyLmgKLS0tIHBjbS9idWZmZXIuaAkyMDAxLzA1LzI3IDE0OjM5OjM0CTEuMworKysgcGNt L2J1ZmZlci5oCTIwMDEvMDkvMTUgMDQ6MzA6MzkKQEAgLTkzLDQgKzkzLDQgQEAKIGludCBzbmRi dWZfaXNhZG1hcHRyKHN0cnVjdCBzbmRfZGJ1ZiAqYik7CiB2b2lkIHNuZGJ1Zl9pc2FkbWFib3Vu Y2Uoc3RydWN0IHNuZF9kYnVmICpiKTsKIAotCitpbnQgc25kYnVmX2RhdGFyYXRlKGludCwgdV9p bnQzMl90KTsK --192.168.1.100.0.526.1000539647.245.19907-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message From owner-freebsd-multimedia Sat Sep 15 17:38:19 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 4658837B409 for ; Sat, 15 Sep 2001 17:38:12 -0700 (PDT) Received: from bluerondo.a.la.turk (nas-cbv-2-29-160.dial.proxad.net [213.228.29.160]) by postfix2-1.free.fr (Postfix) with ESMTP id 79696112 for ; Sun, 16 Sep 2001 02:38:09 +0200 (CEST) Received: (qmail 2494 invoked by uid 1001); 16 Sep 2001 00:33:56 -0000 Date: Sun, 16 Sep 2001 02:33:55 +0200 From: Rahul Siddharthan To: ports@freebsd.org Cc: multimedia@freebsd.org, andrews@technologist.com Subject: kde/arts problems with ogg123/xmms Message-ID: <20010916023355.A2472@lpt.ens.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i 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 I'm having minor problems with arts. I want to play stuff like ogg123, xmms etc via arts (because my sound card doesn't sound very good when used directly except for sound files at 48000 hz sample rates, a bug in the driver apparently, but it sounds fine if I use arts to upsample it). Now, this works fine except that both ogg123 and xmms coredump, with a segfault, when they stop. More exactly, xmms coredumps whenever it reaches the end of a track, and ogg123 coredumps either when it reaches the end of the full playlist, or when it's interrupted with ^C. I tried running gdb on ogg123. GDB reports an illegal instruction right at the beginning, backtrace as below, but this doesn't seem to crash the program. ----------------------- Program received signal SIGILL, Illegal instruction. 0x2825d99f in Return () at cpuinfo.cc:217 217 ); Current language: auto; currently c++ (gdb) bt #0 0x2825d99f in Return () at cpuinfo.cc:217 #1 0x28399ca9 in Arts::StartupManager::startup () at startupmanager.cc:91 #2 0x283889fb in Arts::Dispatcher::Dispatcher (this=0x8061c04, ioManager=0x0, startServer=noServer) at dispatcher.cc:221 #3 0x281f6b14 in ArtsCApi::ArtsCApi (this=0x8061c00) at artscbackend.cc:410 #4 0x281f599d in ArtsCApi::ref () at artscbackend.cc:495 #5 0x281eeda3 in arts_backend_init () at artscbackend.cc:520 #6 0x2817c5a8 in arts_init () at artsc.c:118 #7 0x28179968 in ao_plugin_open (device=0x8060cc0, format=0xbfbfe630) at ao_arts.c:95 #8 0x280af103 in _open_device (driver_id=6, format=0xbfbfe630, options=0x0, file=0x0) at audio_out.c:458 #9 0x280af475 in ao_open_live (driver_id=6, format=0xbfbfe630, options=0x0) at audio_out.c:579 #10 0x804aa77 in open_audio_devices (opt=0xbfbff9dc, rate=44100, channels=2, buffer=0x804e3f0) at ogg123.c:614 #11 0x8049f4a in play_file (opt={read_file = 0xbfbffc09 "2_07_Salt_Creek.ogg", shuffle = 0 '\000', verbose = 0, quiet = 0, seekpos = 0, instream = 0x28147220, outdevices = 0x8050060, buffer_size = 0, rate = 671499776, channels = -1077937472, delay = 1}) at ogg123.c:419 #12 0x80498b9 in main (argc=4, argv=0xbfbffac8) at ogg123.c:250 #13 0x80492fd in _start () -------------- At the end, the program crashes, but I can't get a backtrace. (ogg123, libao and arts are compiled with debugging symbols on, I'm pretty sure the problem is in the interaction of libao, or the xmms equivalent, with arts). It says -------------- Program received signal SIGSEGV, Segmentation fault. 0x281c94f0 in _IO_cleanup () (gdb) bt #0 0x281c94f0 in _IO_cleanup () Error accessing memory address 0x281c94f0: Bad address. -------------- So what do I do now? It's only an annoyance, not a major problem, but it would be good to fix it. Or else, is there any alternative to arts? esd -r 48000 sounds terrible, and I don't know of any other sound servers. (btw, this is the cvs version of arts, from the kde 2.2 branch.) Thanks Rahul To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message