You are not logged in.

#1 2023-06-14 12:25:52

AntonioM
Member
Registered: 2023-06-11
Posts: 4

[SOLVED] ALSA does not recognize my soundcard. Intel Tiger Lake Audio

Hello!

When I installed Arch my audio was not working with sof-firmware but I was able to fix it forcing ALSA to use snd_hda_intel module, eventhough it broke my mic I was not using it a lot so I dind't care about that. After some time without whatching videos or listening any audio in my laptop I tried to watch a video and I didn't have audio. After a lot of investigation I have not made any progress. Does anyone any idea how to fix this?

The output of some commands that I think could be useful:

lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation 11th Gen Core Processor Host Bridge/DRAM Registers [8086:9a14] (rev 02)
00:02.0 VGA compatible controller [0300]: Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] [8086:9a49] (rev 03)
00:04.0 Signal processing controller [1180]: Intel Corporation TigerLake-LP Dynamic Tuning Processor Participant [8086:9a03] (rev 02)
00:14.0 USB controller [0c03]: Intel Corporation Tiger Lake-LP USB 3.2 Gen 2x1 xHCI Host Controller [8086:a0ed] (rev 30)
00:14.2 RAM memory [0500]: Intel Corporation Tiger Lake-LP Shared SRAM [8086:a0ef] (rev 30)
00:14.3 Network controller [0280]: Intel Corporation Wi-Fi 6 AX201 [8086:a0f0] (rev 30)
00:15.0 Serial bus controller [0c80]: Intel Corporation Tiger Lake-LP Serial IO I2C Controller #0 [8086:a0e8] (rev 30)
00:16.0 Communication controller [0780]: Intel Corporation Tiger Lake-LP Management Engine Interface [8086:a0e0] (rev 30)
00:1c.0 PCI bridge [0604]: Intel Corporation Tiger Lake-LP PCI Express Root Port #5 [8086:a0bc] (rev 30)
00:1f.0 ISA bridge [0601]: Intel Corporation Tiger Lake-LP LPC Controller [8086:a082] (rev 30)
00:1f.3 Multimedia audio controller [0401]: Intel Corporation Tiger Lake-LP Smart Sound Technology Audio Controller [8086:a0c8] (rev 30)
00:1f.4 SMBus [0c05]: Intel Corporation Tiger Lake-LP SMBus Controller [8086:a0a3] (rev 30)
00:1f.5 Serial bus controller [0c80]: Intel Corporation Tiger Lake-LP SPI Controller [8086:a0a4] (rev 30)
01:00.0 Non-Volatile memory controller [0108]: Silicon Motion, Inc. Device [126f:1011] (rev 03)
aplay -l
aplay: device_list:277: no soundcards found...
lsmod | grep snd
snd_seq_dummy          16384  0
snd_hrtimer            16384  0
snd_seq               106496  1 snd_seq_dummy
snd_seq_device         16384  1 snd_seq
snd_soc_sof_es8336     32768  0
snd_sof_probes         28672  0
snd_soc_intel_hda_dsp_common    20480  1 snd_soc_sof_es8336
snd_hda_codec_hdmi     94208  0
snd_hda_codec_conexant    36864  0
snd_hda_codec_generic   114688  1 snd_hda_codec_conexant
snd_soc_dmic           16384  0
snd_sof_pci_intel_tgl    16384  0
snd_sof_intel_hda_common   229376  1 snd_sof_pci_intel_tgl
soundwire_intel        61440  1 snd_sof_intel_hda_common
snd_sof_intel_hda      24576  1 snd_sof_intel_hda_common
snd_sof_pci            24576  2 snd_sof_intel_hda_common,snd_sof_pci_intel_tgl
snd_sof_xtensa_dsp     20480  1 snd_sof_intel_hda_common
snd_sof               389120  4 snd_sof_pci,snd_sof_intel_hda_common,snd_sof_probes,snd_sof_intel_hda
snd_sof_utils          20480  1 snd_sof
snd_soc_hdac_hda       28672  1 snd_sof_intel_hda_common
snd_hda_ext_core       36864  3 snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_sof_intel_hda
snd_soc_acpi_intel_match    81920  2 snd_sof_intel_hda_common,snd_sof_pci_intel_tgl
snd_soc_acpi           16384  2 snd_soc_acpi_intel_match,snd_sof_intel_hda_common
snd_hda_intel          65536  0
snd_intel_dspcfg       36864  3 snd_hda_intel,snd_sof,snd_sof_intel_hda_common
snd_intel_sdw_acpi     20480  2 snd_sof_intel_hda_common,snd_intel_dspcfg
snd_soc_es8316         53248  0
snd_hda_codec         217088  7 snd_hda_codec_generic,snd_hda_codec_conexant,snd_hda_codec_hdmi,snd_hda_intel,snd_soc_intel_hda_dsp_common,snd_soc_hdac_hda,snd_sof_intel_hda
snd_hda_core          139264  10 snd_hda_codec_generic,snd_hda_codec_conexant,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_soc_intel_hda_dsp_common,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_sof_intel_hda
snd_soc_core          434176  8 soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_sof_es8336,snd_sof_probes,snd_soc_es8316,snd_soc_dmic
snd_compress           32768  2 snd_soc_core,snd_sof_probes
ac97_bus               16384  1 snd_soc_core
snd_pcm_dmaengine      20480  1 snd_soc_core
snd_hwdep              20480  1 snd_hda_codec
snd_pcm               200704  12 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_compress,snd_soc_core,snd_sof_utils,snd_soc_es8316,snd_hda_core,snd_pcm_dmaengine
snd_timer              53248  3 snd_seq,snd_hrtimer,snd_pcm
ledtrig_audio          16384  2 snd_hda_codec_generic,huawei_wmi
snd                   151552  14 snd_hda_codec_generic,snd_seq,snd_hda_codec_conexant,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_sof,snd_timer,snd_compress,snd_soc_core,snd_soc_sof_es8336,snd_pcm
soundcore              16384  1 snd
sudo dmesg | grep -E 'sof|snd'
[    0.033924] software IO TLB: area num 8.
[   11.073153] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[   11.073154] software IO TLB: mapped [mem 0x0000000069488000-0x000000006d488000] (64MB)
[   13.395153] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[   13.564939] sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[   13.564994] sof-audio-pci-intel-tgl 0000:00:1f.3: enabling device (0000 -> 0002)
[   13.565164] sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
[   13.565226] sof-audio-pci-intel-tgl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[   13.571559] sof-audio-pci-intel-tgl 0000:00:1f.3: use msi interrupt mode
[   13.617983] sof-audio-pci-intel-tgl 0000:00:1f.3: hda codecs found, mask 5
[   13.619339] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864
[   13.619341] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:0
[   13.619344] sof-audio-pci-intel-tgl 0000:00:1f.3: unknown sof_ext_man header type 3 size 0x30
[   13.714402] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864
[   13.714406] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:0
[   13.721705] sof-essx8336 sof-essx8336: No I2S link information provided, using SSP0. This may need to be modified with the quirk module parameter
[   13.721707] sof-essx8336 sof-essx8336: quirk mask 0x20
[   13.721708] sof-essx8336 sof-essx8336: quirk SSP0
[   13.721709] sof-essx8336 sof-essx8336: quirk DMIC enabled
[   23.823346] sof-essx8336 sof-essx8336: No I2S link information provided, using SSP0. This may need to be modified with the quirk module parameter
[   23.823354] sof-essx8336 sof-essx8336: quirk mask 0x20
[   23.823358] sof-essx8336 sof-essx8336: quirk SSP0
[   23.823360] sof-essx8336 sof-essx8336: quirk DMIC enabled
[   23.823477] platform sof-essx8336: deferred probe pending
inxi -Fxz
Audio:
  Device-1: Intel Tiger Lake-LP Smart Sound Audio vendor: QUANTA
    driver: sof-audio-pci-intel-tgl bus-ID: 00:1f.3
  API: ALSA v: k6.3.7-arch1-1 status: kernel-api
  Server-1: sndiod v: N/A status: off
  Server-2: PipeWire v: 0.3.71 status: active
cat /proc/asound/cards
--- no soundcards ---
pacman -Q | grep -E 'sof|alsa'
alsa-card-profiles 1:0.3.71-2
alsa-firmware 1.2.4-3
alsa-lib 1.2.9-1
alsa-oss 1.1.8-5
alsa-topology-conf 1.2.5.1-3
alsa-ucm-conf 1.2.9-1
alsa-utils 1.2.9-1
libmysofa 1.3.1-2
pipewire-alsa 1:0.3.71-2
sof-firmware 2.2.5-1

Thank you in advance!

Edit: During that time without listening audio I have updated the kernel but I don't know if the audio was alredy broken before that update.

Last edited by AntonioM (2023-08-02 07:55:00)

Offline

#2 2023-06-14 14:16:11

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,831

Re: [SOLVED] ALSA does not recognize my soundcard. Intel Tiger Lake Audio

See https://bbs.archlinux.org/viewtopic.php … 1#p2097771 and try that quirk configuration. snd-hda-intel dmic_detect=0 is and always was an ugly hack.

Offline

#3 2023-06-26 12:23:40

AntonioM
Member
Registered: 2023-06-11
Posts: 4

Re: [SOLVED] ALSA does not recognize my soundcard. Intel Tiger Lake Audio

I solved it 5 minutes ago accidently, I just installed i3 and that solved the error. I suppose it installed a dependency I was missing. Thancks V1del for trying to help.

Offline

#4 2023-06-26 19:04:49

AntonioM
Member
Registered: 2023-06-11
Posts: 4

Re: [SOLVED] ALSA does not recognize my soundcard. Intel Tiger Lake Audio

AntonioM wrote:

I solved it 5 minutes ago accidently, I just installed i3 and that solved the error. I suppose it installed a dependency I was missing. Thancks V1del for trying to help.

For any reason it isn't working again. I have not uninstalled i3. It's worth saying that after adding the next lines to alsa-base.conf in /etc/modprobe.d now alsa is recognizing my card but still I dont have sound.

/etc/modprobe.d/alsa-base.conf

options snd-hda-intel index=1
options snd-hda-intel dmic_detect=0
**** List of PLAYBACK Hardware Devices ****
card 1: PCH [HDA Intel PCH], device 0: SN6140 Analog [SN6140 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Last edited by AntonioM (2023-06-26 19:09:09)

Offline

#5 2023-08-02 07:53:50

AntonioM
Member
Registered: 2023-06-11
Posts: 4

Re: [SOLVED] ALSA does not recognize my soundcard. Intel Tiger Lake Audio

I managed to solve it. It seems I didn't have all services required enabled. I enabled pipewire pipewire-pulse and wireplumber again (although I thought all of the were enabled but it seems I was wrong).

systemctl --user --now enable pipewire pipewire-pulse wireplumber

Also I had to add this in /etc/modprobe.d/alsa-base.conf

options snd-hda-intel dmic_detect=0
options snd-hda-intel index=0

so my mic is broken but at least I have audio now.
Solved.

Offline

Board footer

Powered by FluxBB