You are not logged in.

#1 2021-08-04 14:51:20

algomes
Member
Registered: 2021-08-04
Posts: 2

[SOLVED] Sound not working after fresh Arch install

I have a fresh Arch install and cannot get the sound to work. I have browsed through the forum and could not find any solution that works for me.

Some outputs:

$ ls -la /dev/snd/
total 0
drwxr-xr-x   3 root root      260 Aug  4 15:25 .
drwxr-xr-x  20 root root     4280 Aug  4 15:29 ..
drwxr-xr-x   2 root root       60 Aug  4 15:25 by-path
crw-rw----+  1 root audio 116,  9 Aug  4 15:25 controlC0
crw-rw----+  1 root audio 116,  8 Aug  4 15:25 hwC0D0
crw-rw----+  1 root audio 116,  6 Aug  4 15:25 pcmC0D10p
crw-rw----+  1 root audio 116,  7 Aug  4 15:25 pcmC0D11p
crw-rw----+  1 root audio 116,  2 Aug  4 15:25 pcmC0D3p
crw-rw----+  1 root audio 116,  3 Aug  4 15:25 pcmC0D7p
crw-rw----+  1 root audio 116,  4 Aug  4 15:25 pcmC0D8p
crw-rw----+  1 root audio 116,  5 Aug  4 15:25 pcmC0D9p
crw-rw----+  1 root audio 116,  1 Aug  4 15:25 seq
crw-rw----+  1 root audio 116, 33 Aug  4 15:25 timer
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 11: HDMI 5 [HDMI 5]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
$ lsmod | grep '^snd' | column -t
snd_hda_codec_realtek     155648  0   
snd_hda_codec_generic     98304   1   snd_hda_codec_realtek
snd_soc_dmic              16384   0   
snd_sof_pci_intel_cnl     16384   0   
snd_sof_intel_hda_common  106496  1   snd_sof_pci_intel_cnl
snd_sof_intel_hda         20480   1   snd_sof_intel_hda_common
snd_sof_pci               20480   2   snd_sof_intel_hda_common,snd_sof_pci_intel_cnl
snd_sof_xtensa_dsp        16384   1   snd_sof_intel_hda_common
snd_sof                   147456  2   snd_sof_pci,snd_sof_intel_hda_common
snd_soc_skl               180224  0   
snd_soc_hdac_hda          24576   2   snd_sof_intel_hda_common,snd_soc_skl
snd_hda_ext_core          36864   4   snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_skl,snd_sof_intel_hda
snd_soc_sst_ipc           20480   1   snd_soc_skl
snd_soc_sst_dsp           40960   1   snd_soc_skl
snd_soc_acpi_intel_match  49152   3   snd_sof_intel_hda_common,snd_soc_skl,snd_sof_pci_intel_cnl
snd_soc_acpi              16384   3   snd_soc_acpi_intel_match,snd_sof_intel_hda_common,snd_soc_skl
snd_soc_core              335872  6   soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_skl,snd_soc_dmic
snd_compress              32768   1   snd_soc_core
snd_pcm_dmaengine         16384   1   snd_soc_core
snd_hda_codec_hdmi        73728   1   
snd_seq_dummy             16384   0   
snd_seq_oss               57344   0   
snd_seq_midi_event        16384   1   snd_seq_oss
snd_seq                   90112   5   snd_seq_oss,snd_seq_midi_event,snd_seq_dummy
snd_seq_device            16384   2   snd_seq,snd_seq_oss
snd_pcm_oss               65536   0   
snd_mixer_oss             28672   1   snd_pcm_oss
snd_hda_intel             57344   1   
snd_intel_dspcfg          28672   3   snd_hda_intel,snd_sof_intel_hda_common,snd_soc_skl
snd_intel_sdw_acpi        20480   2   snd_sof_intel_hda_common,snd_intel_dspcfg
snd_hda_codec             176128  5   snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek,snd_soc_hdac_hda
snd_hda_core              110592  10  snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_skl,snd_sof_intel_hda
snd_hwdep                 16384   1   snd_hda_codec
snd_pcm                   147456  12  snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_compress,snd_pcm_oss,snd_soc_core,snd_soc_skl,snd_hda_core,snd_pcm_dmaengine
snd_timer                 45056   2   snd_seq,snd_pcm
snd                       114688  18  snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_seq_oss,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,snd_pcm_oss,thinkpad_acpi,snd_soc_core,snd_pcm,snd_mixer_oss
$ speaker-test -c 2 

speaker-test 1.2.5.1

Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 96 to 1048576
Period size range from 32 to 349526
Using max buffer size 1048576
Periods = 4
was set period_size = 262144
was set buffer_size = 1048576
 0 - Front Left
 1 - Front Right
Time per period = 12.018637
 0 - Front Left
 1 - Front Right

I don't hear anything when I run the speaker-test. I did use alsamixer to unmute all the channels. I also created an alsa.conf file to load the sound card modules as advised in the ALSA Wiki:

$ cat /etc/modules-load.d/alsa.conf |
snd-hda-intel
snd-pcm-oss
snd-mixer-oss
snd-seq-oss

Any help would be greatly appreciated! smile

Thanks!

Last edited by algomes (2021-08-04 15:22:07)

Offline

#2 2021-08-04 15:11:58

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

Re: [SOLVED] Sound not working after fresh Arch install

Your non-HDMI card is a sof card, install sof-firmware and reboot (... and remove snd-hda-intel from the modules-load.d, and probably the entire file, it's quite unlikely you'll run into anything still requiring OSS) : https://wiki.archlinux.org/title/Advanc … A_firmware

Offline

#3 2021-08-04 15:23:25

algomes
Member
Registered: 2021-08-04
Posts: 2

Re: [SOLVED] Sound not working after fresh Arch install

V1del wrote:

Your non-HDMI card is a sof card, install sof-firmware and reboot (... and remove snd-hda-intel from the modules-load.d, and probably the entire file, it's quite unlikely you'll run into anything still requiring OSS) : https://wiki.archlinux.org/title/Advanc … A_firmware

Thanks so much! That worked indeed smile.

Offline

Board footer

Powered by FluxBB