You are not logged in.
Pages: 1
Hello, I installed Arch following the official guide and now I have a problem with sound. I have no sound on the laptop. speaker-test command doesn't produce any sound.
I tried adding the following to the /etc/modprobe.d/alsa.conf without a satisfying result:
options snd-hda-intel model=auto
Below is information that might help you debug the problem:
[doskanoness@archlinux ~]$ sudo ./alsa-info.sh
[sudo] password for doskanoness:
ALSA Information Script v 0.5.1
--------------------------------
This script visits the following commands/files to collect diagnostic
information about your ALSA installation and sound related hardware.
dmesg
lspci
aplay
amixer
alsactl
rpm, dpkg
/proc/asound/
/sys/class/sound/
~/.asoundrc (etc.)
See './alsa-info.sh --help' for command line options.
Automatically upload ALSA information to www.alsa-project.org? [y/N] : y
Uploading information to www.alsa-project.org ... Done!
Your ALSA information is located at http://alsa-project.org/db/?f=19bb8d48c440e49112d4f6560ef7ae0273a486df
Please inform the person helping you.
[doskanoness@archlinux ~]$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC1220 Analog [ALC1220 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC1220 Digital [ALC1220 Digital]
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
card 1: NVidia [HDA NVidia], device 10: HDMI 4 [HDMI 4]
Subdevices: 1/1
Subdevice #0: subdevice #0
[doskanoness@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: APPLICATION
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 44100Hz
channel map: front-left,front-right
Stereo
used by: 1
linked by: 1
configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms
card: 1 <alsa_card.pci-0000_00_1f.3>
module: 7
properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "ALC1220 Analog"
alsa.id = "ALC1220 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 0xa4510000 irq 164"
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 = "a348"
device.product.name = "Cannon Lake PCH cAVS"
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>
[doskanoness@archlinux ~]$ lsmod | grep 'snd'
snd_seq_dummy 16384 0
snd_hrtimer 16384 1
snd_seq 94208 7 snd_seq_dummy
snd_seq_device 16384 1 snd_seq
snd_hda_codec_realtek 176128 1
snd_hda_codec_generic 110592 1 snd_hda_codec_realtek
snd_sof_pci_intel_cnl 16384 0
snd_sof_intel_hda_common 135168 1 snd_sof_pci_intel_cnl
soundwire_intel 53248 1 snd_sof_intel_hda_common
snd_sof_intel_hda 20480 1 snd_sof_intel_hda_common
snd_sof_pci 20480 2 snd_sof_intel_hda_common,snd_sof_pci_intel_cnl
snd_sof_xtensa_dsp 20480 1 snd_sof_intel_hda_common
snd_sof 221184 2 snd_sof_pci,snd_sof_intel_hda_common
ledtrig_audio 16384 2 snd_hda_codec_generic,snd_sof
snd_soc_skl 225280 0
snd_soc_hdac_hda 28672 2 snd_sof_intel_hda_common,snd_soc_skl
snd_hda_ext_core 36864 4 snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_skl,snd_sof_intel_hda
snd_soc_sst_ipc 20480 1 snd_soc_skl
snd_soc_sst_dsp 36864 1 snd_soc_skl
snd_soc_acpi_intel_match 61440 3 snd_sof_intel_hda_common,snd_soc_skl,snd_sof_pci_intel_cnl
snd_soc_acpi 16384 3 snd_soc_acpi_intel_match,snd_sof_intel_hda_common,snd_soc_skl
snd_soc_core 409600 5 soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_skl
snd_compress 28672 1 snd_soc_core
ac97_bus 16384 1 snd_soc_core
snd_hda_codec_hdmi 90112 1
snd_pcm_dmaengine 16384 1 snd_soc_core
snd_hda_intel 61440 6
snd_intel_dspcfg 36864 3 snd_hda_intel,snd_sof_intel_hda_common,snd_soc_skl
snd_intel_sdw_acpi 20480 2 snd_sof_intel_hda_common,snd_intel_dspcfg
snd_hda_codec 188416 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek,snd_soc_hdac_hda
snd_hda_core 122880 10 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_skl,snd_sof_intel_hda
snd_hwdep 16384 1 snd_hda_codec
snd_pcm 176128 11 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_compress,snd_soc_core,snd_soc_skl,snd_hda_core,snd_pcm_dmaengine
snd_timer 49152 3 snd_seq,snd_hrtimer,snd_pcm
snd 131072 27 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_sof,snd_timer,snd_compress,snd_soc_core,snd_pcm
soundcore 16384 1 snd
Any help is appreciated
Last edited by doskanoness (2022-05-11 16:28:47)
Offline
I found the solution here: https://unix.stackexchange.com/question … -suspended
I changed this in /etc/pulse/default.pa:
### Automatically suspend sinks/sources that become idle for too long
load-module module-suspend-on-idle
to this:
### Automatically suspend sinks/sources that become idle for too long
#load-module module-suspend-on-idle
Problem is solved
Offline
Thanks @doskanoness for share the solution. I thinks is a new bug, my 2y old installation had this problem too. In my case "idle for too long" was 10 seconds XD
[EN] In the world there are 10 kinds of people, those who understand binary and those who not.
[ES] En el mundo hay 10 tipos de personas, las que entienden binario y las que no.
Offline
I found the solution here: https://unix.stackexchange.com/question … -suspended
I changed this in /etc/pulse/default.pa:
### Automatically suspend sinks/sources that become idle for too long load-module module-suspend-on-idle
to this:
### Automatically suspend sinks/sources that become idle for too long #load-module module-suspend-on-idle
Problem is solved
Thank you a lot! I have spent several hours trying to solve the problem but failed. Finally, I google the posts in the past 24 hours and see your post, which solves the problem perfectly!
Offline
That will lead to increased power draw. The more proper fix is exchanging wireplumber for pipewire-media-session (which it replaced for a short while which is why so many threads popped up in the last 24 hours) so that pipewire screensharing can still be used while pulse has full control of the device.
Offline
Pages: 1