Re: [Faudiostream-users] [Faudiostream-devel] Updated lv2/lv2synth architectures

2014-02-24 Thread Romain Michon
On Fri, Feb 21, 2014 at 11:32 AM, Albert Graef aggr...@gmail.com wrote:

 On Fri, Feb 21, 2014 at 6:43 PM, Romain Michon rmnmic...@gmail.com
 wrote:
  Congrats! It looks really cool.

 Thanks! :) I do think that after the addition of the lv2plugin~
 external, Pd+Faust+LV2 makes for a really great combo now.



All right, I did a full update of the server with the most recent version
of faust2... Everything seems to compile, bit I didn't have time to test
the generated objects.

Cheers,

Romain
--
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis  security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users


Re: [Faudiostream-users] [Faudiostream-devel] Updated lv2/lv2synth architectures

2014-02-24 Thread Albert Graef
On Tue, Feb 25, 2014 at 7:23 AM, Romain Michon rmnmic...@gmail.com wrote:
 All right, I did a full update of the server with the most recent version of 
 faust2...

Thanks!

 Everything seems to compile, bit I didn't have time to test the generated 
 objects.

They crash and burn. ;-)

Just tried it with one of my own synths, a fairly simple one
(https://bitbucket.org/agraef/faust-lv2/src/HEAD/synths/organ.dsp).
The bundle returned by the online compiler looks ok, and the plugin
loads, but it immediately dumps core when it runs (i.e., as soon as
the compute() method gets invoked). Here's is what my own test host
gives 
(https://bitbucket.org/purelang/pure-lang/src/tip/pure-lilv/examples/synth.pure):

Synth: organ
0: 0xf0 65 16 66 18 64 0 127 0 65 247
0: 0xb0 0 0 0
0: 0xb0 32 0 0
0: 0xc0 6 0 0
0: 0xb0 7 100 0
0: 0xb0 10 64 0
0: 0x90 77 98 0
Illegal instruction (core dumped)

I get exactly the same error Illegal instruction (core dumped) in
other LV2 hosts I tried (Qtractor, jalv). If I recompile the plugin
from source myself and replace the .so in the bundle, it works ok. If
I regenerate the entire bundle locally with faust2lv2synth, it also
works fine. So this is clearly a problem with the binary (.so file)
produced by the online compiler.

I vaguely recall that we already had this issue some time ago. IIRC,
the root cause was that the online compiler used some pretty
aggressive optimization and/or code generation options which simply
don't work on all x86_64 systems. Yann may know more about this, IIRC
he fixed it back then. :)

I have a fairly old AMD box here, so that might be the reason the
binary dumps core on my system. But clearly the online compiler should
use some conservative code generation options which are known to work
on a wide range of hardware, even if that means that the plugin will
run a little slower.

Any ideas?

Albert

-- 
Dr. Albert Graf
Dept. of Music-Informatics, University of Mainz, Germany
Email:  aggr...@gmail.com
WWW:https://plus.google.com/+AlbertGraef

--
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis  security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk
___
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users