From owner-freebsd-multimedia@FreeBSD.ORG Sun Jul 3 20:46:26 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6830816A41F for ; Sun, 3 Jul 2005 20:46:26 +0000 (GMT) (envelope-from words@kuehl.com) Received: from adsl-191-134-192-81.adsl2.iam.net.ma (adsl-191-134-192-81.adsl2.iam.net.ma [81.192.134.191]) by mx1.FreeBSD.org (Postfix) with SMTP id 5F22A43D48 for ; Sun, 3 Jul 2005 20:46:24 +0000 (GMT) (envelope-from words@kuehl.com) Received: from [127.175.169.146] (port=4444 helo=[calculative]) by adsl-191-134-192-81.adsl2.iam.net.ma with esmtp id 103334111269alderman22344 for freebsd-multimedia@freebsd.org; Mon, 4 Mar 2002 10:33:52 +0000 Mime-Version: 1.0 (Apple Message framework v728) Content-Transfer-Encoding: 7bit Message-Id: <7819038975.3347880812@adsl-191-134-192-81.adsl2.iam.net.ma> Content-Type: text/plain; charset=US-ASCII; format=flowed To: freebsd-multimedia@freebsd.org From: Aubrey X-Mailer: Apple Mail (2.728) Subject: A better way to shop for health & beauty. X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Sun, 03 Jul 2005 20:46:26 -0000 X-Original-Date: Mon, 4 Mar 2002 10:33:51 +0000 X-List-Received-Date: Sun, 03 Jul 2005 20:46:26 -0000 All prescriptions are dispensed by licensed pharmacists http://Puritan.pharmacyshop4all.info/?Waltersxtvuyfishermanzgvampoules Stolen sweets are best. The Price Of Freedom Is Eternal Vigilance. Whom the gods wish to destroy they first call promising. Life is an unbroken succession of false situations. From owner-freebsd-multimedia@FreeBSD.ORG Mon Jul 4 11:02:20 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AFD5E16A420 for ; Mon, 4 Jul 2005 11:02:20 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3607C43D48 for ; Mon, 4 Jul 2005 11:02:20 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j64B2K8t034585 for ; Mon, 4 Jul 2005 11:02:20 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j64B2Isb034579 for freebsd-multimedia@freebsd.org; Mon, 4 Jul 2005 11:02:18 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 4 Jul 2005 11:02:18 GMT Message-Id: <200507041102.j64B2Isb034579@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-multimedia@FreeBSD.org Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jul 2005 11:02:20 -0000 Current FreeBSD problem reports Critical problems Serious problems Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2003/12/26] kern/60599 multimedia [sound] [partial patch] No sound for ATI 1 problem total. From owner-freebsd-multimedia@FreeBSD.ORG Mon Jul 4 17:37:52 2005 Return-Path: X-Original-To: multimedia@FreeBSD.org Delivered-To: freebsd-multimedia@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1435716A41C; Mon, 4 Jul 2005 17:37:52 +0000 (GMT) (envelope-from linimon@lonesome.com) Received: from mail.soaustin.net (mail.soaustin.net [207.200.4.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id E1E5C43D46; Mon, 4 Jul 2005 17:37:51 +0000 (GMT) (envelope-from linimon@lonesome.com) Received: by mail.soaustin.net (Postfix, from userid 502) id C6653991; Mon, 4 Jul 2005 12:37:50 -0500 (CDT) Date: Mon, 4 Jul 2005 12:37:50 -0500 To: Hans Petter Selasky Message-ID: <20050704173750.GA3375@soaustin.net> References: <200507041922.07763.hselasky@c2i.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200507041922.07763.hselasky@c2i.net> User-Agent: Mutt/1.5.9i From: linimon@lonesome.com (Mark Linimon) Cc: FreeBSD bugmaster , sound@FreeBSD.org, multimedia@FreeBSD.org Subject: Re: Change request [requesting reassignment of PRs away from 'sound@'] X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jul 2005 17:37:52 -0000 For those on the mailing lists: the following is a request from the submitter of these various PRs, which are currently assigned to the 'sound@' mail alias, to instead ressign them to the multimedia mailing list. What do people think about this? Is the 'sound@' alias still doing us any good, or should we reassign all these (and all the others?) While wearing the bugmeister hat, it doesn't really matter to me; if it would help get things committed I'm for it, if not, IMHO it's just extra work. I will observe (still wearing that hat) that we seem to have many more sound PRs than developer cycles to get them incorporated :-(, but also that there's a fair amount of that going on in GNATS anyways ... Again, I have no strong opinion, but we should see if we have a consensus on which way to go, before changing them. mcl On Mon, Jul 04, 2005 at 07:22:04PM +0200, Hans Petter Selasky wrote: > Hi, > > Could you get the following PR's on the buglist posted to > multimedia@freebsd.org: > > kern/80974 > kern/80975 > kern/80976 > kern/80977 > kern/80147 > kern/80149 > kern/80151 > kern/80152 > > -- Hans Petter Selasky From owner-freebsd-multimedia@FreeBSD.ORG Mon Jul 4 18:03:58 2005 Return-Path: X-Original-To: multimedia@FreeBSD.org Delivered-To: freebsd-multimedia@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7E5AC16A41C; Mon, 4 Jul 2005 18:03:58 +0000 (GMT) (envelope-from george.reid@oriel.oxon.org) Received: from smtp.bulldogdsl.com (smtp.bulldogdsl.com [83.146.21.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3C65F43D45; Mon, 4 Jul 2005 18:03:57 +0000 (GMT) (envelope-from george.reid@oriel.oxon.org) Received: by smtp.bulldogdsl.com (Postfix, from userid 1002) id 7039D1EF527; Mon, 4 Jul 2005 19:03:56 +0100 (BST) Received: from [10.0.1.1] (host-84-9-87-205.bulldogdsl.com [84.9.87.205]) by smtp.bulldogdsl.com (Postfix) with ESMTP id AA79B1EF4F2; Mon, 4 Jul 2005 19:03:55 +0100 (BST) Message-ID: <42C97A0A.4060908@oriel.oxon.org> Date: Mon, 04 Jul 2005 19:03:54 +0100 From: George Reid User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mark Linimon References: <200507041922.07763.hselasky@c2i.net> <20050704173750.GA3375@soaustin.net> In-Reply-To: <20050704173750.GA3375@soaustin.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on smtp.bulldogdsl.com X-Spam-Level: X-Spam-Status: No, score=-2.5 required=8.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.2 Cc: FreeBSD bugmaster , sound@FreeBSD.org, multimedia@FreeBSD.org Subject: Re: Change request [requesting reassignment of PRs away from 'sound@'] X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jul 2005 18:03:58 -0000 Mark Linimon wrote: >For those on the mailing lists: the following is a request from the >submitter of these various PRs, which are currently assigned to the >'sound@' mail alias, to instead ressign them to the multimedia mailing >list. What do people think about this? Is the 'sound@' alias still >doing us any good, or should we reassign all these (and all the others?) > >While wearing the bugmeister hat, it doesn't really matter to me; if >it would help get things committed I'm for it, if not, IMHO it's just >extra work. > >I will observe (still wearing that hat) that we seem to have many more >sound PRs than developer cycles to get them incorporated :-(, but also >that there's a fair amount of that going on in GNATS anyways ... > >Again, I have no strong opinion, but we should see if we have a consensus >on which way to go, before changing them. > >mcl > > Hi, Unfortunately I have very limited free time at the moment[*] to look at any of these, and as Cameron is sadly no longer with us, I have no objection to reassigning them (all) to freebsd-multimedia. If nothing else, they'll get a wider audience, since sound@ is a closed list consisting only of myself and two others. Regards, George [*]: This appears to be a perennial problem... From owner-freebsd-multimedia@FreeBSD.ORG Mon Jul 4 22:18:53 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0121016A41C for ; Mon, 4 Jul 2005 22:18:53 +0000 (GMT) (envelope-from dmwassman@cox.net) Received: from lakermmtao09.cox.net (lakermmtao09.cox.net [68.230.240.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9256043D48 for ; Mon, 4 Jul 2005 22:18:52 +0000 (GMT) (envelope-from dmwassman@cox.net) Received: from jupiter.solar.net ([68.226.7.134]) by lakermmtao09.cox.net (InterMail vM.6.01.04.00 201-2131-118-20041027) with ESMTP id <20050704221850.FRJO6804.lakermmtao09.cox.net@jupiter.solar.net> for ; Mon, 4 Jul 2005 18:18:50 -0400 From: David Wassman To: freebsd-multimedia@freebsd.org Date: Mon, 4 Jul 2005 18:18:38 -0400 User-Agent: KMail/1.8 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200507041818.38821.dmwassman@cox.net> Subject: Real Player on Firefox under FreeBSD 5.4 not playing video X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jul 2005 22:18:53 -0000 Hey all, I am in a hurry to the movies so this will be short. I appologize. I am having some difficulty in getting realplayer feeds to show in Firefox. I get audio but no piture. Either a blank screen or some jumbled mess. Is there a fix to this? Also is it possible to not use helix at all but mplayer to play realplayer feeds? If so how is this done? Thanks for the help and if you need more info, just asks David From owner-freebsd-multimedia@FreeBSD.ORG Mon Jul 4 23:27:14 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4422816A41C for ; Mon, 4 Jul 2005 23:27:14 +0000 (GMT) (envelope-from dmwassman@cox.net) Received: from lakermmtao05.cox.net (lakermmtao05.cox.net [68.230.240.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id C5FA943D48 for ; Mon, 4 Jul 2005 23:27:13 +0000 (GMT) (envelope-from dmwassman@cox.net) Received: from jupiter.solar.net ([68.226.7.134]) by lakermmtao05.cox.net (InterMail vM.6.01.04.00 201-2131-118-20041027) with ESMTP id <20050704232713.NRCU13442.lakermmtao05.cox.net@jupiter.solar.net> for ; Mon, 4 Jul 2005 19:27:13 -0400 Resent-From: David Wassman Resent-To: freebsd-multimedia@freebsd.org Resent-Date: Mon, 4 Jul 2005 19:27:00 -0400 Resent-Message-ID: <200507041927.00327.dmwassman@cox.net> Received: from jupiter.solar.net ([68.226.7.134]) by lakermmtao08.cox.net (InterMail vM.6.01.04.00 201-2131-118-20041027) with ESMTP id <20050704231539.FLPC18139.lakermmtao08.cox.net@jupiter.solar.net> for ; Mon, 4 Jul 2005 19:15:39 -0400 From: David Wassman To: David Wassman Date: Mon, 4 Jul 2005 19:15:04 -0400 User-Agent: KMail/1.8 References: <200507041818.38821.dmwassman@cox.net> In-Reply-To: <200507041818.38821.dmwassman@cox.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200507041915.04468.dmwassman@cox.net> Cc: Subject: Re: Real Player on Firefox under FreeBSD 5.4 not playing video X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jul 2005 23:27:14 -0000 Follow up... I am running linuxpluginwrapper and linux-realplayer10. My libmap.conf is the default for FreeBSD5-stable. I have nphelix.so as the plugin file. I also have mplayer-plugin which works well with wma or qt feeds. On Monday 04 July 2005 06:18 pm, you wrote: > Hey all, > > I am in a hurry to the movies so this will be short. I appologize. I am > having some difficulty in getting realplayer feeds to show in Firefox. I > get audio but no piture. Either a blank screen or some jumbled mess. Is > there a fix to this? Also is it possible to not use helix at all but > mplayer to play realplayer feeds? If so how is this done? Thanks for the > help and if you need more info, just asks > > David From owner-freebsd-multimedia@FreeBSD.ORG Tue Jul 5 00:19:34 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 455BC16A41C for ; Tue, 5 Jul 2005 00:19:34 +0000 (GMT) (envelope-from mbsd@pacbell.net) Received: from ylpvm12.prodigy.net (ylpvm12-ext.prodigy.net [207.115.57.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id 07CDC43D45 for ; Tue, 5 Jul 2005 00:19:33 +0000 (GMT) (envelope-from mbsd@pacbell.net) Received: from pimout5-ext.prodigy.net (pimout5-int.prodigy.net [207.115.4.21]) by ylpvm12.prodigy.net (8.12.10 outbound/8.12.10) with ESMTP id j650JUpJ010206 for ; Mon, 4 Jul 2005 20:19:30 -0400 X-ORBL: [64.166.22.206] Received: from sotec.home (adsl-64-166-22-206.dsl.snfc21.pacbell.net [64.166.22.206]) by pimout5-ext.prodigy.net (8.13.4 outbound domainkey aix/8.13.4) with ESMTP id j650JW18150508; Mon, 4 Jul 2005 20:19:32 -0400 Date: Mon, 4 Jul 2005 17:19:31 -0700 (PDT) From: =?ISO-8859-1?Q?Mikko_Ty=F6l=E4j=E4rvi?= X-X-Sender: mikko@sotec.home To: David Wassman In-Reply-To: <200507041818.38821.dmwassman@cox.net> Message-ID: <20050704170900.G1819@sotec.home> References: <200507041818.38821.dmwassman@cox.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-multimedia@freebsd.org Subject: Re: Real Player on Firefox under FreeBSD 5.4 not playing video X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jul 2005 00:19:34 -0000 Hi! On Mon, 4 Jul 2005, David Wassman wrote: > Hey all, > > I am in a hurry to the movies so this will be short. I appologize. I > am having some difficulty in getting realplayer feeds to show in > Firefox. I get audio but no piture. Either a blank screen or some > jumbled mess. Is there a fix to this? Also is it possible to not use > helix at all but mplayer to play realplayer feeds? If so how is this > done? Thanks for the help and if you need more info, just asks To use mplayerplug-in: 0. Don power gloves 1. Execute: # rm /usr/X11R6/lib/browser_plugins/nphelix* # sed -i -e 's/^#enable-real=0/enable-real=1/' /usr/X11R6/etc/mplayerplug-in.conf # touch /usr/X11R6/lib/browser_plugins/mplayerplug-in.so 2. Restart mozilla Not that it seems to work too well: my first attempt at viewing a real movie (from www.real.com) got stuck, the second attempt crashed. But there it is... $.02, /Mikko From owner-freebsd-multimedia@FreeBSD.ORG Tue Jul 5 03:39:34 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9A00216A41C for ; Tue, 5 Jul 2005 03:39:34 +0000 (GMT) (envelope-from dmwassman@cox.net) Received: from lakermmtao10.cox.net (lakermmtao10.cox.net [68.230.240.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id 29E3143D4C for ; Tue, 5 Jul 2005 03:39:34 +0000 (GMT) (envelope-from dmwassman@cox.net) Received: from jupiter.solar.net ([68.226.7.134]) by lakermmtao10.cox.net (InterMail vM.6.01.04.00 201-2131-118-20041027) with ESMTP id <20050705033932.CSON7787.lakermmtao10.cox.net@jupiter.solar.net>; Mon, 4 Jul 2005 23:39:32 -0400 From: David Wassman To: Mikko =?iso-8859-1?q?Ty=F6l=E4j=E4rvi?= Date: Mon, 4 Jul 2005 23:39:18 -0400 User-Agent: KMail/1.8 References: <200507041818.38821.dmwassman@cox.net> <20050704170900.G1819@sotec.home> In-Reply-To: <20050704170900.G1819@sotec.home> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200507042339.18743.dmwassman@cox.net> Cc: freebsd-multimedia@freebsd.org Subject: Re: Real Player on Firefox under FreeBSD 5.4 not playing video X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jul 2005 03:39:34 -0000 On Monday 04 July 2005 08:19 pm, Mikko Ty=F6l=E4j=E4rvi wrote: > Hi! > > On Mon, 4 Jul 2005, David Wassman wrote: > > Hey all, > > > > I am in a hurry to the movies so this will be short. I appologize. I > > am having some difficulty in getting realplayer feeds to show in > > Firefox. I get audio but no piture. Either a blank screen or some > > jumbled mess. Is there a fix to this? Also is it possible to not use > > helix at all but mplayer to play realplayer feeds? If so how is this > > done? Thanks for the help and if you need more info, just asks > > To use mplayerplug-in: > > 0. Don power gloves > > 1. Execute: > > # rm /usr/X11R6/lib/browser_plugins/nphelix* > # sed -i -e 's/^#enable-real=3D0/enable-real=3D1/' > /usr/X11R6/etc/mplayerplug-in.conf # touch > /usr/X11R6/lib/browser_plugins/mplayerplug-in.so > > 2. Restart mozilla > > Not that it seems to work too well: my first attempt at viewing a real > movie (from www.real.com) got stuck, the second attempt crashed. But > there it is... > > $.02, > /Mikko Mikko Got it to work but your right, it is trickey. I don't seem to have a proble= m=20 playing the video just when I press back on the browser, it freezes. You=20 wouldn't happen to know the solution to the other problem? Thanks for the help. David From owner-freebsd-multimedia@FreeBSD.ORG Tue Jul 5 14:09:02 2005 Return-Path: X-Original-To: multimedia@freebsd.org Delivered-To: freebsd-multimedia@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E813D16A41C; Tue, 5 Jul 2005 14:09:02 +0000 (GMT) (envelope-from mat@cnd.mcgill.ca) Received: from drizzle.cc.mcgill.ca (drizzle.CC.McGill.CA [132.206.27.48]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C89043D48; Tue, 5 Jul 2005 14:09:02 +0000 (GMT) (envelope-from mat@cnd.mcgill.ca) Received: from mailscan1.cc.mcgill.ca (mailscan1.CC.McGill.CA [132.216.77.248]) by drizzle.cc.mcgill.ca (8.12.11/8.12.3) with ESMTP id j65E8wlW014894; Tue, 5 Jul 2005 10:08:59 -0400 Received: from cube.cnd.mcgill.ca (cube.CND.McGill.CA [132.216.25.196]) by mailscan1.cc.mcgill.ca (8.13.0/8.13.0) with ESMTP id j65E8p4s009170; Tue, 5 Jul 2005 10:08:53 -0400 (EDT) Received: from localhost.localdomain (giant.cnd.mcgill.ca [132.216.11.153]) by cube.cnd.mcgill.ca (8.12.11/8.12.11) with ESMTP id j65E8pNB023214; Tue, 5 Jul 2005 10:08:51 -0400 Received: from localhost.localdomain (giant [127.0.0.1]) by localhost.localdomain (8.12.11/8.12.11) with ESMTP id j65E8k6J020890; Tue, 5 Jul 2005 10:08:46 -0400 Received: (from mat@localhost) by localhost.localdomain (8.12.11/8.12.11/Submit) id j65E8jY3020889; Tue, 5 Jul 2005 10:08:45 -0400 Date: Tue, 5 Jul 2005 10:08:45 -0400 From: Mathew Kanner To: George Reid Message-ID: <20050705140845.GB20863@cnd.mcgill.ca> References: <200507041922.07763.hselasky@c2i.net> <20050704173750.GA3375@soaustin.net> <42C97A0A.4060908@oriel.oxon.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42C97A0A.4060908@oriel.oxon.org> User-Agent: Mutt/1.4.2i Organization: I speak for myself, operating in Montreal, CANADA Cc: Mark Linimon , FreeBSD bugmaster , sound@freebsd.org, multimedia@freebsd.org Subject: Re: Change request [requesting reassignment of PRs away from 'sound@'] X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jul 2005 14:09:03 -0000 On Jul 04, George Reid wrote: > Mark Linimon wrote: > > >For those on the mailing lists: the following is a request from the > >submitter of these various PRs, which are currently assigned to the > >'sound@' mail alias, to instead ressign them to the multimedia mailing > >list. What do people think about this? Is the 'sound@' alias still > >doing us any good, or should we reassign all these (and all the others?) > > > >While wearing the bugmeister hat, it doesn't really matter to me; if > >it would help get things committed I'm for it, if not, IMHO it's just > >extra work. > > > >I will observe (still wearing that hat) that we seem to have many more > >sound PRs than developer cycles to get them incorporated :-(, but also > >that there's a fair amount of that going on in GNATS anyways ... > > > >Again, I have no strong opinion, but we should see if we have a consensus > >on which way to go, before changing them. > > > >mcl > > > > > Hi, > Unfortunately I have very limited free time at the moment[*] to look at > any of these, and as Cameron is sadly no longer with us, I have no > objection to reassigning them (all) to freebsd-multimedia. If nothing > else, they'll get a wider audience, since sound@ is a closed list > consisting only of myself and two others. > > Regards, > George > > [*]: This appears to be a perennial problem... A whole-hearted ditto. --Mat From owner-freebsd-multimedia@FreeBSD.ORG Tue Jul 5 21:56:33 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9122716A41C for ; Tue, 5 Jul 2005 21:56:33 +0000 (GMT) (envelope-from sean-freebsd@farley.org) Received: from mail.farley.org (farley.org [67.64.95.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 50E5C43D46 for ; Tue, 5 Jul 2005 21:56:33 +0000 (GMT) (envelope-from sean-freebsd@farley.org) Received: from thor.farley.org (thor.farley.org [192.168.1.5]) by mail.farley.org (8.13.1/8.13.1) with ESMTP id j65LuVGW038747 for ; Tue, 5 Jul 2005 16:56:31 -0500 (CDT) (envelope-from sean-freebsd@farley.org) Date: Tue, 5 Jul 2005 16:56:29 -0500 (CDT) From: =?ISO-8859-1?Q?Se=E1n_C=2E_Farley?= To: freebsd-multimedia@freebsd.org Message-ID: <20050705162339.D917@thor.farley.org> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-1372284680-1120600589=:917" Subject: Number of physical playback channels for Santa Cruz card X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jul 2005 21:56:33 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-1372284680-1120600589=:917 Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Although I have successfully run my Santa Cruz card with virtual channels, I am interested in using the possible hardware channels my card may have. dmesg: csa0: mem 0xfe600000-0xfe6fffff,0xfe70= 0000-0xfe700fff irq 17 at device 14.0 on pci0 csa: card is Turtle Beach Santa Cruz pcm0: on csa0 pcm0: /dev/sndstat (without virtual channels): pcm0: at irq 17 kld snd_csa (1p/1r/0v channels duplex de= fault) I believe my card uses the CS4630 DSP. I also think it has more than the one playback channel (maybe four?) it is claiming. Is there a way I can verify? If it does, would it be relatively easy to update the driver (csa) to support multiple physical channels? Thank you. Se=E1n P.S. Please Cc:; I am not subscribed. --=20 sean-freebsd@farley.org --0-1372284680-1120600589=:917-- From owner-freebsd-multimedia@FreeBSD.ORG Wed Jul 6 22:46:01 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E624E16A41C for ; Wed, 6 Jul 2005 22:46:00 +0000 (GMT) (envelope-from skywizard@MyBSD.org.my) Received: from tomoyo.MyBSD.org.my (duke.voidnetwork.com [202.157.186.223]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3CFDC43D46 for ; Wed, 6 Jul 2005 22:45:59 +0000 (GMT) (envelope-from skywizard@MyBSD.org.my) Received: from localhost (localhost [127.0.0.1]) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id 7FE106CCA7; Thu, 7 Jul 2005 06:51:14 +0800 (MYT) Received: from tomoyo.MyBSD.org.my ([127.0.0.1]) by localhost (duke.voidnetwork.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 53765-02; Thu, 7 Jul 2005 06:51:12 +0800 (MYT) Received: from kasumi.MyBSD.org.my (unknown [60.48.105.42]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id 23AC76CCAA; Thu, 7 Jul 2005 06:51:11 +0800 (MYT) Date: Thu, 7 Jul 2005 06:46:03 +0800 From: Ariff Abdullah To: freebsd-multimedia@freebsd.org Message-Id: <20050707064603.6c295451.skywizard@MyBSD.org.my> Organization: MyBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-antivirus-mail-gateway at TOMOYO.MYBSD.ORG.MY Cc: mat@cnd.mcgill.ca Subject: Massive sound changes / fix (24/32bit pcm support, new sampling rate converter, various fixes) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jul 2005 22:46:01 -0000 After sometimes, I've decided to release this (massive 4k lines) diff to our sound driver. This need proper review and confirmation, before it can be committed. Patches for both HEAD / RELENG_5 available at: http://staff.mybsd.org.my/skywizard/FreeBSD/sound/ (Note the snd_RELTAG*.diff) Whats New ========= 1. Support wide range sampling rate as low as 1hz up to int32 max (which is, insane) through new feeder_rate, multiple precisions choice (32/64 bit converter). This is indeed, quite insane, but it does give us more room and flexibility. 2. Support 24/32 bit pcm format conversion through new, much improved feeder_fmt. System wide changes =================== 1. sys/soundcard.h * Add definition for AFMT_(U|S)24_(B|L)E. This is somehow contradict with OSS/Voxware definition of 24bit, but anyway... General sound infrastructure changes ==================================== 1. ac97.c * Slightly new method to detect mixer capabilities and resolution. This mostly to help CT4730, but apparently it does help other cards too (especially via8233x). This probably need futher test and confirmation from other people with ac97 cards other than via / es137x. * Aggresive dac power wake up call, again, to help CT4730 (and probably others). 2. mixer.c / sound.c (high priority / grave severity) * Fix super grave serious (call it whatever) panic/death during driver unload on second attempt after failure on first (device busy). 3. buffer.c / dsp.c / sound.h * Support for 24/32 AFMT 4. feeder_rate.c * New implementation of sampling rate conversion with 32/64 bit precision, 1 - int32max hz (which is, ridiculous, yet very addictive). Much improved / smarter buffer management to not cause any missing samples at the end of conversion process * Tunable sysctls for various aspect: hw.snd.feeder_rate_ratemin - minimum allowable sampling rate (default to 4000) hw.snd.feeder_rate_ratemax - maximum allowable sampling rate (default to 1102500) hw.snd.feeder_rate_buffersize - conversion buffer size (default to 8192) hw.snd.feeder_rate_scaling - scaling / conversion method (please refer to the source for explaination). Default to previous implementation type. 5. feeder_fmt.c / sound.h * New implementation, support for 24/32bit conversion, optimized, and simplified. Few routines has been removed (8 to xlaw, 16 to 8). It just doesn't make sense. 6. channel.c * Support for 24/32 AFMT * Fix wrong xruns increment, causing incorrect underruns statistic while using vchans. 7. vchan.c (high priority) * Support for 24/32 AFMT * Proper speed / rate detection especially for fixed rate ac97. User can override it using kernel hint: hint.pcm..vchanrate="xxxx". Hardware spessific changes ========================== 1. als4000.c * als4000 can't do 48k properly (perhaps it really can't at all!). Set maxspeed to 44.1k instead. * Add locking / MPSAFE * Fix recording 2. cmi.c * remove busdma_lock_mutex and Giant from bus_dma_tag_create. Nothing changes. 3. es137x.c / es137x.h * Register programming error during device initialization especially for CT4730 / EV1938 chip, causing misconfigured mixer (David Xu), crippled after power cycle (Kevin Oberman). Fixed. * Incorporate locking/spdif patches from Jon Noack. Not all es137x can really do spdif, clean it up a bit to only let few capable chip. * Convert all bus_space_(read|write) to use es_rd/es_wr, simmilar with other drivers. * Add tunable hw.snd.pcm.latency_timer sysctl to toggle pci latency timer value on the fly. Much noise / pop / crackling issues can be solved by increasing its value. Other people can point out to use pciconf instead, but this is just and added value specifically for braindead CT4730/EV1938. 4. via8233.c * Add locking / MPSAFE * Add kernel hint option to disable DXS channels entirely. Report from several skype users / Pav Lucistnik indicate that disabling DXS fix lots of pop / crackling noise. To disable DXS, add hint.pcm..via_dxs_disabled="1" into /boot/device.hints. NOTE: It is advisable to disable DXS entirely. Although DXS can provide multiple concurrent access, doing so will cause more harm than good (pop / crackling noise, sudden slowness, overruns). There are few cases where this is considered invalid, but I had to investigate more as this is not a global issue. Use / enable vchans for multiple sound sources (Please refer to vchans notes below). 5. via82c686.c * Add locking / MPSAFE. I don't have this card, so other people had to confirm it. Anyway, the logic is correct. Notes / Issues ============== * Virtual Channels (vchans) Enabling vchans can really, really help to solve overruns issue. This is quite understandable, because it operate entirely within its own buffering system without relying on hardware interrupt / state. Even if you don't need vchan, just enable single channel can help much. * Feeder alignment is really a monster on its own, this should be fixed or revamp in near future. * Mixer infrastructure is really outdated, without support for proper multichannel. Best candidate for hacking fest. * The arrival of 24/32 also come with a price. Applications that can do 24/32bit playback need to be recompiled (notably mplayer). Use (recompiled) mplayer to experiment / test / debug this various format using -af format=fmt. Note that 24bit seeking in mplayer is a little bit broken, sometimes can cause silence or loud static noise. Pausing / seeking few times can solve this problem. You don't have to rebuild world entirely for this. Simply copy /usr/src/sys/sys/soundcard.h to /usr/include/sys/soundcard.h would suffice. Few drivers also need recompilation, and this can be done via /usr/src/sys/modules/sound/. Support for 24bit hardware playback is beyond the scope of this changes. That would require spessific hardware driver changes and currently I don't have any of it. * Don't expect playing 9999999999hz is a wise decision. Be reasonable. The new feeder_rate implemention provide flexibility, not insanity. You can easily chewed up your CPU with this kind of mind instability. Please use proper mosquite repellent device for this obvious cracked brain attempt. As for testing purposes, you can use (again) mplayer to generate / play with different sampling rate. Use something like mplayer -af resample=192000:0:0 files.. -- Ariff Abdullah MyBSD http://www.MyBSD.org.my (IPv6/IPv4) http://staff.MyBSD.org.my (IPv6/IPv4) http://tomoyo.MyBSD.org.my (IPv6/IPv4) From owner-freebsd-multimedia@FreeBSD.ORG Thu Jul 7 10:10:13 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 28F3B16A41C for ; Thu, 7 Jul 2005 10:10:13 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from mailout02.sul.t-online.com (mailout02.sul.t-online.com [194.25.134.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id BDB1743D45 for ; Thu, 7 Jul 2005 10:10:12 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from fwd24.aul.t-online.de by mailout02.sul.t-online.com with smtp id 1DqTI1-0003k9-05; Thu, 07 Jul 2005 12:07:29 +0200 Received: from Andro-Beta.Leidinger.net (bRiK+kZCYes4mfbt-Jt0Z0QRBJQgvRR++Gjn3moWOkHNL0dURd8swG@[84.165.202.197]) by fwd24.sul.t-online.de with esmtp id 1DqTFh-0k4F040; Thu, 7 Jul 2005 12:05:05 +0200 Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by Andro-Beta.Leidinger.net (8.13.3/8.13.3) with ESMTP id j67A54bP007280; Thu, 7 Jul 2005 12:05:04 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Date: Thu, 7 Jul 2005 12:05:03 +0200 From: Alexander Leidinger To: Ariff Abdullah Message-ID: <20050707120503.5878d347@Magellan.Leidinger.net> In-Reply-To: <20050707064603.6c295451.skywizard@MyBSD.org.my> References: <20050707064603.6c295451.skywizard@MyBSD.org.my> X-Mailer: Sylpheed-Claws 1.9.11 (GTK+ 2.6.8; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-ID: bRiK+kZCYes4mfbt-Jt0Z0QRBJQgvRR++Gjn3moWOkHNL0dURd8swG@t-dialin.net X-TOI-MSGID: 8644f522-4d14-441e-8037-d28113e88fee Cc: freebsd-multimedia@freebsd.org, mat@cnd.mcgill.ca Subject: Re: Massive sound changes / fix (24/32bit pcm support, new sampling rate converter, various fixes) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jul 2005 10:10:13 -0000 On Thu, 7 Jul 2005 06:46:03 +0800 Ariff Abdullah wrote: > System wide changes > =================== > > 1. sys/soundcard.h > * Add definition for AFMT_(U|S)24_(B|L)E. This is somehow > contradict with OSS/Voxware definition of 24bit, but anyway... Can you explain this a little bit more please? Being incompatible isn't good (I haven't looked at the files, so I may understand something wrong). Bye, Alexander. -- Yes, I've heard of "decaf." What's your point? http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 From owner-freebsd-multimedia@FreeBSD.ORG Thu Jul 7 11:57:11 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7081F16A41C for ; Thu, 7 Jul 2005 11:57:11 +0000 (GMT) (envelope-from skywizard@MyBSD.org.my) Received: from tomoyo.MyBSD.org.my (duke.voidnetwork.com [202.157.186.223]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0047743D45 for ; Thu, 7 Jul 2005 11:57:10 +0000 (GMT) (envelope-from skywizard@MyBSD.org.my) Received: from localhost (localhost [127.0.0.1]) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id 566AC6CC9A; Thu, 7 Jul 2005 20:02:27 +0800 (MYT) Received: from tomoyo.MyBSD.org.my ([127.0.0.1]) by localhost (duke.voidnetwork.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 63624-01; Thu, 7 Jul 2005 20:02:25 +0800 (MYT) Received: from kasumi.MyBSD.org.my (unknown [60.50.147.238]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id 2C90B6CC99; Thu, 7 Jul 2005 20:02:24 +0800 (MYT) Date: Thu, 7 Jul 2005 19:57:16 +0800 From: Ariff Abdullah To: Alexander Leidinger Message-Id: <20050707195716.780c01a9.skywizard@MyBSD.org.my> In-Reply-To: <20050707120503.5878d347@Magellan.Leidinger.net> References: <20050707064603.6c295451.skywizard@MyBSD.org.my> <20050707120503.5878d347@Magellan.Leidinger.net> Organization: MyBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-antivirus-mail-gateway at TOMOYO.MYBSD.ORG.MY Cc: freebsd-multimedia@freebsd.org, mat@cnd.mcgill.ca Subject: Re: Massive sound changes / fix (24/32bit pcm support, new sampling rate converter, various fixes) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jul 2005 11:57:11 -0000 On Thu, 7 Jul 2005 12:05:03 +0200 Alexander Leidinger wrote: > On Thu, 7 Jul 2005 06:46:03 +0800 > Ariff Abdullah wrote: > > > System wide changes > > =================== > > > > 1. sys/soundcard.h > > * Add definition for AFMT_(U|S)24_(B|L)E. This is somehow > > contradict with OSS/Voxware definition of 24bit, but > > anyway... > > Can you explain this a little bit more please? Being incompatible > isn't good (I haven't looked at the files, so I may understand > something wrong). > OSS define AFMT_x32_xE as: 1) 32bit data, packed within 32bit (4bytes) boundary. 2) 24bit data, packed within 32bit (4bytes) boundary where the data is stored in the 24 most significant bits and least significant 8 bits are not used and should be set to 0. While this might hold true in few cases, lots of application (notably mplayer, sweep) really deal / produce 24bit as what they should meant to be: 24bit data / 3bytes per sample. In this case, I have decided to handle 24bit pcm separately so the in-kernel conversion space did not confuse itself with 32bit variant. Here is a hint for you: After applying the patch and replacing /usr/include/sys/soundcard.h with the patched version (/usr/src/sys/sys/soundcard.h), recompile mplayer, and use it to *abuse* this new format. Something like: mplayer -af resample=128000:0:0,format=u24be somefile.. This will let mplayer doing the conversion + resample from any -> 128khz/u24be and directly play it to /dev/dsp. Notice that the in-kernel conversion *really* doing it job properly. Also note that, mplayer 24bit seeking/pausing is buggy, they should do it within 24bit boundary anyway. I can't think of any other applications that really can play 24/32 bit pcm files *directly*, except mplayer. Most applications tend to do conversion from 24bit to sign/float 32 for processing, notably audacity, and to sign 16 le for playing. Don't worry about incompatibilities. It doesn't break anything. You don't have to recompile anything (except mplayer, and that is because to enable the long-awaited disabled feature). -- Ariff Abdullah MyBSD http://www.MyBSD.org.my (IPv6/IPv4) http://staff.MyBSD.org.my (IPv6/IPv4) http://tomoyo.MyBSD.org.my (IPv6/IPv4) From owner-freebsd-multimedia@FreeBSD.ORG Thu Jul 7 19:32:12 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5E89916A41C for ; Thu, 7 Jul 2005 19:32:12 +0000 (GMT) (envelope-from markus.stauffer@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0791543D46 for ; Thu, 7 Jul 2005 19:32:11 +0000 (GMT) (envelope-from markus.stauffer@gmail.com) Received: by zproxy.gmail.com with SMTP id 13so123680nzp for ; Thu, 07 Jul 2005 12:32:11 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Umd3+mo2/HD7Gfb/rdrW/77dr42Ftroks7Uwgd4k9rhBT+E9cxG6PGvW+wGZbDz1QWHVXoU/36taiSeGosztBdHqto6OZmHgvjDKW6/dBKlrbJMDYUuBUV6ewLzSsMedRsVvuA9p32vZGExt4KWe4YRoC7qQOPBRnIz8A5upTfI= Received: by 10.36.222.30 with SMTP id u30mr465663nzg; Thu, 07 Jul 2005 12:32:11 -0700 (PDT) Received: by 10.36.23.13 with HTTP; Thu, 7 Jul 2005 12:32:10 -0700 (PDT) Message-ID: <48217d5605070712326123b1ae@mail.gmail.com> Date: Thu, 7 Jul 2005 21:32:10 +0200 From: Markus Stauffer To: freebsd-multimedia@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: bktr with Pinnacle PCTV Studio/Rave X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Markus Stauffer List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jul 2005 19:32:12 -0000 Hello I recently tried to load the bktr drivers on my FreeBSD 5.4 System. Somehow it doesn't detect the driver correctly: bktr_mem: memory holder loaded bktr0: mem 0xdb010000-0xdb010fff irq 10 at device 11.0 on p= ci0 bktr0: Unable to allocate 1310720 bytes of memory. bktr0: Unable to allocate 3555328 bytes of memory. bktr0: MT2032: Companycode=3D3cbf Part=3D68 Revision=3D68 bktr0: MT2032 not found or unknown type bktr0: Detected a MSP3410G-B11 at 0x80 bktr0: Pinnacle/Miro TV, Philips PAL I tuner, msp3400c stereo. It is a new card and the linux kernel (2.6.x) detects it correctly (although not 2.4.x): > bttv: driver version 0.9.15 loaded > bttv: using 8 buffers with 2080k (520 pages) each > for > capture > bttv: Bt8xx card found (0). > PCI: Found IRQ 10 for device 0000:00:0b.0 > PCI: Sharing IRQ 10 with 0000:00:07.5 > PCI: Sharing IRQ 10 with 0000:00:0b.1 > bttv0: Bt878 (rev 17) at 0000:00:0b.0, irq: 10, > latency: 32, mmio: 0xdb010000 > bttv0: detected: Pinnacle PCTV [card=3D39], PCI > subsystem ID is 11bd:0012 > bttv0: using: Pinnacle PCTV Studio/Rave > [card=3D39,autodetected] > bttv0: gpio: en=3D00000000, out=3D00000000 in=3D00fffbff > [init] > bttv0: i2c: checking for MSP34xx @ 0x80... found > bttv0: pinnacle/mt: id=3D2 info=3D"PAL+SECAM / stereo" > radio=3Dyes > bttv0: using tuner=3D33 > bttv0: i2c: checking for MSP34xx @ 0x80... found > msp34xx: init: chip=3DMSP3410G-B11 +nicam +simple > +simpler +radio mode=3Dsimple > msp3410: daemon started > bttv0: i2c: checking for TDA9875 @ 0xb0... not found > bttv0: i2c: checking for TDA7432 @ 0x8a... not found > tda9885/6/7: chip found @ 0x96 > tuner: chip found at addr 0xc0 i2c-bus bt878 #0 [sw] > tuner: type set to 33 (MT20xx universal) by bt878 #0 > [sw] > tuner: microtune: companycode=3D3cbf part=3D42 rev=3D2f > tuner: microtune MT2050 found, OK > bttv0: registered device video0 > bttv0: registered device vbi0 > bttv0: registered device radio0 > bttv0: PLL: 28636363 =3D> 35468950 .. ok Any idea what i can do? The sysctl settings didn't help either :( --=20 Markus Stauffer From owner-freebsd-multimedia@FreeBSD.ORG Thu Jul 7 20:43:08 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C6AE216A41C for ; Thu, 7 Jul 2005 20:43:08 +0000 (GMT) (envelope-from steve@sohara.org) Received: from sohara.org (sohara.org [192.220.64.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9BE3543D46 for ; Thu, 7 Jul 2005 20:43:08 +0000 (GMT) (envelope-from steve@sohara.org) Received: (qmail 64961 invoked by uid 16563); 7 Jul 2005 20:43:07 -0000 Received: from unknown (HELO df1.sohara.org) ([159.134.157.226]) (envelope-sender ) by 192.220.64.179 (qmail-ldap-1.03) with SMTP for ; 7 Jul 2005 20:43:07 -0000 Date: Thu, 7 Jul 2005 21:43:02 +0100 From: Steve O'Hara-Smith To: Markus Stauffer Message-Id: <20050707214302.2f8289cc.steve@sohara.org> In-Reply-To: <48217d5605070712326123b1ae@mail.gmail.com> References: <48217d5605070712326123b1ae@mail.gmail.com> Organization: Steve O'Hara-Smith X-Mailer: Sylpheed version 2.0.0beta2 (GTK+ 2.6.8; i386-portbld-freebsd4.8) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org Subject: Re: bktr with Pinnacle PCTV Studio/Rave X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jul 2005 20:43:08 -0000 On Thu, 7 Jul 2005 21:32:10 +0200 Markus Stauffer wrote: > > tuner: microtune MT2050 found, OK Ah an MT2050 based one just like mine - I have a patch that uses some GPL code to drive it but it doesn't seem to work very well (bad picture with lot's of snow) no matter which of the three variants I use (one from the Linux bttv code, one from a C++ project and one from pcitv. My patch is against DragonFly rather than FreeBSD and needs a little adjustment to use with FreeBSD. One other person was helping me with testing and getting similarly poor results. Does your card work well with Linux ? If so I'd be inclined to start again and merge in the drive code from the version of Linux that you are using. -- C:>WIN | Directable Mirror Arrays The computer obeys and wins. | A better way to focus the sun You lose and Bill collects. | licences available see | http://www.sohara.org/ From owner-freebsd-multimedia@FreeBSD.ORG Fri Jul 8 05:38:46 2005 Return-Path: X-Original-To: multimedia@FreeBSD.org Delivered-To: freebsd-multimedia@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D89C716A41C for ; Fri, 8 Jul 2005 05:38:46 +0000 (GMT) (envelope-from grog@lemis.com) Received: from blackwater.lemis.com (wantadilla.lemis.com [192.109.197.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5768F43D49 for ; Fri, 8 Jul 2005 05:38:46 +0000 (GMT) (envelope-from grog@lemis.com) Received: by blackwater.lemis.com (Postfix, from userid 1004) id 3BB95855F2; Fri, 8 Jul 2005 15:08:45 +0930 (CST) Date: Fri, 8 Jul 2005 15:08:45 +0930 From: Greg 'groggy' Lehey To: multimedia@FreeBSD.org Message-ID: <20050708053845.GL19707@wantadilla.lemis.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3xQkynibq3FKlJyM" Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 Cc: Subject: Best processor for multimedia? X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jul 2005 05:38:47 -0000 --3xQkynibq3FKlJyM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I'm thinking of building a new, quite fast system for multimedia, notably displaying MPEGs. I'm currently using mplayer on an Athlon 1700, and from time to time there are hiccoughs. Processors are cheap now, and it would be trivial to get a "3000" rating processor relatively cheaply. The question is, which one? The current choices seem to be: - P4 - Celeron - Athlon - Sempron - Athlon 64 =46rom previous mail on this list, it seems that Athlon 64 is probably not the best choice for reasons of compatibility. Obviously the fastest Athlon (32) will be faster than a correspondingly rated Sempron, and similarly a P4 will be faster than a corresponding Celeron. But by how much? Ignoring things like Xeons and P4 Extremes, I find roughly the following pricing (here in Australia, pre tax): Intel Celeron D 335 - 2.8GHz CPCELD335 $134.00 AMD Sempron 3100+ Box Soc754 CPAS3100 $157.00 AMD Athlon XP 3000+ BOX BARTON CPAXPB3000 $184.00 Intel P4 3.40GHz PRESCOTT 1MB CPP43.40HT-PS $409.00 Intel P4-660 (3.6GHz)LGA775pin CPP4-660 $841.00 That's a pretty big price range. What's important for multimedia? My understanding is that software MPEG processing needs a lot of CPU, and the processors here are roughly comparable (OK, the P4s may be somewhat faster). But what about the other differences? How important is cache? If I take the AMD offerings, am I better off with the (cheaper) Sempron with a slightly faster clock, or with the Athlon XP with more cache? How does the Celeron compare with either? Also, is it worth paying the significantly higher prices for the P4? Greg -- The virus contained in this message was detected by LEMIS anti-virus. For further details see http://www.lemis.com/grog/lemis-virus.html Finger grog@FreeBSD.org for PGP public key. See complete headers for address and phone numbers. --3xQkynibq3FKlJyM Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFCzhFlIubykFB6QiMRAvA4AJ0aVfhKgcG2G/+7ci6NYH5Q3+g0KACZARqZ VD2ELCNHBA6Sjngg8OSKjCE= =i90S -----END PGP SIGNATURE----- --3xQkynibq3FKlJyM-- From owner-freebsd-multimedia@FreeBSD.ORG Fri Jul 8 07:06:47 2005 Return-Path: X-Original-To: multimedia@freebsd.org Delivered-To: freebsd-multimedia@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E95D816A41C; Fri, 8 Jul 2005 07:06:47 +0000 (GMT) (envelope-from rizzo@icir.org) Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9AA0043D49; Fri, 8 Jul 2005 07:06:47 +0000 (GMT) (envelope-from rizzo@icir.org) Received: from xorpc.icir.org (localhost [127.0.0.1]) by xorpc.icir.org (8.12.11/8.12.11) with ESMTP id j6876l5G001588; Fri, 8 Jul 2005 00:06:47 -0700 (PDT) (envelope-from rizzo@xorpc.icir.org) Received: (from rizzo@localhost) by xorpc.icir.org (8.12.11/8.12.3/Submit) id j6876lf4001587; Fri, 8 Jul 2005 00:06:47 -0700 (PDT) (envelope-from rizzo) Date: Fri, 8 Jul 2005 00:06:47 -0700 From: Luigi Rizzo To: "Greg 'groggy' Lehey" Message-ID: <20050708000647.C1247@xorpc.icir.org> References: <20050708053845.GL19707@wantadilla.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20050708053845.GL19707@wantadilla.lemis.com>; from grog@freebsd.org on Fri, Jul 08, 2005 at 03:08:45PM +0930 Cc: multimedia@freebsd.org Subject: Re: Best processor for multimedia? X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jul 2005 07:06:48 -0000 On Fri, Jul 08, 2005 at 03:08:45PM +0930, Greg 'groggy' Lehey wrote: > I'm thinking of building a new, quite fast system for multimedia, > notably displaying MPEGs. I'm currently using mplayer on an Athlon > 1700, and from time to time there are hiccoughs. Processors are cheap apart from the obvious optimizations (such as using mplayer compiled for the specific flags for your CPU) i believe the hiccups are more likely due to CPU and disk not being available when you need, rather than raw CPU speed (above a certain level, that is). I'd try to tweak process priority and things such as HZ and kern.quantum. Also having direct access to the frame buffer helps a lot, but i think most video cards do support that now (possibly the 'expensive' cards might be a worse deal due to lack of sw support!) cheers luigi > now, and it would be trivial to get a "3000" rating processor > relatively cheaply. > > The question is, which one? The current choices seem to be: > > - P4 > - Celeron > - Athlon > - Sempron > - Athlon 64 > > From previous mail on this list, it seems that Athlon 64 is probably > not the best choice for reasons of compatibility. Obviously the > fastest Athlon (32) will be faster than a correspondingly rated > Sempron, and similarly a P4 will be faster than a corresponding > Celeron. But by how much? Ignoring things like Xeons and P4 > Extremes, I find roughly the following pricing (here in Australia, pre > tax): > > Intel Celeron D 335 - 2.8GHz CPCELD335 $134.00 > AMD Sempron 3100+ Box Soc754 CPAS3100 $157.00 > AMD Athlon XP 3000+ BOX BARTON CPAXPB3000 $184.00 > Intel P4 3.40GHz PRESCOTT 1MB CPP43.40HT-PS $409.00 > Intel P4-660 (3.6GHz)LGA775pin CPP4-660 $841.00 > > That's a pretty big price range. What's important for multimedia? My > understanding is that software MPEG processing needs a lot of CPU, and > the processors here are roughly comparable (OK, the P4s may be > somewhat faster). But what about the other differences? How > important is cache? If I take the AMD offerings, am I better off with > the (cheaper) Sempron with a slightly faster clock, or with the Athlon > XP with more cache? How does the Celeron compare with either? Also, > is it worth paying the significantly higher prices for the P4? > > Greg > -- > The virus contained in this message was detected by LEMIS anti-virus. > For further details see http://www.lemis.com/grog/lemis-virus.html > > Finger grog@FreeBSD.org for PGP public key. > See complete headers for address and phone numbers. From owner-freebsd-multimedia@FreeBSD.ORG Fri Jul 8 07:33:47 2005 Return-Path: X-Original-To: multimedia@FreeBSD.org Delivered-To: freebsd-multimedia@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2EED916A41C for ; Fri, 8 Jul 2005 07:33:47 +0000 (GMT) (envelope-from grog@lemis.com) Received: from blackwater.lemis.com (wantadilla.lemis.com [192.109.197.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8054A43D45 for ; Fri, 8 Jul 2005 07:33:45 +0000 (GMT) (envelope-from grog@lemis.com) Received: by blackwater.lemis.com (Postfix, from userid 1004) id 0480F8569B; Fri, 8 Jul 2005 17:03:44 +0930 (CST) Date: Fri, 8 Jul 2005 17:03:43 +0930 From: Greg 'groggy' Lehey To: multimedia@FreeBSD.org Message-ID: <20050708073343.GC917@wantadilla.lemis.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/e2eDi0V/xtL+Mc8" Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 Cc: Subject: Problems running VLC X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jul 2005 07:33:47 -0000 --/e2eDi0V/xtL+Mc8 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable A few months back I tried installed VLC, but I couldn't get it to run. I could start it and try to play a DVD, but then it crashed with voluminous error messages: VLC media player 0.8.2 Janus libdvdnav: Using dvdnav version 0.1.9 from http://dvd.sf.net libdvdread: Using libdvdcss version 1.2.8 for DVD access libdvdnav: DVD Title: LSIL87484730 =20 libdvdnav: DVD Serial Number: 8748473019526112 libdvdnav: DVD Title (Alternative): = =20 libdvdnav: Unable to find map file '/root/.dvdnav/LSIL87484730 = .map' *** Zero check failed in ifo_read.c:324 for vmgi_mat->zero_3 =3D 0x00000000010000000000000000000000000000 libdvdnav: DVD disk reports itself with Region mask 0x00000000. Regions: = 1 2 3 4 5 6 7 8 =20 libdvdread: Attempting to retrieve all CSS keys libdvdread: This can take a _long_ time, please be patient =20 libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x00001180 libdvdread: Elapsed time 0 libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00004000 libdvdread: Elapsed time 0 libdvdread: Found 1 VTS's libdvdread: Elapsed time 0 libdvdnav: Language 'en' not found, using '=FF=FF' instead libdvdnav: Menu Languages available: =FF=FF=20 libdvdnav: Language 'en' not found, using '=FF=FF' instead libdvdnav: Menu Languages available: =FF=FF=20 libdvdnav: Language 'en' not found, using '=FF=FF' instead libdvdnav: Menu Languages available: =FF=FF=20 libdvdnav: Language 'en' not found, using '=FF=FF' instead libdvdnav: Menu Languages available: =FF=FF=20 libdvdnav: Language 'en' not found, using '=FF=FF' instead libdvdnav: Menu Languages available: =FF=FF=20 libdvdnav: Language 'en' not found, using '=FF=FF' instead libdvdnav: Menu Languages available: =FF=FF=20 libdvdnav: Language 'en' not found, using '=FF=FF' instead libdvdnav: Menu Languages available: =FF=FF=20 libdvdnav: Language 'en' not found, using '=FF=FF' instead libdvdnav: Menu Languages available: =FF=FF=20 libdvdnav: Language 'en' not found, using '=FF=FF' instead libdvdnav: Menu Languages available: =FF=FF=20 =20 *** libdvdread: CHECK_VALUE failed in nav_read.c:351 *** *** for dsi->dsi_gi.zero1 =3D=3D 0 *** =20 libdvdnav: Language 'en' not found, using '=FF=FF' instead libdvdnav: Menu Languages available: =FF=FF=20 libdvdnav: Language 'en' not found, using '=FF=FF' instead libdvdnav: Menu Languages available: =FF=FF=20 X Error of failed request: BadShmSeg (invalid shared segment parameter) Major opcode of failed request: 145 (MIT-SHM) Minor opcode of failed request: 2 (X_ShmDetach) Segment id in failed request: 0x2600009 Serial number of failed request: 48 Current serial number in output stream: 49 I'm guessing that the real issue is the lack of language support, and that this in turn has something to do with an incorrect installation of libdvdnav. I've reinstalled today and had exactly the same issues. A brief investigation, including on google, hasn't helped much. Before I go into depth, has anybody else seen this and found a solution, or at least some leads to follow? Greg -- The virus contained in this message was detected by LEMIS anti-virus. For further details see http://www.lemis.com/grog/lemis-virus.html Finger grog@FreeBSD.org for PGP public key. See complete headers for address and phone numbers. --/e2eDi0V/xtL+Mc8 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFCzixXIubykFB6QiMRAp8IAJ0eD7cjWnHQOXLynyEl7uOUGP78yQCfUl97 ISSj4K4ivvKTmMqeoL1UCUc= =vAne -----END PGP SIGNATURE----- --/e2eDi0V/xtL+Mc8-- From owner-freebsd-multimedia@FreeBSD.ORG Fri Jul 8 07:40:35 2005 Return-Path: X-Original-To: multimedia@freebsd.org Delivered-To: freebsd-multimedia@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4095D16A41C for ; Fri, 8 Jul 2005 07:40:35 +0000 (GMT) (envelope-from pyunyh@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5504643D4C for ; Fri, 8 Jul 2005 07:40:34 +0000 (GMT) (envelope-from pyunyh@gmail.com) Received: by wproxy.gmail.com with SMTP id 58so407106wri for ; Fri, 08 Jul 2005 00:40:33 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=G/8d11RMIzr2bsxmpLHs21OnLxbNlD+F8jUIM+HFOcrEqipVV1/uBUT3nQRNHBAPXECFfAS1Boyi7QClpOYv1AwJKcsJf6Re9OwvbiOYnYKMem/4VOWf4nt04I0+COY09xomgMo/p9W+6TxmLGrQ97ZUTaIey8Dsta7eHDWs0bM= Received: by 10.54.45.76 with SMTP id s76mr1377840wrs; Fri, 08 Jul 2005 00:40:33 -0700 (PDT) Received: from michelle.rndsoft.co.kr ([211.32.202.209]) by mx.gmail.com with ESMTP id 6sm2242736wrl.2005.07.08.00.40.32; Fri, 08 Jul 2005 00:40:33 -0700 (PDT) Received: from michelle.rndsoft.co.kr (localhost.rndsoft.co.kr [127.0.0.1]) by michelle.rndsoft.co.kr (8.13.1/8.13.1) with ESMTP id j687eT9U018218 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 8 Jul 2005 16:40:29 +0900 (KST) (envelope-from yongari@rndsoft.co.kr) Received: (from yongari@localhost) by michelle.rndsoft.co.kr (8.13.1/8.13.1/Submit) id j687eS0v018217; Fri, 8 Jul 2005 16:40:28 +0900 (KST) (envelope-from yongari@rndsoft.co.kr) Date: Fri, 8 Jul 2005 16:40:28 +0900 From: Pyun YongHyeon To: Luigi Rizzo Message-ID: <20050708074028.GE16674@rndsoft.co.kr> References: <20050708053845.GL19707@wantadilla.lemis.com> <20050708000647.C1247@xorpc.icir.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050708000647.C1247@xorpc.icir.org> User-Agent: Mutt/1.4.2.1i Cc: Greg 'groggy' Lehey , multimedia@freebsd.org Subject: Re: Best processor for multimedia? X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jul 2005 07:40:35 -0000 On Fri, Jul 08, 2005 at 12:06:47AM -0700, Luigi Rizzo wrote: > On Fri, Jul 08, 2005 at 03:08:45PM +0930, Greg 'groggy' Lehey wrote: > > I'm thinking of building a new, quite fast system for multimedia, > > notably displaying MPEGs. I'm currently using mplayer on an Athlon > > 1700, and from time to time there are hiccoughs. Processors are cheap > > apart from the obvious optimizations (such as using mplayer compiled > for the specific flags for your CPU) i believe the hiccups are more > likely due to CPU and disk not being available when you need, rather > than raw CPU speed (above a certain level, that is). I'd try to > tweak process priority and things such as HZ and kern.quantum. > I agree. Have you tried recent -CURRENT which has the jeff's enhancements(vfs_bio.c rev. 1.487) for audio playback? See http://lists.freebsd.org/pipermail/freebsd-current/2005-June/051103.html. If you still suffer from hiccup, I'd like to know which H/W and driver you tried. -- Regards, Pyun YongHyeon From owner-freebsd-multimedia@FreeBSD.ORG Fri Jul 8 09:17:48 2005 Return-Path: X-Original-To: multimedia@FreeBSD.org Delivered-To: freebsd-multimedia@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5734316A41C; Fri, 8 Jul 2005 09:17:48 +0000 (GMT) (envelope-from steve@pepcross.com) Received: from anchor-post-35.mail.demon.net (anchor-post-35.mail.demon.net [194.217.242.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id E97DB43D48; Fri, 8 Jul 2005 09:17:47 +0000 (GMT) (envelope-from steve@pepcross.com) Received: from mail.lonres.com ([194.70.153.187]) by anchor-post-35.mail.demon.net with esmtp (Exim 4.42) id 1DqovI-000AOM-IZ; Fri, 08 Jul 2005 09:13:29 +0000 Received: from pepcross.com (bibipentium.lonres.com [10.10.10.225]) by mail.lonres.com (Postfix) with SMTP id 117542E07C; Fri, 8 Jul 2005 10:17:42 +0100 (BST) Received: by pepcross.com (sSMTP sendmail emulation); Fri, 8 Jul 2005 10:17:45 +0100 Date: Fri, 8 Jul 2005 10:17:45 +0100 From: Steve Roome To: Greg 'groggy' Lehey Message-ID: <20050708091745.GA2544@bibipentium.lonres.com> References: <20050708053845.GL19707@wantadilla.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20050708053845.GL19707@wantadilla.lemis.com> User-Agent: Mutt/1.4.2.1i Content-Transfer-Encoding: quoted-printable Cc: multimedia@FreeBSD.org Subject: Re: Best processor for multimedia? X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jul 2005 09:17:48 -0000 On Fri, Jul 08, 2005 at 03:08:45PM +0930, Greg 'groggy' Lehey wrote: > Intel Celeron D 335 - 2.8GHz CPCELD335 $134.00 > AMD Sempron 3100+ Box Soc754 CPAS3100 $157.00 > AMD Athlon XP 3000+ BOX BARTON CPAXPB3000 $184.00 > Intel P4 3.40GHz PRESCOTT 1MB CPP43.40HT-PS $409.00 > Intel P4-660 (3.6GHz)LGA775pin CPP4-660 $841.00 My attempts to solve slow choppy movies (and in my case games) went like this: (I hope this is helpful in some way.) Last week I had an Athlon 2600+, 512MB (DDR 400 running at 333) with a radeon 9600. Movies were occasionaly slow, I had no 3D support and not much in the way of hardware 2d acceleration by the feel of it. I figured that a 400MHz FSB Athlon 3200+ would be the best bet partly by looking at this image: http://www.tomshardware.com/cpu/20041221/images/cpu_table_amd_big.gif and partly because if you have a socket A that will take it then it's the obvious choice. Perhaps the better change would be to get a newer graphics card, the 6600GT cards are amazingly good value now, costing about UK =A3100 (about Aus$235 ?) and for me this has made all the difference as sadly the CPU I ordered turned out to be a Barton core but with the FSB now locked down to 333. If you can still find a 400MHz one that might help a bit if you have RAM and motherboard to match. (I'm sending this CPU back and holding out for the one I actually ordered!) However, as others said, something like nice(1) might be a better option! On the whole though, I've found that the -vo settings for mplayer have been more important than any other changes. Also, I'm occasionaly hacking together a program that spends most of it's time in a CPU intensive loop or blitting xshmimages to screen, I've found huge 2D speed improvements with the new graphics card (100fps -> 180fps). This is on a process that uses 100% CPU if it can - so clearly the 2D speed has improved dramatically here. I can now play mpegs without chopiness and even silly games: as surprisinly I appear to have a box running -current that now plays unreal tournament 2004 well enough to stop me having to reboot to windows for a lunchtime fragfest! I'm still using the XP2600+ though so I guess that wasn't my problem after all. Steve Roome > That's a pretty big price range. What's important for multimedia? My > understanding is that software MPEG processing needs a lot of CPU, and > the processors here are roughly comparable (OK, the P4s may be > somewhat faster). But what about the other differences? How > important is cache? If I take the AMD offerings, am I better off with > the (cheaper) Sempron with a slightly faster clock, or with the Athlon > XP with more cache? How does the Celeron compare with either? Also, > is it worth paying the significantly higher prices for the P4? >=20 > Greg > -- > The virus contained in this message was detected by LEMIS anti-virus. > For further details see http://www.lemis.com/grog/lemis-virus.html >=20 > Finger grog@FreeBSD.org for PGP public key. > See complete headers for address and phone numbers. From owner-freebsd-multimedia@FreeBSD.ORG Fri Jul 8 09:38:59 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D3CF216A41C for ; Fri, 8 Jul 2005 09:38:59 +0000 (GMT) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from osl1smout1.broadpark.no (osl1smout1.broadpark.no [80.202.4.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6CA5443D45 for ; Fri, 8 Jul 2005 09:38:59 +0000 (GMT) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from osl1sminn1.broadpark.no ([80.202.4.59]) by osl1smout1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0IJA006DOYUA8OE0@osl1smout1.broadpark.no> for freebsd-multimedia@freebsd.org; Fri, 08 Jul 2005 11:39:46 +0200 (CEST) Received: from kg-work.kg4.no ([80.202.174.62]) by osl1sminn1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with SMTP id <0IJA005XCYYT9TK0@osl1sminn1.broadpark.no> for freebsd-multimedia@freebsd.org; Fri, 08 Jul 2005 11:42:30 +0200 (CEST) Date: Fri, 08 Jul 2005 11:38:57 +0200 From: Torfinn Ingolfsen X-Face: "t9w2,-X@O^I`jVW\sonI3.,36KBLZE*AL[y9lL[PyFD*r_S:dIL9c[8Y>V42R0"!"yb_zN,f#%.[PYYNq; m"_0v; ~rUM2Yy!zmkh)3&U|u!=T(zyv,MHJv"nDH>OJ`t(@mil461d_B'Uo|'nMwlKe0Mv=kvV?Nh@>Hb<3s_z2jYgZhPb@?Wi^x1a~Hplz1.zH In-reply-to: <20050708053845.GL19707@wantadilla.lemis.com> To: freebsd-multimedia@freebsd.org Message-id: <20050708113857.6e071adc.torfinn.ingolfsen@broadpark.no> MIME-version: 1.0 X-Mailer: Sylpheed version 1.0.4 (GTK+ 1.2.10; i386-portbld-freebsd5.3) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT References: <20050708053845.GL19707@wantadilla.lemis.com> Subject: Re: Best processor for multimedia? X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jul 2005 09:38:59 -0000 On Fri, 08 Jul 2005 15:08:45 +0930 Greg 'groggy' Lehey wrote: > - Athlon 64 > > From previous mail on this list, it seems that Athlon 64 is probably > not the best choice for reasons of compatibility. Obviously the FWIW, my Athlon 64 machine, running FreeBSD/amd64 (5.4-stable) is playing movies and music without problems. OTOH, I haven't reviewed the list archives to see what the problem(s) were. -- Regards, Torfinn Ingolfsen, Norway From owner-freebsd-multimedia@FreeBSD.ORG Fri Jul 8 14:00:46 2005 Return-Path: X-Original-To: multimedia@freebsd.org Delivered-To: freebsd-multimedia@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4224516A41C for ; Fri, 8 Jul 2005 14:00:46 +0000 (GMT) (envelope-from roberthuff@rcn.com) Received: from smtp04.mrf.mail.rcn.net (smtp04.mrf.mail.rcn.net [207.172.4.63]) by mx1.FreeBSD.org (Postfix) with ESMTP id C8E9A43D48 for ; Fri, 8 Jul 2005 14:00:45 +0000 (GMT) (envelope-from roberthuff@rcn.com) Received: from 209-6-197-67.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.197.67]) by smtp04.mrf.mail.rcn.net with ESMTP; 08 Jul 2005 10:00:44 -0400 X-IronPort-AV: i="3.93,273,1115006400"; d="scan'208"; a="56381738:sNHT29680252" From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17102.34568.85621.267551@jerusalem.litteratus.org> Date: Fri, 8 Jul 2005 10:00:40 -0400 To: multimedia@freebsd.org In-Reply-To: <20050708073343.GC917@wantadilla.lemis.com> References: <20050708073343.GC917@wantadilla.lemis.com> X-Mailer: VM 7.17 under 21.5 (beta21) "corn" (+CVS-20050527) XEmacs Lucid Cc: Subject: Problems running VLC X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jul 2005 14:00:46 -0000 Greg 'groggy' Lehey writes: > A few months back I tried installed VLC, but I couldn't get it to > run. I could start it and try to play a DVD, but then it crashed > with voluminous error messages: Looking for an alternative for mplayer, I installed vlc-devel within the last week. Updated once since. No problems on build, no problems on execution. (Enxironment: P4/2.25 -CURRENT from March 29 Xorg 6.8.2 ) Maybe something upstream needs a reinstall?? Robert Huff From owner-freebsd-multimedia@FreeBSD.ORG Fri Jul 8 14:10:22 2005 Return-Path: X-Original-To: multimedia@freebsd.org Delivered-To: freebsd-multimedia@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E4FB816A421 for ; Fri, 8 Jul 2005 14:10:22 +0000 (GMT) (envelope-from roberthuff@rcn.com) Received: from smtp04.mrf.mail.rcn.net (smtp04.mrf.mail.rcn.net [207.172.4.63]) by mx1.FreeBSD.org (Postfix) with ESMTP id 550CF43D46 for ; Fri, 8 Jul 2005 14:10:22 +0000 (GMT) (envelope-from roberthuff@rcn.com) Received: from 209-6-197-67.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.197.67]) by smtp04.mrf.mail.rcn.net with ESMTP; 08 Jul 2005 10:10:20 -0400 X-IronPort-AV: i="3.93,273,1115006400"; d="scan'208"; a="56387282:sNHT21241368" From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17102.35144.943501.943988@jerusalem.litteratus.org> Date: Fri, 8 Jul 2005 10:10:16 -0400 To: multimedia@freebsd.org In-Reply-To: <20050708091745.GA2544@bibipentium.lonres.com> References: <20050708053845.GL19707@wantadilla.lemis.com> <20050708091745.GA2544@bibipentium.lonres.com> X-Mailer: VM 7.17 under 21.5 (beta21) "corn" (+CVS-20050527) XEmacs Lucid Cc: Subject: Re: Best processor for multimedia? X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jul 2005 14:10:23 -0000 Steve Roome writes: > On Fri, Jul 08, 2005 at 03:08:45PM +0930, Greg 'groggy' Lehey > wrote: > > > Intel Celeron D 335 - 2.8GHz CPCELD335 $134.00 > > AMD Sempron 3100+ Box Soc754 CPAS3100 $157.00 > > AMD Athlon XP 3000+ BOX BARTON CPAXPB3000 $184.00 > > Intel P4 3.40GHz PRESCOTT 1MB CPP43.40HT-PS $409.00 > > Intel P4-660 (3.6GHz)LGA775pin CPP4-660 $841.00 > > My attempts to solve slow choppy movies (and in my case games) went > like this: (I hope this is helpful in some way.) More data for the pile: P4/2.25 Ghz SCSI LVD-80 disks Matrox G450 video card (32 (64 ??) mb) -CURRENT from March 29 Xorg 6.8.2 latest versions of mplayer and vlc-devel System is lightly loaded with many small/intermittant tasks. The only time I have problems with choppy playback - disk or dvd - is when something decides to unpack a large tarball and then verify the contents. Robert Huff From owner-freebsd-multimedia@FreeBSD.ORG Fri Jul 8 14:26:13 2005 Return-Path: X-Original-To: multimedia@FreeBSD.org Delivered-To: freebsd-multimedia@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 94B0516A41C; Fri, 8 Jul 2005 14:26:13 +0000 (GMT) (envelope-from fullermd@over-yonder.net) Received: from mortis.over-yonder.net (adsl-19-148-33.jan.bellsouth.net [68.19.148.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4620143D46; Fri, 8 Jul 2005 14:26:10 +0000 (GMT) (envelope-from fullermd@over-yonder.net) Received: by mortis.over-yonder.net (Postfix, from userid 100) id 0D8E72106D; Fri, 8 Jul 2005 09:26:07 -0500 (CDT) Date: Fri, 8 Jul 2005 09:26:07 -0500 From: "Matthew D. Fuller" To: Greg 'groggy' Lehey Message-ID: <20050708142607.GH11668@over-yonder.net> References: <20050708053845.GL19707@wantadilla.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050708053845.GL19707@wantadilla.lemis.com> X-Editor: vi X-OS: FreeBSD User-Agent: Mutt/1.5.9i-fullermd.2 Cc: multimedia@FreeBSD.org Subject: Re: Best processor for multimedia? X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jul 2005 14:26:13 -0000 On Fri, Jul 08, 2005 at 03:08:45PM +0930 I heard the voice of Greg 'groggy' Lehey, and lo! it spake thus: > > - Athlon 64 > > From previous mail on this list, it seems that Athlon 64 is probably > not the best choice for reasons of compatibility. .From what I've seen, most of the problems have to do with the architecture of the system (amd64-vs-i386), not the processor itself. And it seems like the amd64 chips, running in i386 mode, are faster than most i386 chips. -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ On the Internet, nobody can hear you scream. From owner-freebsd-multimedia@FreeBSD.ORG Fri Jul 8 15:24:03 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A221516A41C for ; Fri, 8 Jul 2005 15:24:03 +0000 (GMT) (envelope-from skywizard@MyBSD.org.my) Received: from tomoyo.MyBSD.org.my (duke.voidnetwork.com [202.157.186.223]) by mx1.FreeBSD.org (Postfix) with ESMTP id 22AFF43D4C for ; Fri, 8 Jul 2005 15:24:02 +0000 (GMT) (envelope-from skywizard@MyBSD.org.my) Received: from localhost (localhost [127.0.0.1]) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id 5EB356CC5C; Fri, 8 Jul 2005 23:29:24 +0800 (MYT) Received: from tomoyo.MyBSD.org.my ([127.0.0.1]) by localhost (duke.voidnetwork.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 78012-05; Fri, 8 Jul 2005 23:29:22 +0800 (MYT) Received: from kasumi.MyBSD.org.my (unknown [60.48.104.126]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id 930BD6CC24; Fri, 8 Jul 2005 23:29:22 +0800 (MYT) Date: Fri, 8 Jul 2005 23:24:05 +0800 From: Ariff Abdullah To: freebsd-multimedia@freebsd.org Message-Id: <20050708232405.4b14e1d5.skywizard@MyBSD.org.my> In-Reply-To: <20050707195716.780c01a9.skywizard@MyBSD.org.my> References: <20050707064603.6c295451.skywizard@MyBSD.org.my> <20050707120503.5878d347@Magellan.Leidinger.net> <20050707195716.780c01a9.skywizard@MyBSD.org.my> Organization: MyBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-antivirus-mail-gateway at TOMOYO.MYBSD.ORG.MY Cc: mat@cnd.mcgill.ca Subject: Re: Massive sound changes / fix (24/32bit pcm support, new sampling rate converter, various fixes) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jul 2005 15:24:03 -0000 I've add tarballs, for HEAD / RELENG_5. Somebody might prefer to use that instead of diff. Instructions can be found there, as usual: http://staff.mybsd.org.my/skywizard/FreeBSD/sound/ Hopefully we can get wider audience for testing purposes. Several people have confirmed that these changes *really* do what have been advertised. -- Ariff Abdullah MyBSD http://www.MyBSD.org.my (IPv6/IPv4) http://staff.MyBSD.org.my (IPv6/IPv4) http://tomoyo.MyBSD.org.my (IPv6/IPv4) From owner-freebsd-multimedia@FreeBSD.ORG Fri Jul 8 16:54:48 2005 Return-Path: X-Original-To: multimedia@freebsd.org Delivered-To: freebsd-multimedia@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A92E716A41F; Fri, 8 Jul 2005 16:54:48 +0000 (GMT) (envelope-from julian@elischer.org) Received: from delight.idiom.com (delight.idiom.com [216.240.32.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6EC8F43D49; Fri, 8 Jul 2005 16:54:48 +0000 (GMT) (envelope-from julian@elischer.org) Received: from idiom.com (idiom.com [216.240.32.1]) by delight.idiom.com (Postfix) with ESMTP id 4CBA524D75; Fri, 8 Jul 2005 09:54:46 -0700 (PDT) Received: from [192.168.2.5] (home.elischer.org [216.240.48.38]) by idiom.com (8.12.11/8.12.11) with ESMTP id j68GsfJu085483; Fri, 8 Jul 2005 09:54:42 -0700 (PDT) (envelope-from julian@elischer.org) Message-ID: <42CEAFCE.4070204@elischer.org> Date: Fri, 08 Jul 2005 09:54:38 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.7) Gecko/20050424 X-Accept-Language: en, hu MIME-Version: 1.0 To: Steve Roome References: <20050708053845.GL19707@wantadilla.lemis.com> <20050708091745.GA2544@bibipentium.lonres.com> In-Reply-To: <20050708091745.GA2544@bibipentium.lonres.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: Greg 'groggy' Lehey , multimedia@freebsd.org Subject: Re: Best processor for multimedia? X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jul 2005 16:54:48 -0000 Steve Roome wrote: > On Fri, Jul 08, 2005 at 03:08:45PM +0930, Greg 'groggy' Lehey wrote: > > > > I figured that a 400MHz FSB Athlon 3200+ would be the best bet partly > by looking at this image: > > http://www.tomshardware.com/cpu/20041221/images/cpu_table_amd_big.gif > > and partly because if you have a socket A that will take it then it's > the obvious choice. > One thing this list doesn't give is watts in normal operation. remember if you are making a "home TIVO" or similar you probably don't wany a hurricane of fans running, and if you add record capability with mythTV or something it has to sit quietly in teh corner turned on all day.. From owner-freebsd-multimedia@FreeBSD.ORG Sat Jul 9 07:37:26 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B2C4616A41C for ; Sat, 9 Jul 2005 07:37:26 +0000 (GMT) (envelope-from markus.stauffer@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4DA1C43D46 for ; Sat, 9 Jul 2005 07:37:26 +0000 (GMT) (envelope-from markus.stauffer@gmail.com) Received: by zproxy.gmail.com with SMTP id 13so260934nzp for ; Sat, 09 Jul 2005 00:37:25 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=jFLpaTHiyw2Uonod3iDF+8t3ypOdwwDZ3fc02FfMORBRyp7p1yda/U7rA4ie/7s0x1QUg0l/IyYdUDxQPmMEPffb88W7MeyxGLPAzK6hjW9p1Nu1qcmRGXfgTYirLARvTYevG5GdQR9T4dmOu7uPUghH4VOXmNNcp/oOrCyuMTk= Received: by 10.36.222.39 with SMTP id u39mr822645nzg; Sat, 09 Jul 2005 00:11:14 -0700 (PDT) Received: by 10.36.23.13 with HTTP; Sat, 9 Jul 2005 00:11:14 -0700 (PDT) Message-ID: <48217d560507090011441d77b1@mail.gmail.com> Date: Sat, 9 Jul 2005 09:11:14 +0200 From: Markus Stauffer To: Steve O'Hara-Smith In-Reply-To: <20050707214302.2f8289cc.steve@sohara.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <48217d5605070712326123b1ae@mail.gmail.com> <20050707214302.2f8289cc.steve@sohara.org> Cc: freebsd-multimedia@freebsd.org Subject: Re: bktr with Pinnacle PCTV Studio/Rave X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Markus Stauffer List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jul 2005 07:37:26 -0000 The card works very well with linux. Although I used tvtime with linux and not xawtv. The results with xawtv were not very good. 2005/7/7, Steve O'Hara-Smith : > On Thu, 7 Jul 2005 21:32:10 +0200 > Markus Stauffer wrote: >=20 > > > tuner: microtune MT2050 found, OK >=20 > Ah an MT2050 based one just like mine - I have a patch that uses > some GPL code to drive it but it doesn't seem to work very well (bad > picture with lot's of snow) no matter which of the three variants I use > (one from the Linux bttv code, one from a C++ project and one from pcitv. >=20 > My patch is against DragonFly rather than FreeBSD and needs a lit= tle > adjustment to use with FreeBSD. One other person was helping me with test= ing > and getting similarly poor results. >=20 > Does your card work well with Linux ? If so I'd be inclined to st= art > again and merge in the drive code from the version of Linux that you are > using. >=20 > -- > C:>WIN | Directable Mirror Arrays > The computer obeys and wins. | A better way to focus the s= un > You lose and Bill collects. | licences available see > | http://www.sohara.org/ >=20 --=20 Markus Stauffer From owner-freebsd-multimedia@FreeBSD.ORG Sat Jul 9 07:56:44 2005 Return-Path: X-Original-To: multimedia@FreeBSD.org Delivered-To: freebsd-multimedia@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4920E16A41F; Sat, 9 Jul 2005 07:56:44 +0000 (GMT) (envelope-from v.velox@vvelox.net) Received: from S4.cableone.net (s4.cableone.net [24.116.0.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF32743D53; Sat, 9 Jul 2005 07:56:41 +0000 (GMT) (envelope-from v.velox@vvelox.net) Received: from vixen42.vulpes (unverified [24.119.122.41]) by S4.cableone.net (CableOne SMTP Service S4) with ESMTP id 24884898 for multiple; Sat, 09 Jul 2005 01:23:28 -0700 Date: Sat, 9 Jul 2005 02:58:18 -0500 From: Vulpes Velox To: Greg 'groggy' Lehey Message-ID: <20050709025818.3471585a@vixen42.vulpes> In-Reply-To: <20050708053845.GL19707@wantadilla.lemis.com> References: <20050708053845.GL19707@wantadilla.lemis.com> X-Mailer: Sylpheed-Claws 1.9.11 (GTK+ 2.6.8; i386-portbld-freebsd5.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-IP-stats: Incoming Last 3, First 50, in=86, out=0, spam=0 X-External-IP: 24.119.122.41 X-Abuse-Info: Send abuse complaints to abuse@cableone.net Cc: multimedia@FreeBSD.org Subject: Re: Best processor for multimedia? X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jul 2005 07:56:44 -0000 On Fri, 8 Jul 2005 15:08:45 +0930 Greg 'groggy' Lehey wrote: > I'm thinking of building a new, quite fast system for multimedia, > notably displaying MPEGs. I'm currently using mplayer on an Athlon > 1700, and from time to time there are hiccoughs. Processors are > cheap now, and it would be trivial to get a "3000" rating processor > relatively cheaply. > > The question is, which one? The current choices seem to be: > > - P4 > - Celeron > - Athlon > - Sempron > - Athlon 64 > > From previous mail on this list, it seems that Athlon 64 is probably > not the best choice for reasons of compatibility. Obviously the > fastest Athlon (32) will be faster than a correspondingly rated > Sempron, and similarly a P4 will be faster than a corresponding > Celeron. But by how much? Ignoring things like Xeons and P4 > Extremes, I find roughly the following pricing (here in Australia, > pre tax): > > Intel Celeron D 335 - 2.8GHz CPCELD335 $134.00 > AMD Sempron 3100+ Box Soc754 CPAS3100 $157.00 > AMD Athlon XP 3000+ BOX BARTON CPAXPB3000 $184.00 > Intel P4 3.40GHz PRESCOTT 1MB CPP43.40HT-PS $409.00 > Intel P4-660 (3.6GHz)LGA775pin CPP4-660 $841.00 > > That's a pretty big price range. What's important for multimedia? > My understanding is that software MPEG processing needs a lot of > CPU, and the processors here are roughly comparable (OK, the P4s > may be somewhat faster). But what about the other differences? How > important is cache? If I take the AMD offerings, am I better off > with the (cheaper) Sempron with a slightly faster clock, or with > the Athlon XP with more cache? How does the Celeron compare with > either? Also, is it worth paying the significantly higher prices > for the P4? A 450MHz P2 I use to have would handle any thing with little complaining. If you just want playback, nearly any thing should work. My suggestion is just to ignore Intel for heat and just being sub-par in general... that and their annoying advertising... A nice amount of ram, a storage medium with a reasonable speed, a good video card, and DDR I've found to be more important. Check out the the man page for tuning(7) as well. My suggestion would to be look through the man file for mplayer. Turn on stuff like frame dropping. From owner-freebsd-multimedia@FreeBSD.ORG Sat Jul 9 08:19:44 2005 Return-Path: X-Original-To: multimedia@FreeBSD.org Delivered-To: freebsd-multimedia@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4CAAF16A41C; Sat, 9 Jul 2005 08:19:44 +0000 (GMT) (envelope-from v.velox@vvelox.net) Received: from S1.cableone.net (s1.cableone.net [24.116.0.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id D239743D45; Sat, 9 Jul 2005 08:19:43 +0000 (GMT) (envelope-from v.velox@vvelox.net) Received: from vixen42.vulpes (unverified [24.119.122.41]) by S1.cableone.net (CableOne SMTP Service S1) with ESMTP id 25125729 for multiple; Sat, 09 Jul 2005 01:19:59 -0700 Date: Sat, 9 Jul 2005 03:21:40 -0500 From: Vulpes Velox To: Steve Roome Message-ID: <20050709032140.0eda816b@vixen42.vulpes> In-Reply-To: <20050708091745.GA2544@bibipentium.lonres.com> References: <20050708053845.GL19707@wantadilla.lemis.com> <20050708091745.GA2544@bibipentium.lonres.com> X-Mailer: Sylpheed-Claws 1.9.11 (GTK+ 2.6.8; i386-portbld-freebsd5.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-IP-stats: Incoming Last 1, First 51, in=78, out=0, spam=0 X-External-IP: 24.119.122.41 X-Abuse-Info: Send abuse complaints to abuse@cableone.net Cc: Greg 'groggy' Lehey , multimedia@FreeBSD.org Subject: Re: Best processor for multimedia? X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jul 2005 08:19:44 -0000 On Fri, 8 Jul 2005 10:17:45 +0100 Steve Roome wrote: > I can now play mpegs without chopiness and even silly games: as > surprisinly I appear to have a box running -current that now plays > unreal tournament 2004 well enough to stop me having to reboot to > windows for a lunchtime fragfest! I'm still using the XP2600+ though > so I guess that wasn't my problem after all. In regards to gaming I have found 5stable works nicely. Including running smoother than under XP. From owner-freebsd-multimedia@FreeBSD.ORG Sat Jul 9 08:26:02 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E88416A41C for ; Sat, 9 Jul 2005 08:26:02 +0000 (GMT) (envelope-from sebastian.ssmoller@gmx.net) Received: from sigma.informatik.hu-berlin.de (sigma.informatik.hu-berlin.de [141.20.20.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF88243D45 for ; Sat, 9 Jul 2005 08:26:01 +0000 (GMT) (envelope-from sebastian.ssmoller@gmx.net) Received: from tyrael.linnet (p54BCD0E1.dip.t-dialin.net [84.188.208.225]) (authenticated bits=0) by sigma.informatik.hu-berlin.de (8.12.10/8.12.9/INF-2.0-MA-SOLARIS-2.8) with ESMTP id j698Pw6I012160 for ; Sat, 9 Jul 2005 10:25:59 +0200 (MEST) Date: Sat, 9 Jul 2005 10:24:57 +0200 From: sebastian ssmoller To: freebsd-multimedia@freebsd.org Message-Id: <20050709102457.49fe7443.sebastian.ssmoller@gmx.net> X-Mailer: Sylpheed version 1.0.4 (GTK+ 1.2.10; i386-portbld-freebsd5.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Massive sound changes / fix (24/32bit pcm support, new sampling rate converter, various fixes) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jul 2005 08:26:02 -0000 hi, i just wonna say: THX! really GREAT work! ... this improves sound quality on my boxes much !! ;-) THX, regards, seb > After sometimes, I've decided to release this (massive 4k lines) diff > to our sound driver. This need proper review and confirmation, before > it can be committed. > > Patches for both HEAD / RELENG_5 available at: > > http://staff.mybsd.org.my/skywizard/FreeBSD/sound/ > > (Note the snd_RELTAG*.diff) > > > Whats New > ========= > > 1. Support wide range sampling rate as low as 1hz up to int32 max > (which is, insane) through new feeder_rate, multiple precisions > choice (32/64 bit converter). This is indeed, quite insane, but it > does give us more room and flexibility. > 2. Support 24/32 bit pcm format conversion through new, much improved > feeder_fmt. > > > System wide changes > =================== > > 1. sys/soundcard.h > * Add definition for AFMT_(U|S)24_(B|L)E. This is somehow > contradict with OSS/Voxware definition of 24bit, but anyway... > > > General sound infrastructure changes > ==================================== > > 1. ac97.c > * Slightly new method to detect mixer capabilities and resolution. > This mostly to help CT4730, but apparently it does help other > cards too (especially via8233x). This probably need futher test > and confirmation from other people with ac97 cards other than via > / es137x. > * Aggresive dac power wake up call, again, to help CT4730 (and > probably others). > 2. mixer.c / sound.c (high priority / grave severity) > * Fix super grave serious (call it whatever) panic/death during > driver unload on second attempt after failure on first (device > busy). > 3. buffer.c / dsp.c / sound.h > * Support for 24/32 AFMT > 4. feeder_rate.c > * New implementation of sampling rate conversion with 32/64 bit > precision, 1 - int32max hz (which is, ridiculous, yet very > addictive). Much improved / smarter buffer management to not > cause any missing samples at the end of conversion process > * Tunable sysctls for various aspect: > hw.snd.feeder_rate_ratemin - minimum allowable sampling rate > (default to 4000) > hw.snd.feeder_rate_ratemax - maximum allowable sampling rate > (default to 1102500) > hw.snd.feeder_rate_buffersize - conversion buffer size > (default to 8192) > hw.snd.feeder_rate_scaling - scaling / conversion method > (please refer to the source for explaination). Default to > previous implementation type. > 5. feeder_fmt.c / sound.h > * New implementation, support for 24/32bit conversion, optimized, > and simplified. Few routines has been removed (8 to xlaw, 16 to > 8). It just doesn't make sense. > 6. channel.c > * Support for 24/32 AFMT > * Fix wrong xruns increment, causing incorrect underruns statistic > while using vchans. > 7. vchan.c (high priority) > * Support for 24/32 AFMT > * Proper speed / rate detection especially for fixed rate ac97. > User can override it using kernel hint: > hint.pcm..vchanrate="xxxx". > > > Hardware spessific changes > ========================== > > 1. als4000.c > * als4000 can't do 48k properly (perhaps it really can't at all!). > Set maxspeed to 44.1k instead. > * Add locking / MPSAFE > * Fix recording > 2. cmi.c > * remove busdma_lock_mutex and Giant from bus_dma_tag_create. > Nothing changes. > 3. es137x.c / es137x.h > * Register programming error during device initialization > especially for CT4730 / EV1938 chip, causing misconfigured mixer > (David Xu), crippled after power cycle (Kevin Oberman). Fixed. > * Incorporate locking/spdif patches from Jon Noack. Not all es137x > can really do spdif, clean it up a bit to only let few capable > chip. > * Convert all bus_space_(read|write) to use es_rd/es_wr, simmilar > with other drivers. > * Add tunable hw.snd.pcm.latency_timer sysctl to toggle pci > latency timer value on the fly. Much noise / pop / crackling > issues can be solved by increasing its value. Other people can > point out to use pciconf instead, but this is just and added > value specifically for braindead CT4730/EV1938. > 4. via8233.c > * Add locking / MPSAFE > * Add kernel hint option to disable DXS channels entirely. Report > from several skype users / Pav Lucistnik indicate that disabling > DXS fix lots of pop / crackling noise. To disable DXS, add > hint.pcm..via_dxs_disabled="1" into /boot/device.hints. > NOTE: It is advisable to disable DXS entirely. Although DXS can > provide multiple concurrent access, doing so will cause more > harm than good (pop / crackling noise, sudden slowness, > overruns). There are few cases where this is considered > invalid, but I had to investigate more as this is not a > global issue. Use / enable vchans for multiple sound sources > (Please refer to vchans notes below). > 5. via82c686.c > * Add locking / MPSAFE. I don't have this card, so other people had > to confirm it. Anyway, the logic is correct. > > > Notes / Issues > ============== > > * Virtual Channels (vchans) > Enabling vchans can really, really help to solve overruns > issue. This is quite understandable, because it operate > entirely within its own buffering system without relying on > hardware interrupt / state. Even if you don't need vchan, > just enable single channel can help much. > * Feeder alignment is really a monster on its own, this should > be fixed or revamp in near future. > * Mixer infrastructure is really outdated, without support for > proper multichannel. Best candidate for hacking fest. > * The arrival of 24/32 also come with a price. Applications > that can do 24/32bit playback need to be recompiled (notably > mplayer). Use (recompiled) mplayer to experiment / test / > debug this various format using -af format=fmt. Note that > 24bit seeking in mplayer is a little bit broken, sometimes > can cause silence or loud static noise. Pausing / seeking > few times can solve this problem. > You don't have to rebuild world entirely for this. Simply > copy /usr/src/sys/sys/soundcard.h to > /usr/include/sys/soundcard.h would suffice. Few drivers also > need recompilation, and this can be done via > /usr/src/sys/modules/sound/. > Support for 24bit hardware playback is beyond the scope of > this changes. That would require spessific hardware driver > changes and currently I don't have any of it. > * Don't expect playing 9999999999hz is a wise decision. Be > reasonable. The new feeder_rate implemention provide > flexibility, not insanity. You can easily chewed up your CPU > with this kind of mind instability. Please use proper > mosquite repellent device for this obvious cracked brain > attempt. As for testing purposes, you can use (again) > mplayer to generate / play with different sampling rate. Use > something like mplayer -af resample=192000:0:0 files.. > > > -- > > Ariff Abdullah > MyBSD > > http://www.MyBSD.org.my (IPv6/IPv4) > http://staff.MyBSD.org.my (IPv6/IPv4) > http://tomoyo.MyBSD.org.my (IPv6/IPv4) From owner-freebsd-multimedia@FreeBSD.ORG Sat Jul 9 08:48:11 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7BE7616A41C for ; Sat, 9 Jul 2005 08:48:11 +0000 (GMT) (envelope-from steve@sohara.org) Received: from sohara.org (sohara.org [192.220.64.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4581743D46 for ; Sat, 9 Jul 2005 08:48:11 +0000 (GMT) (envelope-from steve@sohara.org) Received: (qmail 62117 invoked by uid 16563); 9 Jul 2005 08:48:10 -0000 Received: from unknown (HELO df1.sohara.org) ([159.134.157.96]) (envelope-sender ) by 192.220.64.179 (qmail-ldap-1.03) with SMTP for ; 9 Jul 2005 08:48:10 -0000 Date: Sat, 9 Jul 2005 09:48:05 +0100 From: Steve O'Hara-Smith To: Markus Stauffer Message-Id: <20050709094805.4326027e.steve@sohara.org> In-Reply-To: <48217d560507090011441d77b1@mail.gmail.com> References: <48217d5605070712326123b1ae@mail.gmail.com> <20050707214302.2f8289cc.steve@sohara.org> <48217d560507090011441d77b1@mail.gmail.com> Organization: Steve O'Hara-Smith X-Mailer: Sylpheed version 2.0.0beta2 (GTK+ 2.6.8; i386-portbld-freebsd4.8) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org Subject: Re: bktr with Pinnacle PCTV Studio/Rave X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jul 2005 08:48:11 -0000 On Sat, 9 Jul 2005 09:11:14 +0200 Markus Stauffer wrote: > The card works very well with linux. Although I used tvtime with linux > and not xawtv. The results with xawtv were not very good. Very interesting - can you point me at the sources that match the bttv driver you are using please. The application shouldn't matter much but the driver code (especially the tuner driver code) matters a lot. PS: Where in the world are you ? -- C:>WIN | Directable Mirror Arrays The computer obeys and wins. | A better way to focus the sun You lose and Bill collects. | licences available see | http://www.sohara.org/ From owner-freebsd-multimedia@FreeBSD.ORG Sat Jul 9 13:30:17 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0D5BF16A41C for ; Sat, 9 Jul 2005 13:30:17 +0000 (GMT) (envelope-from mat@cnd.mcgill.ca) Received: from torrent.cc.mcgill.ca (torrent.CC.McGill.CA [132.206.27.49]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8797A43D53 for ; Sat, 9 Jul 2005 13:30:16 +0000 (GMT) (envelope-from mat@cnd.mcgill.ca) Received: from mailscan1.cc.mcgill.ca (mailscan1.CC.McGill.CA [132.216.77.248]) by torrent.cc.mcgill.ca (8.12.11/8.12.3) with ESMTP id j69DUDr5029031; Sat, 9 Jul 2005 09:30:15 -0400 Received: from cube.cnd.mcgill.ca (cube.CND.McGill.CA [132.216.25.196]) by mailscan1.cc.mcgill.ca (8.13.0/8.13.0) with ESMTP id j69DU7OS016050; Sat, 9 Jul 2005 09:30:07 -0400 (EDT) Received: from localhost.localdomain (giant.cnd.mcgill.ca [132.216.11.153]) by cube.cnd.mcgill.ca (8.12.11/8.12.11) with ESMTP id j69DTup0003783; Sat, 9 Jul 2005 09:29:56 -0400 Received: from localhost.localdomain (giant [127.0.0.1]) by localhost.localdomain (8.12.11/8.12.11) with ESMTP id j69DTu4C028588; Sat, 9 Jul 2005 09:29:56 -0400 Received: (from mat@localhost) by localhost.localdomain (8.12.11/8.12.11/Submit) id j69DTt3V028587; Sat, 9 Jul 2005 09:29:55 -0400 Date: Sat, 9 Jul 2005 09:29:54 -0400 From: Mathew Kanner To: Ariff Abdullah Message-ID: <20050709132954.GV20863@cnd.mcgill.ca> References: <20050707064603.6c295451.skywizard@MyBSD.org.my> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050707064603.6c295451.skywizard@MyBSD.org.my> User-Agent: Mutt/1.4.2i Organization: I speak for myself, operating in Montreal, CANADA Cc: freebsd-multimedia@freebsd.org, mat@cnd.mcgill.ca Subject: Re: Massive sound changes / fix (24/32bit pcm support, new sampling rate converter, various fixes) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jul 2005 13:30:17 -0000 On Jul 06, Ariff Abdullah wrote: > After sometimes, I've decided to release this (massive 4k lines) diff > to our sound driver. This need proper review and confirmation, before > it can be committed. Hi All, I would like to note that this is most significant change to the newpcm in long time. Ariff has been kind enough to include me in some of the private correspondence that has been taking place and most of it has been positive. There are couple of items of Ariffs todo list and I feel he should drive forward with features while he has the creative momentum. We need to continue testing and reviewing for him while he does this. This *will* be committed unless a compelling reason, so please, please, test this now. You have been warned :) We should to CC to the mailing list so more eyes get a chance to see the bugs, you never know where insight is going to come from. (Though I'm guilty of keeping my e-mail private, as well) --Mat ps, many thanks to Ariff pps, his monitor just blew up, so don't be surprised if he's offline for a couple of days From owner-freebsd-multimedia@FreeBSD.ORG Sat Jul 9 18:39:46 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 57DA616A41C for ; Sat, 9 Jul 2005 18:39:46 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from mailout05.sul.t-online.com (mailout05.sul.t-online.com [194.25.134.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD84C43D45 for ; Sat, 9 Jul 2005 18:39:45 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from fwd32.aul.t-online.de by mailout05.sul.t-online.com with smtp id 1DrKEl-0005Dn-03; Sat, 09 Jul 2005 20:39:39 +0200 Received: from Andro-Beta.Leidinger.net (V8mA5EZrreisWakkvZ9gLUKdxRntgT1oa9pnXf+scHc2Df31c-ZZsd@[84.165.235.10]) by fwd32.sul.t-online.de with esmtp id 1DrKEh-1rpzMW0; Sat, 9 Jul 2005 20:39:35 +0200 Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by Andro-Beta.Leidinger.net (8.13.3/8.13.3) with ESMTP id j69IdXn9091110; Sat, 9 Jul 2005 20:39:34 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Date: Sat, 9 Jul 2005 20:39:33 +0200 From: Alexander Leidinger To: Ariff Abdullah Message-ID: <20050709203933.08666a45@Magellan.Leidinger.net> In-Reply-To: <20050707064603.6c295451.skywizard@MyBSD.org.my> References: <20050707064603.6c295451.skywizard@MyBSD.org.my> X-Mailer: Sylpheed-Claws 1.9.11 (GTK+ 2.6.8; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-ID: V8mA5EZrreisWakkvZ9gLUKdxRntgT1oa9pnXf+scHc2Df31c-ZZsd@t-dialin.net X-TOI-MSGID: ede65f8b-2fb4-47e9-9ada-cf030a3aa158 Cc: freebsd-multimedia@freebsd.org, mat@cnd.mcgill.ca Subject: Re: Massive sound changes / fix (24/32bit pcm support, new sampling rate converter, various fixes) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jul 2005 18:39:46 -0000 On Thu, 7 Jul 2005 06:46:03 +0800 Ariff Abdullah wrote: > 2. mixer.c / sound.c (high priority / grave severity) > * Fix super grave serious (call it whatever) panic/death during > driver unload on second attempt after failure on first (device > busy). Seems to work. Tested with kldunload an a busy mixer several times, no panic. After that I did a successful unload (without a panic) and reload. > Hardware spessific changes > ========================== > 3. es137x.c / es137x.h > * Register programming error during device initialization > especially for CT4730 / EV1938 chip, causing misconfigured mixer > (David Xu), crippled after power cycle (Kevin Oberman). Fixed. > * Incorporate locking/spdif patches from Jon Noack. Not all es137x > can really do spdif, clean it up a bit to only let few capable > chip. --- /var/log/dmesg.today Sat Jul 9 13:13:45 2005 +++ /var/run/dmesg.boot Sat Jul 9 20:04:47 2005 @@ -57,7 +57,6 @@ pci0: at device 7.5 (no driver attached) pcm0: port 0xb800-0xb83f irq 5 at device 9.0 on pci0 pcm0: -pcm0: [GIANT-LOCKED] xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xbc00-0xbc7f mem 0xe7000000-0xe700007f irq 11 at device 10.0 on pci0 miibus0: on xl0 xlphy0: <3c905C 10/100 internal PHY> on miibus0 And the music plays just fine, no bad behavior so far. > 5. via82c686.c > * Add locking / MPSAFE. I don't have this card, so other people had > to confirm it. Anyway, the logic is correct. pcm1: port 0xac00-0xacff,0xb000-0xb003,0xb400-0xb403 irq 11 at device 7.5 on pci0 pcm1: I didn't got any sound out of it... but I have to say I don't use it since it sounds horrible (maybe some hardware defect), so I don't know if it still worked without your patch. Bye, Alexander. -- The computer revolution is over. The computers won. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 From owner-freebsd-multimedia@FreeBSD.ORG Sat Jul 9 19:31:38 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F0F3416A41C for ; Sat, 9 Jul 2005 19:31:37 +0000 (GMT) (envelope-from skywizard@MyBSD.org.my) Received: from tomoyo.MyBSD.org.my (duke.voidnetwork.com [202.157.186.223]) by mx1.FreeBSD.org (Postfix) with ESMTP id 682AF43D45 for ; Sat, 9 Jul 2005 19:31:36 +0000 (GMT) (envelope-from skywizard@MyBSD.org.my) Received: from localhost (localhost [127.0.0.1]) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id AA3DA6CC3A; Sun, 10 Jul 2005 03:37:03 +0800 (MYT) Received: from tomoyo.MyBSD.org.my ([127.0.0.1]) by localhost (duke.voidnetwork.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 04607-07; Sun, 10 Jul 2005 03:37:00 +0800 (MYT) Received: from kasumi.MyBSD.org.my (unknown [60.48.108.255]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id 7F35D6CC36; Sun, 10 Jul 2005 03:36:55 +0800 (MYT) Date: Sun, 10 Jul 2005 03:31:37 +0800 From: Ariff Abdullah To: Alexander Leidinger Message-Id: <20050710033137.56ca1641.skywizard@MyBSD.org.my> In-Reply-To: <20050709203933.08666a45@Magellan.Leidinger.net> References: <20050707064603.6c295451.skywizard@MyBSD.org.my> <20050709203933.08666a45@Magellan.Leidinger.net> Organization: MyBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-antivirus-mail-gateway at TOMOYO.MYBSD.ORG.MY Cc: freebsd-multimedia@freebsd.org, mat@cnd.mcgill.ca Subject: Re: Massive sound changes / fix (24/32bit pcm support, new sampling rate converter, various fixes) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jul 2005 19:31:38 -0000 On Sat, 9 Jul 2005 20:39:33 +0200 Alexander Leidinger wrote: > On Thu, 7 Jul 2005 06:46:03 +0800 > Ariff Abdullah wrote: > > > > 2. mixer.c / sound.c (high priority / grave severity) > > * Fix super grave serious (call it whatever) panic/death during > > driver unload on second attempt after failure on first > > (device busy). > > Seems to work. Tested with kldunload an a busy mixer several times, > no panic. After that I did a successful unload (without a panic) and > reload. > Great! > > Hardware spessific changes > > ========================== > > > 3. es137x.c / es137x.h > > * Register programming error during device initialization > > especially for CT4730 / EV1938 chip, causing misconfigured > > mixer (David Xu), crippled after power cycle (Kevin Oberman). > > Fixed. > > * Incorporate locking/spdif patches from Jon Noack. Not all > > es137x > > can really do spdif, clean it up a bit to only let few > > capable chip. > > --- /var/log/dmesg.today Sat Jul 9 13:13:45 2005 > +++ /var/run/dmesg.boot Sat Jul 9 20:04:47 2005 > @@ -57,7 +57,6 @@ > pci0: at device 7.5 (no driver attached) > pcm0: port 0xb800-0xb83f irq 5 at device 9.0 on > pci0 pcm0: > -pcm0: [GIANT-LOCKED] > xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xbc00-0xbc7f mem > 0xe7000000-0xe700007f irq 11 at device 10.0 on pci0 miibus0: bus> on xl0 xlphy0: <3c905C 10/100 internal PHY> on miibus0 > > And the music plays just fine, no bad behavior so far. > Credit goes to Jonathan Noack for adding spdif / locking. If you think there are lots of pops / crackling sound, you may as well play around with sysctl hw.snd.pcm0.latency_timer (especially during untarring big tarball). > > 5. via82c686.c > > * Add locking / MPSAFE. I don't have this card, so other people > > had > > to confirm it. Anyway, the logic is correct. > > pcm1: port 0xac00-0xacff,0xb000-0xb003,0xb400-0xb403 > irq 11 at device 7.5 on pci0 pcm1: > > I didn't got any sound out of it... but I have to say I don't use it > since it sounds horrible (maybe some hardware defect), so I don't > know if it still worked without your patch. If it's not bothering you too much, can you revert back to the original and confirm that the hardware really broken? (I'm afraid I've touched so many places and things start to become grumpy elsewhere). It's ok of you feel that is enough. Thanks for your feedback! -- Ariff Abdullah MyBSD http://www.MyBSD.org.my (IPv6/IPv4) http://staff.MyBSD.org.my (IPv6/IPv4) http://tomoyo.MyBSD.org.my (IPv6/IPv4) From owner-freebsd-multimedia@FreeBSD.ORG Sat Jul 9 19:59:50 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C9B4516A420 for ; Sat, 9 Jul 2005 19:59:50 +0000 (GMT) (envelope-from noackjr@alumni.rice.edu) Received: from smtp103.sbc.mail.mud.yahoo.com (smtp103.sbc.mail.mud.yahoo.com [68.142.198.202]) by mx1.FreeBSD.org (Postfix) with SMTP id 0890443D49 for ; Sat, 9 Jul 2005 19:59:49 +0000 (GMT) (envelope-from noackjr@alumni.rice.edu) Received: (qmail 76267 invoked from network); 9 Jul 2005 19:59:49 -0000 Received: from unknown (HELO optimator.noacks.org) (noacks@swbell.net@70.240.213.247 with login) by smtp103.sbc.mail.mud.yahoo.com with SMTP; 9 Jul 2005 19:59:49 -0000 Received: from localhost (localhost [127.0.0.1]) by optimator.noacks.org (Postfix) with ESMTP id B8DFA60ED; Sat, 9 Jul 2005 14:59:48 -0500 (CDT) Received: from optimator.noacks.org ([127.0.0.1]) by localhost (optimator.noacks.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 07334-09; Sat, 9 Jul 2005 14:59:46 -0500 (CDT) Received: from compgeek.noacks.org (compgeek [192.168.1.10]) by optimator.noacks.org (Postfix) with ESMTP id EE46A60E8; Sat, 9 Jul 2005 14:59:45 -0500 (CDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by compgeek.noacks.org (8.13.4/8.13.4) with ESMTP id j69JxiO1090004; Sat, 9 Jul 2005 14:59:45 -0500 (CDT) (envelope-from noackjr@alumni.rice.edu) Message-ID: <42D02CA9.4080201@alumni.rice.edu> Date: Sat, 09 Jul 2005 14:59:37 -0500 From: Jonathan Noack User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050428) X-Accept-Language: en-us, en MIME-Version: 1.0 To: skywizard@MyBSD.org.my X-Enigmail-Version: 0.91.0.0 OpenPGP: id=991D8195; url=http://www.noacks.org/cert/noackjr.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig91751346A6B22F460DDC6D88" X-Virus-Scanned: amavisd-new at noacks.org Cc: freebsd-multimedia@freebsd.org, Alexander@Leidinger.net Subject: Massive sound changes / fix (24/32bit pcm support, new sampling rate converter, various fixes) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: noackjr@alumni.rice.edu List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jul 2005 19:59:51 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig91751346A6B22F460DDC6D88 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit >> > Hardware spessific changes >> > ========================== >> >> > 3. es137x.c / es137x.h >> > * Register programming error during device initialization >> > especially for CT4730 / EV1938 chip, causing misconfigured >> > mixer (David Xu), crippled after power cycle (Kevin Oberman). >> > Fixed. >> > * Incorporate locking/spdif patches from Jon Noack. Not all >> > es137x >> > can really do spdif, clean it up a bit to only let few >> > capable chip. >> >> --- /var/log/dmesg.today Sat Jul 9 13:13:45 2005 >> +++ /var/run/dmesg.boot Sat Jul 9 20:04:47 2005 >> @@ -57,7 +57,6 @@ >> pci0: at device 7.5 (no driver attached) >> pcm0: port 0xb800-0xb83f irq 5 at device 9.0 on >> pci0 pcm0: >> -pcm0: [GIANT-LOCKED] >> xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xbc00-0xbc7f mem >> 0xe7000000-0xe700007f irq 11 at device 10.0 on pci0 miibus0: > bus> on xl0 xlphy0: <3c905C 10/100 internal PHY> on miibus0 >> >> And the music plays just fine, no bad behavior so far. >> > Credit goes to Jonathan Noack for adding spdif / locking. If you think > there are lots of pops / crackling sound, you may as well play around > with sysctl hw.snd.pcm0.latency_timer (especially during untarring big > tarball). My spdif work: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/68594 Mathew Kanner did the original locking, which I cleaned up a bit: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/59349 The _real_ credit for my locking work goes to the horrible interactivity problems that plagued -CURRENT about a year ago. Adding locking to the driver was a desperate attempt to get sound without pauses... In any case, I've been running these changes for at least a year with no problems. I tried to pester folks into committing it many times (with no success), so I am VERY excited about this work! I don't know if you've touched the man pages at all, but my latest patch includes a man page update for the spdif sysctl: http://www.noacks.org/freebsd/es137x.diff -- Jonathan Noack | noackjr@alumni.rice.edu | OpenPGP: 0x991D8195 --------------enig91751346A6B22F460DDC6D88 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFC0CyvUFz01pkdgZURAsHQAJ9HVA9wnVqqk8lINJ5rLpKCaweZOQCgj/PS sVJyMTuJXhBbK+osIWCdWaI= =MIrG -----END PGP SIGNATURE----- --------------enig91751346A6B22F460DDC6D88-- From owner-freebsd-multimedia@FreeBSD.ORG Sat Jul 9 20:22:47 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4E25B16A41C for ; Sat, 9 Jul 2005 20:22:47 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from mailout06.sul.t-online.com (mailout06.sul.t-online.com [194.25.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id D281243D46 for ; Sat, 9 Jul 2005 20:22:46 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from fwd35.aul.t-online.de by mailout06.sul.t-online.com with smtp id 1DrLqS-0001fj-01; Sat, 09 Jul 2005 22:22:40 +0200 Received: from Andro-Beta.Leidinger.net (ECpaNOZXQeGuR574ABKgp3ug4P2f3MIsQVRQgf1uQ1+Ge7ojiETu6J@[84.165.235.10]) by fwd35.sul.t-online.de with esmtp id 1DrLqG-0a18Ay0; Sat, 9 Jul 2005 22:22:28 +0200 Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by Andro-Beta.Leidinger.net (8.13.3/8.13.3) with ESMTP id j69KMQJF005790; Sat, 9 Jul 2005 22:22:26 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Date: Sat, 9 Jul 2005 22:22:26 +0200 From: Alexander Leidinger To: Ariff Abdullah Message-ID: <20050709222226.72534e95@Magellan.Leidinger.net> In-Reply-To: <20050710033137.56ca1641.skywizard@MyBSD.org.my> References: <20050707064603.6c295451.skywizard@MyBSD.org.my> <20050709203933.08666a45@Magellan.Leidinger.net> <20050710033137.56ca1641.skywizard@MyBSD.org.my> X-Mailer: Sylpheed-Claws 1.9.11 (GTK+ 2.6.8; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-ID: ECpaNOZXQeGuR574ABKgp3ug4P2f3MIsQVRQgf1uQ1+Ge7ojiETu6J@t-dialin.net X-TOI-MSGID: b823fc48-d510-4dce-abc0-e1774d0af13d Cc: freebsd-multimedia@freebsd.org, mat@cnd.mcgill.ca Subject: Re: Massive sound changes / fix (24/32bit pcm support, new sampling rate converter, various fixes) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jul 2005 20:22:47 -0000 On Sun, 10 Jul 2005 03:31:37 +0800 Ariff Abdullah wrote: > > > 5. via82c686.c > > > * Add locking / MPSAFE. I don't have this card, so other people > > > had > > > to confirm it. Anyway, the logic is correct. > > > > pcm1: port 0xac00-0xacff,0xb000-0xb003,0xb400-0xb403 > > irq 11 at device 7.5 on pci0 pcm1: > > > > I didn't got any sound out of it... but I have to say I don't use it > > since it sounds horrible (maybe some hardware defect), so I don't > > know if it still worked without your patch. > If it's not bothering you too much, can you revert back to the > original and confirm that the hardware really broken? (I'm afraid I've > touched so many places and things start to become grumpy elsewhere). > It's ok of you feel that is enough. Sorry, false alarm. It works (with and without your patch). Bye, Alexander. -- Where do you think you're going today? http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 From owner-freebsd-multimedia@FreeBSD.ORG Sat Jul 9 20:31:11 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E1AAB16A41C for ; Sat, 9 Jul 2005 20:31:11 +0000 (GMT) (envelope-from skywizard@MyBSD.org.my) Received: from tomoyo.MyBSD.org.my (duke.voidnetwork.com [202.157.186.223]) by mx1.FreeBSD.org (Postfix) with ESMTP id 633B543D48 for ; Sat, 9 Jul 2005 20:31:11 +0000 (GMT) (envelope-from skywizard@MyBSD.org.my) Received: from localhost (localhost [127.0.0.1]) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id BBA206CC37; Sun, 10 Jul 2005 04:36:39 +0800 (MYT) Received: from tomoyo.MyBSD.org.my ([127.0.0.1]) by localhost (duke.voidnetwork.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 04607-09; Sun, 10 Jul 2005 04:36:38 +0800 (MYT) Received: from kasumi.MyBSD.org.my (unknown [60.48.108.255]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id BB0C96CC30; Sun, 10 Jul 2005 04:36:36 +0800 (MYT) Date: Sun, 10 Jul 2005 04:31:17 +0800 From: Ariff Abdullah To: Alexander Leidinger Message-Id: <20050710043117.49e2eb4b.skywizard@MyBSD.org.my> In-Reply-To: <20050709222226.72534e95@Magellan.Leidinger.net> References: <20050707064603.6c295451.skywizard@MyBSD.org.my> <20050709203933.08666a45@Magellan.Leidinger.net> <20050710033137.56ca1641.skywizard@MyBSD.org.my> <20050709222226.72534e95@Magellan.Leidinger.net> Organization: MyBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-antivirus-mail-gateway at TOMOYO.MYBSD.ORG.MY Cc: freebsd-multimedia@freebsd.org, mat@cnd.mcgill.ca Subject: Re: Massive sound changes / fix (24/32bit pcm support, new sampling rate converter, various fixes) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jul 2005 20:31:12 -0000 On Sat, 9 Jul 2005 22:22:26 +0200 Alexander Leidinger wrote: > On Sun, 10 Jul 2005 03:31:37 +0800 > Ariff Abdullah wrote: > > > > > 5. via82c686.c > > > > * Add locking / MPSAFE. I don't have this card, so other > > > > people had > > > > to confirm it. Anyway, the logic is correct. > > > > > > pcm1: port > > > 0xac00-0xacff,0xb000-0xb003,0xb400-0xb403 irq 11 at device 7.5 > > > on pci0 pcm1: > > > > > > I didn't got any sound out of it... but I have to say I don't > > > use it since it sounds horrible (maybe some hardware defect), so > > > I don't know if it still worked without your patch. > > If it's not bothering you too much, can you revert back to the > > original and confirm that the hardware really broken? (I'm afraid > > I've touched so many places and things start to become grumpy > > elsewhere). It's ok of you feel that is enough. > > Sorry, false alarm. It works (with and without your patch). > Thank God! Thanks for that reconfirmation, really, really appreciate that! -- Ariff Abdullah MyBSD http://www.MyBSD.org.my (IPv6/IPv4) http://staff.MyBSD.org.my (IPv6/IPv4) http://tomoyo.MyBSD.org.my (IPv6/IPv4) From owner-freebsd-multimedia@FreeBSD.ORG Sat Jul 9 21:15:21 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E2A7B16A41C for ; Sat, 9 Jul 2005 21:15:20 +0000 (GMT) (envelope-from skywizard@MyBSD.org.my) Received: from tomoyo.MyBSD.org.my (duke.voidnetwork.com [202.157.186.223]) by mx1.FreeBSD.org (Postfix) with ESMTP id 55B0C43D45 for ; Sat, 9 Jul 2005 21:15:20 +0000 (GMT) (envelope-from skywizard@MyBSD.org.my) Received: from localhost (localhost [127.0.0.1]) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id 9004C6CC35; Sun, 10 Jul 2005 05:20:48 +0800 (MYT) Received: from tomoyo.MyBSD.org.my ([127.0.0.1]) by localhost (duke.voidnetwork.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 09498-01; Sun, 10 Jul 2005 05:20:46 +0800 (MYT) Received: from kasumi.MyBSD.org.my (unknown [60.48.108.255]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id 7C5376CC30; Sun, 10 Jul 2005 05:20:42 +0800 (MYT) Date: Sun, 10 Jul 2005 05:15:23 +0800 From: Ariff Abdullah To: noackjr@alumni.rice.edu Message-Id: <20050710051523.0a67cd91.skywizard@MyBSD.org.my> In-Reply-To: <42D02CA9.4080201@alumni.rice.edu> References: <42D02CA9.4080201@alumni.rice.edu> Organization: MyBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-antivirus-mail-gateway at TOMOYO.MYBSD.ORG.MY Cc: freebsd-multimedia@freebsd.org, mat@cnd.mcgill.ca Subject: Re: Massive sound changes / fix (24/32bit pcm support, new sampling rate converter, various fixes) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jul 2005 21:15:21 -0000 On Sat, 09 Jul 2005 14:59:37 -0500 Jonathan Noack wrote: > >> > Hardware spessific changes > >> > ========================== > >> > >> > 3. es137x.c / es137x.h > >> > * Register programming error during device initialization > >> > especially for CT4730 / EV1938 chip, causing misconfigured > >> > mixer (David Xu), crippled after power cycle (Kevin > >Oberman). > > Fixed. > >> > * Incorporate locking/spdif patches from Jon Noack. Not all > >> > es137x > >> > can really do spdif, clean it up a bit to only let few > >> > capable chip. > >> > >> --- /var/log/dmesg.today Sat Jul 9 13:13:45 2005 > >> +++ /var/run/dmesg.boot Sat Jul 9 20:04:47 2005 > >> @@ -57,7 +57,6 @@ > >> pci0: at device 7.5 (no driver attached) > >> pcm0: port 0xb800-0xb83f irq 5 at device 9.0 > >on > pci0 pcm0: > >> -pcm0: [GIANT-LOCKED] > >> xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xbc00-0xbc7f mem > >> 0xe7000000-0xe700007f irq 11 at device 10.0 on pci0 miibus0: > > bus> on xl0 xlphy0: <3c905C 10/100 internal PHY> on miibus0 > >> > >> And the music plays just fine, no bad behavior so far. > >> > > Credit goes to Jonathan Noack for adding spdif / locking. If you > > think there are lots of pops / crackling sound, you may as well > > play around with sysctl hw.snd.pcm0.latency_timer (especially > > during untarring big tarball). > > My spdif work: > http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/68594 > Thanks for that. > Mathew Kanner did the original locking, which I cleaned up a bit: > http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/59349 > Oops... I thought it always you. > The _real_ credit for my locking work goes to the horrible > interactivity problems that plagued -CURRENT about a year ago. > Adding locking to the driver was a desperate attempt to get sound > without pauses... > Plus, I've added hw.snd.pcm.latency_timer to reduce any crackling noise down to nil (pciconf -w just too cryptic for that). This really improve situation especially with VIA motherboard and perhaps, others too. > In any case, I've been running these changes for at least a year > with no problems. I tried to pester folks into committing it many > times (with no success), so I am VERY excited about this work! > > I don't know if you've touched the man pages at all, but my latest > patch includes a man page update for the spdif sysctl: > http://www.noacks.org/freebsd/es137x.diff > Currently I haven't touched any man pages at all. Can you do separate patches for that? There are few new sysctls need to be documented, perhaps you can do that too. es137x: 1) hw.snd.pcm.latency_timer - PCI latency timer adjustment. Most pops / crackling issue can be solved by adjusting it to appropriate value (especially on VIA mobo). General Sound Driver: 1) hw.snd.feeder_rate_ratemin/ratemax - Minimum / Maximum allowable rate 2) hw.snd.feeder_rate_scaling - Rate conversion precision / quality (Most of the options already explained in feeder_rate.c) 3) hw.snd.feeder_rate_buffersize - Buffer space for rate converter There are few LORs (during boot) with this much integrated es137x (which I do believe false positives). Perhaps you can reproduce it by enabling WITNESS? http://staff.mybsd.org.my/skywizard/FreeBSD/sound/LOR/es137x_lor.txt (This is slightly outdated, some of it have bean dealt with) Thanks for your works! -- Ariff Abdullah MyBSD http://www.MyBSD.org.my (IPv6/IPv4) http://staff.MyBSD.org.my (IPv6/IPv4) http://tomoyo.MyBSD.org.my (IPv6/IPv4) From owner-freebsd-multimedia@FreeBSD.ORG Sat Jul 9 22:50:08 2005 Return-Path: X-Original-To: freebsd-multimedia@freebsd.org Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E2C5F16A41C for ; Sat, 9 Jul 2005 22:50:07 +0000 (GMT) (envelope-from noackjr@alumni.rice.edu) Received: from smtp111.sbc.mail.mud.yahoo.com (smtp111.sbc.mail.mud.yahoo.com [68.142.198.210]) by mx1.FreeBSD.org (Postfix) with SMTP id 6313343D46 for ; Sat, 9 Jul 2005 22:50:07 +0000 (GMT) (envelope-from noackjr@alumni.rice.edu) Received: (qmail 9093 invoked from network); 9 Jul 2005 22:50:06 -0000 Received: from unknown (HELO optimator.noacks.org) (noacks@swbell.net@70.240.213.247 with login) by smtp111.sbc.mail.mud.yahoo.com with SMTP; 9 Jul 2005 22:50:06 -0000 Received: from localhost (localhost [127.0.0.1]) by optimator.noacks.org (Postfix) with ESMTP id 11FCE60F4; Sat, 9 Jul 2005 17:50:06 -0500 (CDT) Received: from optimator.noacks.org ([127.0.0.1]) by localhost (optimator.noacks.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 07334-14; Sat, 9 Jul 2005 17:50:03 -0500 (CDT) Received: from compgeek.noacks.org (compgeek [192.168.1.10]) by optimator.noacks.org (Postfix) with ESMTP id 38D3460ED; Sat, 9 Jul 2005 17:50:03 -0500 (CDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by compgeek.noacks.org (8.13.4/8.13.4) with ESMTP id j69MnwPu040038; Sat, 9 Jul 2005 17:50:02 -0500 (CDT) (envelope-from noackjr@alumni.rice.edu) Message-ID: <42D05492.6050608@alumni.rice.edu> Date: Sat, 09 Jul 2005 17:49:54 -0500 From: Jonathan Noack User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050428) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ariff Abdullah References: <42D02CA9.4080201@alumni.rice.edu> <20050710051523.0a67cd91.skywizard@MyBSD.org.my> In-Reply-To: <20050710051523.0a67cd91.skywizard@MyBSD.org.my> X-Enigmail-Version: 0.91.0.0 OpenPGP: id=991D8195; url=http://www.noacks.org/cert/noackjr.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig685AAE55A6E5B9FD550E9024" X-Virus-Scanned: amavisd-new at noacks.org Cc: freebsd-multimedia@freebsd.org, mat@cnd.mcgill.ca Subject: Re: Massive sound changes / fix (24/32bit pcm support, new sampling rate converter, various fixes) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: noackjr@alumni.rice.edu List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jul 2005 22:50:08 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig685AAE55A6E5B9FD550E9024 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 07/09/05 16:15, Ariff Abdullah wrote: > On Sat, 09 Jul 2005 14:59:37 -0500 > Jonathan Noack wrote: >>The _real_ credit for my locking work goes to the horrible >>interactivity problems that plagued -CURRENT about a year ago. >>Adding locking to the driver was a desperate attempt to get sound >>without pauses... > > Plus, I've added hw.snd.pcm.latency_timer to reduce any > crackling noise down to nil (pciconf -w just too cryptic for that). > This really improve situation especially with VIA motherboard and > perhaps, others too. I don't experience crackling but I have an Intel motherboard (Gigabyte GA-8IHXP(2.1)). Good to know it's there in case I need it... >>I don't know if you've touched the man pages at all, but my latest >>patch includes a man page update for the spdif sysctl: >>http://www.noacks.org/freebsd/es137x.diff > > Currently I haven't touched any man pages at all. Can you do separate > patches for that? There are few new sysctls need to be documented, > perhaps you can do that too. > > es137x: > 1) hw.snd.pcm.latency_timer > - PCI latency timer adjustment. Most pops / > crackling issue can be solved by adjusting it to > appropriate value (especially on VIA mobo). > > General Sound Driver: > 1) hw.snd.feeder_rate_ratemin/ratemax > - Minimum / Maximum allowable rate > 2) hw.snd.feeder_rate_scaling > - Rate conversion precision / quality > (Most of the options already explained in > feeder_rate.c) > 3) hw.snd.feeder_rate_buffersize > - Buffer space for rate converter I'll update the es137x man page and post a patch for you, but the general page probably deserves more in-depth discussion than I can provide. > There are few LORs (during boot) with this much integrated es137x > (which I do believe false positives). Perhaps you can reproduce > it by enabling WITNESS? > > http://staff.mybsd.org.my/skywizard/FreeBSD/sound/LOR/es137x_lor.txt > (This is slightly outdated, some of it have bean dealt with) I'll try to reproduce this with WITNESS. -- Jonathan Noack | noackjr@alumni.rice.edu | OpenPGP: 0x991D8195 --------------enig685AAE55A6E5B9FD550E9024 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFC0FSWUFz01pkdgZURAkD/AJ0SHh5WgiKeCyp+xchF7Zf3h/GwhACeOn47 wVKmiVwu+OmeCbWEUV1JFjU= =zz2i -----END PGP SIGNATURE----- --------------enig685AAE55A6E5B9FD550E9024--