Author |
Message |
|
Post subject:
Posted: Oct 16, 2006 - 12:12 AM
|
|

Joined: Oct 03, 2006
Posts: 6
Location: Washington State, USA
|
|
mzilikazi wrote:
Oktyabr wrote:
the only xruns I'm getting is when I open a new window (like Firefox to post this)!
Very nice, no hacked pam modules or anything.
That is completely unacceptable for music production and the PAM module is not 'hacked'.
By "hacked" I simply mean a PAM module that is NOT included by default. It's easy to assume that there is a reason for this whether the source is from a fork or patched or whatever... hence "hacked".
As for performance I don't know about your hardware but on mine that is exceptional, especially considering it is using an onboard soundchip! Sure wish my M-Audio Delta 44 hadn't flaked out or I'm quite sure xruns would very likely be fewer...
As for acceptable for music production? When I'm recording my keyboards or my son's guitar work I rarely find the need to fire up a forum in firefox. Any windows that were currently open do not cause xruns... only new windows. Tested it today with Ardour recording from LMMS and a live track off one of my keyboards via the motherboard's line-in. No xruns. And that's running dual monitors (nvidia twinview) with a ton of eye candy and system monitors (superkaramba) up and running as well.
Now sure, a perfect RT enviroment would be zero xruns ever with the lowest latencies the hardware is capable of but 5.8msec on an onboard chip? That's quite acceptable for the sort of production work I do (although I do see a new Maudio or RME card in my future) and quite comparable to 64Studio, Musix, Demudi, and Ubuntustudio kernels and distros I've tried in the past.
Do I think it still has room for improvement?
Quote:
overlord@biggun2:/boot$ cat /proc/asound/timers
G0: system timer : 4000.000us (10000000 ticks)
G1: RTC timer : 976.562us (100000000 ticks)
P0-0-0: PCM playback 0-0-0 : SLAVE
P0-0-1: PCM capture 0-0-1 : SLAVE
P0-1-1: PCM capture 0-1-1 : SLAVE
P0-2-0: PCM playback 0-2-0 : SLAVE
1000 Hz kernel timer would be nice for a start. |
|
|
|
|
 |
|
Post subject:
Posted: Oct 16, 2006 - 01:21 PM
|
|
Team Member


Joined: Dec 17, 2003
Posts: 1109
Location: Ganymede
|
|
Oktyabr wrote:
1000 Hz kernel timer would be nice for a start.
Code:
$ cat /proc/asound/timers
G0: system timer : 1000.000us (10000000 ticks)
P0-0-0: PCM playback 0-0-0 : SLAVE
P0-0-1: PCM capture 0-0-1 : SLAVE
P1-0-1: PCM capture 1-0-1 : SLAVE
P1-1-1: PCM capture 1-1-1 : SLAVE
P2-0-0: PCM playback 2-0-0 : SLAVE
P2-0-1: PCM capture 2-0-1 : SLAVE
P2-1-1: PCM capture 2-1-1 : SLAVE
P2-2-0: PCM playback 2-2-0 : SLAVE
Hmm what kernel is that?
Code:
$ uname -a
Linux hestviken.mzilikazix.org 2.6.18-mz-rt5 #1 PREEMPT Thu Oct 5 20:17:40 MDT 2006 i686 GNU/Linux
|
_________________ Ubuntu - An ancient African word for "Can't install Debian"
|
|
|
|
 |
|
Post subject:
Posted: Oct 16, 2006 - 02:26 PM
|
|

Joined: Oct 03, 2006
Posts: 6
Location: Washington State, USA
|
|
Ok, ok... I downloaded your kernel last night and will give it a go today.
Any tips on getting nvidia to work with it or has there been no problems? |
|
|
|
|
 |
|
Post subject:
Posted: Oct 16, 2006 - 08:56 PM
|
|
Team Member


Joined: Dec 17, 2003
Posts: 1109
Location: Ganymede
|
|
Oktyabr wrote:
Ok, ok... I downloaded your kernel last night and will give it a go today.
Any tips on getting nvidia to work with it or has there been no problems?
No troubles at all installing Nvidia using either Kano's script or doing it the Debian way. I'm using this kernel on 2 machines, one is just a desktop the other I use for recording. It's working just fine on both.
Let me know if you have any issues. |
_________________ Ubuntu - An ancient African word for "Can't install Debian"
|
|
|
|
 |
|
Post subject:
Posted: Oct 19, 2006 - 03:58 AM
|
|

Joined: Oct 03, 2006
Posts: 6
Location: Washington State, USA
|
|
mzilikazi wrote:
Oktyabr wrote:
Ok, ok... I downloaded your kernel last night and will give it a go today.
Any tips on getting nvidia to work with it or has there been no problems?
No troubles at all installing Nvidia using either Kano's script or doing it the Debian way. I'm using this kernel on 2 machines, one is just a desktop the other I use for recording. It's working just fine on both.
Let me know if you have any issues.
Ok, finally had enough "free" time to give your kernel a whirl. It installed great, no problems there, but I did notice that Xorg, with nvidia disabled (just installed your kernel) was hitting CPU usage of up to 35% at an idle. Used kano's script to install some nvidia drivers and the excess cpu usage went away.
Performance seems much nicer than the 2.6.18 kernel I tried earlier. Down to 2.9ms with on board sound chip which is probably pushing it a bit. No xruns on a browser window but I did get a couple with LMMS, usually while it was loading a project or browsing the directory for files. Don't remember if I got many with LMMS and the other kernel or not (I know I had some while loading). Zyn, AMS, Rosegarden all work well
Will try a few more comparisons as time allows this week and will report my findings.
All in all seems like a pretty nice kernel! Thanks! |
|
|
|
|
 |
|
Post subject:
Posted: Oct 19, 2006 - 05:22 AM
|
|
Team Member


Joined: Dec 17, 2003
Posts: 1109
Location: Ganymede
|
|
Don't forget to make some tweaks in qjackctl. I have 0 xruns while recording 3 audio tracks simultaneously. Perhaps I will fine tune the kernel config a bit more and build multiple kernels e.g. k7 & i686 flavors. Primarily I'm interested in getting audio apps to function together at the best possible performance and am willing to sacrifice some performance from other desktop apps not related to recording or multimedia. Afterall if it's an issue you can just boot the RT kernel when you need it and boot another kernel for standard desktop use. Eventually Ingo's patches are slated for complete addition into the main kernel so at some point in the future RT will simply be a configuration choice when building a new kernel just like any other - no patching required. |
_________________ Ubuntu - An ancient African word for "Can't install Debian"
|
|
|
|
 |
|
Post subject:
Posted: Oct 19, 2006 - 04:47 PM
|
|

Joined: Oct 03, 2006
Posts: 6
Location: Washington State, USA
|
|
Yes, I'm looking forward to seeing RT incorporated too.
Your kernel works very well for what I need it for. Don't suppose you have any Ardour2 debs compiled anywhere?  |
|
|
|
|
 |
|
Post subject:
Posted: Oct 19, 2006 - 05:05 PM
|
|
Team Member


Joined: Jan 02, 2005
Posts: 906
Location: Hagen
|
|
deb http://ftp.debian.org/debian experimental main contrib non-free in /etc/apt/sources.list
apt-get update
apt-get install ardour-gtk/experimental |
|
|
|
|
 |
|
Post subject:
Posted: Oct 22, 2006 - 06:03 PM
|
|
Team Member


Joined: Dec 17, 2003
Posts: 1109
Location: Ganymede
|
|
Ardour2 in experimental is still the alpha. There have been at least 2 betas released since then. I would highly advise to build from source. Ardour2 uses scons to build so if you want to uninstall it simply issue scons install -c
To build Ardour2 from source:
Code:
# apt-get install alsa-base alsa-tools jackd
qjackctl alsa-tools-gui scons python2.4 gettext
pkg-config libtool autoconf libjack0.100.0-dev
libxml2 libxml2-dev raptor-utils liblrdf0
liblrdf0-dev libsamplerate0 libsamplerate0-dev
libglib2.0-0 libglib2.0-dev libgtk2.0-0
libgtk2.0-dev libsndfile1 libsndfile1-dev
libgnomecanvas2-0 libgnomecanvas2-dev liblo0
liblo0-dev libboost-dev libasound2-dev unp bzip2
unzip zip
Easiest way to get started:
Code:
$ wget http://ardour.org/files/releases/ardour-2.0beta6.2.tar.bz2
$ unp ardour-2.0beta6.2.tar.bz2
$ cd ardour-2.0beta6.2
$ scons
$ su
# scons install
No this doesn’t create an ardour2.deb for you but it’s easy to uninstall w/ scons:
Code:
$ cd ardour-2.0beta6.2
$ su
# scons -c install
|
_________________ Ubuntu - An ancient African word for "Can't install Debian"
|
|
|
|
 |
|
Post subject:
Posted: Nov 10, 2006 - 10:26 PM
|
|
Joined: Nov 10, 2006
Posts: 1
|
|
Don't have any room on harddrive for a second Kanotix distro. Hmmm....... I have freespire. Isthis script good for any mostly pure debian or just for Kanotix. I do know that Freespire is Debian etch while Kanotix is Sid. I just don't like practicing on stable installs and besides I like to see if I can modernize Freespire. I need a rt kernernel because *spires like to lean toward jackd.
Do you recommend using this script or should I compile my own use freespires config?(haven't run your script so I not sure how it handles that are you using a generic config for kernel? |
|
|
|
|
 |
|
Post subject:
Posted: Nov 12, 2006 - 02:28 PM
|
|
Team Member


Joined: Dec 17, 2003
Posts: 1109
Location: Ganymede
|
|
dragonopolis wrote:
Don't have any room on harddrive for a second Kanotix distro. Hmmm....... I have freespire. Isthis script good for any mostly pure debian or just for Kanotix. I do know that Freespire is Debian etch while Kanotix is Sid. I just don't like practicing on stable installs and besides I like to see if I can modernize Freespire. I need a rt kernernel because *spires like to lean toward jackd.
Do you recommend using this script or should I compile my own use freespires config?(haven't run your script so I not sure how it handles that are you using a generic config for kernel?
I don't know the first thing about Freespire. I've heard that it's Debian based but that's the extent of my knowledge. You can always just use dpkg -i <package>.deb and try the kernel. GRUB will get updated automatically - I dunno about other boot loaders. It might be required to edit your boot loader manually so that it sees the new kernel. |
_________________ Ubuntu - An ancient African word for "Can't install Debian"
|
|
|
|
 |
|
Post subject:
Posted: Feb 26, 2007 - 06:56 PM
|
|
Joined: Jun 16, 2005
Posts: 72
|
|
Mzilikazi, your site is down? It will be back or not? I have also some questions if you are always working on realtime kernels.
Piero |
|
|
|
|
 |
|
Post subject:
Posted: Mar 07, 2007 - 12:31 AM
|
|
Team Member


Joined: Dec 17, 2003
Posts: 1109
Location: Ganymede
|
|
Well it's back up but I need to rewrite the realtime kernel docs - some things have changed for 2.6.20, well specifically the nvidia drivers (done the Debian way) do not build as nicely and require a small fix. |
_________________ Ubuntu - An ancient African word for "Can't install Debian"
|
|
|
|
 |
|