Folks,

Can't seem to get jackd to run at RT prio..

If this isn't the right group, where can I post this appropriately?

Here is jackd (jackd version 0.102.20 tmpdir /tmp protocol 16) apparently
running at priority 19 even though I've started it with -R and -P80; what am
I doing wrong?  Running as root BTW.

 PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
21948 root      25   0  356m  28m  20m R   98  2.9 232:17.87 nautilus
23191 root      18   0  138m  34m 8420 S    1  3.5   0:00.68 ecasound
21913 root      15   0  210m  56m  41m S    1  5.7   2:34.20 jamin
23177 root      18   0 37876  21m 3560 S    1  2.1   0:03.52 jackd

There are a couple system processes with RT prio:

   2 root      RT   0     0    0    0 S    0  0.0   0:00.02 migration/0
   3 root      RT   0     0    0    0 S    0  0.0   0:11.45 posix_cpu_timer

I have it running with these options:

jackd -v -R -P80 -dalsa -r44100 -p256 -n4 -D -Chw:0,0 -Phw:0,0 -i2 -o4

Kernel is X86_64 2.6.19-3-rt #1 SMP PREEMPT

Sound is Intel IC7H.

Another time I started it, I used chrt:

# jackd -v -R -P80 -dalsa -r44100 -p256 -n4 -D -Chw:0,0 -Phw:0,0 -i2 -o4
/tmp/jackd.log 2>&1 &
[1] 23375

# chrt -p 23375
pid 23375's current scheduling policy: SCHED_OTHER
pid 23375's current scheduling priority: 0

My IRQ's show 16 is shared with a USB device; could this be related?:

          CPU0       CPU1
 0:       9665          0   IO-APIC-edge      timer
 1:          2          0   IO-APIC-edge      i8042
 7:          0          0   IO-APIC-edge      parport0
 8:          0          0   IO-APIC-edge      rtc
 9:          0          0   IO-APIC-fasteoi   acpi
12:     908139          0   IO-APIC-edge      i8042
14:    3033240          0   IO-APIC-edge      ide0
16:   20557341          0   IO-APIC-fasteoi   HDA Intel, uhci_hcd:usb5
18:    7348595          0   IO-APIC-fasteoi   uhci_hcd:usb4
19:     703786          0   IO-APIC-fasteoi   libata, uhci_hcd:usb3
20:     228012          0   IO-APIC-fasteoi   ohci1394, eth0
23:         49          0   IO-APIC-fasteoi   uhci_hcd:usb1, ehci_hcd:usb2
NMI:  177786909  194937476
LOC:   43055416   34697335
ERR:          0


Ideas?  What else can I tell you?

Thank you alot,
Ronan




On 1/26/07, ronan mcallister <[EMAIL PROTECTED]> wrote:

Hi Lee,

I do everything as root.  Maybe it's qjackctl's RT indicator that isn't
detecting the RT?  eg a false indicator function?

I've got x64-based 2.6.19-3-rt #1 SMP PREEMP build kernel.

I control jackd via qjackctl, it is now running with the options: "jackd
-R -dalsa -r44100 -p256 -n4 -D -Chw:0,0 -Phw:0 -i2 -o2".

I'll try to turn up the verbosity of the messages maybe that'll help me
see something....

I've also tried setting priority to 80 (with -P80).

Is there some form of system tool to help me understand more about RT?

I should move this subject to a different group if it does become a system
level thing.

Thanks alot,
Ronan




On 1/26/07, Lee Revell < [EMAIL PROTECTED]> wrote:
>
> On 1/26/07, ronan mcallister <[EMAIL PROTECTED]> wrote:
> > I still
> > have to figure out why I can't get it to run in RT with my RT/64
> kernel....
> >
>
> Probably a permissions issue.  Does RT work if you run everything as
> root?
>
> Lee
>


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to