From nobody Wed Feb 05 17:00:06 2025 X-Original-To: freebsd-multimedia@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Yp61G2GW3z5n2yX for ; Wed, 05 Feb 2025 17:00:18 +0000 (UTC) (envelope-from freebsd-multimedia@dino.sk) Received: from cm0.netlabit.sk (mailhost.netlabit.sk [84.245.65.72]) (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) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Yp61F1yhJz45Jc for ; Wed, 05 Feb 2025 17:00:16 +0000 (UTC) (envelope-from freebsd-multimedia@dino.sk) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of freebsd-multimedia@dino.sk designates 84.245.65.72 as permitted sender) smtp.mailfrom=freebsd-multimedia@dino.sk; dmarc=none Received: from dino.sk ([84.245.95.254]) (AUTH: LOGIN milan, TLS: TLSv1.3,256bits,TLS_AES_256_GCM_SHA384) by cm0.netlabit.sk with ESMTPSA id 0000000002348F54.0000000067A39918.00010DE0; Wed, 05 Feb 2025 18:00:08 +0100 Date: Wed, 5 Feb 2025 18:00:06 +0100 From: Milan Obuch To: Alexander Motin Cc: freebsd-multimedia@freebsd.org Subject: Re: Alder Lake MiniPC - sound via HDMI does not work Message-ID: <20250205180006.96619446.17044022.06097597@dino.sk> In-Reply-To: References: <20250203143020.0938c321@dino.sk> <6acb34fc-b811-4a7a-8ab0-83cd6031646f@FreeBSD.org> <20250203160809.83108666.69645667.47579152@dino.sk> X-Mailer: Claws Mail 3.21.0 (GTK+ 2.24.33; amd64-portbld-freebsd13.3) List-Id: Multimedia discussions List-Archive: https://lists.freebsd.org/archives/freebsd-multimedia List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-multimedia@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [2.29 / 15.00]; NEURAL_SPAM_LONG(1.00)[0.997]; NEURAL_SPAM_MEDIUM(0.99)[0.987]; NEURAL_SPAM_SHORT(0.60)[0.605]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; ASN(0.00)[asn:5578, ipnet:84.245.64.0/18, country:SK]; RCVD_COUNT_ONE(0.00)[1]; MID_RHS_MATCH_FROM(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-multimedia@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_TRACE(0.00)[0:+]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; DMARC_NA(0.00)[dino.sk]; RCVD_TLS_ALL(0.00)[] X-Spamd-Bar: ++ X-Rspamd-Queue-Id: 4Yp61F1yhJz45Jc On Mon, 3 Feb 2025 13:50:44 -0500 Alexander Motin wrote: > On 03.02.2025 10:08, Milan Obuch wrote: > > Something from boot log (dmesg): > > > > hdac0: mem > > 0x6001130000-0x6001133fff,0x6001000000-0x60010fffff at device 31.3 > > on pci0 hdac0: PCI card vendor: 0x0301, device: 0x02f3 hdac0: HDA > > Driver Revision: 20120126_0002 hdac0: Config options: on=0x00000000 > > off=0x00000000 hdac0: Caps: OSS 9, ISS 7, BSS 0, NSDO 1, 64bit, > > CORB 256, RIRB 256 hdac0: attempting to allocate 1 MSI vectors (1 > > supported) msi: routing MSI IRQ 132 to local APIC 6 vector 50 > > hdac0: using IRQ 132 for MSI > > So the HDA controller is detected. But if there is no `hdacc` > line(s) following it, then either there is no CODECs connected to the > HDA bus, or something wrong with the detection, which I haven't seen > reported for a very long time. I do see some cases when HDMI codec > falls of the HDA bus, possibly during some activity from the video > driver, causing timeouts though, and this might in theory be related, > but I've never had clues how to debug it. > Well, this box ships with Windows installer, so for test I swapped disc and let installer do its job. Touching the subject, sound is possible to send to monitor via HDMI. So hardware is definitely capable of using HDMI for audio, now the question is, how can we extract relevant pieces of information and make it work in FreeBSD. Regards, Milan