LMDE with realtime kernel (64 bit)

Archived topics about LMDE 1 and LMDE 2
Locked
adamentos

LMDE with realtime kernel (64 bit)

Post by adamentos »

Would really appreciate any help...

Last night I made a new install of LMDE 64 bit on my Lenovo T61

I got my Echo Audiofire8 firewire audio interface connected to and talking via Jack but with serious latency issues with something like 65 milliseconds. Playing with the settings in Jack (Priority...Frames/Period...Periods/Buffer) to bring down latency brought about mayhem and killall'd jackd.

I'm wondering if a realtime kernel would help (everything worked great under the Ubuntu-Studio distro btw which uses rt kernel I think?)

Anyone have any experience with this? I don't see anything in the repositories that looks like a rt kernel. Ubuntu repositories seem to have linux-rt.

Please let me know, otherwise I'll bail and install a 2nd distro on my laptop.

Thanks!!

Adam
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
willie42
Level 7
Level 7
Posts: 1970
Joined: Tue Jun 22, 2010 7:52 pm
Location: Oak Ridge, TN USA

Re: LMDE with realtime kernel (64 bit)

Post by willie42 »

usually a Kernel has a number like Linux Headers 2.26.36.X....so if you can find that number its most likely in the repos
Comptia A+ Certified Technician
Comptia Network + Certified Technician
You can not have Success without Failures.
adamentos

Re: LMDE with realtime kernel (64 bit)

Post by adamentos »

willie42 wrote:usually a Kernel has a number like Linux Headers 2.26.36.X....so if you can find that number its most likely in the repos
I don't see any header that has "rt" in the name so assume there isn't one. Going to try to install Liquorix kernel...
willie42
Level 7
Level 7
Posts: 1970
Joined: Tue Jun 22, 2010 7:52 pm
Location: Oak Ridge, TN USA

Re: LMDE with realtime kernel (64 bit)

Post by willie42 »

adamentos wrote:
willie42 wrote:usually a Kernel has a number like Linux Headers 2.26.36.X....so if you can find that number its most likely in the repos
I don't see any header that has "rt" in the name so assume there isn't one. Going to try to install Liquorix kernel...
Liquorix Kernel is awesome....
Comptia A+ Certified Technician
Comptia Network + Certified Technician
You can not have Success without Failures.
adamentos

Re: LMDE with realtime kernel (64 bit)

Post by adamentos »

willie42 wrote:Liquorix Kernel is awesome....
Installed and booted up into the Liquorix kernel but so far I'm not able to get Jack to start up with my firewire audio interface even after adding this to /etc/security/limits.conf

@audio - rtprio 95
@audio - memlock unlimited

since I'm already a member of the "audio" group. I got further along with the default LMDE kernel, any ideas?
bobcollard

Re: LMDE with realtime kernel (64 bit)

Post by bobcollard »

Liquorix is now up to: 2.6.37-0.dmz.6-liquorix-amd64. Have you kept up with the upgrades?
gotjazz

Re: LMDE with realtime kernel (64 bit)

Post by gotjazz »

hrm google finds http://pengutronix.de/software/linux-rt/debian_en.html - can't say more than "google finds it" though

oh - and it's linked on http://wiki.debian.org/DebianMultimedia ;)
jaspaahh

Re: LMDE with realtime kernel (64 bit)

Post by jaspaahh »

A real time kernel is exactly what you need to get your latency down. I've done it in the past, but I forget exactly all the steps involved... There are definitely a lot of tutorials online if you search. You need to recompile the kernel with the -rt patch. Then search for the jack tutorial about how to properly set it up (adding yourself to the @audio group, turning on realtime, setting the 'nice' values etc.)

I've had it working in the past very nicely... ~2 ms. It's a bit of a process to get it going though (as many things are).
Locked

Return to “LMDE Archive”