Behringer UMC404HD stuttering / audio gaps

Talk about your MIDI interfaces, microphones, keyboards...

Moderators: MattKingUSA, khz

User avatar
bluzee
Established Member
Posts: 338
Joined: Mon Nov 30, 2020 11:43 pm
Has thanked: 18 times
Been thanked: 88 times

Re: Behringer UMC404HD stuttering / audio gaps

Post by bluzee »

If you are able to compile and test the latest upstream kernel read trough the bug https://bugzilla.kernel.org/show_bug.cgi?id=215934 and test with your device.
User avatar
Linuxmusician01
Established Member
Posts: 1524
Joined: Mon Feb 23, 2015 2:38 pm
Location: Holland
Has thanked: 756 times
Been thanked: 137 times

Re: Behringer UMC404HD stuttering / audio gaps

Post by Linuxmusician01 »

@RiccardoZaniboni: There's a bug report on this problem here [edit: like @bluzee wrote just now above my post]. I'm afraid there's no other solution than to hope that the bug in the USB audio driver for this particular card will be fixed. It looks like on kernels 5.18 and up it might be fixed but I'm waiting for Luca Rusel's confirmation that it does in the bug report. See comment No. 61 in the bug report by Takashi Iwai about options to start the driver with.

For the time being you might want to test with a very, very new Linux distribution that had kernel 5.18 or newer.

BTW welcome to the forums and good luck experimenting! :)
luke08
Established Member
Posts: 19
Joined: Mon May 02, 2022 11:09 am
Has thanked: 4 times
Been thanked: 11 times

Re: Behringer UMC404HD stuttering / audio gaps

Post by luke08 »

Dear all,

just to report the happy ending of the story.

I have tested as requested by Takashi the card on the following cases:

(1) x86_64 , 5.18.6 and 5.19-rc without quirks
(2) Arm64 , 5.18.6 and 5.19-rc without quirks
(3) x86_64 , 5.18.6 and 5.19-rc with quirks
(4) Arm64 , 5.18.6 and 5.19-rc with quirks

In (3) and (4) the card works without any stuttering. So we can say that the problem is resolved. :wink:

To use the quirks there are two ways:

1) recompile the kernel with the patch Takashi posted on the bug report (https://bugzilla.kernel.org/attachment. ... ction=diff)
applied on quirks.c (that enable quirks by default for UMC204HD and UMC404HD).

2) load the standard snd_usb_audio module with the option "quirk_flags=0x20010".

However, as already written in another post, this requires a very recent kernel. Not a big deal.
User avatar
Linuxmusician01
Established Member
Posts: 1524
Joined: Mon Feb 23, 2015 2:38 pm
Location: Holland
Has thanked: 756 times
Been thanked: 137 times

Re: Behringer UMC404HD stuttering / audio gaps

Post by Linuxmusician01 »

Phew! Glad to see the Behringer still works in Linux.
User avatar
sunrat
Established Member
Posts: 915
Joined: Wed Jul 22, 2020 2:08 pm
Has thanked: 151 times
Been thanked: 242 times

Re: Behringer UMC404HD stuttering / audio gaps

Post by sunrat »

This pleases me even though I don't own the device. It's possible my +20 year-old M-Audio card will fail one of these years and the current selection of Linux-friendly cards doesn't seem very large. :mrgreen:
User avatar
Linuxmusician01
Established Member
Posts: 1524
Joined: Mon Feb 23, 2015 2:38 pm
Location: Holland
Has thanked: 756 times
Been thanked: 137 times

Re: Behringer UMC404HD stuttering / audio gaps

Post by Linuxmusician01 »

sunrat wrote: Fri Jun 24, 2022 10:39 pm This pleases me even though I don't own the device. It's possible my +20 year-old M-Audio card will fail one of these years and the current selection of Linux-friendly cards doesn't seem very large. :mrgreen:
Me too. The amount of proper USB class compliant audio devices is surprisingly small. Even if I was on Windows I wouldn't buy hardware that needs a driver.

The Behringer device now needs an option for it's kernel module (Alsa driver). Does anybody how can that be achieved automatically when you connect it?
luke08
Established Member
Posts: 19
Joined: Mon May 02, 2022 11:09 am
Has thanked: 4 times
Been thanked: 11 times

Re: Behringer UMC404HD stuttering / audio gaps

Post by luke08 »

The Behringer device now needs an option for it's kernel module (Alsa driver). Does anybody how can that be achieved automatically when you connect it?
It needs an option right now, but the patch that enable the quirks by default has already been submitted and soon will be included in the mainline, making the option not required.

Having said that, it is very easy to add the option at module load time; add this line:

options snd-usb-audio quirk_flags=0x20010

in /etc/modprobe.d/alsa-base.conf (or equivalent, you can also create the file if it does not exists).

Keep in mind that the kernel must be 5.18.6 or greater.
User avatar
Linuxmusician01
Established Member
Posts: 1524
Joined: Mon Feb 23, 2015 2:38 pm
Location: Holland
Has thanked: 756 times
Been thanked: 137 times

Re: Behringer UMC404HD stuttering / audio gaps

Post by Linuxmusician01 »

@luke08: thank you for clearing that up. :)
RiccardoZaniboni
Established Member
Posts: 3
Joined: Thu Jun 23, 2022 6:07 pm
Has thanked: 1 time

Re: Behringer UMC404HD stuttering / audio gaps

Post by RiccardoZaniboni »

Linuxmusician01 wrote: Fri Jun 24, 2022 7:56 am
i could check it, thanks so much and sorry to answering so late!

@RiccardoZaniboni: There's a bug report on this problem here [edit: like @bluzee wrote just now above my post]. I'm afraid there's no other solution than to hope that the bug in the USB audio driver for this particular card will be fixed. It looks like on kernels 5.18 and up it might be fixed but I'm waiting for Luca Rusel's confirmation that it does in the bug report. See comment No. 61 in the bug report by Takashi Iwai about options to start the driver with.

For the time being you might want to test with a very, very new Linux distribution that had kernel 5.18 or newer.

BTW welcome to the forums and good luck experimenting! :)
RiccardoZaniboni
Established Member
Posts: 3
Joined: Thu Jun 23, 2022 6:07 pm
Has thanked: 1 time

Re: Behringer UMC404HD stuttering / audio gaps

Post by RiccardoZaniboni »

i could check it, thanks so much and sorry to answering so late!
Linuxmusician01 wrote: Fri Jun 24, 2022 7:56 am @RiccardoZaniboni: There's a bug report on this problem here [edit: like @bluzee wrote just now above my post]. I'm afraid there's no other solution than to hope that the bug in the USB audio driver for this particular card will be fixed. It looks like on kernels 5.18 and up it might be fixed but I'm waiting for Luca Rusel's confirmation that it does in the bug report. See comment No. 61 in the bug report by Takashi Iwai about options to start the driver with.

For the time being you might want to test with a very, very new Linux distribution that had kernel 5.18 or newer.

BTW welcome to the forums and good luck experimenting! :)
musicpineapplebass
Posts: 1
Joined: Fri Jul 29, 2022 9:59 pm

Re: Behringer UMC404HD stuttering / audio gaps

Post by musicpineapplebass »

I upgraded to kernel 5.18.14 and the bug seems to be less severe, but it still exists for me. I get stuttering every 15-17 minutes on my device.

Can other people confirm their devices don't stutter after 15+ minutes?
oddy.o.lynx
Established Member
Posts: 115
Joined: Sat Jun 30, 2018 2:54 am
Has thanked: 22 times
Been thanked: 22 times

Re: Behringer UMC404HD stuttering / audio gaps

Post by oddy.o.lynx »

I just picked up a UMC204HD and it runs amazing no issues whatsoever

Mind you I am using Liquorix Kernel on Debian Bullseye and my system is tweaked for sound.

uname -a
Linux LinuxDAW 6.0.0-7.1-liquorix-amd64 #1 ZEN SMP PREEMPT_DYNAMIC liquorix 6.0-2.1bullseye

Current at 64 samples buffer size with 1.3 ms block latency and no xruns, pops or skips.

Also got this 2nd hand at a pawn shop for 100$ Canadian taxes in. Really happy.

User avatar
DaniDak
Posts: 1
Joined: Tue Nov 29, 2022 2:11 pm
Has thanked: 1 time

Re: Behringer UMC404HD stuttering / audio gaps

Post by DaniDak »

I'm playng on Ubuntu 20.04 - 21.04 & 22.04 (my several workstations).
Using Behringer UCM22 i had no issues at all.
However, I recommend switching to pipewar rather than keep wrangling between alsa, pulese and jack... that anyway, pipeware has a great compatibility layer and allows you to use any setting in backwards compatibility - it's automagic!

salve
Established Member
Posts: 7
Joined: Sun Jan 29, 2023 8:19 am
Been thanked: 1 time

Re: Behringer UMC404HD stuttering / audio gaps

Post by salve »

Hi!

This is my first post here. I've been reading this thread, because some months ago I bought UMC204HD. I expected it to work, becase that was my general impression reading about this card on the net. But it didn't on my Debian Bookworm (Switched to Pipewire with no PulseAudio installed).

After the last update/ugrade today, however:

HURRAY!

It seems to work. Though I haven't yet tested extensively.

Spanner
Established Member
Posts: 76
Joined: Mon Mar 10, 2014 8:18 pm
Been thanked: 2 times

Re: Behringer UMC404HD stuttering / audio gaps

Post by Spanner »

I recently obtained a Behringer UMC404HD.

Although I haven't fully tested it, this device appears to be fully working for me.

My currently running platform is:

$ uname -a
Linux amnesia 6.0.0-0.deb11.6-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.0.12-1bpo11+1 (2022-12-19) x86_64 GNU/Linux

I have others but they are not running as I type.

OP reported issues with his device which he reported had the designation bcdDevice= 1.35

My device has the designation bcdDevice 1.12

This unit was purchased recently; old new stock may have been delivered.

Another item of possible interest:

My unit has the following additional designation:
bcdDFUVersion 1.10

So far, I am very happy with the Behringer UMC404HD

Post Reply