Configurar Kernel 3.2 para audio
--424305--
Publicidad
Lo que se dice en esta página:
http://rosegardenmusic.com/wiki/low-latency_kernels
2. Open the /etc/security/limits.conf (you will need to have admin privileges for this)
It should have a section which looks like this somewhere near the end. If it doesn't, add it.
@audio rtprio 99
@audio nice -15
@audio memlock 250000
Se contradice con lo que hace debconf al instalar qjackctrl.
¿Conoceis de alguna referencia "fiable" para afinar estos kernels para audio. De momento estoy compilando 2.3.1 con:
Processor type and features --->
Preemption Model ( ) --->
(X) Preemptible Kernel (Low-Latency Desktop)
Timer frequency ( ) --->
(X) 1000 HZ
Y por supuesto, la que creo que ha "devuelto a la vida" a mi UA25EX y que está activada por defecto:
Device Drivers --->
USB Support --->
<*> EHCI HCD (USB 2.0) support
[*] Root Hub Transaction Translators
[*] Improved Transaction Translator scheduling
¿Me recomendais alguna más?
Gracias
Alguien escribió:Se contradice con lo que hace debconf al instalar qjackctrl.
Es que ahora el paquete jackd añade automáticamente esas líneas (*) en el archivo /etc/security/limits.d/audio.conf. Últimamente de lo único que hay que preocuparse es de añadir el usuario al grupo audio.
Si partes de una configuración genérica del kernel ya tendrás lo necesario para que funcionen los límites de seguridad (creo que se llama PAM limits o algo así). Así que ahora no tienes que tocar nada de eso.
Alguien escribió:
¿Me recomendais alguna más?
No tengo mucha experiencia compilando kernels pero lo estuve intentando con el 3.2. Hice lo que indicas pero tuve que deshabilitar los drivers industrial_io (o algo así) de los "staging drivers". Si no, no compilaba.
Saludos, Pablo
(*) O parecidas. La línea de nice no hace falta y ahora la dejan comentada y el memlock lo dejan en "unlimited" (el número se refiere a kb de memoria RAM; hay quien prefiere limitar la cantidad de memoria para el "memlock" ).
Nuli escribió:¿Conoceis de alguna referencia "fiable" para afinar estos kernels para audio. De momento estoy compilando 2.3.1 con:
Me corrijo quise decir 3.2.1
#2 Gracias Pablo, seguiré indagando y lo que me encuentre yo lo pongo por aquí que parece que el 3.2.x se postula como el kernel estable para la versiones LTS de Ubuntu.
--424305--
http://lowlatency.linuxaudio.org/
interesante el enlace pero claro: 27/10/2008. la mitad de las opciones o no existen, o no están donde debieran o se llamande otra forma, seguiremos indagando
interesante el enlace pero claro: 27/10/2008. la mitad de las opciones o no existen, o no están donde debieran o se llamande otra forma, seguiremos indagando
--424305--
Voy dejando notas aquí para la siguiente compilación:
Configuración del Kernel
Block layer -> Support for Large Block Devices
-? IO Schedulers -> select the 3 options + -> Default I/O scheduler -> (Choice may differ here, it is always possible to change it with the proc file system)
Processor types and features -> Preemption Mode (Complete Preemption (Real-Time))
Processor types and features -> HPET Timer Support + Timer frequency (1000Hz)
Device Drivers -> Character Devices -> < > HPET Control RTC IRQ (totherwise MuSE will not run, maybe fixed with museseq 0.
Device Drivers -> Sound -> Alsa -> Sequencer support + all the OSS options + all the RTC options
Device Drivers -> Sound -> Alsa -> Generic devices -> Virtual MIDI soundcard
Tienes que seleccionar la tarjeta de sonido.
Security options -> [*] Enable different security models
Defaults Linux Capabilities (This MUST be a module.)
Realtime Capabilities
Copy y paste del siguiente enlace:
http://www.musix.org.ar/wiki/index.php?title=JACK-Es
Saludos
Configuración del Kernel
Block layer -> Support for Large Block Devices
-? IO Schedulers -> select the 3 options + -> Default I/O scheduler -> (Choice may differ here, it is always possible to change it with the proc file system)
Processor types and features -> Preemption Mode (Complete Preemption (Real-Time))
Processor types and features -> HPET Timer Support + Timer frequency (1000Hz)
Device Drivers -> Character Devices -> < > HPET Control RTC IRQ (totherwise MuSE will not run, maybe fixed with museseq 0.
Device Drivers -> Sound -> Alsa -> Sequencer support + all the OSS options + all the RTC options
Device Drivers -> Sound -> Alsa -> Generic devices -> Virtual MIDI soundcard
Tienes que seleccionar la tarjeta de sonido.
Security options -> [*] Enable different security models
Defaults Linux Capabilities (This MUST be a module.)
Realtime Capabilities
Copy y paste del siguiente enlace:
http://www.musix.org.ar/wiki/index.php?title=JACK-Es
Saludos
--424305--
Otro copy y paste a comprobar en mi siguiente compilación del kernel:
How to know, if a HPET (hardware) is available?
dmesg | grep -i hpet
How to get a list of available timers?
cat /proc/asound/timers
Related Kernel Options
# cat .config | grep -i hpet
CONFIG_HPET_TIMER=y
CONFIG_HPET_EMULATE_RTC=y
CONFIG_HPET=y
CONFIG_HPET_MMAP=y
# cat .config | egrep -i "hrt|hr_t"
CONFIG_SCHED_HRTICK=y
CONFIG_SCx200HR_TIMER=m
CONFIG_SND_HRTIMER=m
CONFIG_SND_SEQ_HRTIMER_DEFAULT=y
CONFIG_NO_HZ=y
CONFIG_HZ_1000=y
Esta vez lo cogí de aquí:
http://wiki.linuxaudio.org/faq/start
Saludos
How to know, if a HPET (hardware) is available?
dmesg | grep -i hpet
How to get a list of available timers?
cat /proc/asound/timers
Related Kernel Options
# cat .config | grep -i hpet
CONFIG_HPET_TIMER=y
CONFIG_HPET_EMULATE_RTC=y
CONFIG_HPET=y
CONFIG_HPET_MMAP=y
# cat .config | egrep -i "hrt|hr_t"
CONFIG_SCHED_HRTICK=y
CONFIG_SCx200HR_TIMER=m
CONFIG_SND_HRTIMER=m
CONFIG_SND_SEQ_HRTIMER_DEFAULT=y
CONFIG_NO_HZ=y
CONFIG_HZ_1000=y
Esta vez lo cogí de aquí:
http://wiki.linuxaudio.org/faq/start
Saludos
HILOS SIMILARES
Configura y optimiza Linux para audio y MIDI el 24/01/2009
Tarjeta Audio Kontrol 1 en Linux el 10/10/2010
Adiós al kernel "rt" el 23/06/2011
[Guitman] Audio en GNU/Linux el 20/10/2006
Kernel en tiempo real el 27/02/2011
Kernel RT para Ubuntu Studio Intrepid: ¿Para cuando? el 12/12/2008
Respuesta rápida
Identíficate o regístrate para poder responder en este hilo.