public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: John Blinka <john.blinka@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] sound on Raptor Lake-P/U/H cAVS
Date: Thu, 3 Jul 2025 11:34:00 -0400	[thread overview]
Message-ID: <CAC_tCmqoas2VsAqHwXDyFfj3n2uUfM77wATZx3Mae3VdHpvLXQ@mail.gmail.com> (raw)

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
:


             reply	other threads:[~2025-07-03 15:35 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-03 15:34 John Blinka [this message]
2025-07-03 15:40 ` [gentoo-user] sound on Raptor Lake-P/U/H cAVS Javier Martinez
2025-07-03 16:56 ` Michael
2025-07-04 13:44   ` John Blinka
2025-07-04 13:57     ` Javier Martinez
2025-07-04 14:10     ` Javier Martinez
2025-07-04 14:20     ` Michael
2025-07-04 14:22       ` Michael
2025-07-06 20:57         ` John Blinka
2025-07-07  8:42           ` Michael
2025-07-07 17:28           ` Javier Martinez
2025-07-29 10:49             ` [gentoo-user] sound on Raptor Lake-P/U/H cAVS [SOLVED] John Blinka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAC_tCmqoas2VsAqHwXDyFfj3n2uUfM77wATZx3Mae3VdHpvLXQ@mail.gmail.com \
    --to=john.blinka@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox