=== acerimmer is now known as enumerator === enumerator is now known as acerimmer_ [20:00] hey guys - having a problem configuring jack i've not come across before. i am in audio group and have set up both /etc/security/limits.conf and /etc/security/limits.d/audio.conf to no avail [20:00] am on kernel 2.6.33-1-realtime [20:01] every time i launch it i get this error: "JACK is running in realtime mode, but you are not allowed to use realtime scheduling." [20:01] any ideas? [20:01] (also am on lucid 10.04) [20:01] what is the output of "ulimit -r"? [20:01] 0 [20:02] hmmm [20:02] what does that mean? [20:02] so you don't have realtime scheduling privilege [20:03] to begin with, you shouldn't edit two files [20:03] well, initially i ran dpkg-reconfigure -p high jackd [20:03] for these limits [20:04] what is your recommendation? [20:04] I would delete the lines in /etc/security/limits.conf [20:04] done [20:04] then /etc/security/limits.d/audio.conf [20:04] done [20:04] can you show the lines there? [20:05] yes [20:05] @audio - rtprio 99 [20:05] @audio - memlock unlimited [20:05] @audio - nice -19 [20:05] lately, jack recommends memlock 75% of your RAM, but this is a side note [20:06] okay, i can fix that if i can get jack running as a regular user [20:06] are you in the audio group? [20:06] id [20:06] uid=1000(ray) gid=1000(ray) groups=4(adm),20(dialout),24(cdrom),29(audio),44(video),46(plugdev),104(fuse),105(lpadmin),112(netdev),119(admin),122(sambashare),1000(ray) [20:06] yep [20:06] Restart the computer? [20:07] It seems fine [20:07] that's what i thought [20:07] but still the same problem [20:07] i have followed lots of how-tos, same way as i did on jaunty [20:07] but nothing i do seems to have an effect [20:08] i will restart now and be back in a few minutes [20:08] thanks... c u in a mo [20:12] hi pablo. same result, i'm afraid [20:12] weird [20:12] what kernell are you running? [20:13] oh yes you said [20:13] 2.6.33-1-realtime [20:13] is it the same with other kernels? [20:14] i know jackd can run because i can run it as root [20:14] and that is fine [20:15] The point is that the user can't gain those privileges and I don't know why [20:15] yes, exactly. i am sure this is a permissions issue [20:15] http://www.kernel.org/pub/linux/libs/pam/Linux-PAM-html/sag-pam_limits.html [20:16] could it be that you don't have that pam_limits PAM module in your kernel? [20:17] possibly...! let me check [20:17] although that would be odd seeing as i am using the stock realtime kernel [20:18] I didn't know ubuntu had a 2.6.33-rt kernel [20:18] i am running karmic, anyway [20:18] mmm [20:19] weird. i can't find anything about PAM in the lucid kernel source [20:20] This problem is beyond my knowledge [20:20] okay, thanks anyway mate [20:20] it is a very odd one [20:20] you are welcome! [20:22] locate pam_limits.so [20:23] /lib/security/pam_limits.so [20:23] same as me [20:23] rrrrrr [20:23] I don't have a clue, sorry [20:23] i wonder if it is for the right kernel [20:25] what was that ulimit command again? [20:25] ulimit -r [20:25] ty [20:25] ulimit -a shows all [20:25] for jack, the important ones are ulimit-r and ulimit -l [20:26] ulimit -r still gives me 0 [20:26] that is the issue [20:27] it is like it is ignoring the .conf file [20:28] have you tried with another kernel? [20:28] yeah [20:28] A generic one, even [20:28] not a generic one, no [20:28] may give that a shot [22:21] hey Pablo, i found out what's happening [22:21] and i have 'fixed' it [22:21] sort of [22:22] cool [22:22] what happoened? [22:22] i am using the slim login manager which does not support PAM [22:23] i accidentally logged in using gdm and found it worked. i knew it was a problem with pam, so i did a search and immediately found this: http://meandubuntu.wordpress.com/2008/09/06/xfce-slim-pam-and-jack/ [22:23] man, it was driving me crazy! [22:23] but now the solution is clear so... yay! [22:24] i never twigged what the problem was cause i installed slim about 3 weeks ago and haven't done any audio work since