From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751570AbdK1HAX (ORCPT ); Tue, 28 Nov 2017 02:00:23 -0500 Received: from mx2.suse.de ([195.135.220.15]:58409 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750711AbdK1HAW (ORCPT ); Tue, 28 Nov 2017 02:00:22 -0500 Date: Tue, 28 Nov 2017 08:00:20 +0100 Message-ID: From: Takashi Iwai To: Pavel Machek Cc: kernel list Subject: Re: thinkpad x60: sound problems in 4.15-rc1 was Re: thinkpad x60: sound problems in 4.14.0-next-20171114 In-Reply-To: <20171127184411.GA22165@amd> References: <20171115100533.GB8412@amd> <20171115111120.GA3265@amd> <20171127163011.GA4462@amd> <20171127183151.GA21620@amd> <20171127184411.GA22165@amd> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 27 Nov 2017 19:44:12 +0100, Pavel Machek wrote: > > On Mon 2017-11-27 19:35:32, Takashi Iwai wrote: > > On Mon, 27 Nov 2017 19:31:51 +0100, > > Pavel Machek wrote: > > > > > > On Mon 2017-11-27 17:33:28, Takashi Iwai wrote: > > > > On Mon, 27 Nov 2017 17:30:11 +0100, > > > > Pavel Machek wrote: > > > > > > > > > > On Wed 2017-11-15 12:11:20, Pavel Machek wrote: > > > > > > On Wed 2017-11-15 11:43:34, Takashi Iwai wrote: > > > > > > > On Wed, 15 Nov 2017 11:05:33 +0100, > > > > > > > Pavel Machek wrote: > > > > > > > > > > > > > > > > Hi! > > > > > > > > > > > > > > > > There are some sound problems in 4.14.0-next-20171114: > > > > > > > > > > > > > > > > mplayer shows pictures from video, but does not play. > > > > > > > > > > > > > > > > vlc plays video, but w/o sound > > > > > > > > > > > > > > > > mpg123 works. > > > > > > > > > > > > > > > > Hw is thinkpad X60. Any ideas? > > > > > > > > > > > > > > Nothing comes to my mind for now, sorry. > > > > > > > > > > > > > > Is it a regression, right? There are only few changes in both > > > > > > > HD-audio and ALSA core sides, and they should be fairly harmless. > > > > > > > > > > > > Regression: yes. Reproducible: not sure. It went away after a reboot > > > > > > :-(. > > > > > > > > > > Reappeared, 4.15-rc1. > > > > > > > > > > [ 40.473822] PM: suspend exit > > > > > [ 40.526027] sdhci-pci 0000:15:00.2: Will use DMA mode even though > > > > > HW doesn't fully claim to support it. > > > > > [ 40.569765] e1000e: eth1 NIC Link is Down > > > > > [ 40.578257] sdhci-pci 0000:15:00.2: Will use DMA mode even though > > > > > HW doesn't fully claim to support it. > > > > > [ 40.648476] sdhci-pci 0000:15:00.2: Will use DMA mode even though > > > > > HW doesn't fully claim to support it. > > > > > [ 40.737339] sdhci-pci 0000:15:00.2: Will use DMA mode even though > > > > > HW doesn't fully claim to support it. > > > > > [ 43.018955] wlan0: authenticate with 00:00:00:00:00:01 > > > > > [ 43.019072] wlan0: send auth to 00:00:00:00:00:01 (try 1/3) > > > > > [ 43.023955] wlan0: authenticated > > > > > [ 43.031721] wlan0: associate with 00:00:00:00:00:01 (try 1/3) > > > > > [ 43.039733] wlan0: RX AssocResp from 00:00:00:00:00:01 (capab=0x401 > > > > > status=0 aid=1) > > > > > [ 43.042712] wlan0: associated > > > > > [ 480.662456] snd_hda_intel 0000:00:1b.0: IRQ timing workaround is > > > > > activated for card #0. Suggest a bigger bdl_pos_adj. > > > > > > > > This message is often superfluous, so don't take this too seriously. > > > > > > > > > > > > > pavel@amd:~$ > > > > > > > > > > Again, mplayer has problems, mpg123 works. This time mplayer started > > > > > playing video (w/o sound) after long delay. > > > > > > > > > > Uh. huh. And now problems appeared in mpg123, too, and then went away > > > > > in mpg123 _and_ mplayer. Interesting. > > > > > > > > > > I suspect some pulseaudio fun. chromium always has sound problems, > > > > > then I restart chromium and everything is ok. But something changed in > > > > > -next and 4.15-rc1, because mplayer did not have problems before. > > > > > > > > Hm, there is no code change at all in sound/*. If it happens only in > > > > linux-next, it must be something else... > > > > > > It happened first in -next, now it is in 4.15-rc1. > > > > So you meant a possible regression between 4.14 and 4.15-rc1? > > Yes. Hm, as far as I see, the only significant difference is the commit 20e3f985bb875fea4f86b04eba4b6cc29bfd6b71 ALSA: pcm: update tstamp only if audio_tstamp changed Another change d6c0615f510bc1ee26cfb2b9a3343ac99b9c46fb ALSA: hda - Fix yet remaining issue with vmaster 0dB initialization is basically for fixing a previous wrong fix, and it should influence on all use cases, not only for a specific application. Takashi