You are not logged in.
This is a new arch installation on a ASUS laptop. After installing KDE I found out that it cannot produce any sounds. The Audio volume bottom shows that there's no output or input devices found.
The /etc/asound.conf file isn't exists and I can't figure out how to write it after reading https://wiki.archlinux.org/index.php/Ad … chitecture
Here is some information that might be helpful:
$ uname -a
Linux DESKTOP-867C 5.8.5-arch1-1 #1 SMP PREEMPT Thu, 27 Aug 2020 18:53:02 +0000 x86_64 GNU/Linux
$ speaker-test -c 2
speaker-test 1.2.3
Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
ALSA lib pcm_dmix.c:1090:(snd_pcm_dmix_open) unable to open slave
Playback open error: -2,No such file or directory
$ cat /proc/asound/cards
0 [NVidia ]: HDA-Intel - HDA NVidia
HDA NVidia at 0xa4080000 irq 17
$ 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
$ pulseaudio
E: [pulseaudio] pid.c: Daemon already running.
E: [pulseaudio] main.c: pa_pid_file_create() failed.Last edited by Sffred (2020-08-31 06:13:01)
Offline
There's only a hdmi card detected which is unlikely to be what you want, post
dmesg | grep -E 'snd|sof'in [ code ] [ /code ] tags without spaces (... and edit your first post to wrap the command outputs that way as well)
Online
$ dmesg | grep -E 'snd|sof'
[ 1.025080] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[ 1.025085] software IO TLB: mapped [mem 0x711a6000-0x751a6000] (64MB)
[ 3.018214] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
[ 3.018218] snd_hda_intel 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[ 3.018290] snd_hda_intel 0000:01:00.1: enabling device (0000 -> 0002)
[ 3.018432] snd_hda_intel 0000:01:00.1: Disabling MSI
[ 3.018437] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
[ 3.254777] snd_soc_skl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
[ 3.254780] snd_soc_skl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[ 3.405922] sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
[ 3.405927] sof-audio-pci 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[ 3.406118] sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040380
[ 3.406223] sof-audio-pci 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[ 3.412876] sof-audio-pci 0000:00:1f.3: use msi interrupt mode
[ 3.486533] sof-audio-pci 0000:00:1f.3: hda codecs found, mask 5
[ 3.486535] sof-audio-pci 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
[ 3.486539] sof-audio-pci 0000:00:1f.3: DMICs detected in NHLT tables: 4
[ 3.486646] sof-audio-pci 0000:00:1f.3: Direct firmware load for intel/sof/sof-cfl.ri failed with error -2
[ 3.486648] sof-audio-pci 0000:00:1f.3: error: request firmware intel/sof/sof-cfl.ri failed err: -2
[ 3.486649] sof-audio-pci 0000:00:1f.3: error: failed to load DSP firmware -2
[ 3.486990] sof-audio-pci 0000:00:1f.3: error: sof_probe_work failed err: -2Offline
Try installing the sof-firmware and alsa-ucm-conf packages
Online
After installing these two packages, KDE thinks there's audio now, but I still couldn't hear anything, no matter using the headphone or speaker.
Offline
Another information,
$ systemctl status alsa-state
* alsa-state.service - Manage Sound Card State (restore and store)
Loaded: loaded (/usr/lib/systemd/system/alsa-state.service; static)
Active: inactive (dead)
Condition: start condition failed at Mon 2020-08-31 11:41:31 CST; 9s ago
`- ConditionPathExists=/etc/alsa/state-daemon.conf was not metLast edited by Sffred (2020-08-31 03:42:51)
Offline
Oh, now that this problem has been solved. I pressed F6 in alsamixer and found out that there're still some channels being muted.
Offline