/[svn]/web/trunk/www.linuxsampler.org/faq.html
ViewVC logotype

Annotation of /web/trunk/www.linuxsampler.org/faq.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1595 - (hide annotations) (download) (as text)
Tue Dec 18 22:03:33 2007 UTC (16 years, 4 months ago) by schoenebeck
File MIME type: text/html
File size: 24509 byte(s)
- updated trouble shooting section of the Windows HOWTO

1 senoner 542 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2     <html>
3     <head>
4     <link rel="stylesheet" type="text/css" href="index.css">
5     <title>The Linux Sampler Project</title>
6    
7     <meta http-equiv="content-type"
8     content="text/html; charset=ISO-8859-1">
9    
10     <script language="javascript" type="text/javascript">
11     <!--
12     var dir = "gfx/";
13    
14     if(document.images) {
15    
16     newsover = new Image();
17     newsover.src = dir + "mnewshover.png";
18    
19     newsout = new Image();
20     newsout.src = dir + "mnews.png";
21    
22     aboutover = new Image();
23     aboutover.src = dir + "mabouthover.png";
24    
25     aboutout = new Image();
26     aboutout.src = dir + "mabout.png";
27    
28     featuresover = new Image();
29     featuresover.src = dir + "mfeatureshover.png";
30    
31     featuresout = new Image();
32     featuresout.src = dir + "mfeatures.png";
33    
34     screenshotsover = new Image();
35     screenshotsover.src = dir + "mscreenshotshover.png";
36    
37     screenshotsout = new Image();
38     screenshotsout.src = dir + "mscreenshots.png";
39    
40     demosover = new Image();
41     demosover.src = dir + "mdemoshover.png";
42    
43     demosout = new Image();
44     demosout.src = dir + "mdemos.png";
45    
46     downloadsover = new Image();
47     downloadsover.src = dir + "mdownloadshover.png";
48    
49     downloadsout = new Image();
50     downloadsout.src = dir + "mdownloads.png";
51    
52     developersover = new Image();
53     developersover.src = dir + "mdevelopershover.png";
54    
55     developersout = new Image();
56     developersout.src = dir + "mdevelopers.png";
57    
58     instrumentsover = new Image();
59     instrumentsover.src = dir + "minstrumentshover.png";
60    
61     instrumentsout = new Image();
62     instrumentsout.src = dir + "minstruments.png";
63    
64     linksover = new Image();
65     linksover.src = dir + "mlinkshover.png";
66    
67     linksout = new Image();
68     linksout.src = dir + "mlinks.png";
69    
70     documentationover = new Image();
71     documentationover.src = dir + "mdocumentationhover.png";
72    
73     documentationout = new Image();
74     documentationout.src = dir + "mdocumentation.png";
75    
76     creditsover = new Image();
77     creditsover.src = dir + "mcreditshover.png";
78    
79     creditsout = new Image();
80     creditsout.src = dir + "mcredits.png";
81    
82     faqover = new Image();
83     faqover.src = dir + "mfaqhover.png";
84    
85     faqout = new Image();
86     faqout.src = dir + "mfaq.png";
87    
88     bugsover = new Image();
89     bugsover.src = dir + "mbugshover.png";
90    
91     bugsout = new Image();
92     bugsout.src = dir + "mbugs.png";
93     }
94     -->
95     </script>
96    
97     </head>
98    
99     <body>
100    
101     <div id="mainwindow"><img name="LinuxSampler" src="gfx/lsbackground.jpg" alt="LinuxSampler">
102    
103     <h1><span class="hidden">The LinuxSampler Project</span></h1>
104    
105     <table border=0 cellspacing=0 cellpadding=0><tr><th colspan=2 align=left>
106     <img name="h1blank" src="gfx/h1blank.png" alt="blank"><span class="hidden">about</span></th></tr>
107     <tr><td valign=top>
108     <a id="news" href="index.php" onmouseover="javascript:if(document.images)document.news.src = newsover.src" onmouseout="javascript:if(document.images)document.news.src = newsout.src"><img name="news" src="gfx/mnews.png" alt="news"></a>
109     <a id="about" href="about.html" onmouseover="javascript:if(document.images)document.about.src = aboutover.src" onmouseout="javascript:if(document.images)document.about.src = aboutout.src"><img name="about" src="gfx/mabout.png" alt="about"></a>
110     <a id="features" href="features.html" onmouseover="javascript:if(document.images)document.features.src = featuresover.src" onmouseout="javascript:if(document.images)document.features.src = featuresout.src"><img name="features" src="gfx/mfeatures.png" alt="features"></a>
111     <a id="screenshots" href="screenshots.html" onmouseover="javascript:if(document.images)document.screenshots.src = screenshotsover.src" onmouseout="javascript:if(document.images)document.screenshots.src = screenshotsout.src"><img name="screenshots" src="gfx/mscreenshots.png" alt="screenshots"></a>
112     <a id="demos" href="demos.html" onmouseover="javascript:if(document.images)document.demos.src = demosover.src" onmouseout="javascript:if(document.images)document.demos.src = demosout.src"><img name="demos" src="gfx/mdemos.png" alt="demos"></a>
113     <a id="downloads" href="downloads.html" onmouseover="javascript:if(document.images)document.downloads.src = downloadsover.src" onmouseout="javascript:if(document.images)document.downloads.src = downloadsout.src"><img name="downloads" src="gfx/mdownloads.png" alt="download"></a>
114     <a id="developers" href="developers.html" onmouseover="javascript:if(document.images)document.developers.src = developersover.src" onmouseout="javascript:if(document.images)document.developers.src = developersout.src"><img name="developers" src="gfx/mdevelopers.png" alt="developers"></a>
115     <a id="faq" href="faq.html" onmouseover="javascript:if(document.images)document.faq.src = faqover.src" onmouseout="javascript:if(document.images)document.faq.src = faqout.src"><img name="faq" src="gfx/mfaq.png" alt="faq"></a>
116     <a id="documentation" href="documentation.html" onmouseover="javascript:if(document.images)document.documentation.src = documentationover.src" onmouseout="javascript:if(document.images)document.documentation.src = documentationout.src"><img name="documentation" src="gfx/mdocumentation.png" alt="documentation"></a>
117     <a id="bugs" href="http://bugs.linuxsampler.org" onmouseover="javascript:if(document.images)document.bugs.src = bugsover.src" onmouseout="javascript:if(document.images)document.bugs.src = bugsout.src"><img name="bugs" src="gfx/mbugs.png" alt="bugs"></a>
118     <a id="instruments" href="instruments.html" onmouseover="javascript:if(document.images)document.instruments.src = instrumentsover.src" onmouseout="javascript:if(document.images)document.instruments.src = instrumentsout.src"><img name="instruments" src="gfx/minstruments.png" alt="instruments"></a>
119     <a id="links" href="links.html" onmouseover="javascript:if(document.images)document.links.src = linksover.src" onmouseout="javascript:if(document.images)document.links.src = linksout.src"><img name="links" src="gfx/mlinks.png" alt="links"></a>
120     <a id="credits" href="credits.html" onmouseover="javascript:if(document.images)document.credits.src = creditsover.src" onmouseout="javascript:if(document.images)document.credits.src = creditsout.src"><img name="credits" src="gfx/mcredits.png" alt="credits"></a>
121     </td><td valign=top width="100%">
122     <div id="contents">
123    
124     <h2>FAQ</h2>
125 schoenebeck 1468 <div class="groupbox">
126 senoner 542 Here is a collection of frequently asked questions. Please read them before asking on
127 schoenebeck 896 the mailing list.<br>
128 schoenebeck 1468 <br>
129     1.&nbsp;License<br>
130     &nbsp;&nbsp;&nbsp;&nbsp;1.1&nbsp;<a href="#commercial_products">Can I use LinuxSampler in commercial hardware or software products?</a><br>
131     &nbsp;&nbsp;&nbsp;&nbsp;1.2&nbsp;<a href="#commercial_music">Can I use LinuxSampler for commercial music production?</a><br>
132     &nbsp;&nbsp;&nbsp;&nbsp;1.3&nbsp;<a href="#open_source">LinuxSampler is not open source, you are evil!</a><br>
133 schoenebeck 1469 &nbsp;&nbsp;&nbsp;&nbsp;1.4&nbsp;<a href="#closed_source">Will LinuxSampler turn closed-source?</a><br>
134     &nbsp;&nbsp;&nbsp;&nbsp;1.5&nbsp;<a href="#ls_license_change">I've heard the commercial exception of LinuxSampler was added at a certain version?</a><br>
135     &nbsp;&nbsp;&nbsp;&nbsp;1.6&nbsp;<a href="#ls_breaking_libgig_license">Doesn't LinuxSampler illegally link against libgig?</a><br>
136     &nbsp;&nbsp;&nbsp;&nbsp;1.7&nbsp;<a href="#ls_breaking_license">Doesn't LinuxSampler illegally link against other libraries?</a><br>
137 schoenebeck 1468 2.&nbsp;General Questions<br>
138     &nbsp;&nbsp;&nbsp;&nbsp;2.1&nbsp;<a href="#aga">linuxsampler? qsampler? jsampler? libgig? liblscp? jlscp? ... hu?</a><br>
139     &nbsp;&nbsp;&nbsp;&nbsp;2.2&nbsp;<a href="#no_gui">Can I use linuxsampler without a GUI as well?</a><br>
140     3.&nbsp;Compilation / Installation<br>
141     &nbsp;&nbsp;&nbsp;&nbsp;3.1&nbsp;<a href="#install">What do I need to compile and install?</a><br>
142     &nbsp;&nbsp;&nbsp;&nbsp;3.2&nbsp;<a href="#compilarion_error">Compilation of LinuxSampler aborts with ...</a><br>
143     &nbsp;&nbsp;&nbsp;&nbsp;3.3&nbsp;<a href="#cvs_checkout">How do I checkout from CVS?</a><br>
144     &nbsp;&nbsp;&nbsp;&nbsp;3.4&nbsp;<a href="#compile_cvs">How do I compile from CVS?</a><br>
145     4.&nbsp;Setup<br>
146     &nbsp;&nbsp;&nbsp;&nbsp;4.1&nbsp;<a href="#examples_lscp">Are there example LSCP script files somewhere?</a><br>
147     &nbsp;&nbsp;&nbsp;&nbsp;4.2&nbsp;<a href="#dropouts">I get dropouts (click sounds, noise), what can I do about it?</a><br>
148 schoenebeck 1586 &nbsp;&nbsp;&nbsp;&nbsp;4.3&nbsp;<a href="#runtime_error">LinuxSampler aborts at runtime with ...</a><br>
149 schoenebeck 1468 <br>
150     </div>
151 schoenebeck 896
152     <a name="commercial_products"></a>
153     <h3>Can I use LinuxSampler in commercial hardware or software products?</h3>
154 senoner 702 <p class="default">
155 schoenebeck 703 You are NOT ALLOWED to use LinuxSampler source code, libraries or applications in
156     COMMERCIAL hardware or software products without prior written authorization by the
157     <a href="developers.html">authors</a>. <A HREF="downloads.html">See here</A>
158 schoenebeck 896 </p>
159 senoner 542
160 schoenebeck 896 <a name="commercial_music"></a>
161     <h3>Can I use LinuxSampler for commercial music production?</h3>
162     <p class="default">
163     Hell, yes! Every indirect commercial usage of LinuxSampler, which essentially means
164     using its audio output, can of course be used in commercial applications like music
165     productions, live shows, etc. Don't get us wrong, with the mentioned commercial
166     exception we don't want to restrict the normal user / musician, we just want to avoid
167     somebody to directly make money with our work, that is by selling our software in a
168     sampler product like a sampler + sample library bundle, a hardware sampler or
169     something equivalent, at least not without giving something back to the open source
170     Community.
171     </p>
172    
173     <a name="open_source"></a>
174     <h3>LinuxSampler is not open source, you are evil!</h3>
175     <p class="default">
176     There are of course many definitions of the term "open source", but according to the
177     <a href="http://en.wikipedia.org/wiki/Open_source">definition on Wikipedia</a>
178     LinuxSampler is in fact open source, since you've got complete access to its source
179     code. So due to this fact, a normal user / musician is free to do with LinuxSampler
180     what he likes to do, he can even adjust and tweak every single part of the software
181     by modifying and compiling its source code. And just the fact that we want to avoid
182     our work to be directly exploited in commercial software or hardware products is
183 schoenebeck 897 definitely not an "evil" intention. For the normal user / musician the commercial
184 schoenebeck 896 restriction is even an advantage, since that way commercial actors are forced to
185     support this or another open source project either directly by coding or indirectly
186     by funding and thus increase development speed.
187     </p>
188    
189 schoenebeck 1468 <a name="closed_source"></a>
190     <h3>Will LinuxSampler turn closed-source?</h3>
191     <p class="default">
192     No, LinuxSampler will remain open source. Again, the commercial exception is just to
193     prevent commercial exploitation by third parties that haven't contributed anything to
194     open source projects.
195     </p>
196    
197     <a name="ls_license_change"></a>
198     <h3>I've heard the commercial exception of LinuxSampler was added at a certain version?</h3>
199     <p class="default">
200     No, the commercial exception in LinuxSampler's license terms were there since day one.
201     Even further it's not only there since the very first publicly available CVS
202     (developer) version of LinuxSampler, that commercial exception was even already in
203     Benno Senoner's proof of concept code called "EVO", which LinuxSampler was based on.
204     There was even a rumour that we would have manipulated CVS history to "pretend" this
205     exception wasn't added at a later point. Needless to say that this rumour is completely
206     false as well. Think about it! We're a group of developers spread around the world who
207     work on this project for fun and ideology in our spare time. Most of us contributed to
208     various other open source / free software projects. Do you seriously think we would
209     cheat on such an issue? Beside that you certainly find various people completely
210     unrelated to this project who still have early versions of LinuxSampler and / or EVO
211     and thus can confirm that this commercial exception was always there.
212     </p>
213    
214     <a name="ls_breaking_libgig_license"></a>
215     <h3>Doesn't LinuxSampler illegally link against libgig?</h3>
216     <p class="default">
217     No! LinuxSampler does not "illegally" link against libgig, since the copyright holder
218     (in this case of libgig) has all rights of his work and thus is not bound to his own
219     license terms. The sole purpose of license terms is to grant other people certain
220     rights to use the work.
221     </p>
222    
223     <a name="ls_breaking_license"></a>
224     <h3>Doesn't LinuxSampler illegally link against other libraries?</h3>
225     <p class="default">
226     No, the only library LinuxSampler links to that has license restrictions regarding
227     linking is libgig (<a href="#ls_breaking_libgig_license">see above</a>). Especially
228     LinuxSampler does not break Qt's license terms, since it does not link against Qt at
229     all.
230     </p>
231    
232 schoenebeck 896 <a name="aga"></a>
233 schoenebeck 1404 <h3>linuxsampler? qsampler? jsampler? gigedit? libgig? liblscp? jlscp? ... hu?</h3>
234 senoner 542 <p class="default">
235 schoenebeck 1404 There are currently seven subprojects in the LinuxSampler project; jlscp, jsampler,
236     libgig, liblscp, linuxsampler, gigedit and qsampler. linuxsampler is the core of the sampler, it includes the
237 senoner 542 sampler engines and audio and MIDI drivers. linuxsampler itself is decoupled from any
238 schoenebeck 895 user interface. It offers a native C++ API as well as a network server (LSCP server) to allow to be controlled by
239 schoenebeck 585 an arbitrary user frontend from an arbitrary place over a network connection or
240 schoenebeck 1404 (of course) locally from the same machine as well. This decoupled /
241     <a href="http://en.wikipedia.org/wiki/Backend">"backend"</a> design
242     of the sampler allows to run it even on a machine without any graphical interface,
243     without a Desktop, the machine doesn't even have to have a graphics card!
244     qsampler is the first <a href="http://en.wikipedia.org/wiki/Graphical_user_interface">GUI</a>
245     <a href="http://en.wikipedia.org/wiki/Frontend">frontend</a>
246     written for linuxsampler, it is written in C++ using the Qt
247 senoner 542 GUI library and thus can be compiled for various architectures and operating systems
248 schoenebeck 895 without modifications of the source code.
249 schoenebeck 1404 gigedit is an instruments editor application for Gigasampler format files. You can
250     run it as stand-alone application or in conjunction with LinuxSampler. In the latter
251     case you can play and immediately hear all your modifications made with gigedit in
252     realtime.
253 schoenebeck 895 libgig is a C++ library written for accessing Gigasampler files and DLS Level 1 and 2
254 schoenebeck 897 files, that is for reading and (since version 3.0.0) also writing of those files.
255 schoenebeck 1404 libgig is used by linuxsampler to load Gigasampler files, it is used by gigedit to
256     load, modify and create new Gigasampler files and it <b>can</b> be
257 senoner 542 used by qsampler to retrieve additional informations about Gigasampler files. liblscp
258     is a C library written as a wrapper around the LSCP network protocol, thus to control
259     linuxsampler. It was originally designed to be used on both sides, that is on server /
260     backend side (linuxsampler) and on client / frontend side (e.g. qsampler). But it's now
261 schoenebeck 895 only used on client side by qsampler at the moment. jsampler is another GUI frontend for
262     linuxsampler, it's written in Java and thus platform independent. jlscp is a library which
263     can be compared with liblscp, with the only difference that jlscp is written in Java and
264     liblscp in C. jsampler requires jlscp.
265 schoenebeck 897
266 senoner 542 </p>
267    
268 schoenebeck 896 <a name="install"></a>
269 senoner 542 <h3>What do I need to compile and install?</h3>
270     <p class="default">
271 schoenebeck 585 You should compile and install at least libgig and linuxsampler. As a beginner you should
272 schoenebeck 895 definitely as well compile and install a convenient GUI frontend like either qsampler or
273     jsampler, whatever you prefer. qsampler depends on liblscp, so you have to
274 schoenebeck 1404 compile and install liblscp before starting to build qsampler. Also if you like to be
275     able to edit instruments, you should compile and install gigedit as well. The recommended
276     order to compile and install is:
277 schoenebeck 585 <ol class="default">
278     <li>libgig</li>
279     <li>linuxsampler</li>
280 schoenebeck 1404 <li>gigedit</li>
281 schoenebeck 585 <li>liblscp</li>
282     <li>qsampler</li>
283     </ol>
284 senoner 542 </p>
285 schoenebeck 1404 <p class="default">
286     Of course you can also install QSampler and JSampler side by side. So you can test and use
287     both at the same time.
288     </p>
289 senoner 542
290 schoenebeck 896 <a name="compilarion_error"></a>
291 schoenebeck 616 <h3>Compilation of LinuxSampler aborts with ... </h3>
292 schoenebeck 1404
293 schoenebeck 616 <p class="default">
294 schoenebeck 1404 &bull;&nbsp;&nbsp;&nbsp;"<code>Required libgig version not found...</code>"<br>
295     <br>
296     This error might occur when running LinuxSampler's configure script. Make sure
297     you have the required libgig version installed. If you're compiling a CVS
298     version of LinuxSampler you usually have to compile and install the current
299     CVS version of libgig as well. Also note there are couple common mistakes which
300     let this error occur even after having compiled and installed the required
301     libgig version. Read
302     <a href="https://bugs.linuxsampler.org/cgi-bin/show_bug.cgi?id=29">this bug report</a>
303     about common mistakes and how you can fix them.
304     </p>
305    
306     <p class="default">
307 schoenebeck 895 &bull;&nbsp;&nbsp;&nbsp;"<code>can't find a register in class `GENERAL_REGS' while reloading `asm'</code>"<br>
308     <br>
309     This is caused by the inline assembly code for
310     <a href="http://en.wikipedia.org/wiki/SIMD">SIMD</a> optimization in older versions of
311     linuxsampler. You have to compile older versions of LinuxSampler (v0.3.3 and older) with
312     -O2 or -O3 to avoid this problem. Usually this is done by default, if not try:
313     <br>
314 schoenebeck 1279 </p>
315     <pre class="code">CXXFLAGS="-O3" ./configure
316 schoenebeck 618 make</pre>
317 schoenebeck 1279 <p class="default">
318 schoenebeck 618 Alternatively you could also disable all hand-crafted assembly optimization code by:
319 schoenebeck 1279 </p>
320     <pre class="code">./configure --disable-asm
321 schoenebeck 618 make</pre>
322 schoenebeck 1279 <p class="default">
323     but the latter is definitely not recommended, as it will increase CPU usage a lot!
324 schoenebeck 618 </p>
325 schoenebeck 895
326 schoenebeck 807 <p class="default">
327 schoenebeck 895 &bull;&nbsp;&nbsp;&nbsp;"<code>../common/Resampler.h:142: error: memory input 2 is not directly addressable</code>"<br>
328     <br>
329 schoenebeck 807 This was reported (<a href="http://sourceforge.net/mailarchive/forum.php?thread_id=9018347&forum_id=12792">1</a>,
330     <a href="http://sourceforge.net/mailarchive/forum.php?thread_id=9019467&forum_id=12792">2</a>)
331 schoenebeck 895 to be a gcc/g++ version problem, in conjunction with the inline assembly code for
332     <a href="http://en.wikipedia.org/wiki/SIMD">SIMD</a> optimization in older versions of
333     linuxsampler. Make sure you got gcc and g++, both of version 3.3 or higher installed.
334     You can check this with:
335 schoenebeck 1279 </p>
336     <pre class="code">gcc --version
337 schoenebeck 807 g++ --version</pre>
338 schoenebeck 1279 <p class="default">
339 schoenebeck 807 In case you already got gcc and g++ of version 3.3 or higher
340     installed and it still causes the compilation error mentioned
341     above, try the following:
342 schoenebeck 1279 </p>
343     <pre class="code">export CC=`which gcc`
344 schoenebeck 807 export CXX=`which g++`</pre>
345 schoenebeck 1279 <p class="default">
346 schoenebeck 895 On certain systems however you still get this error in conjunction with older
347     versions of LinuxSampler (v0.3.3 and older). Fortunately newer versions of
348     linuxsampler are not affected anymore
349     (<a href="https://bugs.linuxsampler.org/cgi-bin/show_bug.cgi?id=34">read this for details</a>).
350     </p>
351 schoenebeck 616
352 schoenebeck 896 <a name="cvs_checkout"></a>
353 senoner 542 <h3>How do I checkout from CVS?</h3>
354     <p class="default">
355     The procedure of checking out the newest version from CVS is described on the
356 schoenebeck 895 <a href="downloads.html#cvs">Downloads</a> site and on the
357     <a href="http://cvs.linuxsampler.org/cgi-bin/viewcvs.cgi/">web interface site
358     of our CVS server</a>.
359 senoner 542 </p>
360    
361 schoenebeck 896 <a name="compile_cvs"></a>
362 senoner 542 <h3>How do I compile from CVS?</h3>
363     <p class="default">
364     The procedure for compiling from CVS is the same for all subprojects, that is no matter
365 schoenebeck 585 if you are compiling linuxsampler, qsampler, libgig or liblscp from CVS, you need to
366 senoner 542 have the autotools (automake, autoconf and libtool) installed and compile it that way:
367 schoenebeck 1279 <pre class="code">make -f Makefile.cvs
368 senoner 542 ./configure
369     make</pre>
370 schoenebeck 895 </p>
371 senoner 542
372 schoenebeck 896 <a name="no_gui"></a>
373 senoner 542 <h3>Can I use linuxsampler without a GUI as well?</h3>
374     <p class="default">
375 schoenebeck 895 Yes, but unfortunately there is no console based frontend for linuxsampler (yet).
376     You have to write LSCP scripts and send it to the running linuxsampler application. But
377     don't worry, if you don't know how to write LSCP scripts, you can also start by saving
378     a sampler session with QSampler, because the session files qsampler writes are actually
379     real LSCP scripts. You can send a LSCP script to linuxsampler on the console with the
380     following command:
381 schoenebeck 1279 </p>
382 schoenebeck 1404 <pre class="code">netcat localhost 8888 &lt; yourscript.lscp</pre>
383 schoenebeck 1279 <p class="default">
384     or on certain systems (like Debian) you have to provide the -t switch:
385     </p>
386 schoenebeck 1404 <pre class="code">netcat -t localhost 8888 &lt; yourscript.lscp</pre>
387 schoenebeck 1279 <p class="default">
388 senoner 542 Of course you can also replace localhost by the IP address of the machine where
389     linuxsampler is running. Alternatively you can also make a telnet connection (port 8888)
390     to linuxsampler's LSCP server and type commands manually.
391     </p>
392    
393 schoenebeck 896 <a name="examples_lscp"></a>
394 senoner 542 <h3>Are there example LSCP script files somewhere?</h3>
395     <p class="default">
396     Yes, have a look on the <a href="documentation.html">Documentation</a> site for some
397     common LSCP script examples. For details about LSCP read the
398     <a href="api/draft-linuxsampler-protocol.html">LSCP reference</a>. Be welcome to ask
399 schoenebeck 895 questions for details about LSCP on the
400     <a href="http://lists.sourceforge.net/lists/listinfo/linuxsampler-devel">mailing list</a>.
401 senoner 542 </p>
402    
403     <a name="dropouts"></a>
404     <h3>I get dropouts (click sounds, noise), what can I do about it?</h3>
405     <p class="default">
406     In order to achieve good results under Linux you need to have a
407     <a href="http://www.linuxdj.com/audio/lad/resourceslatency.php3">patched kernel</a>.
408     There are different patches available depending on what version (2.4.x or 2.6.x) of kernel you use.
409 schoenebeck 1045 The <a href="http://jackaudio.org/faq">JACK FAQ site</a>
410     (or the <a href="http://jackit.sourceforge.net/docs/faq.php">old JACK FAQ site</a>)
411     is also a good resource for
412 senoner 542 how to configure a realtime stable kernel. But note; LinuxSampler currently has not support for
413     libcap yet, that means if you are still using a 2.4.x Linux kernel you most probably have to run
414 schoenebeck 895 LinuxSampler with root priviliges. As a rule of thumb: if you don't get warnings like "cannot
415     mlockall() memory" on the console, you are safe to run it as ordinary user as well.
416 senoner 542 </p>
417    
418 schoenebeck 1586 <a name="runtime_error"></a>
419     <h3>LinuxSampler aborts at runtime with ... </h3>
420 schoenebeck 1595 <p class="default">
421     Note: For <b>Windows specific runtime errors</b>, please have a
422     look at the
423     <a href="windows.html#houston">Trouble Shooting</a> section of
424     the LinuxSampler Windows HOWTO.
425     </p>
426 schoenebeck 1586
427     <p class="default">
428     &bull;&nbsp;&nbsp;&nbsp;"<code>gig::Engine error: Failed to
429     load instrument, cause: Unknown exception while trying to
430     parse gig file.</code>"<br>
431     <br>
432     Usually LS gives you a meaningful error message in case it
433     failed to load an instrument. However there might be rare
434     cases where LS cannot resolve the reason and you get an
435     error message like above. In this case make sure security /
436     user limits aren't set too low. You can list your current
437     limits with:
438     </p>
439     <pre class="code">ulimit -a</pre>
440     <p class="default">
441     Usually most of those settings are set to "unlimited" on
442     most boxes. If this is not the case on yours, make sure that
443     at least the limits for "max locked memory", "virtual
444     memory" and "data seg size" are sufficiently high enough.
445     The exact value depends on the instruments you want to load.
446     If your security policy allows it, you could simply set
447     those limits to "unlimited" (see also config file
448     /etc/security/limits.conf and
449     <a href="https://bugs.linuxsampler.org/cgi-bin/show_bug.cgi?id=41">bug report #41</a>).
450     </p>
451    
452 senoner 542 </div>
453     </td></tr></table>
454    
455     </div>
456    
457     </body>
458     </html>

  ViewVC Help
Powered by ViewVC