lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <s5hwnl4fqy5.wl-tiwai@suse.de>
Date:   Fri, 19 Nov 2021 10:13:54 +0100
From:   Takashi Iwai <tiwai@...e.de>
To:     "Kirill A. Shutemov" <kirill@...temov.name>
Cc:     Takashi Iwai <tiwai@...e.de>,
        Linus Torvalds <torvalds@...ux-foundation.org>,
        Mark Brown <broonie@...nel.org>,
        Liam Girdwood <lgirdwood@...il.com>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [GIT PULL] sound updates for 5.16-rc1

On Fri, 19 Nov 2021 00:26:28 +0100,
Kirill A. Shutemov wrote:
> 
> On Thu, Nov 18, 2021 at 05:57:35PM +0100, Takashi Iwai wrote:
> > And it'd be helpful if you can gather the log (from tracing) with the
> > patch below (from the start of speaker-test until the stall).
> 
> The trace is attached.

Thanks!  From the previous log, I noticed that you're using dmix
plugin, and that was the problem.  The dmix plugin changes the PCM
sw_params parameters at a late stage, and this confused the driver as
if it were OK with the low-latency mode.  And, while reviewing the
code, I also found another bug.

Below are two fix patches.  Please give it a try.


Takashi


Download attachment "0001-ALSA-usb-audio-Switch-back-to-non-latency-mode-at-a-.patch" of type "application/octet-stream" (2452 bytes)

Download attachment "0002-ALSA-usb-audio-Don-t-start-stream-for-capture-at-pre.patch" of type "application/octet-stream" (1077 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ