Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Wanted: howto on building a 3.2 realtime kernel
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
more10
n00b
n00b


Joined: 22 May 2012
Posts: 7
Location: Solna Sweden

PostPosted: Fri May 25, 2012 8:40 am    Post subject: Wanted: howto on building a 3.2 realtime kernel Reply with quote

There is a lot of information on the net regarding building a realtime kernel, but its all outdated.

I am very new to gentoo and would appreciate all help I can get on configuring the 3.2 kernel with realtime patches.

My goal is to build an audiophile gentoo music player, so I am not interested in the pro audio stuff.
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Fri May 25, 2012 9:31 am    Post subject: Reply with quote

I can only point you to kernel.org. The patches are there.

http://www.kernel.org/pub/linux/kernel/projects/rt/

However, I wonder what's the problem that you are tryin to solve. You don't need this to play audio files. You need real time, for example, when you are recording a voice or a guitar over a previously recorded mix and you want to hear that voice at the same time, while recording it.
Back to top
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8723
Location: ~Brussels - Belgique

PostPosted: Fri May 25, 2012 10:34 am    Post subject: Reply with quote

by the way, rt-sources are in Portage ;)
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
more10
n00b
n00b


Joined: 22 May 2012
Posts: 7
Location: Solna Sweden

PostPosted: Fri May 25, 2012 10:37 am    Post subject: Reply with quote

But there are gentoo sources, sys-kernel/rt-sources.

I don't know if I really need realtime, but I want to try. Since I am an audiophile I will go to extreme lengths trying to improve my system :-).
Back to top
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8723
Location: ~Brussels - Belgique

PostPosted: Fri May 25, 2012 12:20 pm    Post subject: Reply with quote

Hello,

Realtime is absolutely not needed for audio playback. It is only needed when you need deterministic time response. Not the fastes time response, but a maximum delay.

RT is useful for musicians who need to have controlled latency. But I don't think audiophiles need a RT kernel, they only need that the sound streams are uninterrupted, which is 99,9% the case.
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
more10
n00b
n00b


Joined: 22 May 2012
Posts: 7
Location: Solna Sweden

PostPosted: Fri May 25, 2012 12:32 pm    Post subject: Reply with quote

Its the last 0,1% I want :-).

It is quite useless to argue with an audiophile what he needs. What he wants is more inportant than what he needs. That is what identifies an audiophile.
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Fri May 25, 2012 1:35 pm    Post subject: Reply with quote

more10 wrote:
Its the last 0,1% I want :-).

It is quite useless to argue with an audiophile what he needs. What he wants is more inportant than what he needs. That is what identifies an audiophile.


Whatever. But if anything, this is going to harm you, instead of helping, even if for a very slight margin.

What you need is responsiveness in multitasking. That's the opposite of what rt aims to.

A typical desktop system is tuned so you can use many things at one in a fashion that none of them will be starved in which regards cpu time. You probably don't want gaps in between the tracks of your playlist if you are enabling visualizations in your player, do you?

rt on the other side concentrates on making uninterruptable things like jackd so the sound latency is a low as your hardware permits, often in detriment of things like frontends, the desktop, the visuals, or simply, playlist handling (which is a thing that will be done by your frontend, not by your rt jack audio sound daemon), etc.

Probably, in a modern system using one or the other kernel is not going to change the perceived interactiveness, unless you hit a bug in jackd (not that that's too difficult though). But, again, rt is conceptually the opposite of what you want. Anyway, it's your time, so you can "invest" it in whatever you want. If you say helicopters to drive are better suited than cars for the highway, you might be wrong, but you are absolutely in your right to think so. :lol:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum