<div dir="ltr">I also noticed when starting jack:<div><div>Apr 10 11:46:50 cubase pulseaudio[23745]: [pulseaudio] module-jack-sink.c: JACK error >Cannot use real-time scheduling (RR/5)(1: Operation not permitted)<</div><div>Apr 10 11:46:50 cubase pulseaudio[23745]: [pulseaudio] module-jack-sink.c: JACK error >JackClient::<wbr>AcquireSelfRealTime error<</div></div><div><br></div><div>Although qjackctl reports that jackd *does* run with realtime scheduling. Confusing.</div><div><br></div><div>Anyway, reproduced the problem. Every so often, I get more of those "cannot get freq" messages and the sound locks up for a few seconds, but then comes back. Then, I got an much longer stream of them (maybe a minute's worth), but the sound and responsiveness of Ardour still came back. Right now, it happened when I was watching YouTube on Chrome via the Pulseaudio Jack sink.</div><div><br></div><div>At the time of the messages, qjackctl was suddenly using 25% of my decent i5 CPU.When I checked the log, it was full of messages like:</div><div><br></div><div><div>Tue Apr 11 16:28:09 2017: Jack: ALSA XRun wait_status = 0</div><div>Tue Apr 11 16:28:09 2017: Jack: JackSocketServerChannel::Execute : fPollTable i = 1 fd = 12</div><div>Tue Apr 11 16:28:09 2017: Jack: JackRequest::Notification</div><div>Tue Apr 11 16:28:09 2017: Jack: JackEngine::ClientNotify: no callback for notification = 3</div><div>Tue Apr 11 16:28:09 2017: Jack: JackEngine::ClientNotify: no callback for notification = 3</div><div>Tue Apr 11 16:28:09 2017: Jack: JackClient::ClientNotify ref = 2 name = dbusapi notify = 3</div><div>Tue Apr 11 16:28:09 2017: Jack: JackClient::kXRunCallback</div><div>Tue Apr 11 16:28:09 2017: Jack: JackEngine::ClientNotify: no callback for notification = 3</div><div>Tue Apr 11 16:28:09 2017: Jack: JackEngine::ClientNotify: no callback for notification = 3</div><div>Tue Apr 11 16:28:09 2017: Jack: JackExternalClient::ClientNotify ref = 5 client = qjackctl name = qjackctl notify = 3</div><div>Tue Apr 11 16:28:09 2017: Jack: JackEngine::ClientNotify: no callback for notification = 3</div><div>Tue Apr 11 16:28:09 2017: Jack: JackSocketServerChannel::Execute : fPollTable i = 2 fd = 14</div><div>Tue Apr 11 16:28:09 2017: Jack: JackSocketServerChannel::Execute : fPollTable i = 3 fd = 17</div><div>Tue Apr 11 16:28:09 2017: Jack: JackSocketServerChannel::Execute : fPollTable i = 4 fd = 20</div><div>Tue Apr 11 16:28:09 2017: Jack: JackSocketServerChannel::Execute : fPollTable i = 5 fd = 23</div><div>Tue Apr 11 16:28:09 2017: Jack: ALSA XRun wait_status = 0</div><div>Tue Apr 11 16:28:09 2017: Jack: JackSocketServerChannel::Execute : fPollTable i = 1 fd = 12</div><div>Tue Apr 11 16:28:09 2017: Jack: JackRequest::Notification</div><div>Tue Apr 11 16:28:09 2017: Jack: JackEngine::ClientNotify: no callback for notification = 3</div><div>Tue Apr 11 16:28:09 2017: Jack: JackEngine::ClientNotify: no callback for notification = 3</div><div>Tue Apr 11 16:28:09 2017: Jack: JackClient::ClientNotify ref = 2 name = dbusapi notify = 3</div><div>Tue Apr 11 16:28:09 2017: Jack: JackClient::kXRunCallback</div></div><div><br></div><div>This seems to happen at the same time as the syslog lines from my OP.</div><div><br></div><div><div>Apr 11 16:28:09 cubase kernel: [108661.803326] usb 3-3: 1:2: cannot get freq at ep 0x1</div><div>Apr 11 16:28:09 cubase kernel: [108661.805662] usb 3-3: 2:2: cannot get freq at ep 0x82</div></div><div><br></div><div>By the time I'd gathered enough log information to paste above, the hang was over, so I haven't yet had a chance to try Clemens' suggestion (If you kill Jack and PulseAudio, do aplay/arecord work?).</div><div><br></div><div>Anecdotally, from grepping logs, I do believe that "cannot get freq" lines in the syslog happen even when I'm not using jackd, but perhaps with jackd there's more of a problem.</div><div><br></div><div>I guess I'm none the wiser. I'll try to log times when jackd is and isn't running and match them to the "cannot get freq" lines in the log, but meanwhile I definitely have a problem here when I'm using jackd, and I'm still not sure if it's software-or-hardware-related.</div><div><br></div><div>Antony</div><div class="gmail_extra"><br><div class="gmail_quote">On 10 April 2017 at 11:45, Clemens Ladisch <span dir="ltr"><<a href="mailto:clemens@ladisch.de" target="_blank">clemens@ladisch.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span>Antony Gelberg wrote:<br>
> Every now and then, it seems to lock up<br>
<br>
</span>What does that mean?<br>
<span><br>
> I seem to have to hard-reset the card, kill and restart pulseaudio (8.0) and jackd (1.9.11).<br>
<br>
</span>Is all this necessary?<br>
If you kill Jack and PulseAudio, do aplay/arecord work?<br>
<br>
<br>
Regards,<br>
Clemens<br>
______________________________<wbr>_________________<br>
Linux-audio-user mailing list<br>
<a href="mailto:Linux-audio-user@lists.linuxaudio.org" target="_blank">Linux-audio-user@lists.linuxau<wbr>dio.org</a><br>
<a href="http://lists.linuxaudio.org/listinfo/linux-audio-user" rel="noreferrer" target="_blank">http://lists.linuxaudio.org/li<wbr>stinfo/linux-audio-user</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail-m_3185314467264201152gmail_signature"><div dir="ltr"><div><a href="http://www.linkedin.com/in/antgel" target="_blank">http://www.linkedin.com/in/<wbr>antgel</a><br></div><a href="http://about.me/antonygelberg" target="_blank">http://about.me/antonygelberg</a></div></div>
</div></div>