<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>I just downloaded Squeak on my up to date Linux Mint computer (a
      Core I 3 from 2009) and right at the start (before the message you
      report) I get the message copied below. <br>
    </p>
    <p>No sound with vm-sound-alsa but sound with vm-sound-pulse and
      always the same message. But it sounds like high latency and not
      as bad as on the Pi (with the keyboard). When waggling the
      keyboard Squeak goes from 5% to 56% CPU. That seems a lot to me.<br>
    </p>
    <p>Cheers,</p>
    <p><br>
    </p>
    <p>Herbert</p>
    <p><br>
    </p>
    <p>"Using
/home/herbert/Schreibtisch/Squeak5.3alpha-19256-64bit-201911012148-Linux/bin/squeak...<br>
      pthread_setschedparam failed: Operation not permitted<br>
      This VM uses a separate heartbeat thread to update its internal
      clock<br>
      and handle events.  For best operation, this thread should run at
      a<br>
      higher priority, however the VM was unable to change the
      priority.  The<br>
      effect is that heavily loaded systems may experience some latency<br>
      issues.  If this occurs, please create the appropriate
      configuration<br>
      file in /etc/security/limits.d/ as shown below:<br>
      <br>
      cat <<END | sudo tee /etc/security/limits.d/squeak.conf<br>
      *      hard    rtprio  2<br>
      *      soft    rtprio  2<br>
      END<br>
      <br>
      and report to the squeak mailing list whether this improves
      behaviour.<br>
      <br>
      You will need to log out and log back in for the limits to take
      effect.<br>
      For more information please see<br>
<a class="moz-txt-link-freetext" href="https://github.com/OpenSmalltalk/opensmalltalk-vm/releases/tag/r3732#linux">https://github.com/OpenSmalltalk/opensmalltalk-vm/releases/tag/r3732#linux</a><br>
      "<br>
    </p>
    <div class="moz-cite-prefix">Am 25.12.20 um 13:55 schrieb Bruce
      O'Neel:<br>
    </div>
    <blockquote type="cite"
      cite="mid:1608900955-a8e254641e67b9ccf42cac1ed5048d0b@pckswarms.ch">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div><br>
      </div>
      <div>So another data point.<br>
      </div>
      <div><br>
      </div>
      <div>Linux Mint 20 (so basically Ubuntu) on x86-64.  Happens to be
        a MacBook Air but I don't think that's important.<br>
      </div>
      <div><br>
      </div>
      <div>My normal install only build vm-sound-OSS.  And with that
        there is no sound and a complaint in the terminal about /dev/dsp
        not existing.  Which is true, /dev/dsp does not exist.<br>
      </div>
      <div><br>
      </div>
      <div>But if install libpluse-dev before I build the VM then I also
        get vm-sound-pluse.<br>
      </div>
      <div><br>
      </div>
      <p style="margin: 0px; font-style: normal; font-variant-caps:
        normal; font-weight: normal; font-stretch: normal; line-height:
        normal;"><span class="colour" style="color:rgb(0, 0, 0)"><span
            class="font" style="font-family:Menlo"><span class="size"
              style="font-size:11px"><span
                style="font-variant-ligatures: no-common-ligatures">tmp/opensmalltalk-vm/build.linux64x64/<a
                  href="http://squeak.cog.spur/build/squeak"
                  moz-do-not-send="true">squeak.cog.spur/build/squeak</a>
                -vm-sound-pulse myimage</span></span></span></span><br>
      </p>
      <div><br>
      </div>
      <div>Good news - I get sound!<br>
      </div>
      <div><br>
      </div>
      <div>Bad news - Well it seems a bit drunk in that it pauses about
        every second to two.  It acts like a buffering issue.  It is
        slightly worse without doing the RT priority limits.conf file.<br>
      </div>
      <div><br>
      </div>
      <div>I'll also poke at this a bit.<br>
      </div>
      <div><br>
      </div>
      <div><br>
      </div>
      <div>cheers<br>
      </div>
      <div><br>
      </div>
      <div>bruce</div>
      <div id="editorUserSignature" style="display:none;"><br>
      </div>
      <div><br>
      </div>
      <div><br>
      </div>
      <div><i>25 December 2020 05:41 tim Rowledge
          <a class="moz-txt-link-rfc2396E" href="mailto:tim@rowledge.org"><tim@rowledge.org></a> wrote:</i><br>
      </div>
      <blockquote class="infmailquote">
        <div><br>
        </div>
        <div><br>
        </div>
        <div>> On 2020-12-24, at 1:21 PM, Herbert König wrote:<br>
        </div>
        <div> ><br>
        </div>
        <div> > Ha, ran the script in a terminal and on each piano
          keypress I get:<br>
        </div>
        <div> > sound_Start(default)<br>
        </div>
        <div> > soundStart: snd_add_pcm_handler: Function not
          implemented.<br>
        </div>
        <div> <br>
        </div>
        <div> That's an error to do with some asynchronous handler stuff
          in alsa. I have no idea why it would fail.<br>
        </div>
        <div> <br>
        </div>
        <div> All in all this sound stuff is getting very, very,
          frustrating<br>
        </div>
        <div> <br>
        </div>
        <div> <br>
        </div>
        <div> tim<br>
        </div>
        <div> --<br>
        </div>
        <div> tim Rowledge; <a class="moz-txt-link-abbreviated" href="mailto:tim@rowledge.org">tim@rowledge.org</a>;
          <a class="moz-txt-link-freetext" href="http://www.rowledge.org/tim">http://www.rowledge.org/tim</a><br>
        </div>
        <div> Strange OpCodes: NOP: Randomize the PSW and then branch<br>
        </div>
        <div> <br>
        </div>
        <div> <br>
        </div>
        <div> <br>
        </div>
      </blockquote>
      <div><br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">
</pre>
    </blockquote>
  </body>
</html>