You are not logged in.

#1 2021-11-19 08:39:35

DMCoder
Member
Registered: 2020-06-30
Posts: 4

No sound on fresh install on laptop

Hi! After a fresh install of Arch Linux on my laptop, I see that it has no sound (`pavucontrol` shows only dummy output).
I searched a bit on the forum, and installed sof-firmware and rebooted. But that didn't help either.

Here are some logs for reference:

sudo fuser -v /dev/snd/*

                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  dknite      775 F.... pulseaudio

sudo dmesg | grep -iE 'snd|sof'
So here, there are some errors,

[    0.329618] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.438293] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    0.438294] software IO TLB: mapped [mem 0x000000007627c000-0x000000007a27c000] (64MB)
[    2.763399] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
[    2.763520] snd_hda_intel 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[    2.773078] snd_hda_intel 0000:01:00.1: Disabling MSI
[    2.773086] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
[    3.305026] snd_soc_skl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
[    3.305047] snd_soc_skl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[    3.487250] sof-audio-pci-intel-cnl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
[    3.487276] sof-audio-pci-intel-cnl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[    3.487506] sof-audio-pci-intel-cnl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040380
[    3.487566] sof-audio-pci-intel-cnl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    3.494024] sof-audio-pci-intel-cnl 0000:00:1f.3: use msi interrupt mode
[    3.545618] sof-audio-pci-intel-cnl 0000:00:1f.3: hda codecs found, mask 5
[    3.545620] sof-audio-pci-intel-cnl 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
[    3.545624] sof-audio-pci-intel-cnl 0000:00:1f.3: DMICs detected in NHLT tables: 4
[    3.549266] sof-audio-pci-intel-cnl 0000:00:1f.3: Firmware info: version 1:9:0-fa857
[    3.549268] sof-audio-pci-intel-cnl 0000:00:1f.3: Firmware: ABI 3:19:0 Kernel ABI 3:18:0
[    3.549269] sof-audio-pci-intel-cnl 0000:00:1f.3: warn: FW ABI is more recent than kernel
[    3.549271] sof-audio-pci-intel-cnl 0000:00:1f.3: unknown sof_ext_man header type 3 size 0x30
[    6.653500] sof-audio-pci-intel-cnl 0000:00:1f.3: error: cl_copy_fw: timeout HDA_DSP_SRAM_REG_ROM_STATUS read
[    6.654114] sof-audio-pci-intel-cnl 0000:00:1f.3: error: extended rom status:  0x80000012 0x2c 0x0 0x0 0x0 0x0 0x1830118 0x0
[    6.654121] sof-audio-pci-intel-cnl 0000:00:1f.3: error: load fw failed ret: -110
[    6.654160] sof-audio-pci-intel-cnl 0000:00:1f.3: error: failed to reset DSP
[    6.654164] sof-audio-pci-intel-cnl 0000:00:1f.3: error: failed to boot DSP firmware -110
[    6.705240] sof-audio-pci-intel-cnl 0000:00:1f.3: error: hda_dsp_core_reset_enter: timeout on HDA_DSP_REG_ADSPCS read
[    6.705248] sof-audio-pci-intel-cnl 0000:00:1f.3: error: dsp core reset failed: core_mask 1
[    6.718357] sof-audio-pci-intel-cnl 0000:00:1f.3: error: sof_probe_work failed err: -110

aplay -lL

null
    Discard all samples (playback) or generate zero samples (capture)
pipewire
    PipeWire Sound Server
hdmi:CARD=NVidia,DEV=0
    HDA NVidia, HDMI 0
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=1
    HDA NVidia, HDMI 1
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=2
    HDA NVidia, HDMI 2
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 3
    HDMI Audio Output
**** 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

pacmd list-cards

1 card(s) available.
    index: 0
	name: <alsa_card.pci-0000_01_00.1>
	driver: <module-alsa-card.c>
	owner module: 6
	properties:
		alsa.card = "0"
		alsa.card_name = "HDA NVidia"
		alsa.long_card_name = "HDA NVidia at 0xb4000000 irq 17"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:01:00.1"
		sysfs.path = "/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card0"
		device.bus = "pci"
		device.vendor.id = "10de"
		device.vendor.name = "NVIDIA Corporation"
		device.product.id = "0fb9"
		device.product.name = "GP107GL High Definition Audio Controller"
		device.string = "0"
		device.description = "GP107GL High Definition Audio Controller"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	profiles:
		output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5900, available: no)
		output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (priority 800, available: no)
		output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (priority 800, available: no)
		output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (priority 5700, available: no)
		output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (priority 600, available: no)
		output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (priority 600, available: no)
		output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (priority 5700, available: no)
		output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (priority 600, available: no)
		output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (priority 600, available: no)
		output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (priority 5700, available: no)
		output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (priority 600, available: no)
		output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (priority 600, available: no)
		off: Off (priority 0, available: unknown)
	active profile: <off>
	ports:
		hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
		hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
		hdmi-output-2: HDMI / DisplayPort 3 (priority 5700, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
		hdmi-output-3: HDMI / DisplayPort 4 (priority 5600, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"

pacmd list-sinks

1 sink(s) available.
  * index: 0
	name: <auto_null>
	driver: <module-null-sink.c>
	flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE
	priority: 1000
	volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 0.00 ms
	max request: 12 KiB
	max rewind: 12 KiB
	monitor source: 0
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 1
	configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms
	module: 12
	properties:
		device.description = "Dummy Output"
		device.class = "abstract"
		device.icon_name = "audio-card"

Could you please help me fix this?

Offline

#2 2021-11-19 09:51:07

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 14,444

Re: No sound on fresh install on laptop

Are you on the 5.15.3 kernel? It contains a few SOF fixes. Which laptop model exactly? You might have to report the error you get here on : https://github.com/thesofproject/sof/issues

FWIW things you can try to try and alleviate is changing the used driver around via a /etc/modprobe.d/dspfix.conf

options snd_intel_dspcfg dsp_driver=1

that will break internal mic support however, but might enable the speakers, you could also try to set the dsp_driver=2 which will use a different backend that "shouldn't" break the mic

Offline

#3 2021-11-19 13:40:35

DMCoder
Member
Registered: 2020-06-30
Posts: 4

Re: No sound on fresh install on laptop

V1del wrote:

Are you on the 5.15.3 kernel?

No, I am on 5.15.2-arch1-1. I will update to the latest minor version and report back.

V1del wrote:

Which laptop model exactly? ?

HP Pavillion Gaming Laptop, 15-cx0140TX

V1del wrote:

FWIW things you can try to try and alleviate is changing the used driver around via a /etc/modprobe.d/dspfix.conf

options snd_intel_dspcfg dsp_driver=1

that will break internal mic support however, but might enable the speakers, you could also try to set the dsp_driver=2 which will use a different backend that "shouldn't" break the mic

Yes, this works. In previous installs of Arch, I used to do that (maybe a year ago). In fact, the internal mic also seems to keep on working with `snd_intel_dspcfg dsp_driver=1`. I had posted this question hoping that the SOF firmware had been fixed for my particular model. Perhaps the kernel update would fix it. Otherwise, I'd continue to use the fix you suggested.

Offline

Board footer

Powered by FluxBB