[CM] Grace freezes on sprout
cmdist at nospam.frostglow.com
Sat Sep 22 12:22:46 PDT 2012
On Sat, Sep 22, 2012 at 01:56:45PM -0500, Heinrich Taube wrote:
> my top shows 12% in idle going up to 30% when it does anything. I've
> no idea why its this high, you can grep for 'setPriority' settings in
> cm's sources and change them to smaller values, but I'm not sure if
> this will help or not, i think the os mitt do what it wants.
Even if lowering the priority did help, I'm not sure if it's the best
solution, as in the past I've had to raise Grace's priority (via
reducing its nice value to -1) in order to keep latency at an acceptable
level. Before I did that, sometimes I'd hear gaps in playback when
playing notes via mp:midi.
I should note, however, that I observed the 14% to 34% CPU use at idle
happened without any mucking around with priorities or nice levels.
> also Open File and Save don't work for me on linux, i don't get a
> modal dialog and instead I see the following in the console:
> GThread-ERROR **: file
> /build/buildd/glib2.0-2.30.0/./gthread/gthread-posix.c: line 348
> (g_thread_create_posix_impl): error 'Invalid argument' during
> 'pthread_attr_setschedparam (&attr, &sched)'
> i think this probably isn't due to cm directly, maybe the 'native'
> open file dialog i ask juce for isn't working on linux. ill have to
> poke around?.
I have no problems getting the Open dialog or opening files using it on
I notice that the error message you pasted above mentions glib2.0-2.30.0
I'm using glibc-2.13-r4 on my system. Perhaps that accounts for the
difference? I don't know what widget toolkit Grace uses to get the Open
dialog on Linux, but perhaps there's a version difference for that
between your Ubuntu system and my Gentoo system too.
More information about the Cmdist