You are not logged in.

#1 2024-01-17 06:17:40

rumii
Member
Registered: 2024-01-17
Posts: 3

[SOLVED] Unable to get audio working on a new arch Install

Hello,

I just recently finished setting up an arch install on my new laptop (Asus nitro v 15).

Everything works fine except for the audio.

pacmd only lists a dummy output (pavucontrol also lists the same in output devices).

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: 65525 / 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: 2
	configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms
	module: 15
	properties:
		device.description = "Dummy Output"
		device.class = "abstract"
		device.icon_name = "audio-card"

aplay -l lists only my nvidia hda output

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

However lspci detects two audio outputs

lspci | grep audio
0000:00:1f.3 Multimedia audio controller: Intel Corporation Raptor Lake-P/U/H cAVS (rev 01)
0000:01:00.1 Audio device: NVIDIA Corporation Device 22be (rev a1)

I've tried a couple of forum threads but none of them seem be on this particular issue.
Any help would be appreciated


Edit: Installing sof-firmware fixed the issue
Marking solved

Last edited by rumii (2024-01-17 08:04:40)

Offline

#2 2024-01-17 07:54:45

rumii
Member
Registered: 2024-01-17
Posts: 3

Re: [SOLVED] Unable to get audio working on a new arch Install

Some more info

Got the following error message from dmesg

dmseg | grep -E 'snd|sof'
[    4.108210] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[    4.108241] snd_hda_intel 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[    4.108296] snd_hda_intel 0000:01:00.1: enabling device (0000 -> 0002)
[    4.108577] snd_hda_intel 0000:01:00.1: Disabling MSI
[    4.108584] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
[    4.408430] sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[    4.408450] sof-audio-pci-intel-tgl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[    4.408459] sof-audio-pci-intel-tgl 0000:00:1f.3: enabling device (0000 -> 0002)
[    4.408612] sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
[    4.408649] sof-audio-pci-intel-tgl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    4.415337] sof-audio-pci-intel-tgl 0000:00:1f.3: use msi interrupt mode
[    4.438516] sof-audio-pci-intel-tgl 0000:00:1f.3: hda codecs found, mask 5
[    4.438522] sof-audio-pci-intel-tgl 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
[    4.438526] sof-audio-pci-intel-tgl 0000:00:1f.3: DMICs detected in NHLT tables: 2
[    4.438565] sof-audio-pci-intel-tgl 0000:00:1f.3: Direct firmware load for intel/sof/sof-rpl.ri failed with error -2
[    4.438568] sof-audio-pci-intel-tgl 0000:00:1f.3: error: sof firmware file is missing, you might need to
[    4.438569] sof-audio-pci-intel-tgl 0000:00:1f.3:        download it from https://github.com/thesofproject/sof-bin/
[    4.438570] sof-audio-pci-intel-tgl 0000:00:1f.3: error: failed to load DSP firmware -2
[    4.438904] sof-audio-pci-intel-tgl 0000:00:1f.3: error: sof_probe_work failed err: -2

However even after installing sof-bin from the AUR and rebooting i get the same error message from dmesg

Offline

#3 2024-01-17 08:03:39

jonno2002
Member
Registered: 2016-11-21
Posts: 868

Re: [SOLVED] Unable to get audio working on a new arch Install

i believe this is what that error is referring to: https://archlinux.org/packages/extra/x86_64/sof-bin/
you need to install both those packages.

that aur package has nothing to do with audio but it is the exact same name...

Offline

Board footer

Powered by FluxBB