Everything is working splendidly, until I start to record Midi or Audio. Then everything freezes. I tried other audio-engines etc but only ALSA works. I also adjusted the buffer size and thereby latency.

Does anybody know what settings might possibly fix this?

Gratful for any and all suggestions no matter how outlandish.

If I could do all my recording on Debian I could ditch the airgapped windows machine I currently use for recording and finally be 100% FOSS.