View previous topic :: View next topic |
Author |
Message |
RayDude Advocate
Joined: 29 May 2004 Posts: 2062 Location: San Jose, CA
|
Posted: Sat Jun 02, 2018 6:06 pm Post subject: Security issues with jack audio |
|
|
I'm trying to get jack audio to work.
I've traced the problem down to the security subsystem appearing to not read /etc/security/limits.d/40-realtime-base.conf.
Jack is producing this error message when I run it as a regular user:
Code: | JACK is running in realtime mode, but you are not allowed to use realtime scheduling.
Please check your /etc/security/limits.conf for the following line
and correct/add it if necessary:
@audio - rtprio 99
After applying these changes, please re-login in order for them to take effect.
You don't appear to have a sane system configuration. It is very likely that you
encounter xruns. Please apply all the above mentioned changes and start jack again! |
I'm pretty sure this is happening because the system is not using /etc/security/limits.d/40-realtime-base.conf which looks like this:
Code: | # Start of 40-realtime-base.conf from realtime-base-0.1
@realtime - rtprio 99
@realtime - memlock unlimited
# End of 40-realtime-base.conf from realtime-base-0.1 |
I'm not certain what to look at. Does anyone have any experience with this? _________________ Some day there will only be free software. |
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
|
Back to top |
|
|
Erdie Advocate
Joined: 20 May 2004 Posts: 2576 Location: Heidelberg - Germany
|
Posted: Tue Jul 10, 2018 8:07 am Post subject: |
|
|
Try to copy all relevant changes into the file:
Code: |
/etc/security/limits.conf
|
and check if it works after this is done.
I can check my system later at home. I had done a working jack configuration but do not know the details by heard. _________________ Desktop AMD Ryzen 9 5900X 32GB RAM, Asus GF GTX 1060.
Notebook Tuxedo Pulse 15 Gen1 AMD Ryzen 7 4800H mit Radeon Vega 7
Raspberry Pi 1 + 2 + 3B+ + Zero W |
|
Back to top |
|
|
|