takaswie / linux-firewire-dkms

Currently this repository is maintained for Linux firewire subsystem and unit drivers.
http://ieee1394.docs.kernel.org/
40 stars 8 forks source link

Fireface 802 : does not work with a buffer size of 128 / periods 2 #46

Open francoisromain opened 2 years ago

francoisromain commented 2 years ago

This is a follow up to this issue : https://github.com/alsa-project/snd-firewire-ctl-services/issues/94


The driver works well with the fireface 802 with a buffer size of 256 or 64 and Periods = 2, but there is an error when the buffer size = 128, and periods = 2.

Here are the error logs:

Starting jack server...
JACK server starting in realtime mode with priority 10
self-connect-mode is "Don't restrict self connect requests"
Acquired audio card Audio5
creating alsa driver ... hw:Fireface802,0|hw:Fireface802,0|128|2|48000|0|0|nomon|swmeter|-|32bit
configuring for 48000Hz, period = 128 frames (2.7 ms), buffer = 2 periods
ALSA: final selected sample format for capture: 32bit integer little-endian
ALSA: use 2 periods for capture
ERROR: ALSA: cannot set hardware parameters for capture
ERROR: ALSA: cannot configure capture channel
Released audio card Audio5
ERROR: Cannot initialize driver
ERROR: JackServer::Open failed with -1
ERROR: Failed to open server

This works fine when the buffer size = 128, and periods = 4.


Ubuntu: 22.04 kernel: 5.15.0-46-generic

jean-emmanuel commented 2 months ago

Same here: 32x2 and 64x2 work, 128x2 doesn't (but 128x3 does).