Bug 673838 - default jack installation does not with rt-scheduling
Summary: default jack installation does not with rt-scheduling
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: jack-audio-connection-kit
Version: 14
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Orcan Ogetbil
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-30 20:02 UTC by Simon Lewis
Modified: 2012-08-16 14:55 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-16 14:55:34 UTC
Type: ---


Attachments (Terms of Use)

Description Simon Lewis 2011-01-30 20:02:08 UTC
As you will see from the error message, jackd requires a minimum rtprio of 60

Cannot use real-time scheduling (RR/60)(1: Operation not permitted)
AcquireSelfRealTime error

Suggest modifying the contents of 99-jack.conf to read:

# Default limits for users of jack-audio-connection-kit

@jackuser - rtprio 99
@jackuser - memlock 4194304
@jackuser - nice -10

@pulse - rtprio 20
@pulse - nice -20


Also users should be added to both jackuser and pulse-rt groups

Comment 1 Orcan Ogetbil 2011-01-30 21:41:01 UTC
Hi Simon,

What jack version, and what kernel version (Fedora kernel or CCRMA's RT kernel) are you using?
   rpm -q jack-audio-connection-kit
   rpm -qa |grep krenel
   uname -r

By adding your user to jackuser group, you should be able to run jackd without modifying the contents of the limits file. This is explained in the file
   /usr/share/doc/jack-audio-connection-kit-1.9.6/README.Fedora

And we simply can't add all users to those groups by default for security reasons. Only those users who really need the privileges need to be included in those groups.

Comment 2 Simon Lewis 2011-02-02 20:30:03 UTC
Hi Orcan

My initial approach was to add all users to jackuser as suggested in the README.Fedora but this do not give rt access to jackd. Also there is no pulse-rt group in Fedora 14 only pulse and pulse-access (Strange as fc12 & fc13 had this group).

bash-4.1$ rpm -q jack-audio-connection-kit
jack-audio-connection-kit-1.9.6-2.fc14.x86_64
jack-audio-connection-kit-1.9.6-2.fc14.i686

bash-4.1$ rpm -qa | grep kernel
kernel-rt-2.6.33.6-147.2.4.rt28.1.fc13.ccrma.x86_64
kernel-rt-2.6.33.7-149.rt30.1.fc13.ccrma.x86_64
kernel-rt-2.6.33.7-149.rt30.1.fc14.ccrma.x86_64
kernel-headers-2.6.35.10-74.fc14.x86_64
kernel-devel-2.6.34.7-63.fc13.x86_64
kernel-2.6.34.7-61.fc13.x86_64
kernel-2.6.34.7-66.fc13.x86_64
kernel-devel-2.6.34.7-61.fc13.x86_64
kernel-devel-2.6.34.7-66.fc13.x86_64
kernel-2.6.34.7-63.fc13.x86_64
kernel-2.6.35.10-74.fc14.x86_64
abrt-addon-kerneloops-1.1.14-1.fc14.x86_64
kernel-devel-2.6.35.10-74.fc14.x86_64

bash-4.1$ bash-4.1$ uname -r
2.6.35.10-74.fc14.x86_64
bash-4.1$

How about a simple qt app to set all the configuration options suggested in the README.fedora? KXStudio has this...


Regards, Simon

Comment 3 Orcan Ogetbil 2011-02-02 20:52:45 UTC
(In reply to comment #2)
> Hi Orcan
> 
> My initial approach was to add all users to jackuser as suggested in the
> README.Fedora but this do not give rt access to jackd. 

Hi Simon,

That's odd. It should work after you add your user to the jackuser group and re-login.

> Also there is no
> pulse-rt group in Fedora 14 only pulse and pulse-access (Strange as fc12 & 
> fc13 had this group).
> 

Hmm, that means the documentation needs an update. I am open to patches. I don't know personally what replaced the pulse-rt group in Fedora 14. I don't use pulseaudio, and as it seems, the communication between me and the pulseaudio maintainer is not the best; and obviously I did not write that part of the documentation.

> bash-4.1$ rpm -q jack-audio-connection-kit
> jack-audio-connection-kit-1.9.6-2.fc14.x86_64
> jack-audio-connection-kit-1.9.6-2.fc14.i686
> 
> bash-4.1$ rpm -qa | grep kernel
> kernel-rt-2.6.33.6-147.2.4.rt28.1.fc13.ccrma.x86_64
> kernel-rt-2.6.33.7-149.rt30.1.fc13.ccrma.x86_64
> kernel-rt-2.6.33.7-149.rt30.1.fc14.ccrma.x86_64
> kernel-headers-2.6.35.10-74.fc14.x86_64
> kernel-devel-2.6.34.7-63.fc13.x86_64
> kernel-2.6.34.7-61.fc13.x86_64
> kernel-2.6.34.7-66.fc13.x86_64
> kernel-devel-2.6.34.7-61.fc13.x86_64
> kernel-devel-2.6.34.7-66.fc13.x86_64
> kernel-2.6.34.7-63.fc13.x86_64
> kernel-2.6.35.10-74.fc14.x86_64
> abrt-addon-kerneloops-1.1.14-1.fc14.x86_64
> kernel-devel-2.6.35.10-74.fc14.x86_64
> 
> bash-4.1$ bash-4.1$ uname -r
> 2.6.35.10-74.fc14.x86_64
> bash-4.1$
> 

I see that you have the rt kernel installed. Does rt work when using that kernel?

> How about a simple qt app to set all the configuration options suggested in 
> the README.fedora? KXStudio has this...
> 

Are you asking me to write such an application? I don't think I have time for this. But if you have time, write it up, submit it to Fedora for review, I'll take a look.

Cheers, Orcan.

Comment 4 Fedora End Of Life 2012-08-16 14:55:36 UTC
This message is a notice that Fedora 14 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 14. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained.  At this time, all open bugs with a Fedora 'version'
of '14' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this 
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen 
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we were unable to fix it before Fedora 14 reached end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" (top right of this page) and open it against that 
version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping


Note You need to log in before you can comment on or make changes to this bug.