Topic: CPU overload by pianoteq linux
I am using the demo version of linux pianoteq 3.6.6. My OS is Ubuntu Studio 11.04. Kernel is generic but during instalation, realtime option was activated. My laptop is Lenovo G465; CPU is 2.4 Ghz AMD dual core; RAM is 4 GB. Keyboar Yamaha p80 connected to laptop through USB-midi interface Yamaha UX16.
Symptom. Exactly every minute, there is an xrun message reported by JACK; at that moment, a sharp piercing sound passes from the headphones to my brain, and is not only painful but disturbing. The message is like this one:
****alsa_pcm: xrun of at least 52.487 msec
JackPosixMutex::Unlock res = 1
11:31:36. 522 XRUN callback (75)
also continuously see messages like this one:
JackEngine::XRun: Client = Painoteq36 was not run: state = 1 [sometimes is 2]
Jackaudiodriver::ProcessGraph Async:Process error
Jack sends that information even in absence of activity from Pianoteq (idle), however, still I receive xruns messages happening every minute!! This is not right.
In addition, checking the resources use: Pianoteq and Jackd and jackctl are the ones that use most of the memory and CPU. Pianoteq uses a minimum of 10% CPU when idle, but can take more than 100% in some cases (pedal on and fast playing).
Please help me to troubleshooting. These are the setings of jackctl:
128 Frames/period; 48000 Sample rate; 2 periods/Buffer; 256 Port maximum; audio is playback only; latency is 5.33 msec.
By the way, I increased the priority of process pianoteq, jackctl and jackd to -11 (very high priority); pulseaudio was -11, so I decreased it to -4 (less priority); all other processes have 0 priority (normal). In pianoteq, both CPU cores are activated, and the laptop CPU use is put to "Performance" in both cores cpu0 and cpu1.
Please let me know what are your setings that decrease latency and eliminate xruns; is cpu overload that normal???? I remember past years when xorg was the hog in linux, now is pianoteq....