LMDE with realtime kernel (64 bit)

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post please read this

LMDE with realtime kernel (64 bit)

Postby adamentos on Thu Jan 20, 2011 8:18 am

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
adamentos
Level 1
Level 1
 
Posts: 15
Joined: Sat Feb 07, 2009 11:59 am

Linux Mint is funded by ads and donations.
 

Re: LMDE with realtime kernel (64 bit)

Postby willie42 on Thu Jan 20, 2011 8:23 am

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.
User avatar
willie42
Level 7
Level 7
 
Posts: 1977
Joined: Tue Jun 22, 2010 7:52 pm
Location: Oak Ridge, TN USA

Re: LMDE with realtime kernel (64 bit)

Postby adamentos on Thu Jan 20, 2011 9:18 am

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...
adamentos
Level 1
Level 1
 
Posts: 15
Joined: Sat Feb 07, 2009 11:59 am

Re: LMDE with realtime kernel (64 bit)

Postby willie42 on Thu Jan 20, 2011 10:51 am

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.
User avatar
willie42
Level 7
Level 7
 
Posts: 1977
Joined: Tue Jun 22, 2010 7:52 pm
Location: Oak Ridge, TN USA

Re: LMDE with realtime kernel (64 bit)

Postby adamentos on Thu Jan 20, 2011 11:53 am

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?
adamentos
Level 1
Level 1
 
Posts: 15
Joined: Sat Feb 07, 2009 11:59 am

Re: LMDE with realtime kernel (64 bit)

Postby bobcollard on Thu Jan 27, 2011 3:56 pm

Liquorix is now up to: 2.6.37-0.dmz.6-liquorix-amd64. Have you kept up with the upgrades?
Robert Collard, Springfield, IL
Dell Inspiron 1545 Laptop, Intel Duo T3400 CPUs @2.16 Ghz. 4GB RAM
Linux Mint Debian Edition, Xfce 4.6.2 Desktop, 2.6.37-0.dmz.6-liquorix-amd64
User avatar
bobcollard
Level 5
Level 5
 
Posts: 717
Joined: Thu Oct 22, 2009 4:44 pm
Location: Springfield, IL

Re: LMDE with realtime kernel (64 bit)

Postby gotjazz on Thu Jan 27, 2011 4:42 pm

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 ;)
Image
User avatar
gotjazz
Level 4
Level 4
 
Posts: 386
Joined: Fri May 28, 2010 11:38 am
Location: Vienna, Austria

Re: LMDE with realtime kernel (64 bit)

Postby jaspaahh on Mon Jul 04, 2011 1:12 pm

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).
jaspaahh
Level 1
Level 1
 
Posts: 7
Joined: Sat Jun 18, 2011 6:06 pm

Linux Mint is funded by ads and donations.
 

Return to Other Topics

Who is online

Users browsing this forum: No registered users and 3 guests