thesofproject / sof

Sound Open Firmware
Other
533 stars 308 forks source link

[BUG]Intel Corporation Tiger Lake not start #9341

Closed coutouly closed 1 month ago

coutouly commented 1 month ago

Describe the bug dmesg | grep -E 'sof-|snd|error' [ 1876.586748] hp_wmi: query 0x4 returned error 0x5 [ 1876.595377] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100 [ 1876.599773] snd_hda_intel 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver [ 1876.969520] sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100 [ 1876.969539] sof-audio-pci-intel-tgl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver [ 1876.969551] sof-audio-pci-intel-tgl 0000:00:1f.3: enabling device (0000 -> 0002) [ 1876.969731] sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100 [ 1878.120935] sof-audio-pci-intel-tgl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915]) [ 1879.300889] sof-audio-pci-intel-tgl 0000:00:1f.3: use msi interrupt mode [ 1879.357736] sof-audio-pci-intel-tgl 0000:00:1f.3: hda codecs found, mask 5 [ 1879.357741] sof-audio-pci-intel-tgl 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now [ 1879.357744] sof-audio-pci-intel-tgl 0000:00:1f.3: DMICs detected in NHLT tables: 2 [ 1879.360077] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864 [ 1879.360079] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:0 [ 1879.360084] sof-audio-pci-intel-tgl 0000:00:1f.3: unknown sof_ext_man header type 3 size 0x30 [ 1879.476406] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864 [ 1879.476409] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:0 [ 1879.483843] sof-audio-pci-intel-tgl 0000:00:1f.3: Topology: ABI 3:22:1 Kernel ABI 3:23:0 [ 1879.483958] sof-audio-pci-intel-tgl 0000:00:1f.3: error: source BUF31.1@p\x1a\x06 not found [ 1879.484042] sof-audio-pci-intel-tgl 0000:00:1f.3: error: tplg component load failed -22 [ 1879.484055] sof-audio-pci-intel-tgl 0000:00:1f.3: error: failed to load DSP topology -22 [ 1879.484066] sof-audio-pci-intel-tgl 0000:00:1f.3: ASoC: error at snd_soc_component_probe on 0000:00:1f.3: -22 [ 1879.484133] skl_hda_dsp_generic: probe of skl_hda_dsp_generic failed with error -22

marc-hb commented 1 month ago

You deleted the https://github.com/thesofproject/sof/blob/main/.github/ISSUE_TEMPLATE/bug_report.md issue template entirely and provided zero system and version information. This means no one can help you.

plbossart commented 1 month ago

Looks like some kernels have a bad patch that mangles the widget names, e.g. "BUF31.1@p\x1a\x06", we had a similar issue in https://github.com/thesofproject/sof/issues/9339#issuecomment-2256385124

Yeah, at minimum we need to know what Linux kernel/distro is used. please attach the log of 'alsa-info'

coutouly commented 1 month ago
upload=true&script=true&cardinfo=
!!################################
!!ALSA Information Script v 0.5.3
!!################################

!!Script ran on: Wed Jul 31 18:49:11 UTC 2024

!!Linux Distribution
!!------------------

!!DMI Information
!!---------------

Manufacturer:      HP
Product Name:      HP EliteBook 830 13 inch G10 Notebook PC
Product Version:   SBKPF
Firmware Version:  V70 Ver. 01.03.00
System SKU:        6V4U4AV
Board Vendor:      HP
Board Name:        8B41

!!ACPI Device Status Information
!!---------------

/sys/bus/acpi/devices/ACPI000C:00/status     15
/sys/bus/acpi/devices/ACPI000E:00/status     15
/sys/bus/acpi/devices/CSC3551:00/status      15
/sys/bus/acpi/devices/HPIC000C:00/status     15
/sys/bus/acpi/devices/HPIC0015:00/status     15
/sys/bus/acpi/devices/INT33A1:00/status      15
/sys/bus/acpi/devices/INTC1055:00/status     15
/sys/bus/acpi/devices/INTC1078:00/status     15
/sys/bus/acpi/devices/INTC109C:00/status     15
/sys/bus/acpi/devices/INTC10A0:00/status     15
/sys/bus/acpi/devices/INTC10A1:00/status     15
/sys/bus/acpi/devices/INTC10A1:01/status     15
/sys/bus/acpi/devices/INTC10A1:03/status     15
/sys/bus/acpi/devices/LNXPOWER:01/status     1
/sys/bus/acpi/devices/LNXPOWER:02/status     1
/sys/bus/acpi/devices/NTC0702:00/status      15
/sys/bus/acpi/devices/PNP0103:00/status      15
/sys/bus/acpi/devices/PNP0C02:04/status      8
/sys/bus/acpi/devices/PNP0C02:06/status      3
/sys/bus/acpi/devices/PNP0C02:07/status      3
/sys/bus/acpi/devices/PNP0C09:00/status      15
/sys/bus/acpi/devices/PNP0C0A:00/status      31
/sys/bus/acpi/devices/PRP00001:00/status     15
/sys/bus/acpi/devices/PRP00001:01/status     11
/sys/bus/acpi/devices/SYNA3109:00/status     15
/sys/bus/acpi/devices/USBC000:00/status      15
/sys/bus/acpi/devices/device:01/status   15
/sys/bus/acpi/devices/device:05/status   15
/sys/bus/acpi/devices/device:18/status   15
/sys/bus/acpi/devices/device:20/status   15
/sys/bus/acpi/devices/device:21/status   15
/sys/bus/acpi/devices/device:87/status   15
/sys/bus/acpi/devices/device:88/status   15
/sys/bus/acpi/devices/device:89/status   15
/sys/bus/acpi/devices/device:8b/status   15
/sys/bus/acpi/devices/device:8c/status   15
/sys/bus/acpi/devices/device:8d/status   15
/sys/bus/acpi/devices/device:92/status   15
/sys/bus/acpi/devices/device:99/status   15
/sys/bus/acpi/devices/device:9a/status   15
/sys/bus/acpi/devices/device:9b/status   15
/sys/bus/acpi/devices/device:9f/status   15

!!Kernel Information
!!------------------

Kernel release:    #1-NixOS SMP PREEMPT_DYNAMIC Sat Jul 27 09:34:11 UTC 2024
Operating System:  GNU/Linux
Architecture:      x86_64
Processor:         unknown
SMP Enabled:       Yes

!!ALSA Version
!!------------

Driver version:     k6.6.43
Library version:    
Utilities version:  1.2.10

!!Loaded ALSA modules
!!-------------------

!!Sound Servers on this system
!!----------------------------

PipeWire:
      Installed - Yes (/run/current-system/sw/bin/pipewire)
      Running - Yes

Jack:
      Installed - Yes (/run/current-system/sw/bin/jackd)
      Running - No

Jack2:
      Installed - Yes (/run/current-system/sw/bin/jackdbus)
      Running - Yes

!!Soundcards recognised by ALSA
!!-----------------------------

--- no soundcards ---

!!PCI Soundcards installed in the system
!!--------------------------------------

00:1f.3 Multimedia audio controller [0401]: Intel Corporation Raptor Lake-P/U/H cAVS [8086:51ca] (rev 01)
    Subsystem: Hewlett-Packard Company Device [103c:8b41]

!!Modprobe options (Sound related)
!!--------------------------------

snd_pcsp: index=-2
snd_atiixp_modem: index=-2
snd_intel8x0m: index=-2
snd_via82xx_modem: index=-2

!!Loaded sound module options
!!---------------------------

!!Sysfs card info
!!---------------

!!Card: /sys/class/sound/card*
Driver: 
Tree:

!!ALSA Device nodes
!!-----------------

crw-rw----+ 1 root audio 116,  1 Jul 31 16:12 /dev/snd/seq
crw-rw----+ 1 root audio 116, 33 Jul 31 16:12 /dev/snd/timer

!!Aplay/Arecord output
!!--------------------

APLAY

aplay: device_list:277: no soundcards found...

ARECORD

arecord: device_list:277: no soundcards found...

!!Amixer output
!!-------------

!!Alsactl output
!!--------------

--startcollapse--
--endcollapse--

!!All Loaded Modules
!!------------------

8250_dw
ac
ac97_bus
acpi_pad
acpi_tad
acpi_thermal_rel
aesni_intel
af_alg
af_packet
algif_hash
algif_skcipher
asn1_encoder
atkbd
autofs4
backlight
battery
bluetooth
bnep
bridge
btbcm
btintel
btmtk
btrtl
btusb
button
cbc
ccm
cec
cfg80211
cmac
cmdlinepart
configfs
coretemp
crc16
crc32_pclmul
crc32c_generic
crc32c_intel
crc64
crc64_rocksoft
crc_t10dif
crct10dif_common
crct10dif_generic
crct10dif_pclmul
cryptd
crypto_simd
cs_dsp
dax
dm_crypt
dm_mod
dmi_sysfs
drm_buddy
drm_display_helper
dw_dmac
dw_dmac_core
ecc
ecdh_generic
efi_pstore
efivarfs
encrypted_keys
evdev
ext4
fan
fat
firmware_class
fuse
gf128mul
ghash_clmulni_intel
hid
hid_generic
hid_multitouch
hp_wmi
i2c_algo_bit
i2c_hid
i2c_hid_acpi
i2c_i801
i2c_smbus
i8042
i915
iTCO_wdt
idma64
input_leds
int3400_thermal
int3403_thermal
int340x_thermal_zone
intel_cstate
intel_gtt
intel_hid
intel_lpss
intel_lpss_pci
intel_pmc_bxt
intel_pmc_core
intel_powerclamp
intel_rapl_common
intel_rapl_msr
intel_uncore
intel_uncore_frequency
intel_uncore_frequency_common
intel_vsec
ip6t_rpfilter
ip_tables
ipt_rpfilter
irqbypass
iwlmvm
iwlwifi
jbd2
joydev
kvm
kvm_intel
led_class
ledtrig_audio
libarc4
libcrc32c
libps2
llc
loop
mac80211
mac_hid
macvlan
mbcache
mc
mei
mei_hdcp
mei_me
mei_pxp
mousedev
mtd
nf_conntrack
nf_defrag_ipv4
nf_defrag_ipv6
nf_log_syslog
nf_tables
nfnetlink
nft_compat
nls_cp437
nls_iso8859_1
nvme
nvme_common
nvme_core
pinctrl_tigerlake
platform_profile
pmt_class
pmt_telemetry
polyval_clmulni
polyval_generic
pps_core
processor_thermal_device
processor_thermal_device_pci
processor_thermal_mbox
processor_thermal_rapl
processor_thermal_rfim
ptp
qrtr
rapl
regmap_spi
rfcomm
rfkill
rng_core
roles
rtc_cmos
sch_fq_codel
serial_multi_instantiate
serio
serio_raw
sha1_ssse3
sha256_ssse3
sha512_ssse3
snd
snd_compress
snd_hda_codec
snd_hda_codec_generic
snd_hda_codec_hdmi
snd_hda_codec_realtek
snd_hda_core
snd_hda_cs_dsp_ctls
snd_hda_ext_core
snd_hda_intel
snd_hda_scodec_cs35l41
snd_hda_scodec_cs35l41_i2c
snd_hda_scodec_cs35l41_spi
snd_hrtimer
snd_hwdep
snd_intel_dspcfg
snd_intel_sdw_acpi
snd_pcm
snd_pcm_dmaengine
snd_seq
snd_seq_device
snd_seq_dummy
snd_soc_acpi
snd_soc_acpi_intel_match
snd_soc_core
snd_soc_cs35l41_lib
snd_soc_dmic
snd_soc_hdac_hda
snd_soc_hdac_hdmi
snd_soc_intel_hda_dsp_common
snd_soc_skl_hda_dsp
snd_sof
snd_sof_intel_hda
snd_sof_intel_hda_common
snd_sof_intel_hda_mlink
snd_sof_pci
snd_sof_pci_intel_tgl
snd_sof_probes
snd_sof_utils
snd_sof_xtensa_dsp
snd_timer
soundcore
soundwire_bus
soundwire_cadence
soundwire_generic_allocation
soundwire_intel
sparse_keymap
spi_intel
spi_intel_pci
spi_nor
spi_pxa2xx_platform
stp
t10_pi
tap
tee
thermal
thunderbolt
tiny_power_button
tpm
tpm_crb
tpm_tis
tpm_tis_core
trusted
ttm
tun
typec
typec_ucsi
ucsi_acpi
uhid
uvc
uvcvideo
vfat
video
videobuf2_common
videobuf2_memops
videobuf2_v4l2
videobuf2_vmalloc
videodev
virt_dma
vivaldi_fmap
watchdog
wmi
wmi_bmof
x86_pkg_temp_thermal
x_tables
xhci_hcd
xhci_pci
xhci_pci_renesas
xt_LOG
xt_conntrack
xt_pkttype
xt_tcpudp

!!ALSA/HDA dmesg
!!--------------

[ 1876.594987] iTCO_wdt iTCO_wdt: Found a Intel PCH TCO device (Version=6, TCOBASE=0x0400)
[ 1876.595377] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[ 1876.596968] iTCO_wdt iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
--
[ 1876.599716] systemd[1]: Starting Load/Save RF Kill Switch Status...
[ 1876.599773] snd_hda_intel 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[ 1876.603473] input: HP WMI hotkeys as /devices/virtual/input/input6
--
[ 1876.958461] Console: switching to colour dummy device 80x25
[ 1876.969520] sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[ 1876.969539] sof-audio-pci-intel-tgl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[ 1876.969551] sof-audio-pci-intel-tgl 0000:00:1f.3: enabling device (0000 -> 0002)
[ 1876.969731] sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
[ 1876.975947] i915 0000:00:02.0: vgaarb: deactivate vga console
--
[ 1878.120783] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input13
[ 1878.120935] sof-audio-pci-intel-tgl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[ 1878.138209] fbcon: i915drmfb (fb0) is primary device
--
[ 1879.284154] i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device
[ 1879.300889] sof-audio-pci-intel-tgl 0000:00:1f.3: use msi interrupt mode
[ 1879.333143] systemd-journald[899]: Received client request to flush runtime journal.
--
[ 1879.339746] systemd-journald[899]: Rotating system journal.
[ 1879.357736] sof-audio-pci-intel-tgl 0000:00:1f.3: hda codecs found, mask 5
[ 1879.357741] sof-audio-pci-intel-tgl 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
[ 1879.357744] sof-audio-pci-intel-tgl 0000:00:1f.3: DMICs detected in NHLT tables: 2
[ 1879.360077] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864
[ 1879.360079] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:0
[ 1879.360084] sof-audio-pci-intel-tgl 0000:00:1f.3: unknown sof_ext_man header type 3 size 0x30
[ 1879.476406] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864
[ 1879.476409] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:0
[ 1879.483843] sof-audio-pci-intel-tgl 0000:00:1f.3: Topology: ABI 3:22:1 Kernel ABI 3:23:0
[ 1879.483958] sof-audio-pci-intel-tgl 0000:00:1f.3: error: source BUF31.1@p\x1a\x06 not found
[ 1879.483977] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: topology: add_route failed: -22
[ 1879.483989] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: topology: could not load header: -22
[ 1879.484042] sof-audio-pci-intel-tgl 0000:00:1f.3: error: tplg component load failed -22
[ 1879.484055] sof-audio-pci-intel-tgl 0000:00:1f.3: error: failed to load DSP topology -22
[ 1879.484066] sof-audio-pci-intel-tgl 0000:00:1f.3: ASoC: error at snd_soc_component_probe on 0000:00:1f.3: -22
[ 1879.484091] skl_hda_dsp_generic skl_hda_dsp_generic: ASoC: failed to instantiate card -22

uname -a Linux nanplc2 6.6.43 #1-NixOS SMP PREEMPT_DYNAMIC Sat Jul 27 09:34:11 UTC 2024 x86_64 GNU/Linux

Nixos distro

marc-hb commented 1 month ago

Linux nanplc2 6.6.43

This looks indeed like the same version as in #9339. Can you try downgrading or upgrading your kernel and test again?

coutouly commented 1 month ago

you are right, I update the kernel and everything is right thank you