From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1EL1zp-00018i-JH for garchives@archives.gentoo.org; Thu, 29 Sep 2005 17:15:02 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id j8TH6j9u022762; Thu, 29 Sep 2005 17:06:45 GMT Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.192]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id j8TH24bZ005466 for ; Thu, 29 Sep 2005 17:02:04 GMT Received: by xproxy.gmail.com with SMTP id t10so600470wxc for ; Thu, 29 Sep 2005 10:09:28 -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:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=jZpfF/tahuaWVzNwdoDGdE0C0QAL8C58oLLIayD2ly382AeIOW0ursEScMoc50iTbfUpyFbsntXwC+ID5LQ8fTAllMn8iBi+PCU9di7B1VxdfFCZZQIchJ6WjbFEJnHMvubz8Kmgbuw/e3CCs/ueERxl54gBh/6H+ujCNxPtNbQ= Received: by 10.70.34.14 with SMTP id h14mr588018wxh; Thu, 29 Sep 2005 10:09:28 -0700 (PDT) Received: by 10.70.11.7 with HTTP; Thu, 29 Sep 2005 10:09:28 -0700 (PDT) Message-ID: <5bdc1c8b0509291009287a9f35@mail.gmail.com> Date: Thu, 29 Sep 2005 10:09:28 -0700 From: Mark Knecht To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] [Completely and totally OT] FVWM-Crystal...!!! In-Reply-To: <433C0B08.4040407@planet.nl> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline References: <433AF025.1090208@planet.nl> <5bdc1c8b05092814066188e561@mail.gmail.com> <433B1A9C.5050900@planet.nl> <5bdc1c8b05092815542acda9c8@mail.gmail.com> <433B2277.3090102@planet.nl> <5bdc1c8b0509281621519fdd97@mail.gmail.com> <5bdc1c8b0509290700534e3cd4@mail.gmail.com> <433BFBB0.8030903@planet.nl> <5bdc1c8b05092908014e2c7570@mail.gmail.com> <433C0B08.4040407@planet.nl> Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id j8TH24bZ005466 X-Archives-Salt: e23e4424-ca28-48a0-8768-04a3a38032b8 X-Archives-Hash: e25c22f8d7beca739468b3fa4c1a8a95 On 9/29/05, Holly Bostick wrote: > > > > Anyway, I hope that helps explain my xrun comments. > > > > OK, sorry not to snip, but your post is a continuous > thought/explanation, and it doesn't seem right-- and I don't top-post > (99% of the time). > > I have several questions mostly leading to the same ultimate end. But > only one is important to express: > > 1) do you actually need X? i.e., is it possible to record audio in the > manner that you do without it? I need X. I run Ardour as well as a number of other audio gui apps. http://www.ardour.org/ > > What occurs to me, looking in from outside, is that while your issues > are clearly known to be kernel-based, and 64-bit based, the fact that > you are using programs that interfere with latency/real-time issues is > obfuscating the entire problem. Certainly if the choice of window > managers has an effect on the severity of the problem. Certainly. And this is not the first time I've been through this having now been using Linux audio for 4 years. Belive me, I've had many machines that didn't work for a while. This experience is not an exception - it's pretty much the rule. Clearly though, in my mind, this current problem is one of two things: 1) The recent kernel's are known to produce good results on 32-bit machines while running X. Unfortunately the current patch sets are not building for me as a 64-bit kernel. This could be because of configuration chices I'm making or somethign else. The kernel patch developers will eventually catch up to my issues and things will improve. 2) There is a specific hardware or driver problem with the NForce4 motherboard. Possibly the motherboard doesn't work well, or possibly the drivers have some problems. The former is not desired. The later will get attention eventually. > > So clear the waters if you can, because you can't solve a problem that > you can't clearly see the outlines of. > > Can you record audio from the command line? Or do the X-based programs > you use run under DirectFB? What I'm getting at is getting rid of all > the obstructions that could possibly interfere with the kernel and > introduce even more latency issues than what it already has, so that you > (or any devs) can see what problems it already has distinctly enough to > solve them-- or to eliminate them sufficiently so that you can get on > with doing what you do until the kernel stabilizes so you can use it > normally. Good questions. I didn't say this earlier. I probably should have. If I boot this machine into a console mode (i.e. - no xdm/gdm) and run Jack in one console I can log in as root in another console, do emerges all day long and I get no xruns, at least with the small amount of testing I've done so far. This is using 2.6.14-rc2-mm1 so it has some new code but not all of Ingo's stuff. > > I mean, X is a horrible hog, heaven only knows what effect your nVidia > or ATI kernel modules may be having on the ability of the kernel to > behave properly, since they also make demands on the kernel that > 'distract' it, as it were. And if Jack is a daemon (which I know it is), > it's not like it needs X for itself. Right, but as I say, much slower PCs are able to use the standard Gentoo kernel and run Gnome with no xruns. It's only this 3GHz 64-bit machine that has the problem. The sound card has been used in an Athlon XP 1600+ machine and it works fine so I trust its drivers at least in 32-bit mode. > > It's of course quite possible that I'm talking out of my butt, Not the least bit possible. Your thought are clear and very coorect IMO. > since I > am not a member of the Linux audio community, but I do know that the > first step in troubleshooting is to simplify the environment as much as > possible, and then slowly increase the complexity to see when and where > things break down. Absolutely. Hopefully with the additional info above you'll see that is what I've been doing, within my limited abilities to patch kernels, etc. > > Were I you, I would consider: > > - If keeping X, switching to the absolute most minimal wm possible > (twm, ratpoison, ion), to see what effect that had. Right. FVWM, fluxbox, etc. These can just be tested. > - If downstepping from X, investigating what programs run under > DirectFB and seeing what effect that had. > - If going cold-turkey off X, seeing how far you get with the > command-line and ncurses programs. Neither are really acceptable as far as I know today. > > Am I, in fact, talking out of my butt (since it seems that the 'real' > audio community would have tried at least some of this)? Or are there > reasons that this simplification process is not possible for > professional audio recording? As above - see Ardour, Jamin, Muse, Rosegarden, etc. Thanks for your thoughts. They are helpful. Cheers, Mark -- gentoo-user@gentoo.org mailing list