After having consecutive problems with Jack I found your tutorial:
http://wiki.linuxmusicians.com/doku.php ... figuration
This is what I've found out so far. I'd really appreciate some help with this it seems there are a few errors that even I can see. I just don't want to go playing around with things and break them when I'm on the verge of getting this sorted out.
Here is what I've found from the above Wiki - Many thanks.
=========================
Ran: uname -a
Currently running Rt Kernel confirmed.
Linux USERNAME-desktop 2.6.31-9-rt #152-Ubuntu SMP PREEMPT RT Thu Oct 15 05:01:14 UTC 2009 i686 GNU/Linux
Finding out whether you're running an rt kernel?
Looked at Kernel config (Hope this is the right one?)
usr/src/linux-headers-2.6.31-39-rt
CONFIG_HZ=1000
# CONFIG_HZ_100 is not set
CONFIG_HZ_1000=y
# CONFIG_HZ_250 is not set
# CONFIG_HZ_300 is not set
Where you have on your tutorial....
CONFIG_HZ_1000=y
CONFIG_HZ=1000
CONFIG_PREEMPT_RT=y
CONFIG_PREEMPT=y
Ran the 'groups' command and got.
USERNAME adm dialout cdrom plugdev lpadmin admin sambashare
System setup
Moderators: MattKingUSA, khz
Re: System setup
Jack did start and ran with realtime checked with no errors. (Yippeee!
) Phew.
(1) I used this from this page:
https://bugs.launchpad.net/ubuntu/+sour ... bug/108718
sudo su -c 'echo @audio - rtprio 99 >> /etc/security/limits.conf'
sudo su -c 'echo @audio - memlock 250000 >> /etc/security/limits.conf' (I got Permission denied on this)
sudo su -c 'echo @audio - nice -10 >> /etc/security/limits.conf'
(2) Edited limits.conf so:
#* soft core 0
#root hard core 100000
#* hard rss 10000
#@student hard nproc 20
#@faculty soft nproc 20
#@faculty hard nproc 50
#ftp hard nproc 0
#ftp - chroot /ftp
#@student - maxlogins 4
@audio - rtprio 100
@audio - nice -10
@audio - memlock 400000
root@USERNAME:~# cat /etc/group | grep audio
audio
29:pulse:smaring
(I realize that most use unlimited for memlock - just testing.)
(3) Created AUDIO group and added myself as a user.
I'm not totally sure that pulse should be in that command line? I've also uninstalled all pulse modules.
i.e audio
29:pulse:smaring ???
I've still yet to sort this out under:
usr/src/linux-headers-2.6.31-39-rt
But is this the right file please?
CONFIG_HZ=1000
# CONFIG_HZ_100 is not set
CONFIG_HZ_1000=y
# CONFIG_HZ_250 is not set
# CONFIG_HZ_300 is not set
I may even have an early beer!
(1) I used this from this page:
https://bugs.launchpad.net/ubuntu/+sour ... bug/108718
sudo su -c 'echo @audio - rtprio 99 >> /etc/security/limits.conf'
sudo su -c 'echo @audio - memlock 250000 >> /etc/security/limits.conf' (I got Permission denied on this)
sudo su -c 'echo @audio - nice -10 >> /etc/security/limits.conf'
(2) Edited limits.conf so:
#* soft core 0
#root hard core 100000
#* hard rss 10000
#@student hard nproc 20
#@faculty soft nproc 20
#@faculty hard nproc 50
#ftp hard nproc 0
#ftp - chroot /ftp
#@student - maxlogins 4
@audio - rtprio 100
@audio - nice -10
@audio - memlock 400000
root@USERNAME:~# cat /etc/group | grep audio
audio
(I realize that most use unlimited for memlock - just testing.)
(3) Created AUDIO group and added myself as a user.
I'm not totally sure that pulse should be in that command line? I've also uninstalled all pulse modules.
i.e audio
I've still yet to sort this out under:
usr/src/linux-headers-2.6.31-39-rt
But is this the right file please?
CONFIG_HZ=1000
# CONFIG_HZ_100 is not set
CONFIG_HZ_1000=y
# CONFIG_HZ_250 is not set
# CONFIG_HZ_300 is not set
I may even have an early beer!
Re: System setup
sudo su -c 'echo @audio - rtprio 99 >> /etc/security/limits.conf' : that should be either:
su -c 'echo @audio - rtprio 99 >> /etc/security/limits.conf' or
sudo 'echo @audio - rtprio 99 >> /etc/security/limits.conf'
"audio
29:pulse:smaring":
It doesn't matter that pulse is in that line. It just means that the pulse group exists. You can safely leave it. /etc/groups lists all groups: type "groups" ( w/o quotes and not as root ) to see what groups you are in.
usr/src/linux-headers-2.6.31-39-rt: no, don't twiddle with that. Its for compiling stuff that needs to know how the kernel is configured. Likewise the kernel config file you should leave alone. You can use a copy of it as a starting point for compiling a new kernel. You will definitely break stuff if you mess with these files!
Have that beer!
su -c 'echo @audio - rtprio 99 >> /etc/security/limits.conf' or
sudo 'echo @audio - rtprio 99 >> /etc/security/limits.conf'
"audio
It doesn't matter that pulse is in that line. It just means that the pulse group exists. You can safely leave it. /etc/groups lists all groups: type "groups" ( w/o quotes and not as root ) to see what groups you are in.
usr/src/linux-headers-2.6.31-39-rt: no, don't twiddle with that. Its for compiling stuff that needs to know how the kernel is configured. Likewise the kernel config file you should leave alone. You can use a copy of it as a starting point for compiling a new kernel. You will definitely break stuff if you mess with these files!
Have that beer!
Re: System setup
Thanks so much Gary!
I had to create a group. Mint is marvelous I have to say, there it was in the 'all applications' menu where it should be.
Anyway added that and me to it and all now seems to be just fine, thanks again.
I'll look at this Gary thanks again.
Now I'm creating backup files so I can look through them, learn what went on and why?
Have a beer yourself too, thanks again.
Chippy.
I had to create a group. Mint is marvelous I have to say, there it was in the 'all applications' menu where it should be.
Anyway added that and me to it and all now seems to be just fine, thanks again.
I'll look at this Gary thanks again.
Now I'm creating backup files so I can look through them, learn what went on and why?
Have a beer yourself too, thanks again.
Chippy.
GarryO wrote:sudo su -c 'echo @audio - rtprio 99 >> /etc/security/limits.conf' : that should be either:
su -c 'echo @audio - rtprio 99 >> /etc/security/limits.conf' or
sudo 'echo @audio - rtprio 99 >> /etc/security/limits.conf'
"audio29:pulse:smaring":
It doesn't matter that pulse is in that line. It just means that the pulse group exists. You can safely leave it. /etc/groups lists all groups: type "groups" ( w/o quotes and not as root ) to see what groups you are in.
usr/src/linux-headers-2.6.31-39-rt: no, don't twiddle with that. Its for compiling stuff that needs to know how the kernel is configured. Likewise the kernel config file you should leave alone. You can use a copy of it as a starting point for compiling a new kernel. You will definitely break stuff if you mess with these files!
Have that beer!