Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER for Linux

Reply
 
Thread Tools Display Modes
Old 10-18-2021, 07:28 AM   #1
Pinknoise
Human being with feelings
 
Pinknoise's Avatar
 
Join Date: Aug 2012
Location: Around Montréal
Posts: 1,117
Default Low memory locking limit detected

I usually don't have this problem it's a brand new install.

It happens when trying to load Melda plugins so I suspect bridge related or setting that is usually present in other install but is not in this one.

User privileges granted for realtime already.

MXLinux21 RC1, Reaper 6.38, Wine 6.19, Yabridge 3.6.0

Pinknoise is offline   Reply With Quote
Old 10-18-2021, 07:49 AM   #2
Glennbo
Human being with feelings
 
Glennbo's Avatar
 
Join Date: Mar 2008
Location: Planet Earth
Posts: 9,055
Default

[QUOTE=Pinknoise;2489416]I usually don't have this problem it's a brand new install.

It happens when trying to load Melda plugins so I suspect bridge related or setting that is usually present in other install but is not in this one.

User privileges granted for realtime already.

MXLinux21 RC1, Reaper 6.38, Wine 6.19, Yabridge 3.6.0

Did you edit the file /etc/security/limits.conf and add *two* lines similar to this at the very end of the file?

@glennbo - rtprio 98
@glennbo - memlock unlimited

.
__________________
Glennbo
Hear My Music - Click Me!!!
--
Glennbo is offline   Reply With Quote
Old 10-18-2021, 10:21 AM   #3
Pinknoise
Human being with feelings
 
Pinknoise's Avatar
 
Join Date: Aug 2012
Location: Around Montréal
Posts: 1,117
Default

No I never had to do this before and it's my third install for MX21. Don't know why it suddenly pops up but I will try when I'll get to my main computer I'm on the road now.
Thank you.
Pinknoise is offline   Reply With Quote
Old 10-18-2021, 11:07 AM   #4
Glennbo
Human being with feelings
 
Glennbo's Avatar
 
Join Date: Mar 2008
Location: Planet Earth
Posts: 9,055
Default

Quote:
Originally Posted by Pinknoise View Post
No I never had to do this before and it's my third install for MX21. Don't know why it suddenly pops up but I will try when I'll get to my main computer I'm on the road now.
Thank you.
A lot of folks add themselves to the audio group and then add the lines,

@audio - rtprio 95
@audio - memlock unlimited

but way back when, Jack Winter had me just give myself the higher realtime priority and unlimited locked memory access and I've never changed it coz it werks.
__________________
Glennbo
Hear My Music - Click Me!!!
--
Glennbo is offline   Reply With Quote
Old 10-19-2021, 06:09 AM   #5
heda
Human being with feelings
 
heda's Avatar
 
Join Date: Jun 2012
Location: Spain
Posts: 7,241
Default

at least it was detecting it and displaying a message... for me it was a hard REAPER crash... After the memlock unlimited configuration, no more crashes.
heda is offline   Reply With Quote
Old 10-19-2021, 11:14 AM   #6
Held
Human being with feelings
 
Held's Avatar
 
Join Date: Nov 2019
Posts: 539
Default

Quote:
Originally Posted by heda View Post
at least it was detecting it and displaying a message... for me it was a hard REAPER crash... After the memlock unlimited configuration, no more crashes.
I think the notification was added in the latest Yabridge update.
Held is offline   Reply With Quote
Old 10-19-2021, 11:25 AM   #7
Pinknoise
Human being with feelings
 
Pinknoise's Avatar
 
Join Date: Aug 2012
Location: Around Montréal
Posts: 1,117
Default

Quote:
Originally Posted by Held View Post
I think the notification was added in the latest Yabridge update.
Nice addition in that case. Yabridge for president !!
Pinknoise is offline   Reply With Quote
Old 10-09-2022, 11:48 AM   #8
krahosk
Human being with feelings
 
Join Date: Jul 2009
Location: Canada
Posts: 2,372
Default

I am surprised that even with pipewire or wireplumber by default causes this.
krahosk is offline   Reply With Quote
Old 10-09-2022, 03:05 PM   #9
robbert-vdh
Human being with feelings
 
Join Date: Nov 2020
Posts: 275
Default

Quote:
Originally Posted by krahosk View Post
I am surprised that even with pipewire or wireplumber by default causes this.
It's something you need to set up once, usually as part of setting up realtime priviliges. Some distros (like Arch and Manjaro) have a package for it, while others require you to create the config file yourself, and Ubuntu/Debian have it tucked away in the JACK2 package.
robbert-vdh is offline   Reply With Quote
Old 10-10-2022, 07:39 AM   #10
krahosk
Human being with feelings
 
Join Date: Jul 2009
Location: Canada
Posts: 2,372
Default

Quote:
Originally Posted by robbert-vdh View Post
It's something you need to set up once, usually as part of setting up realtime priviliges. Some distros (like Arch and Manjaro) have a package for it, while others require you to create the config file yourself, and Ubuntu/Debian have it tucked away in the JACK2 package.
Thank you. I'm on Endeavour OS (Arch distro). I set up the realtime previliges as you mention and everything is functional now.
krahosk is offline   Reply With Quote
Old 10-10-2022, 07:51 AM   #11
audiojunkie
Human being with feelings
 
audiojunkie's Avatar
 
Join Date: Nov 2011
Posts: 971
Default

Quote:
Originally Posted by krahosk View Post
I am surprised that even with pipewire or wireplumber by default causes this.
Why does this surprise you? Pipewire or Wireplumber have nothing to do with the way your memory management is configured or managed on your computer. You are pointing your finger of blame at the wrong components. The apps you choose to run and the way your system is configured is the cause of this problem. To fix this, increase your memlock limit in Limits.conf. If you need help in doing this, we are willing to help you.
audiojunkie is offline   Reply With Quote
Old 10-10-2022, 07:52 AM   #12
audiojunkie
Human being with feelings
 
audiojunkie's Avatar
 
Join Date: Nov 2011
Posts: 971
Default

Quote:
Originally Posted by krahosk View Post
Thank you. I'm on Endeavour OS (Arch distro). I set up the realtime previliges as you mention and everything is functional now.
Ah! I'm glad to hear that you got everything working!
audiojunkie is offline   Reply With Quote
Old 10-10-2022, 10:13 AM   #13
krahosk
Human being with feelings
 
Join Date: Jul 2009
Location: Canada
Posts: 2,372
Default

Quote:
Originally Posted by audiojunkie View Post
Why does this surprise you? Pipewire or Wireplumber have nothing to do with the way your memory management is configured or managed on your computer. You are pointing your finger of blame at the wrong components. The apps you choose to run and the way your system is configured is the cause of this problem. To fix this, increase your memlock limit in Limits.conf. If you need help in doing this, we are willing to help you.
I just thought that piepewire took care of all the caveats. Still a newbie after a year on Linux!
krahosk is offline   Reply With Quote
Old 10-10-2022, 11:01 AM   #14
audiojunkie
Human being with feelings
 
audiojunkie's Avatar
 
Join Date: Nov 2011
Posts: 971
Default

Quote:
Originally Posted by krahosk View Post
I just thought that piepewire took care of all the caveats. Still a newbie after a year on Linux!
No worries! We are all new with Linux to one extent or another. There is plenty that is still very new to me, and I've been using Linux for years. We are all at different points on the same path--the path that we call our "Linux journey".
audiojunkie is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 08:02 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.