From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CEA80606A31A for ; Tue, 1 Dec 2026 09:32:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=alsa-project.org header.i=@alsa-project.org header.a=rsa-sha256 header.s=default header.b=rqEIWOuB Received: from alsa1.perex.cz (alsa1.perex.cz [45.14.194.44]) (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 alsa0.perex.cz (Postfix) with ESMTPS id 8E23A6021C; Tue, 1 Dec 2026 10:31:50 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 8E23A6021C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1796117520; bh=UkUzaoMnPz+rrhe5HTo3u/WyndgMhDfeb6Hh2W7eDjk=; h=From:To:In-Reply-To:References:Subject:Date:List-Id:List-Archive: List-Help:List-Owner:List-Post:List-Subscribe:List-Unsubscribe: From; b=rqEIWOuB1/4NvwtplI3H9dpN6zazT5LSnF2a4qD9Y8WakLK+IEBHngD3J6A0JTobJ UqmKx05uiWBc4Sh6b+iKWYpbzAbcEC40XgaMaU41jtjTYLqJz7Ys3Jbw0WU4jVA77/ v6T7N+7mXxj07RqSGgRnm+5DIKX2pT9O8FlUEMjs= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 63142F805F3; Tue, 1 Dec 2026 10:31:27 +0100 (CET) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 5A89CF80600; Tue, 1 Dec 2026 10:31:27 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 1E2E9F80537; Tue, 1 Dec 2026 10:31:20 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 X-Spam-Level: X-Spam-Status: No, score=-11.1 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=4.0.1 Authentication-Results: alsa1.perex.cz; arc=none smtp.remote-ip=45.14.194.44 ARC-Seal: i=1; d=alsa-project.org; s=arc; a=rsa-sha256; cv=none; t=1796117478; b=blHrNcurgITOXJd4e4yl9lYyrgMUVrKZelfPavNG7CkHzWJjCgTe3vbbOh9YB0YAqc4j rXFQbMe1qY2hmRcsAmip58pvTtMPiStawwVVCD+qA8J90z+XAlKWbchBE39e1LcmCxxGD 3dXMAh/O1OoGR+elPvuobB9ohXsIx0CAtRsjmQJdArVP3epQ0WJasvltNt/6QX10FzcdY o9A0dqhAu/3vFwCJG9KIysnzKHeS/IaSmi4URvV2QmwyQGnDFOrD9xVCz3cXx8r38dqiU 8n8mELZgy4Qp9r859hPoFA4ZLfKvWD83R0rCE+YXZmPZ/UeWbf1knB1v5urSSCXkfQg== ARC-Message-Signature: i=1; d=alsa-project.org; s=arc; a=rsa-sha256; c=relaxed/simple; t=1796117478; h=MIME-Version:From:To:Message-Id:Subject; bh=UkUzaoMnPz+rrhe5HTo3u/WyndgMhDfeb6Hh2W7eDjk=; b=AK145fES8/ZGCtM3ALu1frCTTa/zVo16GOTpJJ69O1hEcI1GBLPIWxO0jFdOs9jALWsx NKfsCaJRWqBHE5I10pa1jtXYsImXRzGOSo5puGtNszs7tCaSbSXm85DWkvXUeutN3SxWW PgZ9/Q9u0Plw84qEWalnhNNwUOa/sw0Jqtgh3Q6LUBntb+4UadvSNFgxpRykdek2wW4G3 P4zSitZ8m0iNLkL8fGDTGT3H9fMIQkS1ZSFxGwNpd2lovInXeqJ0Kps6zT5k+EzSPRi8D 0Gx6aqPqofwsRDM3F+3zUa3+7fsh9Mw1M1ElV4ZBL3powdygA4Cf2HvrnGvvC9VO84A== ARC-Authentication-Results: i=1; alsa1.perex.cz; arc=none smtp.remote-ip=45.14.194.44 Received: from webhooks-bot.alsa-project.org (vmi2259423.contaboserver.net [45.14.194.44]) by alsa1.perex.cz (Postfix) with ESMTP id DF083F8049C for ; Tue, 1 Dec 2026 10:31:15 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz DF083F8049C X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit From: GitHub issues - opened To: alsa-devel@alsa-project.org Message-Id: <18ed1753e557e400-webhooks-bot@alsa-project.org> In-Reply-To: <18ed1753e5533700-webhooks-bot@alsa-project.org> References: <18ed1753e5533700-webhooks-bot@alsa-project.org> Subject: =?utf-8?q?Intel_HDMI_ports_registered_unconditionally_=E2=80=94_phantom_=22available=22_state_when_no_monitor_connected?= Date: Tue, 1 Dec 2026 10:31:20 +0100 (CET) Message-ID-Hash: 3UJJIDQHIXWDBFPCT3VC77YAMWZBFL4D X-Message-ID-Hash: 3UJJIDQHIXWDBFPCT3VC77YAMWZBFL4D X-MailFrom: github@alsa-project.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: alsa-project/alsa-ucm-conf issue #936 was opened from valiant-1144: ## Summary All Intel HDMI output ports are registered in UCM with unconditional conditions. The `If.hdmi1 {`, `If.hdmi2 {`, etc. blocks have no EDID/HPD check, so the codec reports the port as "available" even when no monitor is connected. This causes PipeWire/WirePlumber to select the HDMI profile at boot, making analog audio unusable on affected hardware. ## Affected Files The following files register HDMI ports unconditionally: /usr/share/alsa/ucm2/Intel/sof-hda-dsp/Hdmi.conf:Include.hdmi.File "/codecs/hda/hdmi.conf" /usr/share/alsa/ucm2/Intel/sof-hda-dsp/Hdmi.conf:If.hdmi1 { /usr/share/alsa/ucm2/Intel/sof-hda-dsp/Hdmi.conf: True.Macro.hdmi1.HDMI { /usr/share/alsa/ucm2/Intel/sof-hda-dsp/Hdmi.conf:If.hdmi2 { /usr/share/alsa/ucm2/Intel/sof-hda-dsp/Hdmi.conf: True.Macro.hdmi1.HDMI { /usr/share/alsa/ucm2/Intel/sof-hda-dsp/Hdmi.conf:If.hdmi3 { /usr/share/alsa/ucm2/Intel/sof-hda-dsp/Hdmi.conf: True.Macro.hdmi1.HDMI { /usr/share/alsa/ucm2/Intel/sof-hda-dsp/HiFi.conf:Include.hdmi.File "/Intel/sof-hda-dsp/Hdmi.conf" The same pattern exists in: - /usr/share/alsa/ucm2/Intel/sof-essx8336/Hdmi.conf - /usr/share/alsa/ucm2/Intel/sof-glkda7219max/Hdmi.conf - /usr/share/alsa/ucm2/Intel/hda-dsp/HiFi.conf - /usr/share/alsa/ucm2/Intel/skylake-rt286/HiFi.conf - /usr/share/alsa/ucm2/Intel/broxton-rt298/HiFi.conf - /usr/share/alsa/ucm2/Intel/sof-ehl-rt5660/HiFi.conf ## The Problem The `If.hdmi1 { ... }` block has no condition checking for an active connector or EDID signal. The port is always "available" from the codec's perspective, which is what PipeWire/WirePlumber uses to decide profile selection. ## Impact Any PipeWire/WirePlumber user on affected hardware (Intel HDA + Realtek ALC245, Meteor Lake-P) gets audio routed to a phantom HDMI output at boot with no analog audio. Confirmed on System76 Darp10 / Pop!_OS 24.04. ## Suggested Fix Option A: Add a condition that checks for an active HPD/EDID signal before marking the port as available. Option B: Lower the priority of HDMI mappings so that analog stereo (priority 15) wins over HDMI when no monitor is detected. ## Diagnostic Data ### Environment - Kernel 7.2.15-76070215-generic - PipeWire 1.6.8 / WirePlumber 0.5.12 - Pop!_OS 24.04 LTS - Intel Meteor Lake-P HDA Intel PCH + Realtek ALC245 - alsa.components = "HDA:10ec0245,1558a743,00100001 HDA:8086281d,80860101,00100000" ### pactl list cards (broken state) Name: alsa_card.pci-0000_00_1f.3 alsa.mixer_name = "Realtek ALC245" device.product.name = "Meteor Lake-P HD Audio Controller" Active Profile: output:hdmi-stereo+input:analog-stereo Ports: hdmi-output-0: available, product.name = "LG HDR WQHD" hdmi-output-1: not available hdmi-output-2: not available hdmi-output-3: not available analog-output-speaker: available Report drafted with AI assistance. All diagnostic output is from the reporter's system. Issue URL : https://github.com/alsa-project/alsa-ucm-conf/issues/936 Repository URL: https://github.com/alsa-project/alsa-ucm-conf