<div class="gmail_quote">On Sun, May 16, 2010 at 7:12 PM, Fernando Lopez-Lezcano <span dir="ltr">&lt;<a href="mailto:nando@ccrma.stanford.edu" target="_blank">nando@ccrma.stanford.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div>&gt; &gt; Speaking of pulseaudio, <a href="http://old.nabble.com/Re:-Fwd:-jack2-p28288652.html" target="_blank">http://old.nabble.com/Re:-Fwd:-jack2-p28288652.html</a> is</div><div>
&gt; &gt; a potential bad interaction between pulseaudio and jack (through<br>
&gt; &gt; /etc/security/limits.conf, potential priority escalation issue).<br>...
</div>Not that many &quot;tweaks&quot;. The ability for all users to run jack with<br>
realtime scheduling is &quot;added&quot; when you install the Planet CCRMA jack<br>
package. That thread talks about some security problems that could arise<br>
with the use of realtime scheduling, that is definitely not the source<br>
of your problems.</blockquote><div><br></div><div>I&#39;m not so sure about that...  It might be a good idea to make sure it&#39;s not the same problem described here: <a href="http://old.nabble.com/Re:-Fwd:-jack2-p28296197.html">http://old.nabble.com/Re:-Fwd:-jack2-p28296197.html</a></div>
<div><br></div><div>I experienced the similar lockup problems with jackd/qjackctl prior to my change ( <a href="http://old.nabble.com/help-w--qjackctl-locks-up-X-GUI-(perhaps-caused-by-dbus-or-kernel-2.6.32.11-99.fc12.x86_64)-to28221239.html#a28224046">http://old.nabble.com/help-w--qjackctl-locks-up-X-GUI-(perhaps-caused-by-dbus-or-kernel-2.6.32.11-99.fc12.x86_64)-to28221239.html#a28224046</a> ). Note that these lockups DO NOT require a reboot. What&#39;s happened is that the GUI/Xserver ends up getting locked up (via qjackctl) so if you SSH in to your box and &quot;killall qjackctl&quot; you&#39;ll unlock ( Make sure to also do &quot;killall jackd&quot; afterwards.).  Unfortunatelythe X server is so locked-up that you can&#39;t Alt-F2 and login via console and kill it that way.</div>
<div><br></div><div>HOWEVER -- in testing out a new $5.00 soundcard, I also experienced transient lock-ups again with jackd/qjackctl. The one thing that I could point to consistently as causing problems: having the wrong settings in &#39;alsamixer&#39;, i.e. when one of these is set to &quot;on&quot; you can neither play directly through ALSA, and jackd will hang:</div>
<div> ( <a href="http://old.nabble.com/Re:-QXGEdit-(was-Re:-Suzuki-QC1-Qchord-Digital-Songcard-Guitar-)-p28541528.html">http://old.nabble.com/Re:-QXGEdit-(was-Re:-Suzuki-QC1-Qchord-Digital-Songcard-Guitar-)-p28541528.html</a> )</div>
<div><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
** in alsamixer (F3-playback):</blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
Item: &quot;Multi Track Rate Locking&quot; set to  [Off]</blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
Item: &quot;Multi Track Rate Reset&quot; set to [Off]</blockquote><div><br></div><div>Likewise, if the card is locked to the wrong sampling rate , jack may not be able to reset it if the above settings are wrong.... To make things worse, it seems like some of these settings are &quot;sticky&quot; and may require loading/unloading the driver module or rebooting for the change to take effect. </div>
<div><br></div><div>Similar badness may be going on w/ your soundcard, which has been a source of longstanding problems in jack and alsa ... problems that often can be remedied via alsamixer magic: <a href="http://www.google.com/search?hl=en&amp;q=SiS+SI7012+jackd&amp;aq=f&amp;aqi=&amp;aql=&amp;oq=&amp;gs_rfai=">http://www.google.com/search?hl=en&amp;q=SiS+SI7012+jackd&amp;aq=f&amp;aqi=&amp;aql=&amp;oq=&amp;gs_rfai=</a>  </div>
<div><br></div><div>-- Niels</div><div><a href="http://nielsmayer.com">http://nielsmayer.com</a></div><div><br></div></div></div>