Re: [LAD] Kontakt Spikes
I wrote: What is the time quantum that sched_rr_get_interval() returns for these threads? Bah, the documentation of sched_rr_get_interval() is wrong; the kernel uses a fixed RR time quantum of 100 ms which cannot be changed (except by changing DEF_TIMESLICE in kernel/sched.c). This means that, when you have five RR/50 threads on one core, a thread will run for 100 ms and then be interrupted for 400 ms. The only way for the threads to user shorter intervals is for all of them to cooperate and to call sched_yield() after having completed such an interval. Regards, Clemens ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
[LAD] Client connection to JACK fails with socket error -- help?
Hello all! My name is Simon, I am a long-time user of JACK on Debian-based Linux systems. I prefer to compile JACK myself so I always set the JACK-packages in Debian to hold, remove everything from /usr and put my build into /usr/local. Starting with Debian 6.0 squeeze (Kernel is 2.6.38-1-686 #1 SMP), this seems to cause problems somewhere. I checked out jackdmp from SVN yesterday, build was ok. jackdmp starts up, QJackCtl is able to connect and the connection graph shows up. But any other client I want to use with JACK causes the following error: [snip] Cannot connect to server socket err = No such file or directory Cannot connect to server socket jack server is not running or cannot be started [/snip] My test client of choice is mplayer. (SVN r3418) I checked whether the runtime linker uses the correct libs: /usr/local/bin/mplayer libjack.so.0 = /usr/local/lib/libjack.so.0 (0xb718a000) This should be ok. The list of file descriptors for the running jack server is [snip] jackd 13063 simon cwdDIR8,636864 146594 /home/simon jackd 13063 simon rtdDIR8,6 4096 2 / jackd 13063 simon txtREG8,622899 223189 /usr/local/bin/jackd jackd 13063 simon memREG8,6 145629 236929 /usr/local/lib/jack/jack_alsa.so jackd 13063 simon memREG 0,16 82493164 2070826 /dev/shm/jack-1000-0 jackd 13063 simon memREG8,6 1153328 391304 /usr/lib/libasound.so.2.0.0 jackd 13063 simon DELREG 0,16 2995543 /dev/shm/jack-1000-2 jackd 13063 simon DELREG 0,16 2995541 /dev/shm/sem.hTRyxy jackd 13063 simon DELREG 0,16 2070960 /dev/shm/sem.2Jamky jackd 13063 simon memCHR 116,5 241895 /dev/snd/pcmC0D0p jackd 13063 simon memCHR 116,6 241896 /dev/snd/pcmC0D0c jackd 13063 simon memREG8,6 1323460 246009 /lib/i686/cmov/libc-2.11.2.so jackd 13063 simon memREG8,6 116600 228035 /lib/libgcc_s.so.1 jackd 13063 simon memREG8,6 149392 245993 /lib/i686/cmov/libm-2.11.2.so jackd 13063 simon memREG8,630684 245999 /lib/i686/cmov/librt-2.11.2.so jackd 13063 simon memREG8,6 9736 246001 /lib/i686/cmov/libdl-2.11.2.so jackd 13063 simon memREG8,6 117367 245998 /lib/i686/cmov/libpthread-2.11.2.so jackd 13063 simon memREG8,6 958479 223178 /usr/local/lib/libjackserver.so.0.1.0 jackd 13063 simon memREG8,6 975012 214075 /usr/lib/libstdc++.so.6.0.13 jackd 13063 simon DELREG 0,16 2070886 /dev/shm/sem.5FWprn jackd 13063 simon memREG 0,16 1012 2070831 /dev/shm/jack-1000-1 jackd 13063 simon memREG 0,1670712 1906270 /dev/shm/jack-shm-registry jackd 13063 simon memREG8,6 113964 228057 /lib/ld-2.11.2.so jackd 13063 simon0r FIFO0,8 0t0 2070809 pipe jackd 13063 simon1w FIFO0,8 0t0 1906224 pipe jackd 13063 simon2w FIFO0,8 0t0 1906224 pipe jackd 13063 simon3u CHR 116,7 0t0 241899 /dev/snd/controlC0 jackd 13063 simon4u unix 0xece16900 0t0 2070957 /dev/shm/jack_(default)_1000_0 jackd 13063 simon5u CHR 116,5 0t0 241895 /dev/snd/pcmC0D0p jackd 13063 simon6u CHR 116,6 0t0 241896 /dev/snd/pcmC0D0c jackd 13063 simon7u unix 0xece166c0 0t0 2070959 socket jackd 13063 simon8u CHR 116,1 0t02555 /dev/snd/seq jackd 13063 simon9u unix 0xece16000 0t0 2070962 /dev/shm/jack_(default)_1000_0 jackd 13063 simon 10u unix 0xf4c71200 0t0 2995537 /dev/shm/jack_(default)_1000_0 jackd 13063 simon 11r FIFO0,8 0t0 1906200 pipe jackd 13063 simon 12w FIFO0,8 0t0 1906200 pipe jackd 13063 simon 13u unix 0xf4f81440 0t0 2995542 socket jackd 13063 simon 17r FIFO0,8 0t0 1906224 pipe jackd 13063 simon 18w FIFO0,8 0t0 1906224 pipe [/snip] So the server apparently has sockets open -- question is why are clients except QJackCtl unable to connect to them? I am out of ideas. I basically recompiled everything from source a few times (including alsa-lib, libsndfile, jack, mplayer) and nothing changed. I appreciate any help on this problem. Thank you very much in advance! Simon -- signature.asc Description: PGP signature ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
Re: [LAD] guitarix release guitarix2-0.19.0
Am Montag, den 10.10.2011, 09:28 +0200 schrieb hermann: guitarix/gx_head, a guitar mono tube amplifier simulation for jack, new features in short: [. . . ] I forget to mention that guitarix use now UUID's for both clients (amp + fx) in jack_session, to cover the needs of ladish. http://ladish.org/wiki/js_app_status also fixed is the build error when the build is without jack_session support. ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
Re: [LAD] LV2 AMS Plugins
On Sat, 2011-10-08 at 16:52 +0100, Aurélien Leblond wrote: That's weird, the error is in the lv2-c++-tools... I might have something missing but I can't figure out what... Anybody that can help? This package causes a lot of hassles, and a lot of user confusion. I recommend plugin developers include the relevant headers in their projects (or derivates of them, e.g. those at http://svn.drobilla.net/lad/trunk/plugins/lolep.lv2/src/) rather than depend on these packages, unless you actually need the other things in them, which is not the case here (or virtually everywhere else). What are these other things? I'm using the lv2peg tool and the peg files. (I basically followed the instructions on lv2 programming for idiots). ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
[LAD] LV2 AMS Plugins - 0.0.2
Hi Guys, Just posted on Sourceforge a new version of these plugins. I added: ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
Re: [LAD] LV2 AMS Plugins - 0.0.2
Hi Guys, (sorry for the previous empty message, stupid GMail sent it before I finished it!) Just posted on Sourceforge a new version of these plugins. I added: - a CV to Hz convertor and Hz to CV (seems to be working ok, the VCO is now in tune) - The VCA module from AMS (called VCA Lin and VCA Exp) - The ENV module from AMS With those, it should be possible to create very simple modular synths in Ingen. From the few test I have done, things seems to be working fine, but feel free to provide any comments and feedbacks! The file can be downloaded from here: http://sourceforge.net/projects/avwlv2/files/avw.lv2.0.0.2.tar.gz/download Aurélien ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
[LAD] LV2 AMS Plugins (0.0.2)
Hi Guys Just posted on Sourceforge a new version of these plugins. I added: - a CV to Hz convertor and Hz to CV (seems to be working ok, the VCO is now in tune) - The VCA module from AMS (called VCA Lin and VCA Exp) - The ENV module from AMS With those, it should be possible to create very simple modular synths in Ingen. From the few test I have done, things seems to be working fine, but feel free to provide any comments and feedbacks! The file can be downloaded from here: http://sourceforge.net/projects/avwlv2/files/ Aurélien ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
Re: [LAD] LV2 AMS Plugins (0.0.2)
Can someone tell me why the URL keeps being removed once I send it? Sent it twice now, and twice the mail is cut just before the URL... On Tue, Oct 11, 2011 at 5:08 PM, Aurélien Leblond blabl...@gmail.com wrote: Hi Guys Just posted on Sourceforge a new version of these plugins. I added: - a CV to Hz convertor and Hz to CV (seems to be working ok, the VCO is now in tune) - The VCA module from AMS (called VCA Lin and VCA Exp) - The ENV module from AMS With those, it should be possible to create very simple modular synths in Ingen. From the few test I have done, things seems to be working fine, but feel free to provide any comments and feedbacks! The file can be downloaded from here: http://sourceforge.net/projects/avwlv2/files/ Aurélien ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
Re: [LAD] Kontakt Spikes
On 10/11/2011 01:52 AM, Clemens Ladisch wrote: I wrote: What is the time quantum that sched_rr_get_interval() returns for these threads? Bah, the documentation of sched_rr_get_interval() is wrong; the kernel uses a fixed RR time quantum of 100 ms which cannot be changed (except by changing DEF_TIMESLICE in kernel/sched.c). This means that, when you have five RR/50 threads on one core, a thread will run for 100 ms and then be interrupted for 400 ms. The only way for the threads to user shorter intervals is for all of them to cooperate and to call sched_yield() after having completed such an interval. In our case this won't be an issue. We are really only using multiple threads so multiple cores can be used at the same time; not to divvy up a lengthy task, which is the normal use for threading. The fact that there are five realtime threads in our example is not a design decision, but only an unfortunate and unavoidable side-effect of how Receptor's and Kontakt's multi core modes work. All the realtime threads need to complete their work within the audio quantum (2.9 msecs in this case) or there will be drop outs. If any of the threads actually needed 100ms, playback will be so messed up and the cpu will be so overloaded they would probably have to hard-power off! We have gotten some interesting results from cyclictest and the new ftrace system. Hopefully that will point us to some kernel latency that we can work around or fix. Thanks... mo ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
Re: [LAD] LV2 AMS Plugins (0.0.2)
Hi Aurélien, On 10/11/2011 06:11 PM, Aurélien Leblond wrote: Can someone tell me why the URL keeps being removed once I send it? Sent it twice now, and twice the mail is cut just before the URL... weird. It went through just fine now with the reply quotes. It seems that starting a line with From - as you did in your original email - causes some issue with the mailman email archive: http://lists.linuxaudio.org/pipermail/linux-audio-dev/2011-October/031943.html Nevertheless I received the email just fine and the feed is also OK: http://linuxaudio.org/mailarchive/lau/2011/10/11/185099 Strange. maybe it's time to update mailman/pipermail. robin On Tue, Oct 11, 2011 at 5:08 PM, Aurélien Leblond blabl...@gmail.com wrote: Hi Guys Just posted on Sourceforge a new version of these plugins. I added: - a CV to Hz convertor and Hz to CV (seems to be working ok, the VCO is now in tune) - The VCA module from AMS (called VCA Lin and VCA Exp) - The ENV module from AMS With those, it should be possible to create very simple modular synths in Ingen. From the few test I have done, things seems to be working fine, but feel free to provide any comments and feedbacks! The file can be downloaded from here: http://sourceforge.net/projects/avwlv2/files/ Aurélien ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
Re: [LAD] guitarix release guitarix2-0.19.0
On 10/11/2011 03:36 PM, hermann wrote: also fixed is the build error when the build is without jack_session support. Hello Hermann, Yup, noticed that, it now builds fine without Jack Session support. Thanks! Best, Jeremy ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
Re: [LAD] Kontakt Spikes
On Tue, Oct 11, 2011 at 5:33 PM, Michael Ost m...@museresearch.com wrote: We have gotten some interesting results from cyclictest and the new ftrace system. Hopefully that will point us to some kernel latency that we can work around or fix. it would be really great if you could share at least what you find out about the problems, even if you don't want to share the fixes. --p ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
Re: [LAD] Client connection to JACK fails with socket error -- help?
On Tue, Oct 11, 2011 at 12:16 PM, Simon Kalteis mailingli...@kernelspace.de wrote: Hello all! My name is Simon, I am a long-time user of JACK on Debian-based Linux systems. I prefer to compile JACK myself so I always set the JACK-packages in Debian to hold, remove everything from /usr and put my build into /usr/local. your error is 100% consistent with this not being done thoroughly enough. ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev
Re: [LAD] Kontakt Spikes
On 10/11/2011 03:10 PM, Paul Davis wrote: On Tue, Oct 11, 2011 at 5:33 PM, Michael Ostm...@museresearch.com wrote: We have gotten some interesting results from cyclictest and the new ftrace system. Hopefully that will point us to some kernel latency that we can work around or fix. it would be really great if you could share at least what you find out about the problems, even if you don't want to share the fixes. Will do. First things for Kontakt are in our wine. (1) You need a way to set thread priority without hitting the wine server. And (2) you need a way to do simple thread synchronization without hitting the wine server. There's more going on, though, that is causing the latencies. And the output from cyclictest/ftrace is incredibly dense! It will be a slog. :( - mo ___ Linux-audio-dev mailing list Linux-audio-dev@lists.linuxaudio.org http://lists.linuxaudio.org/listinfo/linux-audio-dev