falkTX / Carla

Audio plugin host
https://kx.studio/carla
1.62k stars 146 forks source link

A linux LV2 hard freezes desktop #818

Open zamaudio opened 5 years ago

zamaudio commented 5 years ago

From #lad: loading ZamTube into Carla:

I tried several tonestacks, switching them maybe a bit fast, I tried resizing (which ain't work with ZamTube, then, the sound stutter with pauses, without a high dsp load, then the desktop freeze and I need to reboot. After reboot I tried with jalv, and cant reproduce the freeze.

zamaudio commented 5 years ago

Freeze occurred with zamaudio/zam-plugins@7288da7

falkTX commented 5 years ago

was that on a realtime kernel? zamtube is a cpu hog, maybe it just took all resources without possibility of recovering.

what were the carla settings? (audio driver, engine mode, buffer size, sample rate)

I guess since this is a report from IRC, we cannot know these details.

brummer10 commented 5 years ago

Hi Not a realtime kernel, but 4.18.0-16.1-liquorix-amd64 x86_64. with ulimit ulimited. Carla rack running with jackd2, 128/2 48kHz -p85 CPU: Topology: Quad Core model: Intel Core i5-7400 bits: 64 type: MCP arch: Kaby Lake rev: 9 L2 cache: 6144 KiB flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 24000 Speed: 3001 MHz min/max: 800/3001 MHz Core speeds (MHz): 1: 3000 2: 3001 3: 3001 4: 3000 Memory: 7.70 GiB gcc: 8.2.0

falkTX commented 4 years ago

I noticed a freeze just now, but was related jack-apps as bridges not implementing what was being sent on the server side fully, leading to audio process requesting data on a loop. Fixed in 8c543fae8ea43054ff1a6fa84ecd274fe958c012

Maybe this is related? Though it would only happen if running plugin as bridges..