You are not logged in.
The audio on my arch installation broke in a recent update. I cannot hear any audio from the internal speakers of the laptop
and also from the audio jack if I connect headphones to it. It was working perfectly fine a day ago.
It's also not an hardware issue as the speakers work on Windows when dualbooting and the audio works with any bluetooth device on Linux.
EDIT: Maybe unrelated, but the laptop's microphone is working as well as i can see it on OBS and on bluetooth speaker.
I don't know which component exactly broke the audio (either if it was a kernel or a package).
I am using pipewire
$ pacman -Q | grep pipewire
kpipewire 5.27.10-1
libpipewire 1:1.0.1-1
pipewire 1:1.0.1-1
pipewire-audio 1:1.0.1-1
pipewire-jack 1:1.0.1-1
pipewire-pulse 1:1.0.1-1
pipewire-v4l2 1:1.0.1-1
qemu-audio-pipewire 8.2.0-3
and tried to downgrade the pipewire, pipewire-pulse wireplumber to an older version (the one before 1.0) and I still cannot get any audio from the speakers
I tried to switch from kernel (6.7) to kernel-lts (6.6) and it still did not work
I really don't know how to fix this issue . I tried to search into the forums but i could not find anyone similar with my issue. I will try to attach as many logs as possible that I saw were relevant when searching on other topics with audio-related issues.
$ /etc/modprobe.d % cat *
blacklist pcspkr
alias char-major-108 ppp_generic
$ cat /etc/default/grub | grep GRUB_CMDLINE_LINUX
GRUB_CMDLINE_LINUX_DEFAULT="resume=UUID=xxxxx loglevel=3 nvidia-drm.modeset=1"
GRUB_CMDLINE_LINUX=""
$ inxi -A
Audio:
Device-1: Intel Cannon Lake PCH cAVS driver: snd_hda_intel
Device-2: NVIDIA GP107GL High Definition Audio driver: snd_hda_intel
API: ALSA v: k6.7.0-arch3-1 status: kernel-api
Server-1: PipeWire v: 1.0.1 status: active
$ uname -a
Linux bitmac 6.7.0-arch3-1 #1 SMP PREEMPT_DYNAMIC Sat, 13 Jan 2024 14:37:14 +0000 x86_64 GNU/Linux
$ sudo lspci -kv | grep Audio
00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10) (prog-if 80)
Subsystem: Lenovo Cannon Lake PCH cAVS
Flags: bus master, fast devsel, latency 64, IRQ 166
Memory at 404a108000 (64-bit, non-prefetchable) [size=16K]
Memory at 404a000000 (64-bit, non-prefetchable) [size=1M]
Capabilities: [50] Power Management version 3
Capabilities: [80] Vendor Specific Information: Len=14 <?>
Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel, snd_soc_skl, snd_sof_pci_intel_cnl
01:00.1 Audio device: NVIDIA Corporation GP107GL High Definition Audio Controller (rev a1)
Flags: bus master, fast devsel, latency 0, IRQ 17
Memory at c5000000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [60] Power Management version 3
Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [78] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
$ aplay -lL
null
Discard all samples (playback) or generate zero samples (capture)
lavrate
Rate Converter Plugin Using Libav/FFmpeg Library
samplerate
Rate Converter Plugin Using Samplerate Library
speexrate
Rate Converter Plugin Using Speex Resampler
jack
JACK Audio Connection Kit
oss
Open Sound System
pipewire
PipeWire Sound Server
pulse
PulseAudio Sound Server
speex
Plugin using Speex DSP (resample, agc, denoise, echo, dereverb)
upmix
Plugin for channel upmix (4,6,8)
vdownmix
Plugin for channel downmix (stereo) with a simple spacialization
default:CARD=PCH
HDA Intel PCH, ALC285 Analog
Default Audio Device
sysdefault:CARD=PCH
HDA Intel PCH, ALC285 Analog
Default Audio Device
front:CARD=PCH,DEV=0
HDA Intel PCH, ALC285 Analog
Front output / input
surround21:CARD=PCH,DEV=0
HDA Intel PCH, ALC285 Analog
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
HDA Intel PCH, ALC285 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
HDA Intel PCH, ALC285 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
HDA Intel PCH, ALC285 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
HDA Intel PCH, ALC285 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
HDA Intel PCH, ALC285 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=PCH,DEV=0
HDA Intel PCH, HDMI 0
HDMI Audio Output
hdmi:CARD=PCH,DEV=1
HDA Intel PCH, HDMI 1
HDMI Audio Output
hdmi:CARD=PCH,DEV=2
HDA Intel PCH, HDMI 2
HDMI Audio Output
usbstream:CARD=PCH
HDA Intel PCH
USB Stream Output
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
usbstream:CARD=NVidia
HDA NVidia
USB Stream Output
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC285 Analog [ALC285 Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0
$ sudo lshw -C multimedia
*-multimedia
description: Audio device
product: GP107GL High Definition Audio Controller
vendor: NVIDIA Corporation
physical id: 0.1
bus info: pci@0000:01:00.1
logical name: card1
logical name: /dev/snd/controlC1
logical name: /dev/snd/hwC1D0
logical name: /dev/snd/pcmC1D3p
logical name: /dev/snd/pcmC1D7p
logical name: /dev/snd/pcmC1D8p
logical name: /dev/snd/pcmC1D9p
version: a1
width: 32 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: driver=snd_hda_intel latency=0
resources: irq:17 memory:c5000000-c5003fff
*-usb:0
description: Video
product: Integrated Camera
vendor: Chicony Electronics Co.,Ltd.
physical id: 8
bus info: usb@1:8
version: 4.25
serial: 0001
capabilities: usb-2.01
configuration: driver=uvcvideo maxpower=500mA speed=480Mbit/s
*-multimedia
description: Audio device
product: Cannon Lake PCH cAVS
vendor: Intel Corporation
physical id: 1f.3
bus info: pci@0000:00:1f.3
logical name: card0
logical name: /dev/snd/controlC0
logical name: /dev/snd/hwC0D0
logical name: /dev/snd/hwC0D2
logical name: /dev/snd/pcmC0D0c
logical name: /dev/snd/pcmC0D0p
logical name: /dev/snd/pcmC0D3p
logical name: /dev/snd/pcmC0D7p
logical name: /dev/snd/pcmC0D8p
version: 10
width: 64 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list
configuration: driver=snd_hda_intel latency=64
resources: iomemory:400-3ff iomemory:400-3ff irq:166 memory:404a108000-404a10bfff memory:404a000000-404a0fffff
$ wpctl status | more
Audio
├─ Devices:
│ 43. GP107GL High Definition Audio Controller [alsa]
│ 44. Built-in Audio [alsa]
│
├─ Sinks:
│ * 49. Built-in Audio Analog Stereo [vol: 1.00]
│
├─ Sink endpoints:
│
├─ Sources:
│ * 50. Built-in Audio Analog Stereo [vol: 1.00]
│
├─ Source endpoints:
│
└─ Streams:
Settings
└─ Default Configured Node Names:
0. Audio/Sink alsa_output.pci-0000_00_1f.3.pro-output-8
$ pactl list cards
Card #43
Name: alsa_card.pci-0000_01_00.1
Driver: alsa
Owner Module: n/a
Properties:
api.acp.auto-port = "false"
api.acp.auto-profile = "false"
api.alsa.card = "1"
api.alsa.card.longname = "HDA NVidia at 0xc5000000 irq 17"
api.alsa.card.name = "HDA NVidia"
api.alsa.path = "hw:1"
api.alsa.use-acp = "true"
api.dbus.ReserveDevice1 = "Audio1"
device.api = "alsa"
device.bus = "pci"
device.bus_path = "pci-0000:01:00.1"
device.description = "GP107GL High Definition Audio Controller"
device.enum.api = "udev"
device.icon_name = "audio-card-analog-pci"
device.name = "alsa_card.pci-0000_01_00.1"
device.nick = "HDA NVidia"
device.plugged.usec = "5475281"
device.product.id = "0x0fb9"
device.product.name = "GP107GL High Definition Audio Controller"
device.subsystem = "sound"
sysfs.path = "/devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1"
device.vendor.id = "0x10de"
device.vendor.name = "NVIDIA Corporation"
media.class = "Audio/Device"
factory.id = "14"
client.id = "33"
object.id = "43"
object.serial = "43"
object.path = "alsa:pcm:1"
alsa.card = "1"
alsa.card_name = "HDA NVidia"
alsa.long_card_name = "HDA NVidia at 0xc5000000 irq 17"
alsa.driver_name = "snd_hda_intel"
device.string = "1"
Profiles:
off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
output:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority: 5900, available: no)
output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (sinks: 1, sources: 0, priority: 5700, available: no)
output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (sinks: 1, sources: 0, priority: 5700, available: no)
output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (sinks: 1, sources: 0, priority: 5700, available: no)
output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (sinks: 1, sources: 0, priority: 800, available: no)
output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (sinks: 1, sources: 0, priority: 800, available: no)
output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 600, available: no)
output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 600, available: no)
output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (sinks: 1, sources: 0, priority: 600, available: no)
output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (sinks: 1, sources: 0, priority: 600, available: no)
output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (sinks: 1, sources: 0, priority: 600, available: no)
output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (sinks: 1, sources: 0, priority: 600, available: no)
pro-audio: Pro Audio (sinks: 4, sources: 0, priority: 1, available: yes)
Active Profile: off
Ports:
hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, latency offset: 0 usec, availability group: Legacy 1, not available)
Properties:
port.type = "hdmi"
port.availability-group = "Legacy 1"
device.icon_name = "video-display"
card.profile.port = "0"
Part of profile(s): output:hdmi-stereo, output:hdmi-surround, output:hdmi-surround71
hdmi-output-1: HDMI / DisplayPort 2 (type: HDMI, priority: 5800, latency offset: 0 usec, availability group: Legacy 2, not available)
Properties:
port.type = "hdmi"
port.availability-group = "Legacy 2"
device.icon_name = "video-display"
card.profile.port = "1"
Part of profile(s): output:hdmi-stereo-extra1, output:hdmi-surround-extra1, output:hdmi-surround71-extra1
hdmi-output-2: HDMI / DisplayPort 3 (type: HDMI, priority: 5700, latency offset: 0 usec, availability group: Legacy 3, not available)
Properties:
port.type = "hdmi"
port.availability-group = "Legacy 3"
device.icon_name = "video-display"
card.profile.port = "2"
Part of profile(s): output:hdmi-stereo-extra2, output:hdmi-surround-extra2, output:hdmi-surround71-extra2
hdmi-output-3: HDMI / DisplayPort 4 (type: HDMI, priority: 5600, latency offset: 0 usec, availability group: Legacy 4, not available)
Properties:
port.type = "hdmi"
port.availability-group = "Legacy 4"
device.icon_name = "video-display"
card.profile.port = "3"
Part of profile(s): output:hdmi-stereo-extra3, output:hdmi-surround-extra3, output:hdmi-surround71-extra3
Card #44
Name: alsa_card.pci-0000_00_1f.3
Driver: alsa
Owner Module: n/a
Properties:
api.acp.auto-port = "false"
api.acp.auto-profile = "false"
api.alsa.card = "0"
api.alsa.card.longname = "HDA Intel PCH at 0x404a108000 irq 166"
api.alsa.card.name = "HDA Intel PCH"
api.alsa.path = "hw:0"
api.alsa.use-acp = "true"
api.dbus.ReserveDevice1 = "Audio0"
device.api = "alsa"
device.bus = "pci"
device.bus_path = "pci-0000:00:1f.3"
device.description = "Built-in Audio"
device.enum.api = "udev"
device.form_factor = "internal"
device.icon_name = "audio-card-analog-pci"
device.name = "alsa_card.pci-0000_00_1f.3"
device.nick = "HDA Intel PCH"
device.plugged.usec = "6322136"
device.product.id = "0xa348"
device.product.name = "Cannon Lake PCH cAVS"
device.subsystem = "sound"
sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
device.vendor.id = "0x8086"
device.vendor.name = "Intel Corporation"
media.class = "Audio/Device"
factory.id = "14"
client.id = "33"
object.id = "44"
object.serial = "44"
object.path = "alsa:pcm:0"
alsa.card = "0"
alsa.card_name = "HDA Intel PCH"
alsa.long_card_name = "HDA Intel PCH at 0x404a108000 irq 166"
alsa.driver_name = "snd_hda_intel"
device.string = "0"
Profiles:
off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (sinks: 1, sources: 1, priority: 6565, available: yes)
output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority: 6500, available: yes)
output:hdmi-stereo+input:analog-stereo: Digital Stereo (HDMI) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5965, available: no)
output:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority: 5900, available: no)
output:hdmi-stereo-extra1+input:analog-stereo: Digital Stereo (HDMI 2) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5765, available: no)
output:hdmi-stereo-extra2+input:analog-stereo: Digital Stereo (HDMI 3) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5765, available: no)
output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (sinks: 1, sources: 0, priority: 5700, available: no)
output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (sinks: 1, sources: 0, priority: 5700, available: no)
output:hdmi-surround+input:analog-stereo: Digital Surround 5.1 (HDMI) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 865, available: no)
output:hdmi-surround71+input:analog-stereo: Digital Surround 7.1 (HDMI) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 865, available: no)
output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (sinks: 1, sources: 0, priority: 800, available: no)
output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (sinks: 1, sources: 0, priority: 800, available: no)
output:hdmi-surround-extra1+input:analog-stereo: Digital Surround 5.1 (HDMI 2) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: no)
output:hdmi-surround71-extra1+input:analog-stereo: Digital Surround 7.1 (HDMI 2) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: no)
output:hdmi-surround-extra2+input:analog-stereo: Digital Surround 5.1 (HDMI 3) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: no)
output:hdmi-surround71-extra2+input:analog-stereo: Digital Surround 7.1 (HDMI 3) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: no)
output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 600, available: no)
output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 600, available: no)
output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (sinks: 1, sources: 0, priority: 600, available: no)
output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (sinks: 1, sources: 0, priority: 600, available: no)
input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority: 65, available: yes)
pro-audio: Pro Audio (sinks: 4, sources: 1, priority: 1, available: yes)
Active Profile: output:analog-stereo+input:analog-stereo
Ports:
analog-input-internal-mic: Internal Microphone (type: Mic, priority: 8900, latency offset: 0 usec, availability group: Legacy 1, availability unknown)
Properties:
port.type = "mic"
port.availability-group = "Legacy 1"
device.icon_name = "audio-input-microphone"
card.profile.port = "0"
Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:hdmi-stereo+input:analog-stereo, output:hdmi-surround+input:analog-stereo, output:hdmi-surround71+input:analog-stereo, output:hdmi-stereo-extra1+input:analog-stereo, output:hdmi-surround-extra1+input:analog-stereo, output:hdmi-surround71-extra1+input:analog-stereo, output:hdmi-stereo-extra2+input:analog-stereo, output:hdmi-surround-extra2+input:analog-stereo, output:hdmi-surround71-extra2+input:analog-stereo
analog-input-mic: Microphone (type: Mic, priority: 8700, latency offset: 0 usec, availability group: Legacy 2, not available)
Properties:
port.type = "mic"
port.availability-group = "Legacy 2"
device.icon_name = "audio-input-microphone"
card.profile.port = "1"
Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:hdmi-stereo+input:analog-stereo, output:hdmi-surround+input:analog-stereo, output:hdmi-surround71+input:analog-stereo, output:hdmi-stereo-extra1+input:analog-stereo, output:hdmi-surround-extra1+input:analog-stereo, output:hdmi-surround71-extra1+input:analog-stereo, output:hdmi-stereo-extra2+input:analog-stereo, output:hdmi-surround-extra2+input:analog-stereo, output:hdmi-surround71-extra2+input:analog-stereo
analog-output-speaker: Speakers (type: Speaker, priority: 10000, latency offset: 0 usec, availability group: Legacy 3, availability unknown)
Properties:
port.type = "speaker"
port.availability-group = "Legacy 3"
device.icon_name = "audio-speakers"
card.profile.port = "2"
Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo
analog-output-headphones: Headphones (type: Headphones, priority: 9900, latency offset: 0 usec, availability group: Legacy 4, not available)
Properties:
port.type = "headphones"
port.availability-group = "Legacy 4"
device.icon_name = "audio-headphones"
card.profile.port = "3"
Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo
hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, latency offset: 0 usec, availability group: Legacy 5, not available)
Properties:
port.type = "hdmi"
port.availability-group = "Legacy 5"
device.icon_name = "video-display"
card.profile.port = "4"
Part of profile(s): output:hdmi-stereo, output:hdmi-stereo+input:analog-stereo, output:hdmi-surround, output:hdmi-surround+input:analog-stereo, output:hdmi-surround71, output:hdmi-surround71+input:analog-stereo
hdmi-output-1: HDMI / DisplayPort 2 (type: HDMI, priority: 5800, latency offset: 0 usec, availability group: Legacy 6, not available)
Properties:
port.type = "hdmi"
port.availability-group = "Legacy 6"
device.icon_name = "video-display"
card.profile.port = "5"
Part of profile(s): output:hdmi-stereo-extra1, output:hdmi-stereo-extra1+input:analog-stereo, output:hdmi-surround-extra1, output:hdmi-surround-extra1+input:analog-stereo, output:hdmi-surround71-extra1, output:hdmi-surround71-extra1+input:analog-stereo
hdmi-output-2: HDMI / DisplayPort 3 (type: HDMI, priority: 5700, latency offset: 0 usec, availability group: Legacy 7, not available)
Properties:
port.type = "hdmi"
port.availability-group = "Legacy 7"
device.icon_name = "video-display"
card.profile.port = "6"
Part of profile(s): output:hdmi-stereo-extra2, output:hdmi-stereo-extra2+input:analog-stereo, output:hdmi-surround-extra2, output:hdmi-surround-extra2+input:analog-stereo, output:hdmi-surround71-extra2, output:hdmi-surround71-extra2+input:analog-stereo
$ pactl list sinks
Sink #49
State: IDLE
Name: alsa_output.pci-0000_00_1f.3.analog-stereo
Description: Built-in Audio Analog Stereo
Driver: PipeWire
Sample Specification: s32le 2ch 48000Hz
Channel Map: front-left,front-right
Owner Module: 4294967295
Mute: no
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
Monitor Source: alsa_output.pci-0000_00_1f.3.analog-stereo.monitor
Latency: 0 usec, configured 0 usec
Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY
Properties:
alsa.card = "0"
alsa.card_name = "HDA Intel PCH"
alsa.class = "generic"
alsa.device = "0"
alsa.driver_name = "snd_hda_intel"
alsa.id = "ALC285 Analog"
alsa.long_card_name = "HDA Intel PCH at 0x404a108000 irq 166"
alsa.name = "ALC285 Analog"
alsa.resolution_bits = "16"
alsa.subclass = "generic-mix"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
api.alsa.card.longname = "HDA Intel PCH at 0x404a108000 irq 166"
api.alsa.card.name = "HDA Intel PCH"
api.alsa.path = "front:0"
api.alsa.pcm.card = "0"
api.alsa.pcm.stream = "playback"
audio.channels = "2"
audio.position = "FL,FR"
card.profile.device = "6"
device.api = "alsa"
device.class = "sound"
device.id = "44"
device.profile.description = "Analog Stereo"
device.profile.name = "analog-stereo"
device.routes = "2"
factory.name = "api.alsa.pcm.sink"
media.class = "Audio/Sink"
device.description = "Built-in Audio"
node.name = "alsa_output.pci-0000_00_1f.3.analog-stereo"
node.nick = "ALC285 Analog"
node.pause-on-idle = "false"
object.path = "alsa:pcm:0:front:0:playback"
priority.driver = "1009"
priority.session = "1009"
session.suspend-timeout-seconds = "0"
factory.id = "18"
clock.quantum-limit = "8192"
client.id = "33"
node.driver = "true"
factory.mode = "merge"
audio.adapt.follower = ""
library.name = "audioconvert/libspa-audioconvert"
object.id = "49"
object.serial = "49"
node.max-latency = "16384/48000"
api.alsa.period-size = "1024"
api.alsa.period-num = "32"
api.alsa.headroom = "0"
api.acp.auto-port = "false"
api.acp.auto-profile = "false"
api.alsa.card = "0"
api.alsa.use-acp = "true"
api.dbus.ReserveDevice1 = "Audio0"
device.bus = "pci"
device.bus_path = "pci-0000:00:1f.3"
device.enum.api = "udev"
device.form_factor = "internal"
device.icon_name = "audio-card-analog-pci"
device.name = "alsa_card.pci-0000_00_1f.3"
device.nick = "HDA Intel PCH"
device.plugged.usec = "6322136"
device.product.id = "0xa348"
device.product.name = "Cannon Lake PCH cAVS"
device.subsystem = "sound"
sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
device.vendor.id = "0x8086"
device.vendor.name = "Intel Corporation"
device.string = "0"
Ports:
analog-output-speaker: Speakers (type: Speaker, priority: 10000, availability group: Legacy 3, availability unknown)
analog-output-headphones: Headphones (type: Headphones, priority: 9900, availability group: Legacy 4, not available)
Active Port: analog-output-speaker
Formats:
pcm
$ systemctl --user status pipewire-pulse pipewire wireplumber
● pipewire-pulse.service - PipeWire PulseAudio
Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.service; disabled; preset: enabled)
Active: active (running) since Sat 2024-01-20 11:42:42 CET; 47min ago
TriggeredBy: ● pipewire-pulse.socket
Main PID: 1654 (pipewire-pulse)
Tasks: 3 (limit: 18394)
Memory: 12.3M (peak: 21.3M)
CPU: 10.919s
CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire-pulse.service
└─1654 /usr/bin/pipewire-pulse
jan 20 11:42:42 bitmac systemd[985]: Started PipeWire PulseAudio.
● pipewire.service - PipeWire Multimedia Service
Loaded: loaded (/usr/lib/systemd/user/pipewire.service; disabled; preset: enabled)
Active: active (running) since Sat 2024-01-20 11:42:40 CET; 47min ago
TriggeredBy: ● pipewire.socket
Main PID: 1318 (pipewire)
Tasks: 4 (limit: 18394)
Memory: 17.5M (peak: 18.9M)
CPU: 58.365s
CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
└─1318 /usr/bin/pipewire
jan 20 11:42:40 bitmac systemd[985]: Started PipeWire Multimedia Service.
jan 20 11:42:41 bitmac pipewire[1318]: [0:00:25.615920515] [1318] ERROR IPAModule ipa_module.cpp:172 Symbol ipaModuleInfo not found
jan 20 11:42:41 bitmac pipewire[1318]: [0:00:25.615950364] [1318] ERROR IPAModule ipa_module.cpp:292 v4l2-compat.so: IPA module has no valid info
jan 20 11:42:41 bitmac pipewire[1318]: [0:00:25.616017839] [1318] INFO Camera camera_manager.cpp:284 libcamera v0.1.0
● wireplumber.service - Multimedia Service Session Manager
Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; preset: enabled)
Active: active (running) since Sat 2024-01-20 11:42:40 CET; 47min ago
Main PID: 1319 (wireplumber)
Tasks: 7 (limit: 18394)
Memory: 51.4M (peak: 54.7M)
CPU: 392ms
CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/wireplumber.service
└─1319 /usr/bin/wireplumber
jan 20 11:42:40 bitmac systemd[985]: Started Multimedia Service Session Manager.
jan 20 11:42:40 bitmac wireplumber[1319]: [0:00:24.949791357] [1319] ERROR IPAModule ipa_module.cpp:172 Symbol ipaModuleInfo not found
jan 20 11:42:40 bitmac wireplumber[1319]: [0:00:24.949809589] [1319] ERROR IPAModule ipa_module.cpp:292 v4l2-compat.so: IPA module has no valid info
jan 20 11:42:40 bitmac wireplumber[1319]: [0:00:24.949847885] [1319] INFO Camera camera_manager.cpp:284 libcamera v0.1.0
jan 20 11:42:41 bitmac wireplumber[1319]: <WpPortalPermissionStorePlugin:0x5afa46efefb0> Failed to call Lookup: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for camera
jan 20 11:42:41 bitmac wireplumber[1319]: <WpPortalPermissionStorePlugin:0x5afa46efefb0> Failed to call Lookup: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for camera
Last edited by totoshija (2024-01-20 23:07:21)
Offline
Does (without anything else running)
speaker-test -Dhw:0 -c2
work? Sometimes wireplumber state has a hickup, if that did work try removing ~/.local/state/wireplumber
Offline
Does (without anything else running)
speaker-test -Dhw:0 -c2
work? Sometimes wireplumber state has a hickup, if that did work try removing ~/.local/state/wireplumber
Thank you for your response. I do actually get an error from it
speaker-test -Dhw:0 -c2
speaker-test 1.2.10
Playback device is hw:0
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Playback open error: -16,Device or resource busy
I saw that there could be problems with dual booting windows. I have always had disabled fast startup so that it does not interfere with Linux. Also i went further and got the latest manjaro release (i know it's not the same as arch) run it off as a live usb on my laptop and the audio was working. I also noted down the packages for pipewire and wireplumber and the kernel (6.6.5 built on 5th Jan), and replicated the setup on my arch setup (but only with kernel 6.6.12 built on 15th Jan) and yet i did not have any audio on my system. I also tested a versioned kernel from AUR (6.1) and no audio there too. . At this point I think it might not be anymore a kernel regression
Offline
The only programs that I can see that are keeping the soundcard busy are wireplumber and pipewire
$ sudo fuser -fv /dev/snd/*
USER PID ACCESS COMMAND
/dev/snd/controlC0: toto 1397 F.... pipewire
toto 1399 F.... wireplumber
/dev/snd/controlC1: toto 1399 F.... wireplumber
/dev/snd/pcmC0D0c: toto 1397 F...m pipewire
/dev/snd/pcmC0D0p: toto 1397 F...m pipewire
/dev/snd/seq: toto 1397 F.... pipewire
$ sudo lsof -n /dev/snd/*
lsof: WARNING: can't stat() fuse.portal file system /run/user/1000/doc
Output information may be incomplete.
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
Output information may be incomplete.
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
pipewire 1397 toto mem CHR 116,9 931 /dev/snd/pcmC0D0c
pipewire 1397 toto mem CHR 116,8 930 /dev/snd/pcmC0D0p
pipewire 1397 toto 51u CHR 116,1 0t0 508 /dev/snd/seq
pipewire 1397 toto 52u CHR 116,1 0t0 508 /dev/snd/seq
pipewire 1397 toto 68u CHR 116,15 0t0 942 /dev/snd/controlC0
pipewire 1397 toto 70u CHR 116,8 0t0 930 /dev/snd/pcmC0D0p
pipewire 1397 toto 83u CHR 116,9 0t0 931 /dev/snd/pcmC0D0c
wireplumb 1399 toto 43u CHR 116,15 0t0 942 /dev/snd/controlC0
wireplumb 1399 toto 45u CHR 116,7 0t0 813 /dev/snd/controlC1
Offline
OMG! After so many hours I think I found the fix.
A year ago I had this problem with Pipewire where the audio would crackle or it would seem disorted.
So i followed the Troubleshooting section of PipeWire in ArchWiki: Noticeable audio delay or audible pop/crack when starting playback
Through this guide I had created this file
$ cat ~/.config/wireplumber/main.lua.d/51-disable-suspension.lua
table.insert (alsa_monitor.rules, {
matches = {
{
-- Matches all sources.
{ "node.name", "matches", "alsa_input.*" },
},
{
-- Matches all sinks.
{ "node.name", "matches", "alsa_output.*" },
},
},
apply_properties = {
["session.suspend-timeout-seconds"] = 0, -- 0 disables suspend
},
})
I removed this config and restarted the pipewire.service, wireplumber.service as the wiki instructs. I did not see any change at first. I then run alsactl init and BAM i could hear sounds again!!!!. I also restarted my laptop just to make sure it was not a fluke and indeed the audio was working. My laptop is not anymore a mute xD
Although I don't know now what to do if the audio crackling starts to reappear again
Last edited by totoshija (2024-01-20 21:33:43)
Offline
I doubt this is relevant. You can likely add this file and it will start working again anyway. The change likely lead to wireplumber invalidating it's buggy state in ~/.local/state/wireplumber (you didn't mention you did anything with that)
FWIW the "device resource busy" error is indeed normal when having things actively occupied by something (though with that config the device expectedly does not get released, but yeah you might not really need that in the first place)
In any case, please mark as [SOLVED] by editing the title in your first post.
Offline
I doubt this is relevant. You can likely add this file and it will start working again anyway. The change likely lead to wireplumber invalidating it's buggy state in ~/.local/state/wireplumber (you didn't mention you did anything with that)
FWIW the "device resource busy" error is indeed normal when having things actively occupied by something (though with that config the device expectedly does not get released, but yeah you might not really need that in the first place)
In any case, please mark as [SOLVED] by editing the title in your first post.
Ah sorry I forgot to mention. I did delete the file but it made no change and that was before I found the configuration file. I also had deleted the pipewire state as well but similar results.
Offline
I've the same strange issue with non working speakers / audio jack. The microphone is working too. The speakers are working when I boot a live system, so it's no hardware failure.
Removing ~/.local/state/wireplumber does not resolve the issue. I tried with the current regular kernel and the LTS. The problem occured initially when I was using pulseaudio. Migrating to pipewire did not help.
My current workaround is to use an USB to audio jack adapter.
Offline
Please open a new thread for your issue instead of hijacking a solved one. Sound problems are almost always on a case by case basis, be it misconfiguration or lacking driver support. Do all of the diagnostics and post all of the outputs that have been presented here, in code tags
Offline