From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8DE63158074 for ; Thu, 03 Jul 2025 15:35:15 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 77F65342181 for ; Thu, 03 Jul 2025 15:35:15 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 3022F110567; Thu, 03 Jul 2025 15:34:13 +0000 (UTC) Received: from mail-yb1-xb36.google.com (mail-yb1-xb36.google.com [IPv6:2607:f8b0:4864:20::b36]) (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 bobolink.gentoo.org (Postfix) with ESMTPS id 27F54110320 for ; Thu, 03 Jul 2025 15:34:12 +0000 (UTC) Received: by mail-yb1-xb36.google.com with SMTP id 3f1490d57ef6-e7db5c13088so38942276.1 for ; Thu, 03 Jul 2025 08:34:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1751556851; x=1752161651; darn=lists.gentoo.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=98U1vIZywaPf9K1iFFss+3pVJkqS24jyix2vSDRCYZM=; b=Y9+kw+wAgfw9liys5izK1E9h6fD6vGvzfQpw17TSf4pdLBiLQLXFWsHc84r3plF/VO 5k2uzhXAFD4ykvxQPEC4SGN/cvemu+C1gMmTGPHD+hpG/IFm7xb/N6DiQMhIT+Fmp0Yf x8XkND7OD2+eZ6ZPdA2y109RAZR1H04t+AYevX2mby2ZlCzEKZwdWSIPkh9vS63OKT1E TUbr5CINPpo0U5CfC2WBcX3MMphAiHrHxMy+Bww2jrRMB4XZXaAxU4YyLFhTO9Aa+otP 6my2dvbzl7leN9eLPDJBgBYPyqH6vvT8kHqw/Let5QxR2r9MD6erWNlf/trDdPbXDxDE JZdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1751556851; x=1752161651; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=98U1vIZywaPf9K1iFFss+3pVJkqS24jyix2vSDRCYZM=; b=SDzzycvqq+FAQAsmhyamRqNeCkSwZ9lD1taDl5VSnq27KuCrnJQoo10xMQ4P81nEwv KEJE+gffxVbVcEEku1PE1HtzdkXXsGl1YLqTrEySkTxm3r+PyIeQh9AGracBgkGzNumy kEDg/FYoRUW7kGQMTMSPtitjNBomkarcjpSH1IthTm6JN1mUoppNGVxY+T8HE/SnkotJ e923tI7wKuWP1rF8RB04sCEwwobYwG/q6wk7G5T4SW4cN7JuNqMaB9m9D/6ZCszE609W GOqQtc+urvnab/0l1GAoiNeVZjrLz1w+hyDqNH35AXpMLHPV+KKGMjkpHytH1aLl3xO4 Ru9A== X-Gm-Message-State: AOJu0YwD55cJHAES8MtaLbFVEATNvgoqC7bTZhk4AIwOtnJdjUC0mvIm nDfGENdfalQzWJ1FD5pBB1EKBKerPJt0EzQ17NPbODWRO3IJlO+GOUjgzD3dIOA3CHV2WJpKm8V 4UPh82UdA4pypMat1hHms5Q7Z+oBoHtX5QcpD X-Gm-Gg: ASbGncvmtVBOhNK/JvJVA+7wZMoyR9CDf+sgrfDZqfPKbf8a7T8GSc69tjN2pEYyo7X uw/BmQM7XbJD5nM+kF99+1ZcJrFvkxfY2zy3fifR34XxDEM9XqFzpwjACbXogLMHLtZnW0iSZGt ykXEHyWql7Kl+SjR8ZWHLGvDorg7IBN6aS48jH2B+Df9g= X-Google-Smtp-Source: AGHT+IEfG8JT3HcEsi7Mrv44MQYImvIoA68uIiq62IdVt37UxlJgHZ5UubmHWB4H+/7O2BejdN/zRNPoboMP+OXDqGU= X-Received: by 2002:a05:6902:848:b0:e84:314e:e2d with SMTP id 3f1490d57ef6-e899369e5ddmr3191846276.16.1751556850850; Thu, 03 Jul 2025 08:34:10 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 From: John Blinka Date: Thu, 3 Jul 2025 11:34:00 -0400 X-Gm-Features: Ac12FXyU-B0bX83myQcI0vA_MLAxBCUR774rLAW6JrsBvXbFsRsKN4nAcEUpgKY Message-ID: Subject: [gentoo-user] sound on Raptor Lake-P/U/H cAVS To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset="UTF-8" X-Archives-Salt: 7b793855-5912-4274-9f50-7d9e1e9dca81 X-Archives-Hash: daaac783f9adbcfa2a7fe1f3392c4c04 Hello Gentooers, I could use some help getting sound to work on the above hardware. Googling shows that there has been widespread difficulty with this sound card on many distros. I haven't found a consensus on how to get it to work. Some folks have resorted to blacklisting various sound modules in modprobe.d. However, it does seem to work on Ubuntu, specifically ubuntu-22.04 (which uses a 6.6 kernel) and ubuntu-25 (which uses a 6.14 kernel). I did get sound to work on the 6.6 series of gentoo-sources by copying things from ubuntu-22.04. Enabling SND_HDA_CODEC_HDMI was critical to success as was using ubuntu's /etc/modprobe.d/alsa-base.conf. When the 6.12 gentoo-sources arrived, I built a 6.12 kernel starting with the working 6.6 gentoo-sources and doing a "make olddefconfig". That's my usual kernel upgrade technique. But there's no sound. I have read that sound has received a substantial reworking between the 6.6 and 6.12 kernel series. On gentoo-sources-6.6.92, dmesg gives: sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100 sof-audio-pci-intel-tgl 0000:00:1f.3: SoundWire enabled on CannonLake+ platform, using SOF driver sof-audio-pci-intel-tgl 0000:00:1f.3: enabling device (0000 -> 0002) sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100 sof-audio-pci-intel-tgl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_exit [i915]) sof-audio-pci-intel-tgl 0000:00:1f.3: use msi interrupt mode sof-audio-pci-intel-tgl 0000:00:1f.3: hda codecs found, mask 4 Loading firmware: intel/sof/sof-rpl.ri sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864 sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:0 sof-audio-pci-intel-tgl 0000:00:1f.3: unknown sof_ext_man header type 3 size 0x30 sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864 sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:0 Loading firmware: intel/sof-tplg/sof-rpl-rt711-l0-rt1316-l12-rt714-l3.tplg sof-audio-pci-intel-tgl 0000:00:1f.3: Topology: ABI 3:22:1 Kernel ABI 3:23:0 sof_sdw sof_sdw: ASoC: Parent card not yet available, widget card binding deferred sof_sdw sof_sdw: hda_dsp_hdmi_build_controls: no PCM in topology for HDMI converter 3 input: sof-soundwire Headset Jack as /devices/pci0000:00/0000:00:1f.3/sof_sdw/sound/card0/input10 input: sof-soundwire HDMI/DP,pcm=5 as /devices/pci0000:00/0000:00:1f.3/sof_sdw/sound/card0/input11 input: sof-soundwire HDMI/DP,pcm=6 as /devices/pci0000:00/0000:00:1f.3/sof_sdw/sound/card0/input12 input: sof-soundwire HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1f.3/sof_sdw/sound/card0/input13 On gentoo-sources 6.12.31, dmesg gives: sof-audio-pci-intel-tgl 0000:00:1f.3: SoundWire enabled on CannonLake+ platform, using SOF driver sof-audio-pci-intel-tgl 0000:00:1f.3: enabling device (0000 -> 0002) sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100 sof-audio-pci-intel-tgl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_exit [i915]) sof-audio-pci-intel-tgl 0000:00:1f.3: use msi interrupt mode sof-audio-pci-intel-tgl 0000:00:1f.3: hda codecs found, mask 4 sof-audio-pci-intel-tgl 0000:00:1f.3: NHLT device BT(0) detected, ssp_mask 0x4 sof-audio-pci-intel-tgl 0000:00:1f.3: BT link detected in NHLT tables: 0x4 sof-audio-pci-intel-tgl 0000:00:1f.3: DMICs detected in NHLT tables: 0 Loading firmware: intel/sof/sof-rpl.ri Loading firmware: intel/sof-tplg/sof-rpl-rt711-l0-rt1316-l12-rt714-l3.tplg sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware paths/files for ipc type 0: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware file: intel/sof/sof-rpl.ri sof-audio-pci-intel-tgl 0000:00:1f.3: Topology file: intel/sof-tplg/sof-rpl-rt711-l0-rt1316-l12-rt714-l3.tplg Loading firmware: intel/sof/sof-rpl.ri sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864 sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:1 sof-audio-pci-intel-tgl 0000:00:1f.3: unknown sof_ext_man header type 3 size 0x30 sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864 sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:1 I don't really know how to interpret the dmesg outputs, but it seems that the 6.6.92 output indicates that it has identified several card0 devices. The 6.12.31 output is missing comparable output. This difference is reflected in /proc/asound/cards. In 6.6.92, /proc/asound/cards contains 0 [sofsoundwire ]: sof-soundwire - sof-soundwire Intel Soundwire SOF But in 6.12.31, /proc/asound/cards contains --- no soundcards --- I'm completely lost. Does anyone understand how to get modern Intel sound to work on modern kernels? Thanks in advance for any ideas! John Blinka :