FS#10063 - jack-audio-connection-kit and problem with SHM filesystem
Attached to Project:
Arch Linux
Opened by Maciej Ciemborowicz (ciembor) - Wednesday, 02 April 2008, 16:07 GMT
Last edited by Roman Kyrylych (Romashka) - Sunday, 06 April 2008, 08:36 GMT
Opened by Maciej Ciemborowicz (ciembor) - Wednesday, 02 April 2008, 16:07 GMT
Last edited by Roman Kyrylych (Romashka) - Sunday, 06 April 2008, 08:36 GMT
|
Details
Description:
I installed jack-audio-connection-kit and it doesn't start. I think I done everything what I should. 1. I have kdm login manager 2. I log into the system as usual user 3. I changed line "none /dev/shm tmpfs defaults 0 0" in the /etc/fstab to "shmfs /dev/shm shm defaults 0 0" Additional info: package version: 0.109.2-1 Here is jack output: "[ciembor@peace ~]# jackd -R -d alsa jackd 0.109.2 Copyright 2001-2005 Paul Davis and others. jackd comes with ABSOLUTELY NO WARRANTY This is free software, and you are welcome to redistribute it under certain conditions; see the file COPYING for details JACK compiled with POSIX SHM support. cannot open existing shm registry segment (Function not implemented) no access to shm registry" And I can see this line when system is starting: "unknown filestystems type shm" Steps to reproduce: |
This task depends upon
ciembor: "Is it possible to enable shmfs in official config? I have problem, becouse JACK Server wont start without POSIX SHM support."
maintainer: "That's already done - CONFIG_TMPFS and SHMEM. Try shmfs /dev/shm shm defaults 0 0 in fstab. Remember that you need a login manager for pam security to work."
But I will check it of course, if it works under official kernel26.
Well, all you need to know is that there is no problem with SHMFS in any of the Arch Linux kernels, and that it is now known primarily as just TMPFS. You will not see "shm" or "shmfs" in /proc/filesystems either, but there is "tmpfs" which is today's SHMFS.
1) Revert to "none /dev/shm tmpfs"
2) Make sure you are in audio group
3) Use qjackctl to disable realtime
4) Restart JACK/qjackctl and then try
5) Failing above, edit /etc/security/limits.conf to use realtime (you should not need to but looks like you have no other choice):
@audio - rtprio 99
@audio - nice -10
@audio - memlock unlimited
1. Install some login manager (kdm, gdm)
2. Make sure you are in audio group
3. Use qjackctl to disable realtime
4. Restart JACK/qjackctl and then try
5. Failing above, edit /etc/security/limits.conf to use realtime (you should not need to but looks like you have no other choice):
@audio - rtprio 99
@audio - nice -10
@audio - memlock unlimited
6. Don't start jackd as deamon from rc.config. Remove /dev/shm/jack* as root before you will start qjackctl as usual user.
Thanks for your kernel package and for great support:).