All of lore.kernel.org
 help / color / mirror / Atom feed
From: John Rigg <ad@sound-man.co.uk>
To: "Petter Sundlöf" <petter.sundlof@findus.dhs.org>
Cc: alsa-devel@alsa-project.org
Subject: Re: Some problems with two 1010LTs (pcm_multi & jackd)
Date: Fri, 27 Jan 2006 14:02:21 +0000	[thread overview]
Message-ID: <20060127140221.GA4036@localhost.localdomain> (raw)
In-Reply-To: <20060127125317.GA3768@localhost.localdomain>

On Fri, Jan 27, 2006 at 12:53:17PM +0000, John Rigg wrote:
> On Fri, Jan 27, 2006 at 12:14:41AM +0100, Petter Sundlöf wrote:
> > 
> > >>After this I tried to run jackd -d alsa -r44100 -p512 -C multi_capture 
> > >>-P multi_playback
> 
> > >>I then start Ardour and open a session. I place the playhead somewhere 
> > >>and try to start playback. Nothing happens. After a few seconds, Ardour 
> > >>is disconnected from JACK, and I receive this in jackd's stdout:
> > >>
> > >>ALSA: poll time out, polled for 17416024 usecs
> 
> Just thought of something else. envy24control has `Locked' and `Reset'
> buttons. `Locked' keeps the master card's clock set to whatever rate
> is set by envy24control's radio buttons, regardless of what you specify
> on the command line.
> If you have `Locked' set and specify a different rate on the command
> line, jackd just hangs and will probably give a poll timeout 
> (or if you're running it in realtime the jackd watchdog times out).
> 
> Make sure you have the `Locked' button unchecked and the `Reset' button
> checked. `Reset' allows the command line to override the envy24control
> setting for sample rate. I suspect these buttons should be mutually exclusive,
> ie. radio buttons, but they're not (looks like a bug).

This is getting complicated. I start getting all kinds of spurious
behaviour from jackd after I've been setting and resetting things
in envy24control. A reboot is required to make it behave normally again.

On my system the default on startup in envy24control is `Locked' button
unselected, `Reset' selected. All I have to do is tell the second card
to sync to the first with either S/PDIF or wordclock input. Then it
runs fine. The minute I try messing with `Locked' and `Unlocked' buttons
or sample rates jackd starts crashing with a floating point exception
(which I suspect is an indication of the cards losing sync).

It is possible to set this stuff up manually in /etc/asound.state using
the alsactl command to save/restore the settings in this file.
I think I'll start using it to set up my cards' clocks and only use
envy24control for the level meters and routing (at least until I get
hold of an oscilloscope and an external word clock generator to help
diagnose what's going wrong).

(My previous assessment of what the `Locked' and `Reset' buttons are
supposed to do may be incomplete, since they seem to behave differently
at different times).

John


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid\x103432&bid#0486&dat\x121642

  reply	other threads:[~2006-01-27 13:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-26 14:04 Some problems with two 1010LTs (pcm_multi & jackd) Petter Sundlöf
2006-01-26 18:48 ` John Rigg
2006-01-26 23:14   ` Petter Sundlöf
2006-01-27 12:53     ` John Rigg
2006-01-27 14:02       ` John Rigg [this message]
2006-01-26 19:10 ` John Rigg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060127140221.GA4036@localhost.localdomain \
    --to=ad@sound-man.co.uk \
    --cc=alsa-devel@alsa-project.org \
    --cc=petter.sundlof@findus.dhs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.