You are not logged in.
Hi, I'm on arch linux, using pipewire and my device's audio (speakers and wired earphones) doesn't work.
My bluetooth earphones do work though.
It showed this when i was logging in:
snd_hda_intel 0000:03:00.6: azx_get_response timeout, switching to single_cmd mode: last cmd=0x800f0005
hdaudio hdaudioC1D0: no AFG or MFG node found
snd_hda_intel 0000:03:00.6: no codecs initialized
Here's the output of a few commands I ran without my bluetooth earphones connected, which I think may help
❯ lspci -nnk | grep -A2 Audio
03:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Renoir Radeon High Definition Audio Controller [1002:1637]
Subsystem: Hewlett-Packard Company Device [103c:887a]
Kernel driver in use: snd_hda_intel
--
03:00.5 Multimedia controller [0480]: Advanced Micro Devices, Inc. [AMD] ACP/ACP3X/ACP6x Audio Coprocessor [1022:15e2] (rev 01)
Subsystem: Hewlett-Packard Company Device [103c:887a]
Kernel driver in use: snd_rn_pci_acp3x
--
03:00.6 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] Family 17h/19h/1ah HD Audio Controller [1022:15e3]
Subsystem: Hewlett-Packard Company Device [103c:887a]
Kernel driver in use: snd_hda_intel
❯ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: Generic Digital [Generic Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
❯ pactl list short sinks
34 auto_null PipeWire float32le 2ch 48000Hz SUSPENDED
Offline
Have you tried installing pwvucontroll for pipewire or pavucontrol for pulseaudio and selecting your output device via the GUI?
Last edited by pelican1904 (2025-01-08 06:07:21)
Offline
if it can't initialize the codec the HW is dead at the kernel level and pipewire or pavucontrol can't do anything.
Did this happened after a specific point? An update of the kernel or linux-firmware perhaps? Can you fix this by downgrading the kernel to a known working version/testing the LTS kernel or so?
Offline
Did this happened after a specific point? An update of the kernel or linux-firmware perhaps? Can you fix this by downgrading the kernel to a known working version/testing the LTS kernel or so?
Hi, I've tried the zen-kernel, latest kernel and the LTS, it wasn't working in any of them. I don't think it was after a firmware update, but it happened after my laptop went to sleep, and woke up for the first time when it happened and it's been happening ever since
Offline
That could be buggy FW state retained from sleep? What laptop model exactly? They usually have a way to reset firmware/BIOS state by e.g. keeping the power button pressed for a few seconds during power on or so.
Is a parallel Windows install present? Make sure fast boot is disabled there.
Random shot in the dark but does a
sudo alsactl init
help?
Offline
I don't know if it might help to find the root cause but I got a similar issue a few months ago (I didn't investigate much further since then). What's your hardware?
Offline
That could be buggy FW state retained from sleep? What laptop model exactly? They usually have a way to reset firmware/BIOS state by e.g. keeping the power button pressed for a few seconds during power on or so.
sudo alsactl init didn't help
BUT
holding the power button for a few seconds to shut down then pressing it again to boot fixed the issue in that particular boot. Rebooting after that caused the same issue again and I fixed it by the same power button reset technique. So I'm guessing it's related to the bios.
I don't have a windows install present and fast boot is disabled.
Offline
I don't know if it might help to find the root cause but I got a similar issue a few months ago (I didn't investigate much further since then). What's your hardware?
I'm on an HP laptop model 15s-eq2223AU with AMD Ryzen 5 5500U. I'm using rEFInd and not GRUB (i don't think it's causing the issue but still may be relevant)
here's my arch linux entry in
/boot/efi/EFI/refind/refind.conf
menuentry "Arch Linux" {
icon /EFI/refind/icons/os_arch.png
volume "Arch Linux"
loader /boot/vmlinuz-linux
initrd /boot/initramfs-linux.img
options "root=PARTUUID=5028fa50-0079-4c40-b240-abfaf28693ea rw add_efi_memmap"
submenuentry "Boot using fallback initramfs" {
initrd /boot/initramfs-linux-fallback.img
}
submenuentry "Boot to terminal" {
add_options "systemd.unit=multi-user.target"
}
disabled
}
I'll be honest my understanding of kernel parameters or probemasks is between negligible and none but they go under options section and I found that gentoo forum too mentioned in your issue post but it wasn't much help to me because of my lack of understanding of them.
Offline
Try a proper UEFI update if one is available. If you ever had a Windows install and didn't disable fast boot there before wiping it that could still be haunting you, though at least the reset should technically stick.
Offline
do you have sof-firmware installed?
Offline
There's no intel chip, afaik sof-firmware is only adopted on the intel platform, it also wouldn't randomly start to work on a reset if it was reliant on sof-firmware.
Offline
I think I may have found a fix, the issue was being caused by the "extra/android-tools" package or one of it's dependencies. I tried doing some usb debugging recently using the android debugging bridge.
Uninstalling the package fixed the issue on the next boot, rebooted a few times to check and the issue no longer persists.
Reinstalling and rebooting caused the issue again.
I'm not sure how to proceed testing and I can't find any reports of the same with some basic searching.
It could be some specific interaction with my particular setup or something along those lines.
EDIT: no it wasn't that, false alarm (T_T)
Last edited by AgamjotSB (2025-01-09 03:31:21)
Offline
When things are working, what do you get from
aplay -l
sudo dmesg | grep -E 'snd|audio'
Offline
❯ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: Generic Digital [Generic Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic_1 [HD-Audio Generic], device 0: ALC236 Analog [ALC236 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
❯ sudo dmesg | grep -E 'snd|audio'
[ 6.869571] snd_rn_pci_acp3x 0000:03:00.5: enabling device (0000 -> 0002)
[ 7.031902] snd_hda_intel 0000:03:00.1: enabling device (0000 -> 0002)
[ 7.032068] snd_hda_intel 0000:03:00.1: Handle vga_switcheroo audio client
[ 7.032337] snd_hda_intel 0000:03:00.6: enabling device (0000 -> 0002)
[ 7.044751] snd_hda_codec_generic hdaudioC0D0: autoconfig for Generic: line_outs=0 (0x0/0x0/0x0/0x0/0x0) type:line
[ 7.044771] snd_hda_codec_generic hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 7.044776] snd_hda_codec_generic hdaudioC0D0: hp_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 7.044780] snd_hda_codec_generic hdaudioC0D0: mono: mono_out=0x0
[ 7.044783] snd_hda_codec_generic hdaudioC0D0: dig-out=0x3/0x0
[ 7.044785] snd_hda_codec_generic hdaudioC0D0: inputs:
[ 7.058882] snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC236: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[ 7.058903] snd_hda_codec_realtek hdaudioC1D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 7.058907] snd_hda_codec_realtek hdaudioC1D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[ 7.058911] snd_hda_codec_realtek hdaudioC1D0: mono: mono_out=0x0
[ 7.058915] snd_hda_codec_realtek hdaudioC1D0: inputs:
[ 7.058918] snd_hda_codec_realtek hdaudioC1D0: Mic=0x19
Offline