[PlanetCCRMA] jack trouble

Bruce Elliott belliott4488@comcast.net
Sun Dec 21 07:23:01 2003


This is a multi-part message in MIME format.
--------------060402050005080303060409
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit



Fernando Pablo Lopez-Lezcano wrote:

>> <snip>
>>
>>>loading driver ..
>>>creating alsa driver ... hw|hw|1024|2|44100|0|0|nomon|swmeter|rt|32bit
>>>configuring for 44100Hz, period = 1024 frames, buffer = 2 periods
>>>Couldn't open hw for 32bit samples trying 16bit instead
>>>Couldn't open hw for 32bit samples trying 16bit instead
>>>
>>>**** alsa_pcm: xrun of at least 0.070 msecs
>>>
>>>**** alsa_pcm: xrun of at least 0.083 msecs
>>>...
>>>      
>>>
>>Messages like the last two just keep scrolling on and on until I kill it.
>>    
>>
>Related to disk activity? Periodic?
>  
>
Seems to be random values between 0.068 msecs and 0.080 msecs.  They 
scroll at a rate of about 10 messages per second, so it's hard to tell 
what they might be responding to, in terms of disk activity.

>What soundcard do you have? I would try with different hardware
>parameters for jack. For example incrementing the number of periods (-p
>3) and/or making the buffer size bigger (or smaller). 
>  
>
I have the VT8233 AC97 Audio Controller from VIA Technologies, and use 
the via82cxxx_audio driver.
Do you mean that I should set the Frames per Second to 3 (-p 3)?  The 
default is 1024, so that seems like a big change.  Nonetheless I tried 
it and seemed to get better results, except that alsa fails now; it 
complains about the 3 fr/sec request:

[bruce@darkstar bruce]$ jackstart -R -d alsa -d hw -r 44100 -p 3
back from read, ret = 1 errno == Success
jackd 0.92.0
Copyright 2001-2003 Paul Davis and others.
jackd comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details

loading driver ..
creating alsa driver ... hw|hw|3|2|44100|0|0|nomon|swmeter|rt|32bit
configuring for 44100Hz, period = 3 frames, buffer = 2 periods
Couldn't open hw for 32bit samples trying 16bit instead
ALSA: cannot set period size to 3 frames for capture
ALSA: cannot configure capture channel
cannot load driver module alsa

thnx, - Bruce

--------------060402050005080303060409
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
<br>
<br>
Fernando Pablo Lopez-Lezcano wrote:<br>
<blockquote type="cite"
 cite="mid1071886244.31378.17.camel@cmn37.stanford.edu">
  <blockquote type="cite">&lt;snip&gt;
    <blockquote type="cite">
      <pre wrap="">loading driver ..
creating alsa driver ... hw|hw|1024|2|44100|0|0|nomon|swmeter|rt|32bit
configuring for 44100Hz, period = 1024 frames, buffer = 2 periods
Couldn't open hw for 32bit samples trying 16bit instead
Couldn't open hw for 32bit samples trying 16bit instead

**** alsa_pcm: xrun of at least 0.070 msecs

**** alsa_pcm: xrun of at least 0.083 msecs
...
      </pre>
    </blockquote>
    <pre wrap="">Messages like the last two just keep scrolling on and on until I kill it.
    </pre>
  </blockquote>
  <pre wrap=""><!---->Related to disk activity? Periodic?
  </pre>
</blockquote>
Seems to be random values between 0.068 msecs and 0.080 msecs.&nbsp; They
scroll at a rate of about 10 messages per second, so it's hard to tell
what they might be responding to, in terms of disk activity.<br>
<blockquote type="cite"
 cite="mid1071886244.31378.17.camel@cmn37.stanford.edu">
  <pre wrap=""></pre>
  <pre wrap=""><!---->What soundcard do you have? I would try with different hardware
parameters for jack. For example incrementing the number of periods (-p
3) and/or making the buffer size bigger (or smaller). 
  </pre>
</blockquote>
I have the VT8233 AC97 Audio Controller from VIA Technologies, and use
the via82cxxx_audio driver.<br>
Do you mean that I should set the Frames per Second to 3 (-p 3)?&nbsp; The
default is 1024, so that seems like a big change.&nbsp; Nonetheless I tried
it and seemed to get better results, except that alsa fails now; it
complains about the 3 fr/sec request:<br>
<br>
<tt>[bruce@darkstar bruce]$ jackstart -R -d alsa -d hw -r 44100 -p 3<br>
back from read, ret = 1 errno == Success<br>
jackd 0.92.0<br>
Copyright 2001-2003 Paul Davis and others.<br>
jackd comes with ABSOLUTELY NO WARRANTY<br>
This is free software, and you are welcome to redistribute it<br>
under certain conditions; see the file COPYING for details<br>
<br>
loading driver ..<br>
creating alsa driver ... hw|hw|3|2|44100|0|0|nomon|swmeter|rt|32bit<br>
configuring for 44100Hz, period = 3 frames, buffer = 2 periods<br>
Couldn't open hw for 32bit samples trying 16bit instead<br>
ALSA: cannot set period size to 3 frames for capture<br>
ALSA: cannot configure capture channel<br>
cannot load driver module alsa</tt><br>
<br>
thnx, - Bruce<br>
</body>
</html>

--------------060402050005080303060409--