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

Reply
 
Thread Tools Display Modes
Old 12-28-2019, 07:05 AM   #1
monty
Human being with feelings
 
monty's Avatar
 
Join Date: Dec 2015
Posts: 214
Default arch realtime-privileges & system settings?

My log files are flooded with PAM audit messages
Code:
[20190.978249] audit: type=1131 audit(1577540170.084:1344): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
I have installed the realtime-privileges package do I still have to add all these system settings below manually?
User has been added to the audio and realtime group

Code:
sudo nano /etc/security/limits.conf
session required	pam_limits.so (<<<< especially this one)
@audio - rtprio 95
@audio - memlock unlimited

sudo nano /etc/udev/rules.d/40-timer-permissions.rules
KERNEL=="rtc0", GROUP="audio"
KERNEL=="hpet", GROUP="audio"

sudo nano /etc/rc.local
echo 2048 > /sys/class/rtc/rtc0/max_user_freq
echo 2048 > /proc/sys/dev/hpet/max-user-freq
should or can I use the preload package w/ an audio workstation?
https://sourceforge.net/projects/preload/
__________________
Manjaro-KDE RT, AMD FX-8350, 16GB, nvidia GT 630, Multiscreen (2x 22", 1x 15"), Reaper (latest) Theme: iLogic Next, Interface: Tascam US-16x08, ControlSurface: Tascam US-2400, Monitors: JBL 4412A, Tascam VL-S3 & Alesis Elevate 3 mkII
monty is offline   Reply With Quote
Old 12-28-2019, 07:21 AM   #2
cfillion
Human being with feelings
 
cfillion's Avatar
 
Join Date: May 2015
Location: Québec, Canada
Posts: 4,937
Default

Audit messages are unrelated to realtime-privileges. To enable these privileges (once that package has been installed), just add your user to the realtime group.

You can turn off audit messages by adding audit=0 to your kernel command line (or masking systemd-journald-audit.socket).

Last edited by cfillion; 12-28-2019 at 07:30 AM.
cfillion is offline   Reply With Quote
Old 12-28-2019, 07:33 AM   #3
monty
Human being with feelings
 
monty's Avatar
 
Join Date: Dec 2015
Posts: 214
Default

Quote:
Originally Posted by cfillion View Post
Audit messages are unrelated to realtime-privileges. To enable these privileges once that package has been installed, just add your user to the realtime group.

You can turn off audit messages by adding audit=0 to your kernel command line (or masking systemd-journald-audit.socket).
many thanks!
should I remove following stuff and username from the audio group too?
Code:
session required	pam_limits.so
@audio - rtprio 95
@audio - memlock unlimited
__________________
Manjaro-KDE RT, AMD FX-8350, 16GB, nvidia GT 630, Multiscreen (2x 22", 1x 15"), Reaper (latest) Theme: iLogic Next, Interface: Tascam US-16x08, ControlSurface: Tascam US-2400, Monitors: JBL 4412A, Tascam VL-S3 & Alesis Elevate 3 mkII
monty is offline   Reply With Quote
Old 12-28-2019, 10:11 AM   #4
monty
Human being with feelings
 
monty's Avatar
 
Join Date: Dec 2015
Posts: 214
Default

yeah looks much better now, so any important logs for debugging are no longer covered by flooding pam audits.
I use the standard linux-rt (5.2.21-rt14) kernel from manjaro community sources.
I switched back from arch to manjaro because it makes some things more comfortable.
__________________
Manjaro-KDE RT, AMD FX-8350, 16GB, nvidia GT 630, Multiscreen (2x 22", 1x 15"), Reaper (latest) Theme: iLogic Next, Interface: Tascam US-16x08, ControlSurface: Tascam US-2400, Monitors: JBL 4412A, Tascam VL-S3 & Alesis Elevate 3 mkII
monty is offline   Reply With Quote
Old 12-28-2019, 01:23 PM   #5
Jack Winter
Human being with feelings
 
Jack Winter's Avatar
 
Join Date: Aug 2007
Location: Luxembourg/Spain
Posts: 1,922
Default

I don't use Manjaro so I have no clue about it.

Still in Archlinux you ought to add the realtime-privileges package, add your user to the realtime group and drop the rest of the above. We did drop the audio group stuff as it might conflict with how the system allows access to soundcards for multi user systems.

AFAIK, /etc/rc.local isn't used at all anymore, unless you added a systemd unit to make it run.
__________________
Reaper for Linux Documentation (WIP). Software: Archlinux/KDE, Fabfilter FX, Komplete 8, Nebula, Schwa/Stillwell, T-racks Max/Amplitube/SVX, etc. Gear: i7-2600k/4700HQ/16GB, RME Multiface/Babyface, Behringer X32, Genelec 8040, etc. :)
Jack Winter is offline   Reply With Quote
Old 12-29-2019, 09:21 AM   #6
monty
Human being with feelings
 
monty's Avatar
 
Join Date: Dec 2015
Posts: 214
Default

thanks guys, everything works perfectly without additional configurations!
yep, rc.local is active I use it for unbinding IRQs and disable an onboard device also for setting up my extra numpads for my shortcuts, it's easier to handle w/ only one file instead of systemd startup actions
__________________
Manjaro-KDE RT, AMD FX-8350, 16GB, nvidia GT 630, Multiscreen (2x 22", 1x 15"), Reaper (latest) Theme: iLogic Next, Interface: Tascam US-16x08, ControlSurface: Tascam US-2400, Monitors: JBL 4412A, Tascam VL-S3 & Alesis Elevate 3 mkII
monty is offline   Reply With Quote
Old 12-29-2019, 01:52 PM   #7
Jack Winter
Human being with feelings
 
Jack Winter's Avatar
 
Join Date: Aug 2007
Location: Luxembourg/Spain
Posts: 1,922
Default

Hehe, I have a /usr/local/bin/rc.conf (out of sentimental reasons) that runs a few startup commands. I made a systemd unit to run it many years ago.
__________________
Reaper for Linux Documentation (WIP). Software: Archlinux/KDE, Fabfilter FX, Komplete 8, Nebula, Schwa/Stillwell, T-racks Max/Amplitube/SVX, etc. Gear: i7-2600k/4700HQ/16GB, RME Multiface/Babyface, Behringer X32, Genelec 8040, etc. :)
Jack Winter 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 01:34 PM.


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