Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: meschi@posteo.de
Cc: alsa-devel@alsa-project.org
Subject: Re: Steinberg UR22 Crackling and Clicks
Date: Tue, 08 Dec 2020 11:34:36 +0100	[thread overview]
Message-ID: <s5hft4gy4ar.wl-tiwai@suse.de> (raw)
In-Reply-To: <ce03244f4699ffc9574ecc2dae41a417@posteo.de>

On Tue, 08 Dec 2020 11:15:08 +0100,
meschi@posteo.de wrote:
> 
> 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.

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

  reply	other threads:[~2020-12-08 10:35 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-08 10:15 Steinberg UR22 Crackling and Clicks meschi
2020-12-08 10:34 ` Takashi Iwai [this message]
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
  -- strict thread matches above, loose matches on Subject: below --
2020-12-08 14:00 meschi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=s5hft4gy4ar.wl-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=meschi@posteo.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox