From owner-freebsd-multimedia@FreeBSD.ORG Wed Apr 12 19:26:12 2006 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 BE5C816A402 for ; Wed, 12 Apr 2006 19:26:12 +0000 (UTC) (envelope-from root@parse.com) Received: from amd64.ott.parse.com (ottawa-hs-206-191-28-202.s-ip.magma.ca [206.191.28.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id E86CC43D45 for ; Wed, 12 Apr 2006 19:26:11 +0000 (GMT) (envelope-from root@parse.com) Received: from amd64.ott.parse.com (localhost.parse.com [127.0.0.1]) by amd64.ott.parse.com (8.13.4/8.13.1) with ESMTP id k3CJQAdD090916; Wed, 12 Apr 2006 15:26:10 -0400 (EDT) (envelope-from root@parse.com) Received: (from root@localhost) by amd64.ott.parse.com (8.13.4/8.13.1/Submit) id k3CJQ9ae090915; Wed, 12 Apr 2006 15:26:09 -0400 (EDT) (envelope-from root) From: Robert Krten Message-Id: <200604121926.k3CJQ9ae090915@amd64.ott.parse.com> To: freebsd-multimedia@freebsd.org Date: Wed, 12 Apr 2006 15:26:09 -0400 (EDT) In-Reply-To: <20060407161702.GA25066@puff.jakemsr.gom> from "Jacob Meuser" at Apr 07, 2006 09:17:02 AM X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: Subject: Re: Fishing: Any problems with bktr and amd64 v 6.0? I get page faults 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, 12 Apr 2006 19:26:12 -0000 Jacob Meuser sez... [snip] > On Thu, Apr 06, 2006 at 01:59:46PM -0400, Robert Krten wrote: > > Jacob Meuser sez... > > > On Wed, Apr 05, 2006 at 10:20:32AM -0400, Robert Krten wrote: > > > > I'm investigating a problem I'm having (two kernel page faults so > > > > far an AMD64 on v6.0 release), possibly related to the bktr driver. > > > > > > do you actually get good results with METEOR_CAP_SINGLE? I often > > > just get gibberish. IIRC, this is because the bt8x8 chip "needs a > > > moment to settle down". I don't recall the details, but I believe I > > > read this in a comment in one of the original bktr sample programs > > > which uses METEOR_CAP_SINGLE. according to > > > http://telepresence.dmem.strath.ac.uk/bt848/ the sample programs are > > > at ftp://telepresence.dmem.strath.ac.uk/pub/bt848/examples > > > but I can't seem to connect to that now :( I've been playing with it for a few days now, and found that after tuning, I put in a 50ms delay and everything is fine. CAP_SINGLE gives me a clean image. > > What should I be using? The ring-buffer one, and just fish out the samples > > as I need them? Any hints on synchronizing with tuning? > > I'm pretty sure the ringbuffer is not actually usable. if you figure > out how to use it, please let me know! I tried to check out the OpenBSD version of the source that you pointed me to, but alas some helpful individual(s) made copious gratuitous source changes in the Open and/or Free source tree. Thus there were 3500+ lines of source code changes to wade through (even with various diff options). I gave up :-( However, I did "fix" (more accurately, "work around") the problems that I had -- capturing with YUV_PLANAR mode does not crash my system, so I am now happy and consider the problem "solved" (until I get to the next crash) :-) Cheers, -RK -- Robert Krten, PARSE Software Devices Realtime Systems Architecture, Consulting, Books and Training at www.parse.com Looking for Digital Equipment Corp. PDP-1 through PDP-15 minicomputers!