The latest version of the realtime Linux Security Module is now
available in the usual directory, <http://www.joq.us/realtime>.
This version handles the new concurrent groups mechanism Linus
introduced in 2.6.4. It still works with earlier 2.6 kernels. There
are no functional changes. Unless you are running 2.6.4, there is no
reason to upgrade.
The realtime LSM is an installable kernel module that enables realtime
capabilities for any 2.6.x kernel without needing to directly patch
the kernel. It was written by Torben Hohn and Jack O'Quin, who make
no warranty concerning the safety, security or even stability of your
system when using it. It is provided under the provisions of the GPL.
Thanks to Martin Habets for pointing out this kernel change and then
showing me how to handle it.
--
joq
Hello,
I see that you have security capabilities built in. Do you need to enable it
somehow to get jackstart or other applications which require caps to work?
I can't get 'jackstart -R' running without Joq's realtime module I was
talking about..
Sampo
robin fell <robin.fell(a)ntlworld.com>:
>
> On Wed, 2004-03-10 at 23:39, James Stone wrote:
>
> > Perhaps you would like to post your config if it is working well on
> your
> > box?
> >
> > James
>
> Attached.
>
hmm.. excellent. I am thinking of mixing onstage monitors and PA while
recording. At what latency do you think the delay would become noticeable?
Matthew Polashek
Associate Editor, Silver Burdett Ginn - Music
Scott Foresman/Pearson Education
299 Jefferson Road
Parsippany, NJ 07054-0480
office: 973.739.8709
fax: 973.739.8098
Matthew.Polashek(a)scottforesman.com
> ----------
> From: Steve Harris
> Reply To: A list for linux audio users
> Sent: Friday, March 12, 2004 10:08 AM
> To: 'linux-audio-user(a)music.columbia.edu'
> Subject: Re: [linux-audio-user] latency
>
> On Fri, Mar 12, 2004 at 09:41:44 -0500, Polashek, Matthew wrote:
> > Hi!
> > How little latency do I need to be able to use Ardour to mix live sound?
>
> That very much depends on the sitation, but I would think that 2x256
> sample periods in jack should be fine, and thats achievable on most
> machines.
>
> Depending on what youre mixing you may be able to get away with 2x1024.
>
> - Steve
>
>
>
>
****************************************************************************
This email may contain confidential material.
If you were not an intended recipient,
please notify the sender and delete all copies.
We may monitor email to and from our network.
****************************************************************************
I have the exact same problem and the exact same questions. I haven't seen any responses to Greg's email, so I thought I would reiterate the question. Anyone have any insight?
Thanks,
Joel
> Hi,
>
> I've been working on getting my linux system set up for recording with
> jack/ardour. I came across the "Low Latency mini howto":
> http://www.djcj.org/LAU/guide/Low_latency-Mini-HOWTO.php3
>
> At the end, it talks about setting up IRQs such that the sound card is
> at a high priority relative to other devices in the system. However,
> all the information in the doc pertains to non-APIC machines. What
> about an APIC-enabled machine?
>
> The output of 'cat /proc/interrupts' shows my sound card (ICE1712) dead
> last:
>
> CPU0 CPU1
> 0: 6628091 0 IO-APIC-edge timer
> 1: 6 0 IO-APIC-edge keyboard
> 2: 0 0 XT-PIC cascade
> 9: 0 0 XT-PIC acpi
> 12: 803 0 IO-APIC-edge PS/2 Mouse
> 15: 5 0 IO-APIC-edge ide1
> 16: 0 0 IO-APIC-level usb-uhci, usb-uhci
> 18: 4178 0 IO-APIC-level libata, usb-uhci
> 19: 320 0 IO-APIC-level usb-uhci
> 20: 6406 0 IO-APIC-level eth0
> 21: 0 0 IO-APIC-level ICE1712
> NMI: 0 0
> LOC: 6628191 6628246
> ERR: 0
> MIS: 0
>
> output of: lspci -v -s 02:01.0
> 02:01.0 Multimedia audio controller: IC Ensemble Inc ICE1712 [Envy24]
> (rev 02)
> Subsystem: IC Ensemble Inc: Unknown device d634
> Flags: bus master, medium devsel, latency 32, IRQ 21
> I/O ports at 8000 [size=32]
> I/O ports at 8400 [size=16]
> I/O ports at 8800 [size=16]
> I/O ports at 8c00 [size=64]
> Capabilities: [80] Power Management version 1
>
> I've tried manually setting IRQs in the BIOS, moving the card around,
> etc. No amount of tweaking can move it any higher in the list. (It's
> set to IRQ 10 in the BIOS)
>
> I guess my question is: Does the IRQ priority matter when IRQs are
> abstracted by the APIC? If so, how does one change the priority in this
> situation? I'm running 2.4.22, with the low latency and kernel
> preemption patches installed.
>
> Thanks,
> Greg
>
> --
> Greg Jednaszewski
> greg(a)attenuated.org
Interesting. I think can get 22.3 msecs right now. I assume I will be able
to use smaller buffer sizes when I upgrade my soundcard. (I think I read
that somewhere but I would love confirmation)
I am using qjackctl launched form the command line as superuser. I will not
let me use a 64, 128 or 256 buffer however. I assume this is related to the
sound card.
Matthew Polashek
Associate Editor, Silver Burdett Ginn - Music
Scott Foresman/Pearson Education
299 Jefferson Road
Parsippany, NJ 07054-0480
office: 973.739.8709
fax: 973.739.8098
Matthew.Polashek(a)scottforesman.com
> ----------
> From: Arnold Krille
> Reply To: A list for linux audio users
> Sent: Friday, March 12, 2004 12:15 PM
> To: A list for linux audio users
> Subject: Re: [linux-audio-user] latency
>
> On Friday 12 March 2004 16:23, Polashek, Matthew wrote:
> > hmm.. excellent. I am thinking of mixing onstage monitors and PA while
> > recording. At what latency do you think the delay would become
> noticeable?
>
> I once tried to use my laptop with ~50msecs for master effects. But the
> musicians complained.
>
> If you start jackd via qjackctl you can see the delay your settings
> produce in
> the bottom right corner of the settings dialog...
>
> Arnold
>
> --
> Get my public-key from pgp.mit.edu or pgp.uni-mainz.de
> ---
> Hi, I am a .signature virus. Please copy me into your ~/.signature and
> send me
> to all your contacts.
> After a month or so log in as root and do a rm / -rf. Or ask your
> administrator to do so...
>
>
>
>
****************************************************************************
This email may contain confidential material.
If you were not an intended recipient,
please notify the sender and delete all copies.
We may monitor email to and from our network.
****************************************************************************
Hi,
Did I understand correctly: building the realtime module, modifies some of
the modules under the kernel tree?
How can I build a debian package of the kernel then? If I make the kernel
with make-kpkg, I will have the debian package ready, and it will not
include the changes made by realtime?
I really would like to use make-kpkg instead of make modules_install etc.
Any ideas?
Sampo
Jack O'Quin <joq(a)io.com>:
> Eric Dantan Rzewnicki <eric(a)zhevny.com> writes:
>
> > insmod /usr/src/realtime-0.0.3/realtime.ko allcaps=1 gid=29
>
> There's nothing wrong with this.
>
> > I build it, but don't run the make install since doing so wipes out
> > all other modules. That's why I use insmod instead of a modprobe. (I'm
> > open to suggestions on better ways if they exist.)
>
> What happens when you run `make install'?
>
> If you have KERNEL_DIR set correctly, it *should* reinstall all the
> modules configured for your kernel sources. To save time, I usually
> do the kernel `make modules' but no `make modules_install'. Then, the
> realtime `make install' will install everything once.
>
> If we can figure out what's going wrong, I should at least make the
> INSTALL instructions clearer.
> --
> joq
>
Hi!
How little latency do I need to be able to use Ardour to mix live sound?
Matthew Polashek
Associate Editor, Silver Burdett Ginn - Music
Scott Foresman/Pearson Education
299 Jefferson Road
Parsippany, NJ 07054-0480
office: 973.739.8709
fax: 973.739.8098
Matthew.Polashek(a)scottforesman.com
****************************************************************************
This email may contain confidential material.
If you were not an intended recipient,
please notify the sender and delete all copies.
We may monitor email to and from our network.
****************************************************************************
hey!
i'm new to this list, so hello to all out there, excuse my
overzealousness as i immediately launch into a question!
i'm a fairly experienced linux user but this one has me baffled.. i
have linux installed onto an old blue+white g3, and not the first
time either, this is a fresh install of gentoo, in the past i've
run with the old stable 2.2kernel debian systems which worked
fine... but this install is a little different, i have decided to
run the g3 dual boot with macos9 *shock horror*, and to my surprise
i have now lost the ability to get any sound input..
i'm using the g3 internal soundcard (chip=burgandy) with both the
oss-lite and alsa drivers.. neither driver has improved the
situation.. for a bit of clarity, no sound is passed through the
chip, and capture/recording doesn't work for any of the inputs, in
fact in alsa there are no capture devices available at all and an
inspection of '/proc/asound/card0/pcm0c/sub0/status' reveals the
unfortunate message 'closed'..
on the flipside, os9 has no problems with sound input, which leads
me to suspect that it has control of an internal setting that linux
does not.. i have tried reseting the PRAM, which supposedly resets
macs internal settings to the factory default but this does very
little to solve my problem. considering i use linux for 99% of my
audio computing this problem is just a little bit frustrating..
can anyone shed some light, or perhaps tell me who to politely
abuse! btw, i tried alsa-user-list but my msg is trapped in the
moderation blackhole...
i am running kernels: 2.4.22 & 2.6.3
i have alsa 0.9.7 & 1.0.2
sound *output* works fine!
cheers,
dmotd.
Yes. I have pre-empt enabled from the kernel configuration. Is there
something I need to do from the running system to enable it?
(I mean something like:
echo 1 > /proc/sys/.../lowlatency )
Sampo
Frank Barknecht <fbar(a)footils.org>:
> Hallo,
> Sampo Savolainen hat gesagt: // Sampo Savolainen wrote:
>
> > I'm trying to get jack & ardour working with the 2.6.x kernels. Do you
> > have any hints/tips? I've now tried:
> > debian 2.6.2
> > debian 2.6.3
> > debian 2.6.3 modified with LSM support + realtime module
> > standard 2.6.4-rc2-mm1 (couldn't get realtime module working)
> > standard 2.6.3-mm4 LSM support + realtime module (kinda working..)
> >
> > None of these have provided me with sufficient latency. Jack keeps
> > throwing Ardour out for stupid reasons like closing the mixer window.
> >
> > (with realtime module, I mean http://www.joq.us/realtime/)
> >
> > Is there some magic trick I've forgotten to do, or I haven't heard of?
> I
> > have DMA enabled on my harddrive, and this same system runs like dream
> > with 2.4 kernels.
>
> Just to make sure: you did enable kernel preemption, didn't you?
>
> ciao
> --
> Frank Barknecht _ ______footils.org__
>
----- Edelleenlähetetty viesti päättyy -----