Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audio interface fails to initialize properly with jack_load audioadapter #934

Open
tavasti opened this issue May 11, 2023 · 4 comments
Open
Labels

Comments

@tavasti
Copy link

tavasti commented May 11, 2023

When loading extra audioadapter with jack_load, my interface M-Audio Fast Track Ultra fails to initialize properly. All inputs are just noise, and in logs I see: unable to set format to either 32-bits or 16-bits : Invalid argument.

Interface works ok when it is used as primary jack interface.

Environment

  • JACK Version: 1.9.17~dfsg-1
  • Operating System: linux devuan 4.0 (same as debian 11)
  • Installation: package manager

Steps To Reproduce

jack_load -i "-d hw:Ultra -i8 -o8 " ultra audioadapter

Expected vs. actual behavior

Expecting interface to work normally, like it works when running as primary interface. Now recording from any input just gives noise.

Log for loading interface as primary primary.log
Log when interface is added with jack_load jack_load.log

@tavasti tavasti added the bug label May 11, 2023
@nedko
Copy link
Contributor

nedko commented May 11, 2023

Thu May 11 20:27:34 2023: New client 'jack_load' with PID 17481
Thu May 11 20:27:34 2023: New client 'ultra' with PID 0
Thu May 11 20:27:34 2023: Ringbuffer automatic adaptative mode size = 2048 frames
Thu May 11 20:27:34 2023: ERROR: ../linux/alsa/JackAlsaAdapter.h:327, unable to set format
to either 32-bits or 16-bits : Invalid argument(-22)
Thu May 11 20:27:34 2023: ERROR: ../linux/alsa/JackAlsaAdapter.h:327, unable to set format
to either 32-bits or 16-bits : Invalid argument(-22)
Thu May 11 20:27:34 2023: Audio Interface Description :
Thu May 11 20:27:34 2023: Sampling Frequency : 48000, Sample Format : S8, buffering : 512,
nperiod : 2
Thu May 11 20:27:34 2023: Software inputs : 8, Software outputs : 8
Thu May 11 20:27:34 2023: Hardware inputs : 8, Hardware outputs : 8
Thu May 11 20:27:34 2023: Card info (address : 0x7f44ae8764c0)
Thu May 11 20:27:34 2023: ID = Ultra
Thu May 11 20:27:34 2023: Driver = USB-Audio
Thu May 11 20:27:34 2023: Name = Fast Track Ultra
Thu May 11 20:27:34 2023: LongName = M-Audio Fast Track Ultra at usb-0000:00:14.0-2
, high speed
Thu May 11 20:27:34 2023: MixerName = USB Mixer
Thu May 11 20:27:34 2023: Components = USB0763:2080
Thu May 11 20:27:34 2023: --------------
Thu May 11 20:27:34 2023: HW Params info (address : 0x7f44a0015ed0)

Thu May 11 20:27:34 2023: --------------
Thu May 11 20:27:34 2023: HW Params info (address : 0x7f44a0016140)

Thu May 11 20:27:34 2023: --------------
Thu May 11 20:27:34 2023: Client 'jack_load' with PID 17481 is out
Thu May 11 20:27:34 2023: ERROR: JackRingBuffer::Read : producer too slow, missing frames = 512
Thu May 11 20:27:34 2023: ERROR: JackRingBuffer::Read : producer too slow, missing frames = 512
Thu May 11 20:27:34 2023: ERROR: JackRingBuffer::Read : producer too slow, missing frames = 512
Thu May 11 20:27:34 2023: ERROR: JackRingBuffer::Read : producer too slow, missing frames = 512

(more errors about "too slow")

@tavasti
Copy link
Author

tavasti commented May 11, 2023

Log files with verbose logging

primary_verb.log
jack_load_verb.log

@tavasti
Copy link
Author

tavasti commented May 11, 2023

Accidentally closed, reopen

@tavasti
Copy link
Author

tavasti commented May 12, 2023

Because zalsa_in and zalsa_out exist, this bug might be regarded as obsolete, and closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants