All of lore.kernel.org
 help / color / mirror / Atom feed
* Steinberg UR22 Crackling and Clicks
@ 2020-12-08 10:15 meschi
  2020-12-08 10:34 ` Takashi Iwai
  0 siblings, 1 reply; 17+ messages in thread
From: meschi @ 2020-12-08 10:15 UTC (permalink / raw)
  To: alsa-devel

Hi,

I am using a Steinberg UR22 audio interface. Since installing Ubuntu 
20.04 on my workstation I have slight crackling in audio playback. It 
doesn't matter if the audio gets routed through pulse, jack or played 
straight to alsa. When running jack, the crackling is not showing any 
xruns. It's not possible to get any glitch-free playback in the system. 
The onboard intel audio works fine.

My system:

alsa info: 
alsa-project.org/db/?f=8b821b17a8c83fa5db866f34a5b4dfe74d640a32

Processor: Intel Xeon X5687

$ uname -a

Linux WorkStation-T5500 5.4.0-56-lowlatency #62-Ubuntu SMP PREEMPT Mon 
Nov 23 20:19:44 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux



I have tried:

5.4.0-56-generic and -lowlatency

5.8.0-31-generic and -lowlatency

setting cpu governor to performance

using nouveau driver over nvidia



When playing a file with aplay like this:

systemctl --user stop pulseaudio.socket
systemctl --user stop pulseaudio.service
aplay -D plughw:CARD=UR22 ./test.wav



slight crackling can be heard every 5-10 seconds. It also appears, that 
the clicks heard are not always on both channels, sometimes the left 
stereo channel clicks, sometimes the right, sometimes both.



Plugging the Interface into different USB-ports doesn't help. The only 
external devices connected via USB are my mouse and my keyboard. On 
Wndows the same setup on the same machine works fine.

To make things even weirder, using the same audio interface on my 
Thinkpad x220 (Core i5-2540M) with ubuntu 20.04 and 5.4.0.56-lowlatency 
does not show this problem.



Running dmesg seems to show nothing audio driver related after:

[ 22.425520] usbcore: registered new interface driver snd-usb-audio



I have found a similar issue showcasing the problem on manjaro with a 
differend soundcard. Therefore I suspect the problem is caused by ALSA 
interacting with the hardware.

https://forum.manjaro.org/t/pops-clicks-on-audio-interface/40129



Here is another occurence on ubuntu on yet another audio interface.

https://askubuntu.com/questions/1256787/ubuntu-2004-novation-xiosynth-external-usb-audio-interface-producing-popping



If I can supply more information I'm happy to help. I couldn't find a 
similar issue in this mailing list, so if this is already fixed I 
apologize in advance.



Kilian



^ permalink raw reply	[flat|nested] 17+ messages in thread
* Re: Steinberg UR22 Crackling and Clicks
@ 2020-12-08 14:00 meschi
  0 siblings, 0 replies; 17+ messages in thread
From: meschi @ 2020-12-08 14:00 UTC (permalink / raw)
  To: Alsa devel



-------- Originalnachricht --------
Betreff: Re: Steinberg UR22 Crackling and Clicks
Datum: 08.12.2020 14:58
Von: meschi@posteo.de
An: Takashi Iwai <tiwai@suse.de>

> It's likely the issues with the implicit feedback.
> 
> The latest development tree (either linux-next tree or
> topic/usb-audio-refactoring branch of my sound.git tree) contains the
> improvements of the implicit feedback mode.
> 
> 
> Takashi

I've compiled a kernel from 
git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
uname -a is "Linux meschi-Precision-WorkStation-T5500 
5.10.0-rc7-next-20201208 #1 SMP PREEMPT Tue Dec 8 12:28:39 CET 2020 
x86_64 x86_64 x86_64 GNU/Linux"
The problem is still there. Is it possible to fallback to explicit 
feedback mode for the device from user space?
I'd like to learn more about these feedback modes, is there a place 
where this is explained?
I'm curious how this device is working on another machine. I'm not quite 
proficient with the alsa kernel subsystem to debug this myself,
but I would be happy to test patches and learn along the way if somebody 
is interested in debugging this.

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2020-12-09 16:10 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-08 10:15 Steinberg UR22 Crackling and Clicks meschi
2020-12-08 10:34 ` Takashi Iwai
2020-12-08 14:50   ` meschi
2020-12-08 14:57     ` Takashi Iwai
2020-12-08 19:41       ` meschi
2020-12-08 20:23         ` Takashi Iwai
2020-12-08 20:53           ` meschi
2020-12-08 21:29             ` Takashi Iwai
2020-12-08 22:14               ` meschi
2020-12-09  6:58                 ` Takashi Iwai
2020-12-09 11:56                   ` meschi
2020-12-09 12:00                     ` Takashi Iwai
2020-12-09 12:10                       ` meschi
2020-12-09 12:13                         ` Takashi Iwai
2020-12-09 16:07                           ` Kilian
2020-12-09 16:09                             ` Takashi Iwai
2020-12-08 14:00 meschi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.