You are not logged in.
Pages: 1
I was running a minimalist install of Arch on my Dell XPS 13 for the past 4 years and audio worked perfectly. I decided to try out the archinstall scripts, as I had to replace my SSD. I've been getting no audio output from the laptop speakers since. I tried both a pipewire and pulseaudio install. PulseAudio used to work on the same kernel version, same hardware, default config.
I tried an external sound card (Sound Blaster X) both with the pipewire and pulseaudio setups and it works, so I'm assuming this is driver related. It can't be hardware related, as it was working fine just 2 days ago on a fully up to date Arch install.
I've attempted a lot of fixes based on previous threads, the Arch wiki and other distro wikis. The modprobe.d files listed below actually fixed errors that came up when trying 'alsactl restore', but with or without the error it does not fix anything. 'alsactl restore' just passes with no errors and there's no audio even after reboot.
I'm using Wayland if it matters. I feel like I'm missing some config or something. I've got all the Intel drivers I need I'm fairly confident.
Any ideas? It seems like there are a lot of threads about this issue but none of them offer any actual resolution.
Some relevant command outputs:
[user@archlinux ~]$ sudo dmesg | grep audio
[ 3.503343] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[ 3.675473] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC3246: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[ 3.675481] snd_hda_codec_realtek hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 3.675484] snd_hda_codec_realtek hdaudioC0D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[ 3.675487] snd_hda_codec_realtek hdaudioC0D0: mono: mono_out=0x0
[ 3.675488] snd_hda_codec_realtek hdaudioC0D0: inputs:
[ 3.675490] snd_hda_codec_realtek hdaudioC0D0: Headset Mic=0x19
[ 3.675492] snd_hda_codec_realtek hdaudioC0D0: Headphone Mic=0x1a
[ 3.675494] snd_hda_codec_realtek hdaudioC0D0: Internal Mic=0x12
[user@archlinux ~]$ sudo alsactl restore --debug
alsactl: init_ucm:48: ucm open '-hw:0': -6
alsactl: set_controls:1499: device='hw:0', doit=0
alsactl: set_controls:1511: card-info-id: 'PCH'
alsactl: set_controls:1546: list count: 20
alsactl: set_controls:1574: maxnumid=20 maxnumid2=20
alsactl: set_controls:1587: result code: 0
alsactl: set_controls:1499: device='hw:0', doit=1
alsactl: set_controls:1511: card-info-id: 'PCH'
alsactl: set_controls:1587: result code: 0
[user@archlinux ~]$ cat /etc/modprobe.d/modprobe.conf
blacklist snd-intel8x0m
[user@archlinux ~]$ cat /etc/modprobe.d/alsa-base.conf
options snd-hda-intel probe_mask=0x101
[user@archlinux ~]$ lsmod | grep snd
snd_soc_skl 217088 0
snd_soc_hdac_hda 28672 1 snd_soc_skl
snd_hda_ext_core 36864 2 snd_soc_hdac_hda,snd_soc_skl
snd_soc_sst_ipc 20480 1 snd_soc_skl
snd_soc_sst_dsp 40960 1 snd_soc_skl
snd_soc_acpi_intel_match 65536 1 snd_soc_skl
snd_soc_acpi 16384 2 snd_soc_acpi_intel_match,snd_soc_skl
snd_ctl_led 24576 0
snd_soc_core 393216 2 snd_soc_hdac_hda,snd_soc_skl
snd_compress 28672 1 snd_soc_core
snd_hda_codec_realtek 172032 1
ac97_bus 16384 1 snd_soc_core
snd_hda_codec_generic 98304 1 snd_hda_codec_realtek
snd_pcm_dmaengine 16384 1 snd_soc_core
snd_hda_intel 61440 3
snd_intel_dspcfg 36864 2 snd_hda_intel,snd_soc_skl
snd_intel_sdw_acpi 20480 1 snd_intel_dspcfg
snd_hda_codec 184320 4 snd_hda_codec_generic,snd_hda_intel,snd_hda_codec_realtek,snd_soc_hdac_hda
snd_hda_core 118784 7 snd_hda_codec_generic,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_soc_hdac_hda,snd_soc_skl
snd_hwdep 16384 1 snd_hda_codec
snd_pcm 172032 7 snd_hda_intel,snd_hda_codec,snd_compress,snd_soc_core,snd_soc_skl,snd_hda_core,snd_pcm_dmaengine
ledtrig_audio 16384 4 snd_ctl_led,snd_hda_codec_generic,dell_wmi,dell_laptop
snd_timer 49152 1 snd_pcm
snd 126976 16 snd_ctl_led,snd_hda_codec_generic,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,snd_soc_core,snd_pcm
soundcore 16384 2 snd_ctl_led,snd
[user@archlinux ~]$ sudo pactl load-module module-device-restore
Connection failure: Connection refused
pa_context_connect() failed: Connection refusedLast edited by xps13_fiend (2022-07-02 08:43:35)
Offline
$ systemctl --user status pulseaudio$ journalctl --user -u pulseaudio$ pulseaudio -k
$ pulseaudio -vOffline
I was running a minimalist install of Arch on my Dell XPS 13 for the past 4 years and audio worked perfectly. I decided to try out the archinstall scripts, as I had to replace my SSD. I've been getting no audio output from the laptop speakers since. I tried both a pipewire and pulseaudio install. PulseAudio used to work on the same kernel version, same hardware, default config.
I tried an external sound card (Sound Blaster X) both with the pipewire and pulseaudio setups and it works, so I'm assuming this is driver related. It can't be hardware related, as it was working fine just 2 days ago on a fully up to date Arch install.
I've attempted a lot of fixes based on previous threads, the Arch wiki and other distro wikis. The modprobe.d files listed below actually fixed errors that came up when trying 'alsactl restore', but with or without the error it does not fix anything. 'alsactl restore' just passes with no errors and there's no audio even after reboot.
I'm using Wayland if it matters. I feel like I'm missing some config or something. I've got all the Intel drivers I need I'm fairly confident.
Any ideas? It seems like there are a lot of threads about this issue but none of them offer any actual resolution.
Some relevant command outputs:
[user@archlinux ~]$ sudo dmesg | grep audio [ 3.503343] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915]) [ 3.675473] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC3246: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker [ 3.675481] snd_hda_codec_realtek hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0) [ 3.675484] snd_hda_codec_realtek hdaudioC0D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0) [ 3.675487] snd_hda_codec_realtek hdaudioC0D0: mono: mono_out=0x0 [ 3.675488] snd_hda_codec_realtek hdaudioC0D0: inputs: [ 3.675490] snd_hda_codec_realtek hdaudioC0D0: Headset Mic=0x19 [ 3.675492] snd_hda_codec_realtek hdaudioC0D0: Headphone Mic=0x1a [ 3.675494] snd_hda_codec_realtek hdaudioC0D0: Internal Mic=0x12 [user@archlinux ~]$ sudo alsactl restore --debug alsactl: init_ucm:48: ucm open '-hw:0': -6 alsactl: set_controls:1499: device='hw:0', doit=0 alsactl: set_controls:1511: card-info-id: 'PCH' alsactl: set_controls:1546: list count: 20 alsactl: set_controls:1574: maxnumid=20 maxnumid2=20 alsactl: set_controls:1587: result code: 0 alsactl: set_controls:1499: device='hw:0', doit=1 alsactl: set_controls:1511: card-info-id: 'PCH' alsactl: set_controls:1587: result code: 0 [user@archlinux ~]$ cat /etc/modprobe.d/modprobe.conf blacklist snd-intel8x0m [user@archlinux ~]$ cat /etc/modprobe.d/alsa-base.conf options snd-hda-intel probe_mask=0x101 [user@archlinux ~]$ lsmod | grep snd snd_soc_skl 217088 0 snd_soc_hdac_hda 28672 1 snd_soc_skl snd_hda_ext_core 36864 2 snd_soc_hdac_hda,snd_soc_skl snd_soc_sst_ipc 20480 1 snd_soc_skl snd_soc_sst_dsp 40960 1 snd_soc_skl snd_soc_acpi_intel_match 65536 1 snd_soc_skl snd_soc_acpi 16384 2 snd_soc_acpi_intel_match,snd_soc_skl snd_ctl_led 24576 0 snd_soc_core 393216 2 snd_soc_hdac_hda,snd_soc_skl snd_compress 28672 1 snd_soc_core snd_hda_codec_realtek 172032 1 ac97_bus 16384 1 snd_soc_core snd_hda_codec_generic 98304 1 snd_hda_codec_realtek snd_pcm_dmaengine 16384 1 snd_soc_core snd_hda_intel 61440 3 snd_intel_dspcfg 36864 2 snd_hda_intel,snd_soc_skl snd_intel_sdw_acpi 20480 1 snd_intel_dspcfg snd_hda_codec 184320 4 snd_hda_codec_generic,snd_hda_intel,snd_hda_codec_realtek,snd_soc_hdac_hda snd_hda_core 118784 7 snd_hda_codec_generic,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_soc_hdac_hda,snd_soc_skl snd_hwdep 16384 1 snd_hda_codec snd_pcm 172032 7 snd_hda_intel,snd_hda_codec,snd_compress,snd_soc_core,snd_soc_skl,snd_hda_core,snd_pcm_dmaengine ledtrig_audio 16384 4 snd_ctl_led,snd_hda_codec_generic,dell_wmi,dell_laptop snd_timer 49152 1 snd_pcm snd 126976 16 snd_ctl_led,snd_hda_codec_generic,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,snd_soc_core,snd_pcm soundcore 16384 2 snd_ctl_led,snd [user@archlinux ~]$ sudo pactl load-module module-device-restore Connection failure: Connection refused pa_context_connect() failed: Connection refused
[user@archlinux ~]$ systemctl --user status pulseaudio
● pulseaudio.service - Sound Service
Loaded: loaded (/usr/lib/systemd/user/pulseaudio.service; disabled; vendor preset: enabled)
Active: active (running) since Fri 2022-06-24 19:01:46 EEST; 3s ago
TriggeredBy: ● pulseaudio.socket
Main PID: 2351 (pulseaudio)
Tasks: 7 (limit: 4230)
Memory: 8.1M
CPU: 81ms
CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pulseaudio.service
├─2351 /usr/bin/pulseaudio --daemonize=no --log-target=journal
└─2355 /usr/lib/pulse/gsettings-helper
Jun 24 19:01:46 archlinux systemd[451]: Starting Sound Service...
Jun 24 19:01:46 archlinux pulseaudio[2351]: stat('/etc/pulse/default.pa.d'): No such file or directory
Jun 24 19:01:46 archlinux systemd[451]: Started Sound Service.
[masahiko@kimura ~]$ journalctl --user -u pulseaudio
Jun 24 13:51:50 kimura systemd[460]: Starting Sound Service...
Jun 24 13:51:50 kimura pulseaudio[731]: Failed to open cookie file '/home/masahiko/.config/pulse/cookie': No such file or direc>
Jun 24 13:51:50 kimura pulseaudio[731]: Failed to load authentication key '/home/masahiko/.config/pulse/cookie': No such file o>
Jun 24 13:51:50 kimura pulseaudio[731]: Failed to open cookie file '/home/masahiko/.pulse-cookie': No such file or directory
Jun 24 13:51:50 kimura pulseaudio[731]: Failed to load authentication key '/home/masahiko/.pulse-cookie': No such file or direc>
Jun 24 13:51:50 kimura pulseaudio[731]: stat('/etc/pulse/default.pa.d'): No such file or directory
Jun 24 13:51:50 kimura systemd[460]: Started Sound Service.
Jun 24 14:31:34 kimura systemd[460]: Stopping Sound Service...
Jun 24 14:31:34 kimura pulseaudio[731]: Error opening PCM device front:0: No such file or directory
Jun 24 14:31:34 kimura pulseaudio[731]: Failed to create sink input: sink is suspended.
Jun 24 14:31:34 kimura pulseaudio[731]: Lost I/O connection in module "module-gsettings"
Jun 24 14:31:34 kimura systemd[460]: Stopped Sound Service.
Jun 24 14:31:34 kimura systemd[460]: pulseaudio.service: Consumed 1.137s CPU time.
-- Boot f27fccfd35f54c188215810989e7c5e6 --
Jun 24 14:32:11 kimura systemd[460]: Starting Sound Service...
Jun 24 14:32:11 kimura pulseaudio[689]: stat('/etc/pulse/default.pa.d'): No such file or directory
Jun 24 14:32:11 kimura systemd[460]: Started Sound Service.
Jun 24 15:35:58 kimura systemd[460]: Stopping Sound Service...
Jun 24 15:35:58 kimura pulseaudio[689]: Error opening PCM device front:0: No such file or directory
Jun 24 15:35:58 kimura pulseaudio[689]: Failed to create sink input: sink is suspended.
Jun 24 15:35:58 kimura pulseaudio[689]: Lost I/O connection in module "module-gsettings"
Jun 24 15:35:58 kimura systemd[460]: Stopped Sound Service.
-- Boot b22fb0f3a60848598c36e765ee383e85 --
Jun 24 15:36:34 kimura systemd[448]: Starting Sound Service...
Jun 24 15:36:35 kimura pulseaudio[680]: stat('/etc/pulse/default.pa.d'): No such file or directory
Jun 24 15:36:35 kimura systemd[448]: Started Sound Service.
[user@archlinux ~]$ pulseaudio -k
[user@archlinux ~]$ pulseaudio -v
I: [pulseaudio] main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
I: [pulseaudio] main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
I: [pulseaudio] core-util.c: Successfully gained nice level -11.
I: [pulseaudio] main.c: This is PulseAudio 16.1
I: [pulseaudio] main.c: Page size is 4096 bytes
I: [pulseaudio] main.c: Machine ID is 6eefb7c4adc548bc9f2978d9ce116de5.
I: [pulseaudio] main.c: Session ID is 2.
I: [pulseaudio] main.c: Using runtime directory /run/user/1000/pulse.
I: [pulseaudio] main.c: Using state directory /home/user/.config/pulse.
I: [pulseaudio] main.c: Using modules directory /usr/lib/pulseaudio/modules.
I: [pulseaudio] main.c: Running in system mode: no
E: [pulseaudio] pid.c: Daemon already running.
E: [pulseaudio] main.c: pa_pid_file_create() failed.Offline
$ systemctl --user status pulseaudio$ journalctl --user -u pulseaudio$ pulseaudio -k $ pulseaudio -v
Sorry I clicked the wrong 'Quote' link. But I had already tried just killing pulseaudio and running the verbose init. It says 'pa_pid_file_create() failed.' and yet the process does have a pid. Not sure if these are necessarily referring to the same thing but just to be clear.
[user@archlinux ~]$ pidof pulseaudio
2372Offline
$ ls -l /run/user/${UID}/pulse/Also
Error opening PCM device front:0: No such file or directory
is suspicious.
$ aplay -LOffline
$ ls -l /run/user/${UID}/pulse/Also
Error opening PCM device front:0: No such file or directory
is suspicious.
$ aplay -L
[user@archlinux ~]$ ls -l /run/user/${UID}/pulse/
total 4
srwxrwxrwx 1 user user 0 Jun 24 21:47 dbus-socket
srw-rw-rw- 1 user user 0 Jun 24 21:47 native
-rw------- 1 user user 4 Jun 24 21:47 pid
[user@archlinux~]$ aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
pipewire
PipeWire Sound Server
default:CARD=PCH
HDA Intel PCH, ALC3246 Analog
Default Audio Device
sysdefault:CARD=PCH
HDA Intel PCH, ALC3246 Analog
Default Audio Device
front:CARD=PCH,DEV=0
HDA Intel PCH, ALC3246 Analog
Front output / input
surround21:CARD=PCH,DEV=0
HDA Intel PCH, ALC3246 Analog
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
HDA Intel PCH, ALC3246 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
HDA Intel PCH, ALC3246 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
HDA Intel PCH, ALC3246 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
HDA Intel PCH, ALC3246 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
HDA Intel PCH, ALC3246 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakersLast edited by xps13_fiend (2022-06-24 18:49:40)
Offline
Isn't audio output just muted?
$ pacmd list-sinks$ pavucontrolDid you try to remove existing pulseaudio configuration and reinstall it?
Offline
Isn't audio output just muted?
$ pacmd list-sinks$ pavucontrolDid you try to remove existing pulseaudio configuration and reinstall it?
Well it's not muted according to the KDE app, muting and unmuting with the function key changes nothing.
[user@archlinux ~]$ pacmd list-sinks
1 sink(s) available.
* index: 0
name: <alsa_output.pci-0000_00_1f.3.analog-stereo>
driver: <module-alsa-card.c>
flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
state: SUSPENDED
suspend cause: IDLE
priority: 9039
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: 0 KiB
max rewind: 0 KiB
monitor source: 0
sample spec: s16le 2ch 48000Hz
channel map: front-left,front-right
Stereo
used by: 0
linked by: 1
configured latency: 0.00 ms; range is 0.50 .. 1837.50 ms
card: 0 <alsa_card.pci-0000_00_1f.3>
module: 6
properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "ALC3246 Analog"
alsa.id = "ALC3246 Analog"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "0"
alsa.card_name = "HDA Intel PCH"
alsa.long_card_name = "HDA Intel PCH at 0xdc628000 irq 130"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:1f.3"
sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.id = "9d70"
device.product.name = "Sunrise Point-LP HD Audio"
device.form_factor = "internal"
device.string = "front:0"
device.buffering.buffer_size = "352800"
device.buffering.fragment_size = "176400"
device.access_mode = "mmap+timer"
device.profile.name = "analog-stereo"
device.profile.description = "Analog Stereo"
device.description = "Built-in Audio Analog Stereo"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
ports:
analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: unknown)
properties:
device.icon_name = "audio-speakers"
analog-output-headphones: Headphones (priority 9900, latency offset 0 usec, available: no)
properties:
device.icon_name = "audio-headphones"
active port: <analog-output-speaker>Wasn't using pavucontrol but I installed it anyway. 100% on playback and output. All I can hear is faint popping sounds from the left and right speaker. That's basically the same situation as after both fresh installs of Arch with the KDE profile from 'archinstall'.
I've noticed this SUSPENDED state before. But whether the laptop has idled or not it's still suspended. There's no sound after a fresh reboot.
Last edited by xps13_fiend (2022-06-24 20:54:30)
Offline
Any ideas on how to fix this or does this indicate some sort of hardware failure? I tried booting a couple other distros from a USB drive with a KDE desktop environment (with pipewire and pulseaudio) and surely enough sound didn't work in the same way.
Last edited by xps13_fiend (2022-06-26 09:44:41)
Offline
Try disabling power saving in snd hda intel with e.g. /etc/modprobe.d/disablePowerSave.conf
options snd-hda-intel power_save=0and reboot. Other than that maybe post
amixer -c0other than that, SUSPENDED state in pulse is normal if you are not actively playing anything back.
Offline
Try disabling power saving in snd hda intel with e.g. /etc/modprobe.d/disablePowerSave.conf
options snd-hda-intel power_save=0and reboot. Other than that maybe post
amixer -c0other than that, SUSPENDED state in pulse is normal if you are not actively playing anything back.
Thanks! That actually worked! Very strange issue.
Offline
Pages: 1