Page 1 of 6
Behringer UMC404HD stuttering / audio gaps
Posted: Mon Apr 11, 2022 12:33 am
by greengardener
Greetings!
I just bought a UMC404HD. I did some research before buying to make sure it was well supported under linux. Most posts say its working great. So i've plugged mine in expecting things to just work but that has not been the case.
I plugged it all in and found that it stutters every second like a scratched cd would. I've played around with the sample rate and settings but have not been able to fix it.
- There are no Xruns.
- There are not error entries in syslog or jack log.
- The CPU is running around 5% and does not spike
- I'm dual booting and this device works flawlessly in windows. I've also tried on MacOS Monterey and also works fine.
- Tried different USB cables
- I've tried standard and low-latency kernels (5.4.0-107-lowlatency)
- I'm running Mint 20.03 but have also tried Ubuntu LTS 20.04 and Ubuntu Studio.
Here is some information on the device:
Code: Select all
[ 2.313692] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[ 2.441209] usb 1-1: New USB device found, idVendor=1397, idProduct=0509, bcdDevice= 1.35
[ 2.441210] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2.441211] usb 1-1: Product: UMC404HD 192k
[ 2.441211] usb 1-1: Manufacturer: BEHRINGER
Im seeing the following entries in dmesg which has me concerned.
Code: Select all
[ 8.015105] usb 1-1: clock source 41 is not valid, cannot use
[ 8.016412] usb 1-1: clock source 41 is not valid, cannot use
[ 8.017768] usb 1-1: clock source 41 is not valid, cannot use
Has anyone seen something similar? Am I in the correct forum? Is there any further information I should provide?
Thanks!
Re: Behringer UMC404HD stuttering / audio gaps
Posted: Mon Apr 11, 2022 10:11 am
by Linuxmusician01
I've got the same device. Works just fine. What audio application are you using that has the audio stutter? How did you start Jack Audio or didn't you yet?
Re: Behringer UMC404HD stuttering / audio gaps
Posted: Mon Apr 11, 2022 5:49 pm
by bluzee
I also have never had an issue with UMC404HD. Used it in various distros on various hardware even an Android box.
What motherboard and cpu do you have? Are you plugging into USB 2, 3, C? Any USB hubs involved?
Re: Behringer UMC404HD stuttering / audio gaps
Posted: Mon Apr 11, 2022 11:31 pm
by greengardener
I started with jackd and qjackctl because I used that for my previous interface and everything looked like it detected at first plug in. I have a Lenova Ideapad slim 3 (laptop) which supports USB2.0 and USB3.0 A types. I have tested on both ports and not using any USB hubs in between.
CPU is Intel© Core™ i7-1065G7 CPU @ 1.30GHz × 4
My test now uses 'speaker-test' with a tone using the default driver "pulseaudio"
I have plugged into another Ubuntu laptop and experiencing the same error message and audio skips. I've also tried a fresh OS reinstall.
Re: Behringer UMC404HD stuttering / audio gaps
Posted: Tue Apr 12, 2022 5:17 am
by bluzee
Mine identifies slightly differently...
Code: Select all
Apr 11 23:06:29 TECRA kernel: usb 1-7: new high-speed USB device number 2 using ehci-pci
Apr 11 23:06:29 TECRA kernel: usb 1-7: New USB device found, idVendor=1397, idProduct=0509, bcdDevice= 1.12
Apr 11 23:06:29 TECRA kernel: usb 1-7: New USB device strings: Mfr=1, Product=3, SerialNumber=0
Apr 11 23:06:29 TECRA kernel: usb 1-7: Product: UMC404HD 192k
Apr 11 23:06:29 TECRA kernel: usb 1-7: Manufacturer: BEHRINGER
Hopefully they haven't changed the device to something that requires quirks to work properly.
Re: Behringer UMC404HD stuttering / audio gaps
Posted: Tue Apr 12, 2022 8:57 am
by Linuxmusician01
greengardener wrote: ↑Mon Apr 11, 2022 11:31 pm
I started with jackd and qjackctl because I used that for my previous interface and everything looked like it detected at first plug in. I have a Lenova Ideapad slim 3 (laptop) which supports USB2.0 and USB3.0 A types. I have tested on both ports and not using any USB hubs in between.
CPU is Intel© Core™ i7-1065G7 CPU @ 1.30GHz × 4
My test now uses 'speaker-test' with a tone using the default driver "pulseaudio"
I have plugged into another Ubuntu laptop and experiencing the same error message and audio skips. I've also tried a fresh OS reinstall.
You're using PulseAudio and Jack at the same time. How are you starting Jack? I use this audio device with very old hardware: no problems. I'll bet you a million dollars it a config prob of some sorts, if the interface ain't broken. But you say it works just fine in Windows so that ain't it. So: what command do you use to start Jack? Do it with a minimal command like this:
Or try to test it once without Jack just to know if it works w/ Linux.
P.S. Don't use the program
speaker-test. It crashes on my PC. Just play some music with Audacity or something. Make sure you select the correct driver (i.e. Jack) and restart Audacity.
Re: Behringer UMC404HD stuttering / audio gaps
Posted: Wed Apr 13, 2022 2:56 am
by greengardener
I have reformatted and installed Mint 20.3.
I ran jackd from the command line (as per the above post) test audio through Ardour5 with jack selected. The issue persists.
I disconnected the 404 and then connected my old M-Audio Fast track and tried the test again. No problems with audio.
I found this tidbit regarding the different bcdDevice value identified:
The bcdDevice has the same format than the bcdUSB and is used to provide a device version number. This value is assigned by the developer.
It could be a new hardware revision
Can someone with a working UMC404HD provide me with their output from the following command?
Id like to compare it with mine:
Code: Select all
Bus 001 Device 007: ID 1397:0509 BEHRINGER International GmbH UMC404HD 192k
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 239 Miscellaneous Device
bDeviceSubClass 2
bDeviceProtocol 1 Interface Association
bMaxPacketSize0 64
idVendor 0x1397 BEHRINGER International GmbH
idProduct 0x0509
bcdDevice 1.35
iManufacturer 1
iProduct 2
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0189
bNumInterfaces 6
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 500mA
Interface Association:
bLength 8
bDescriptorType 11
bFirstInterface 0
bInterfaceCount 3
bFunctionClass 1 Audio
bFunctionSubClass 0
bFunctionProtocol 32
iFunction 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 1 Audio
bInterfaceSubClass 1 Control Device
bInterfaceProtocol 32
iInterface 0
AudioControl Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 1 (HEADER)
bcdADC 2.00
bCategory 8
wTotalLength 0x0087
bmControls 0x01
Latency control Control (read-only)
AudioControl Interface Descriptor:
bLength 8
bDescriptorType 36
bDescriptorSubtype 10 (CLOCK_SOURCE)
bClockID 41
bmAttributes 3 Internal programmable clock
bmControls 0x07
Clock Frequency Control (read/write)
Clock Validity Control (read-only)
bAssocTerminal 0
iClockSource 10
AudioControl Interface Descriptor:
bLength 8
bDescriptorType 36
bDescriptorSubtype 11 (CLOCK_SELECTOR)
bClockID 40
bNrInPins 1
baCSourceID(0) 41
bmControls 0x03
Clock Selector Control (read/write)
iClockSelector 0
AudioControl Interface Descriptor:
bLength 17
bDescriptorType 36
bDescriptorSubtype 2 (INPUT_TERMINAL)
bTerminalID 2
wTerminalType 0x0101 USB Streaming
bAssocTerminal 0
bCSourceID 40
bNrChannels 4
bmChannelConfig 0x00000000
iChannelNames 192
bmControls 0x0000
iTerminal 0
AudioControl Interface Descriptor:
bLength 26
bDescriptorType 36
bDescriptorSubtype 6 (FEATURE_UNIT)
bUnitID 10
bSourceID 2
bmaControls(0) 0x0000000f
Mute Control (read/write)
Volume Control (read/write)
bmaControls(1) 0x0000000f
Mute Control (read/write)
Volume Control (read/write)
bmaControls(2) 0x0000000f
Mute Control (read/write)
Volume Control (read/write)
bmaControls(3) 0x0000000f
Mute Control (read/write)
Volume Control (read/write)
bmaControls(4) 0x0000000f
Mute Control (read/write)
Volume Control (read/write)
iFeature 0
AudioControl Interface Descriptor:
bLength 12
bDescriptorType 36
bDescriptorSubtype 3 (OUTPUT_TERMINAL)
bTerminalID 20
wTerminalType 0x0301 Speaker
bAssocTerminal 0
bSourceID 10
bCSourceID 40
bmControls 0x0000
iTerminal 0
AudioControl Interface Descriptor:
bLength 17
bDescriptorType 36
bDescriptorSubtype 2 (INPUT_TERMINAL)
bTerminalID 1
wTerminalType 0x0201 Microphone
bAssocTerminal 0
bCSourceID 40
bNrChannels 4
bmChannelConfig 0x00000000
iChannelNames 128
bmControls 0x0000
iTerminal 0
AudioControl Interface Descriptor:
bLength 26
bDescriptorType 36
bDescriptorSubtype 6 (FEATURE_UNIT)
bUnitID 11
bSourceID 1
bmaControls(0) 0x0000000f
Mute Control (read/write)
Volume Control (read/write)
bmaControls(1) 0x0000000f
Mute Control (read/write)
Volume Control (read/write)
bmaControls(2) 0x0000000f
Mute Control (read/write)
Volume Control (read/write)
bmaControls(3) 0x0000000f
Mute Control (read/write)
Volume Control (read/write)
bmaControls(4) 0x0000000f
Mute Control (read/write)
Volume Control (read/write)
iFeature 0
AudioControl Interface Descriptor:
bLength 12
bDescriptorType 36
bDescriptorSubtype 3 (OUTPUT_TERMINAL)
bTerminalID 22
wTerminalType 0x0101 USB Streaming
bAssocTerminal 0
bSourceID 11
bCSourceID 40
bmControls 0x0000
iTerminal 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0006 1x 6 bytes
bInterval 8
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 1 Audio
bInterfaceSubClass 2 Streaming
bInterfaceProtocol 32
iInterface 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 1
bNumEndpoints 2
bInterfaceClass 1 Audio
bInterfaceSubClass 2 Streaming
bInterfaceProtocol 32
iInterface 0
AudioStreaming Interface Descriptor:
bLength 16
bDescriptorType 36
bDescriptorSubtype 1 (AS_GENERAL)
bTerminalLink 2
bmControls 0x00
bFormatType 1
bmFormats 0x00000001
PCM
bNrChannels 4
bmChannelConfig 0x00000000
iChannelNames 192
AudioStreaming Interface Descriptor:
bLength 6
bDescriptorType 36
bDescriptorSubtype 2 (FORMAT_TYPE)
bFormatType 1 (FORMAT_TYPE_I)
bSubslotSize 4
bBitResolution 24
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x08 EP 8 OUT
bmAttributes 5
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Data
wMaxPacketSize 0x0190 1x 400 bytes
bInterval 1
AudioStreaming Endpoint Descriptor:
bLength 8
bDescriptorType 37
bDescriptorSubtype 1 (EP_GENERAL)
bmAttributes 0x00
bmControls 0x00
bLockDelayUnits 2 Decoded PCM samples
wLockDelay 0x0008
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 17
Transfer Type Isochronous
Synch Type None
Usage Type Feedback
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 4
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 1 Audio
bInterfaceSubClass 2 Streaming
bInterfaceProtocol 32
iInterface 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 1
bNumEndpoints 1
bInterfaceClass 1 Audio
bInterfaceSubClass 2 Streaming
bInterfaceProtocol 32
iInterface 0
AudioStreaming Interface Descriptor:
bLength 16
bDescriptorType 36
bDescriptorSubtype 1 (AS_GENERAL)
bTerminalLink 22
bmControls 0x00
bFormatType 1
bmFormats 0x00000001
PCM
bNrChannels 4
bmChannelConfig 0x00000000
iChannelNames 128
AudioStreaming Interface Descriptor:
bLength 6
bDescriptorType 36
bDescriptorSubtype 2 (FORMAT_TYPE)
bFormatType 1 (FORMAT_TYPE_I)
bSubslotSize 4
bBitResolution 24
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x88 EP 8 IN
bmAttributes 37
Transfer Type Isochronous
Synch Type Asynchronous
Usage Type Implicit feedback Data
wMaxPacketSize 0x0190 1x 400 bytes
bInterval 1
AudioStreaming Endpoint Descriptor:
bLength 8
bDescriptorType 37
bDescriptorSubtype 1 (EP_GENERAL)
bmAttributes 0x00
bmControls 0x00
bLockDelayUnits 2 Decoded PCM samples
wLockDelay 0x0008
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 3
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 1 Audio
bInterfaceSubClass 1 Control Device
bInterfaceProtocol 0
iInterface 0
AudioControl Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 1 (HEADER)
bcdADC 1.00
wTotalLength 0x0009
bInCollection 1
baInterfaceNr(0) 4
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 4
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 1 Audio
bInterfaceSubClass 3 MIDI Streaming
bInterfaceProtocol 0
iInterface 0
MIDIStreaming Interface Descriptor:
bLength 7
bDescriptorType 36
bDescriptorSubtype 1 (HEADER)
bcdADC 1.00
wTotalLength 0x0041
MIDIStreaming Interface Descriptor:
bLength 6
bDescriptorType 36
bDescriptorSubtype 2 (MIDI_IN_JACK)
bJackType 1 Embedded
bJackID 21
iJack 64
MIDIStreaming Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 3 (MIDI_OUT_JACK)
bJackType 2 External
bJackID 31
bNrInputPins 1
baSourceID( 0) 21
BaSourcePin( 0) 1
iJack 64
MIDIStreaming Interface Descriptor:
bLength 9
bDescriptorType 36
bDescriptorSubtype 3 (MIDI_OUT_JACK)
bJackType 1 Embedded
bJackID 1
bNrInputPins 1
baSourceID( 0) 11
BaSourcePin( 0) 1
iJack 32
MIDIStreaming Interface Descriptor:
bLength 6
bDescriptorType 36
bDescriptorSubtype 2 (MIDI_IN_JACK)
bJackType 2 External
bJackID 11
iJack 32
Endpoint Descriptor:
bLength 9
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
bRefresh 0
bSynchAddress 0
MIDIStreaming Endpoint Descriptor:
bLength 5
bDescriptorType 37
bDescriptorSubtype 1 (GENERAL)
bNumEmbMIDIJack 1
baAssocJackID( 0) 1
Endpoint Descriptor:
bLength 9
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
bRefresh 0
bSynchAddress 0
MIDIStreaming Endpoint Descriptor:
bLength 5
bDescriptorType 37
bDescriptorSubtype 1 (GENERAL)
bNumEmbMIDIJack 1
baAssocJackID( 0) 21
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 5
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 1
bInterfaceProtocol 16
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x85 EP 5 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 8
Re: Behringer UMC404HD stuttering / audio gaps
Posted: Wed Apr 13, 2022 4:25 am
by bluzee
It spit out over 900 lines so I'm attaching a TXT file.
Re: Behringer UMC404HD stuttering / audio gaps
Posted: Wed Apr 13, 2022 5:16 am
by greengardener
Thanks bluzee. There are certainly a few differences including a firmware upgrade interface on yours.
I really am hoping its a configuration problem but not sure where I could look next.

Re: Behringer UMC404HD stuttering / audio gaps
Posted: Wed Apr 13, 2022 9:42 am
by haast
Did you try fully switching off your computer and start Mint i.e. a cold boot? On some hard to solve issues it may help to pinpoint the cause.
So, fully switch off, remove if possible the battery if it a laptop, wait 10 minutes or so (to be sure that internal memory is 100% cleared) and then start the PC.
Re: Behringer UMC404HD stuttering / audio gaps
Posted: Wed Apr 13, 2022 9:49 am
by Linuxmusician01
Output from my Behringer 404HD by
dmesg:
Code: Select all
$ dmesg
[ 1708.252994] usb 1-1.2: USB disconnect, device number 5
[ 1711.035801] usb 1-1.2: new high-speed USB device number 6 using ehci-pci
[ 1711.144791] usb 1-1.2: New USB device found, idVendor=1397, idProduct=0509, bcdDevice= 1.12
[ 1711.144794] usb 1-1.2: New USB device strings: Mfr=1, Product=3, SerialNumber=0
[ 1711.144797] usb 1-1.2: Product: UMC404HD 192k
[ 1711.144799] usb 1-1.2: Manufacturer: BEHRINGER
Output of the command that spits out 900 lines (

) is in attached text file.
Could you tell what the difference is between your
lsusb and our
lsusb output? Would be crazy if Behringer changed their hardware so that it accidentally doesn't work with ALSA (Linux) anymore. In the worst case one must file a bug report or something to the ALSA developers so they can update the kernel module for this device.
If I'm not mistaken then one can use the 404 also as some sort of mixer if it is simply powered on (without a computer attached!). Do you have said problems then too? I don't think so since it works fine in Windows you say. If so: return the device to the store! Does powering it with the adapter help? Or not using the power adapter?
Good luck trouble shooting, I am very interested in knowing if the 404 still does or does not work with Linux nowadays! Keep us informed.

Re: Behringer UMC404HD stuttering / audio gaps
Posted: Wed Apr 13, 2022 6:46 pm
by bluzee
Not sure if you have tried this yet, but make sure Pulseaudio is completely shutdown and out of the way then start Jack and see if it makes any difference.
On my machine I have the pulseaudio module for jack disabled in default.pa and in pavucontrol configuration I set the profile for the UMC404 to OFF. I used to also start jack with pasuspender but that may be overkill. When i first got my 404 pulseaudio did not configure it at all properly but it always worked perfectly with Jack. I believe in Mint 20.3 pulse now sees it as a 4 in 4 out interface, but I still prefer to have Pulseaudio out of the picture.
On my laptop with AVL-MX I completely deleted pulseaudio.
Re: Behringer UMC404HD stuttering / audio gaps
Posted: Thu Apr 14, 2022 1:31 am
by greengardener
Even though there are differences in the lsusb output, I only have enough understanding to get myself in trouble
It does look different (an extra configuration and an upgrade interface?) but I'm not sure what that all means.
I did some more extensive testing on my device in Windows and it turns out I'm seeing the same issue. I'm going to return the device.
Re: Behringer UMC404HD stuttering / audio gaps
Posted: Thu Apr 14, 2022 9:45 am
by Linuxmusician01
greengardener wrote: ↑Thu Apr 14, 2022 1:31 am
[...]
I did some more extensive testing on my device in Windows and it turns out I'm seeing the same issue. I'm going to return the device.
Wise decision.
Re: Behringer UMC404HD stuttering / audio gaps
Posted: Fri Apr 15, 2022 9:49 am
by Linuxmusician01
Stop the press!
Before you return it could you try this (see
Reddit): load the
snd-usb-audio kernel module with the
implicit_fb=1 option. You can do it by creating a file in the directory:
(you can give it any name, but it has to end with .conf) with the following content:
Code: Select all
options snd_usb_audio implicit_fb=1
then reboot your system.