On 2023-05-12 08:17, Per Jessen wrote:
bent fender wrote:
Leap-15.4
I don't have the Leap so I can only comment in general terms.
Regardless of whether I start qjackctl before or not, launching rosegarden fails with this
~ # rosegarden Cannot lock down 86611866 byte memory area (Cannot allocate memory) Cannot use real-time scheduling (RR/5)(1: Operation not permitted) JackClient::AcquireSelfRealTime error Segmentation fault (core dumped)
I have no idea what 'rosegarden' even is, so just some wild guessing -
this sounds like some sort of permissions/privileges/limits issue - locking down memory, (presumably a failed mlock() ?) real-time scheduling not permitted etc.
Per is right here. It could be several things but I would try limits first. You should have a file /etc/security/limits.d/audio.conf or /usr/etc/security/limits.d/audio.conf that says: @audio - rtprio 95 @audio - memlock unlimited #@audio - nice -19 Be sure to restart your computer after that. Logout/login doesn't seem to do the trick here. You can also install studio-controls (from edogawa) which takes care of your audio/jack setup. I ported it a couple of years ago but edogawa made it better. https://software.opensuse.org/package/studio-controls -- /bengan