Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVEd] Internal Soundcard not recognized (Read 1633 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[SOLVEd] Internal Soundcard not recognized

Hey guys,

I am quite new to Arch/artix and wanted to try setting up my new Notebook.
Currently i am stuck on the audio setup.

The problem is that my internal soundcard does not pop up in the device lists and i cannot use it.
I am running artix on a Lenovo P1.

The graphics card is detected as Audio Device:

Code: [Select]
$ lspci | grep Audio
01:00.1 Audio device: NVIDIA Corporation Device 10fa (rev a1)

And there is also some sort of audio controller:

Code: [Select]
$ lspci | grep audio
00:1f.3 Multimedia audio controller: Intel Corporation Comet Lake PCH cAVS

When listing the available devices i get the following:

Code: [Select]
$ aplay -l
**** Liste der Hardware-Geräte (PLAYBACK) ****
Karte 0: NVidia [HDA NVidia], Gerät 3: HDMI 0 [HDMI 0]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 0: NVidia [HDA NVidia], Gerät 7: HDMI 1 [HDMI 1]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 0: NVidia [HDA NVidia], Gerät 8: HDMI 2 [HDMI 2]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 0: NVidia [HDA NVidia], Gerät 9: HDMI 3 [HDMI 3]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 0: NVidia [HDA NVidia], Gerät 10: HDMI 4 [HDMI 4]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 0: NVidia [HDA NVidia], Gerät 11: HDMI 5 [HDMI 5]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0

Also navigating through the alsamixer / system-information only shows the Nvidia card as sound device.
All output are S/PDIF.

I followed the installation guide. Did i miss anything important here?
Has anybody else ran into a similar problem?

If you need any more info just let me know.

Have a nice day everyone :)

Regards
Odorwyn

Re: Internal Soundcard not recognized

Reply #1
Hello everyone,

I was able to solve the problem for my system.
For anyone experiencing the same issue, here is what i found:

There seems to be a problem with a depracated module option for the snd_hda_intel module.
After startup, i was able to see that the module had problems loading codecs, one of them being (i915) which seems to crash with my nvidia driver.

I found this info after running "dmesg | grep -i codec" which listed the corresponding PCI address and the issue.

Code: [Select]
$dmesg | grep -i codec
[ 19.836751] sof-audio-pci 0000:00:1f.3: warning: No matching ASoC machine driver found
[ 19.836767] sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
[ 19.836976] sof-audio pci 0000:00:1f.3: use msi interrupt mode
[ 19.837058] sof-audio-pci 0000:00:1f.3: error: init i915 and HDMI codec failed
[ 19.837199] sof-audio-pci 0000:00:1f.3: error: failed to probe DSP -19
[ 19.837200] sof-audio-pci 0000:00:1f.3: error: sof_probe_work failed err: -19

This seems to be a known bug in the module.
https://bugs.archlinux.org/task/64720

By default, the module has the dmic_detect parameter set to 1:
Code: [Select]
[18-Dez-20 06:13:19]  ~ > modinfo snd_hda_intel
filename:       /lib/modules/5.9.14-artix1-1/kernel/sound/pci/hda/snd-hda-intel.ko.xz
description:    Intel HDA driver
license:        GPL
....
parm:           dmic_detect:Allow DSP driver selection (bypass this driver) (0=off, 1=on) (default=1); deprecated, use snd-intel-dspcfg.dsp_driver option instead (bool)

I was able to resolve this by creating a file under /etc/modprobe.d/<filename>.conf where i am setting the dmic_detect parameter.

Code: [Select]
# /etc/modprobe.d/intel_dmic.conf

options snd_hda_intel dmic_detect=0

After restarting the system, the audio devices are properly listed and functioning as expected.

I will mark this as resolved now.

Best Regards
Odorwyn


 

Re: [SOLVEd] Internal Soundcard not recognized

Reply #3
it works! thanx!