[LAU] Ardour session with plain ALSA, without JACK

Robin Gareus robin at gareus.org
Fri Feb 19 21:50:14 UTC 2016


On 02/19/2016 10:14 PM, Ralf Mardorf wrote:
> Hi Robin,

> Errors/Messages:
> ERROR: AlsaAudioBackend: failed to allocate parameters.
> ERROR: AlsaAudioBackend: failed to allocate parameters.
> ERROR: AlsaAudioBackend: failed to allocate parameters.

Well that explains why it it won't, but not the reason behind it.
What soundcard and settings did you configure?

> [3]
> ### **** #### **** ### **** #### **** ### **** #### **** ### **** #### **** ### **** ####

> Card 0 (HDSPMx579bcc):
>   * Playback Device 0 (RME AIO):
>     - Subdevice 0 (hw:HDSPMx579bcc,0,0):
>       used by: jackd (PID 7171)
>       access: MMAP_NONINTERLEAVED
>       format: S32_LE
>       subformat: STD
>       channels: 16
>       rate: 44100 (44100/1)
>       period_size: 1024
>       buffer_size: 16384

Wait. what? 16K buffers.

> creating alsa driver ... hw:HDSPMx579bcc,0|hw:HDSPMx579bcc,0|1024|2|44100|0|0|nomon|swmeter|-|32bit
> configuring for 44100Hz, period = 1024 frames (23.2 ms), buffer = 2 periods
> ALSA: final selected sample format for capture: 32bit integer little-endian
> ALSA: use 16 periods for capture
> ALSA: final selected sample format for playback: 32bit integer little-endian
> ALSA: use 16 periods for playback

WTH? 16 periods.
Does jackd start with 2 or 3 periods on that given interface?

Ardour's ALSA backend won't allow 16 periods (in case that's required by
this particular soundcard/kernel) 2,3 are the only options.

best,
robin





More information about the Linux-audio-user mailing list