Monday, 2017-09-11

*** artfwo has quit IRC01:30
*** diqidoq_ has joined #lv203:23
*** diqidoq has quit IRC03:23
ventosusyes, I see that. I just have to make extra rounds because there's no ui thread in my host06:01
ventosusand no connection between worker thread and ui process06:01
ventosusonly connectinos I have are: worker <=> dsp <=> ui06:02
ventosuswhereby worker and dsp are in a process and ui in a separate one06:02
ventosusARGB data needs to be messaged via atoms to the ui process06:03
ventosusso it's not really 'available' on the ui side in my case, I have to actively get it in any case...06:04
*** sigma6 has joined #lv207:39
*** oofus has joined #lv209:26
*** artfwo has joined #lv210:19
*** artfwo has quit IRC10:29
*** yann-kaelig has joined #lv210:30
*** artfwo has joined #lv211:42
*** arguy has joined #lv212:36
arguyHello everybody! Reading recent discussions of self containment of lv2 plugins, is it safe to use fftw? I didn't had any problems with mine in any distro so far but I hadn't tried in other platforms12:38
arguyWhat do you guys think?12:39
rgareusarguy: it is safe with  fftw 3.3.5 or later13:01
rgareuswhich does have a thread-safe planner13:01
arguyrgareus: I didn't know that. Thanks! I guess I'm fine then.13:02
rgareusarguy: but it's also relatively easy to just statically link against fftw13:04
arguyrgareus: I should do that instead of hoping users to have an updated library. Man I got to work my compiling I'm such a noob13:13
rgareusarguy: depends how you distribute the plugin.13:19
rgareusarguy: ardour binaries do include 3.3.5 (and ardour also calls fftwf_make_planner_thread_safe() to set things up)13:20
arguyrgareus: I'm reading thread safety fftw wiki right now. I should uses that indeed13:30
rgareusarguy: add 2 plugins to an ardour session which use fftw.  save, quit, re-open session.  When re-loading the session, the two plugins may call fftw_plan_...  concurrently.13:33
rgareusit's a race condition. happens sometimes (depending on number of CPU cores, buffersize/fftw-plan size etc)13:33
rgareusrecent fftw should be safe. ie a lock is taken only one plan at a time.13:34
arguyrgareus: well then I will add that requirement for compilation (fftw >= 3.3.5)13:36
rgareusif it's two instances of your own plugin, you can fix this (add a lock yourself a static global in your plugin). but if you mix plugins. no dice.13:36
rgareushttps://github.com/FFTW/fftw3/issues/16 has the full story13:36
arguyrgareus: alright thanks for the info13:37
rgareushttps://github.com/x42/meters.lv2/commit/de1a53151b85  is what I've used in the past (before fftw-3.3.4)13:38
rgareusthat also shows a script I've used to compile a custom static version of fftw.13:39
arguyrgareus: thanks Robin13:42
rgareusarguy: no problem13:44
rgareusit's a pity that things have to be complex sometimes.13:44
rgareusyet OTOH we're lucky: FAUST & JUCE (DPF) do abstract a whole lot of it.13:46
*** edo_pc has joined #lv213:51
arguyrgareus: I took a look at dpf once It seemed the way to go13:53
arguyrgareus: the some devs are recommending avtk13:53
arguy*then13:54
arguyI get dizzy quickly with this kind of stuff13:54
arguySince I'm not a real experienced programmer It's specially hard for me but I guess It's a matter of keeping doing it13:56
*** Yruama_Lairba has joined #lv213:59
rgareusarguy: yep.14:01
rgareusas Confucius once said:  When I am told, I forget. When I see, I remember. When I do, I understand.14:01
*** lucianodato has joined #lv214:02
*** arguy has quit IRC14:04
*** arguy has joined #lv214:07
*** lucianodato has quit IRC14:11
*** lucianodato has joined #lv214:21
*** arguy has quit IRC14:22
lucianodatorgareus: :)14:40
*** lucianodato has quit IRC14:57
*** arguy has joined #lv214:57
*** lucianodato has joined #lv215:33
*** arguy has quit IRC15:35
*** lucianodato has quit IRC15:42
*** arguy has joined #lv215:42
*** lucianodato has joined #lv215:46
*** arguy has quit IRC15:49
*** diqidoq_ has quit IRC15:59
*** lucianodato has quit IRC16:04
*** arguy has joined #lv216:04
*** deva has joined #lv216:07
*** diqidoq has joined #lv216:15
*** sigma6 has quit IRC16:16
*** arguy has quit IRC16:28
*** arguy has joined #lv216:28
*** arguy has quit IRC16:33
*** HarryHaaren has joined #lv217:34
*** arguy has joined #lv218:19
*** deva has quit IRC19:43
*** HarryHaaren has quit IRC19:47
*** stever_ has joined #lv220:17
*** stever has quit IRC20:24
*** stever_ is now known as stever20:24
arguyRgareus: I'm not quite understanding if in recent versions of fftw is still necessary to wrap plans around mutex locking or not. Or is it only necessary to call fftw_make_planner_thread_safe()?20:30
arguyIs there one of your more simple plugins updated so I could use your code as reference?20:31
*** edo_pc has quit IRC20:44
*** yann-kaelig has quit IRC21:03
ssj71arguy: IIUC recent versions don't need any mutex or special treatment. The plan function is thread safe already21:10
arguyssj71: ahh nice to know that. Then I will recommend users to compile against newer versions21:11
rgareuswhat ssj71 said21:24
arguyrgareus ssj71: thanks!21:25
*** ColaEuphoria has joined #lv222:03
*** rncbc has quit IRC22:04
*** rncbc has joined #lv222:04
ColaEuphoriaI'm starting to think spending $20/yr on a fancy toplevel domain probably isn't worth it :/22:07
ColaEuphorianot that it's too expensive or anything22:07
ColaEuphoriabut I'm far less likely to renew it if it falls during a period where i don't feel like i particularly have much money...22:07
*** rncbc has quit IRC22:11
*** arguy has quit IRC22:19
*** arguy has joined #lv222:27
*** NickSB has joined #lv222:56
*** Yruama_Lairba has quit IRC23:30

Generated by irclog2html.py 2.13.0 by Marius Gedminas - find it at mg.pov.lt!