I am trying to use a synth with my midi keyboard. ALSA seems to be running just fine, but when I am using Ardour with ALSA, other applications cannot output any audio. It seems like the best workaround would be to use jack.
I can start jack using sudo
or in "not-realtime-mode". But I feel like sudo isn't the way to go and realtime is required for playing a keyboard.
This is the output when I try to start jack using jackd -d alsa
:
JACK is running in realtime mode, but you are not allowed to use realtime scheduling.
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!
At first, there was also a line hinting to add something like @audio - rtprio 99
to /etc/security/limits.conf
which I did. Now this line does not show up but jack still wont start. I am in the audio
group.
I have read in this thread that I should try to add session required pam_limits.so
to /etc/pam.d/lightdm
. On my system the pam.d
directory didn't even exist, so I created it and also added everything from /usr/share/defaults/etc/pam.d/lightdm
as I could not login without that. This is how the file looks right now:
#%PAM-1.0
auth include login
account include login
password include login
session include login
session required pam_limits.so
Does anybody have any idea what else to try? I have looked though a lot of threads by now and can't seem to find any more leads to follow. Reinstalling solus is not really an option for me, as I don't want to reinstall all the software and such.
Thank you!