Menu

#14 Rakarrack crashes for certain effects

open-accepted
None
5
2011-06-19
2011-06-19
No

Hi, I maintain rakarrack in Debian. As I can't give time to debug this now I'm forwarding to upstream. Here's the issue description:

If I select rock amp from the first bank while effects are enabled, rakarrack
crashes. There are a few other effects that also lead to a crash, e.g. metal
amp, also from the first bank. Here's the output that I get:
[...]
zombified - calling shutdown handler
X I/O error
jack main caught signal 12
zsh: exit 1 rakarrack

Please see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=588007 for more details.

Thanks!

Discussion

  • Transmogrifox

    Transmogrifox - 2011-06-19

    My observation is this is due to the amount of CPU used by Convolotron. It is a bad default I have chosen to use in the preset banks, and I am working on Convolotron to come up with a good low-cpu safe setting so these presets work on lesser processors in the default installation. Those presets work ok on a dual-core 2.4GHz machine compiled w/ SSE, but if no SSE, they would not work at all, and probably would crash even a very good computer.

    A quick, easy fix is to package Rakarrack with default effects banks that do not use Convolotron. For minimal effort you could replace Convolotron with the parametric EQ in the existing banks and adjust until it sounds ok. Else wait until I have time to finish what I am doing with Convolotron and default presets.

    Thanks for the report.
    transmogrifox

     
  • Transmogrifox

    Transmogrifox - 2011-06-19
    • status: open --> open-accepted
     
  • Josep Andreu

    Josep Andreu - 2011-06-19

    This is due the high CPU usage of the Convolotron effect, in older versions by default the Convolotron effect is not downsampled ... due this problems now by default is downsampled to a samplerate more safe, then on new installs this problem is more or less fixed because .. that's always depend of the CPU power, but the problem can be on users with a older config with the Convolotron downsample settings as normal.

     
  • Josep Andreu

    Josep Andreu - 2011-06-19

    This is due the high CPU usage of the Convolotron effect, in older versions by default the Convolotron effect is not downsampled ... due this problems now by default is downsampled to a samplerate more safe, then on new installs this problem is more or less fixed because .. that's always depend of the CPU power, but the problem can be on users with a older config with the Convolotron downsample settings as normal.

     
  • Josep Andreu

    Josep Andreu - 2011-06-19
    • assigned_to: nobody --> holborn
     
  • Tiago Bortoletto Vaz

    Thansk for the quick answer! I've browsed the git tree and didn't find your config workaround for this. I'd like to suggest the original reporter to change his/her older config but don't know how. Could you point me something?

     
  • Transmogrifox

    Transmogrifox - 2011-06-19

    Preferences-->Audio (tab)
    Convolotron Downsample. 16000, linear, linear for up and down will probably make it useable.

    They can go as low as 4000, but that probably will probably sound bad enough they won't want to use it on that setting, however, it can be used to confirm the problem is CPU usage as we have suggested and not some other kind of bug. Using the Downsample settings can help with CPU usage on the other effects listed there under Downsample. Tell them to read the help if they need more tips about how to configure downsample settings.

    That will be good advice for the original poster.

    By the way, what version of Rakarrack are they using?

     
  • Tiago Bortoletto Vaz

    Feedback from reporter:

    [...]
    > Yes, changing the convolotron settings, everything works for me now.
    >
    > Btw, I've been in contact with upstream already, the off-by-one's are already
    > fixed in git. Sorry for not following up earlier on.
    >
    > Cheers and thanks again for maintaining this package,
    > Stefan.

    At the time he reported he was using rakarrack 0.5.8_Equinox. Btw, I've just releases a new Debian package which fixes crashes caused by sse2 instructions in olds x86 :)

    Thanks,