From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 93503C00A5A for ; Thu, 19 Jan 2023 10:17:40 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 7E8177F90; Thu, 19 Jan 2023 11:16:47 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 7E8177F90 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1674123457; bh=5PaNR9REzdoVOJJe+R7d5d9HzB8gxECduYvylZbeXow=; h=Date:From:To:Subject:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Cc:From; b=O8QObXXC8dQG3jdInpZ4/HRk6MuOZKOMVEJI6aYMZ+kWZdnRVIOVaG4QKTJTMskWh 1kUmZ2JMlpPLdQACuomGuMl+HT1R2L+YMrRLEz+nrrQhjXqfo5SeemXVXgzEDihUyi +e3RlqFP+AAcb27tY5MNvvw+WJ90DEbZKdWgOG1A= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 2ADD2F8047B; Thu, 19 Jan 2023 11:16:47 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 1145FF8047B; Thu, 19 Jan 2023 11:16:46 +0100 (CET) Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 55B9DF8024D for ; Thu, 19 Jan 2023 11:16:41 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 55B9DF8024D Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key, unprotected) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=sKmonegD; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=R0FjVJpJ Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 4C7DD38413; Thu, 19 Jan 2023 10:16:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1674123401; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=L8GaUcxwMAhwYM3qUgsX/z2RYQWBpfZrbM64PXzVuiY=; b=sKmonegDxsAPqcEn5rRQmxfhSrVaPXDI3TSENMApltShpMEcxyA9HCg5AW/e95xkWcbcDN wy74cS8c2Lh0zAJf2Jke94EiwCLVeymo/u0ZmAYjJuStOCB/1FbuINO6dsIUqzxjzheP1h 9s9pxhCKtstKW/EuTWyFQ3tcFc3FCDY= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1674123401; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=L8GaUcxwMAhwYM3qUgsX/z2RYQWBpfZrbM64PXzVuiY=; b=R0FjVJpJRUJP0QSEATZEtB/CyPwi6GoL7tQExk9uHoN/PJV2FOs2JlZAkz6LuLquZHva9K 1jv94kpQdnYGG0CQ== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 3021E139ED; Thu, 19 Jan 2023 10:16:41 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id Ol2dCokYyWPnFwAAMHmgww (envelope-from ); Thu, 19 Jan 2023 10:16:41 +0000 Date: Thu, 19 Jan 2023 11:16:40 +0100 Message-ID: <87zgaerfqv.wl-tiwai@suse.de> From: Takashi Iwai To: Mike FABIAN Subject: Re: No sound on HDMI by default on Lenovo T14s using Fedora 37 In-Reply-To: <877cxj65s3.wl-tiwai@suse.de> References: <87k01j6cw6.wl-tiwai@suse.de> <877cxj65s3.wl-tiwai@suse.de> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/27.2 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: alsa-devel@alsa-project.org, Takashi Iwai Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" On Wed, 18 Jan 2023 19:45:16 +0100, Takashi Iwai wrote: > > On Wed, 18 Jan 2023 18:05:23 +0100, > Mike FABIAN wrote: > > > > Takashi Iwai さんはかきました: > > > > > On Wed, 18 Jan 2023 16:30:53 +0100, > > > Mike FABIAN wrote: > > >> > > >> > > >> With a Lenovo Thinkpad T14s (Gen1, Intel version), I tried to get sound > > >> on the monitor speakers via the HDMI cable. > > >> > > >> It didn’t work out of the box and after a bit of googling I found: > > >> > > >> https://forums.lenovo.com/t5/ThinkPad-T400-T500-and-newer-T-series-Laptops/T14s-AMD-no-HDMI-audio-on-Linux/m-p/5081195?page=2 > > >> > > >> > > >> which suggested to put > > >> > > >> snd_rn_pci_acp3x.dmic_acpi_check=0 > > >> > > >> on the kernel command line. > > >> > > >> So I tried this: > > >> > > >> $ cat /etc/modprobe.d/lenovot14s.conf > > >> options snd-rn-pci-acp3x dmic_acpi_check=0 > > >> > > >> And that did make it work indeed. > > >> > > >> I have no idea what this means and why this makes it work. > > > > > > The option basically should influence on the driver's behavior whether > > > to probe the built-in d-mic or not, and it has no direct relationship > > > with HDMI (supposedly via HD-audio bus), so it's puzzling how this > > > fixes the problem. > > > > > > Could you run alsa-info.sh (with --no-upload option) on both working > > > and non-working cases, and attach both outputs for comparison? > > > > I removed /etc/modprobe.d/lenovot14s.conf but now it still works ☹ > > > > I did a “sudo dnf --enablerepo=updates-testing update” > > > > since I last rebooted, so it is possible that an update fixed this. > > > > So unfortunately I cannot produce a “alsa-info.sh --no-upload” output > > for the non-working case anymore (I attached the output for the working > > case *without* /etc/modprobe.d/lenovot14s.conf (i.e. without snd_rn_pci_acp3x.dmic_acpi_check=0) > > Hm, I see no snd-rn-pci-acp3x module is loaded there, so something > might prevent it loaded (e.g. blacklist or such)? > > And, with this state, can you use the built-in mic? Also, how after > restoring the module option? Also, maybe more fundamental question: how exactly "it didn't work"? Does the HDMI device appear on pipewire / PulseAudio, but the output results in silence? Or Is no HDMI listed there? BTW, the lack of AMD SoC stuff might be related with the device power state. A cold boot might change the situation (or trying back to an older known kernel). Takashi