145 |
4. Setup<br> |
4. Setup<br> |
146 |
4.1 <a href="#examples_lscp">Are there example LSCP script files somewhere?</a><br> |
4.1 <a href="#examples_lscp">Are there example LSCP script files somewhere?</a><br> |
147 |
4.2 <a href="#dropouts">I get dropouts (click sounds, noise), what can I do about it?</a><br> |
4.2 <a href="#dropouts">I get dropouts (click sounds, noise), what can I do about it?</a><br> |
148 |
|
4.3 <a href="#runtime_error">LinuxSampler aborts at runtime with ...</a><br> |
149 |
<br> |
<br> |
150 |
</div> |
</div> |
151 |
|
|
415 |
mlockall() memory" on the console, you are safe to run it as ordinary user as well. |
mlockall() memory" on the console, you are safe to run it as ordinary user as well. |
416 |
</p> |
</p> |
417 |
|
|
418 |
|
<a name="runtime_error"></a> |
419 |
|
<h3>LinuxSampler aborts at runtime with ... </h3> |
420 |
|
|
421 |
|
<p class="default"> |
422 |
|
• "<code>gig::Engine error: Failed to |
423 |
|
load instrument, cause: Unknown exception while trying to |
424 |
|
parse gig file.</code>"<br> |
425 |
|
<br> |
426 |
|
Usually LS gives you a meaningful error message in case it |
427 |
|
failed to load an instrument. However there might be rare |
428 |
|
cases where LS cannot resolve the reason and you get an |
429 |
|
error message like above. In this case make sure security / |
430 |
|
user limits aren't set too low. You can list your current |
431 |
|
limits with: |
432 |
|
</p> |
433 |
|
<pre class="code">ulimit -a</pre> |
434 |
|
<p class="default"> |
435 |
|
Usually most of those settings are set to "unlimited" on |
436 |
|
most boxes. If this is not the case on yours, make sure that |
437 |
|
at least the limits for "max locked memory", "virtual |
438 |
|
memory" and "data seg size" are sufficiently high enough. |
439 |
|
The exact value depends on the instruments you want to load. |
440 |
|
If your security policy allows it, you could simply set |
441 |
|
those limits to "unlimited" (see also config file |
442 |
|
/etc/security/limits.conf and |
443 |
|
<a href="https://bugs.linuxsampler.org/cgi-bin/show_bug.cgi?id=41">bug report #41</a>). |
444 |
|
</p> |
445 |
|
|
446 |
</div> |
</div> |
447 |
</td></tr></table> |
</td></tr></table> |
448 |
|
|