EDIT: After 6 months the symptoms have changed a bit. The Gnome sound test usually works but sometimes doesn't. When I watch videos (YouTube and Vimeo) in either Firefox or Chromium the sound doesn't start but if I pause it for 30 to 45 seconds then play again the sound will usually come on. As before the front headphone jack doesn't seem to have any issues.
Hello everybody. I'd appreciate any help you could give.
If I go to Settings > Sound > Test and test the speakers sometimes they work and sometimes they don't. Same with playing streaming video. (I've been using the video podcasts on twit.tv to test.) However I did play a video for 45 minutes and the sound never cut out. When testing using the Gnome test the sound stops working within minutes but will also come back. I can't discern any pattern that would make it disappear like suspending or rebooting. Sometimes it works sometimes it doesn't. It seems completely random.
The sound works in Windows (I tried for 30 mintues) and in Ubuntu 22.04 (I installed Ubuntu for a day to test it).
This seems to happen only on the 3.5 mm stereo jack on the back panel. Sound seems to consistently work on the 3.5 mm headphone jack on the front panel. Those are the only sound ports on the computer.
I have a new Dell Inspiron 3910 running Bullseye on the Gnome desktop with kernel 5.18.0 from Bullseye Backports and /lib/firmware git cloned using
Code: Select all
git clone https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
viewtopic.php?p=755418#p755418
(EDIT: See post #3 below.)
Some missing firmware:
Code: Select all
$ sudo dmesg |grep firmware
[sudo] password for donald:
[ 1.505557] i915 0000:00:02.0: firmware: direct-loading firmware i915/adls_dmc_ver2_01.bin
[ 1.505982] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/adls_dmc_ver2_01.bin (v2.1)
[ 2.174394] i915 0000:00:02.0: firmware: direct-loading firmware i915/tgl_guc_69.0.3.bin
[ 2.174551] i915 0000:00:02.0: firmware: direct-loading firmware i915/tgl_huc_7.9.3.bin
[ 2.259539] i915 0000:00:02.0: [drm] GuC firmware i915/tgl_guc_69.0.3.bin version 69.0
[ 2.259540] i915 0000:00:02.0: [drm] HuC firmware i915/tgl_huc_7.9.3.bin version 7.9
[ 4.888610] platform regulatory.0: firmware: failed to load regulatory.db (-2)
[ 4.888625] firmware_class: See https://wiki.debian.org/Firmware for information about missing firmware
[ 4.888638] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 4.965501] iwlwifi 0000:00:14.3: firmware: failed to load iwlwifi-so-a0-hr-b0-72.ucode (-2)
[ 4.965517] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-so-a0-hr-b0-72.ucode failed with error -2
[ 4.969177] iwlwifi 0000:00:14.3: firmware: direct-loading firmware iwlwifi-so-a0-hr-b0-71.ucode
[ 4.969759] iwlwifi 0000:00:14.3: firmware: failed to load iwl-debug-yoyo.bin (-2)
[ 4.969773] iwlwifi 0000:00:14.3: loaded firmware version 71.058653f6.0 so-a0-hr-b0-71.ucode op_mode iwlmvm
[ 5.240046] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[ 5.241514] bluetooth hci0: firmware: direct-loading firmware intel/ibt-1040-4150.sfi
[ 5.241517] Bluetooth: hci0: Found device firmware: intel/ibt-1040-4150.sfi
[ 5.412901] r8169 0000:01:00.0: firmware: direct-loading firmware rtl_nic/rtl8168h-2.fw
[ 6.601543] Bluetooth: hci0: Waiting for firmware download to complete
[ 6.620209] bluetooth hci0: firmware: direct-loading firmware intel/ibt-1040-4150.ddc
Code: Select all
$ cat /proc/asound/card*/codec* | grep Codec
Codec: Cirrus Logic CS8409/CS42L42
Codec: Intel Alderlake HDMI
Here is some information.
When the sound was out I tried to play sound as root.
EDIT: The following example may be misleading as I just had the same terminal output with "aplay /usr/share/sounds/alsa/Noise.wav" as root but the Gnome speaker test worked. A number of times alternating back and forth.
Code: Select all
# aplay /usr/share/sounds/alsa/Noise.wav
ALSA lib pcm_dmix.c:1075:(snd_pcm_dmix_open) unable to open slave
aplay: main:830: audio open error: Device or resource busy
Code: Select all
# lsof /dev/snd/*
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
pulseaudi 1544 donald mem CHR 116,3 451 /dev/snd/pcmC0D0c
pulseaudi 1544 donald mem CHR 116,2 450 /dev/snd/pcmC0D0p
pulseaudi 1544 donald 16u CHR 116,18 0t0 479 /dev/snd/controlC0
pulseaudi 1544 donald 22u CHR 116,18 0t0 479 /dev/snd/controlC0
pulseaudi 1544 donald 23u CHR 116,18 0t0 479 /dev/snd/controlC0
pulseaudi 1544 donald 28u CHR 116,18 0t0 479 /dev/snd/controlC0
pulseaudi 1544 donald 38u CHR 116,2 0t0 450 /dev/snd/pcmC0D0p
pulseaudi 1544 donald 41u CHR 116,3 0t0 451 /dev/snd/pcmC0D0c
Code: Select all
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: CS8409/CS42L42 Analog [CS8409/CS42L42 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 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 11: HDMI 5 [HDMI 5]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 12: HDMI 6 [HDMI 6]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 13: HDMI 7 [HDMI 7]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 14: HDMI 8 [HDMI 8]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 15: HDMI 9 [HDMI 9]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 16: HDMI 10 [HDMI 10]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 17: HDMI 11 [HDMI 11]
Subdevices: 1/1
Subdevice #0: subdevice #0
Code: Select all
$ 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_VOLUME_CTRL LATENCY DYNAMIC_LATENCY
state: RUNNING
suspend cause: (none)
priority: 9039
volume: front-left: 65536 / 100%, front-right: 65536 / 100%
balance 0.00
base volume: 65536 / 100%
volume steps: 64
muted: no
current latency: 2.06 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: 2
linked by: 2
configured latency: 2.51 ms; range is 0.50 .. 2000.00 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 = "CS8409/CS42L42 Analog"
alsa.id = "CS8409/CS42L42 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 0x6003230000 irq 176"
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 = "7ad0"
device.form_factor = "internal"
device.string = "front:0"
device.buffering.buffer_size = "384000"
device.buffering.fragment_size = "192000"
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-lineout: Line Out (priority 9000, latency offset 0 usec, available: yes)
properties:
analog-output-headphones: Headphones (priority 9900, latency offset 0 usec, available: no)
properties:
device.icon_name = "audio-headphones"
active port: <analog-output-lineout>
Code: Select all
$ amixer
Simple mixer control 'Master',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 65536
Mono:
Front Left: Playback 65536 [100%] [on]
Front Right: Playback 65536 [100%] [on]
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch cswitch-joined
Capture channels: Front Left - Front Right
Limits: Capture 0 - 65536
Front Left: Capture 41350 [63%] [on]
Front Right: Capture 41350 [63%] [on]
Code: Select all
$ lspci | grep -i audio
0000:00:1f.3 Audio device: Intel Corporation Device 7ad0 (rev 11)
Code: Select all
$ lsmod | grep '^snd' | column -t
snd_hda_codec_hdmi 77824 1
snd_sof_pci_intel_tgl 16384 0
snd_sof_intel_hda_common 114688 1 snd_sof_pci_intel_tgl
snd_sof_intel_hda 20480 1 snd_sof_intel_hda_common
snd_sof_pci 24576 2 snd_sof_intel_hda_common,snd_sof_pci_intel_tgl
snd_sof_xtensa_dsp 16384 1 snd_sof_intel_hda_common
snd_sof 192512 2 snd_sof_pci,snd_sof_intel_hda_common
snd_sof_utils 20480 1 snd_sof
snd_soc_hdac_hda 24576 1 snd_sof_intel_hda_common
snd_hda_ext_core 36864 3 snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_sof_intel_hda
snd_soc_acpi_intel_match 65536 2 snd_sof_intel_hda_common,snd_sof_pci_intel_tgl
snd_soc_acpi 16384 2 snd_soc_acpi_intel_match,snd_sof_intel_hda_common
snd_hda_codec_cs8409 36864 1
snd_hda_codec_generic 98304 1 snd_hda_codec_cs8409
snd_soc_core 331776 4 soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hda
snd_compress 28672 1 snd_soc_core
snd_hda_intel 57344 5
snd_intel_dspcfg 32768 2 snd_hda_intel,snd_sof_intel_hda_common
snd_intel_sdw_acpi 20480 2 snd_sof_intel_hda_common,snd_intel_dspcfg
snd_hda_codec 176128 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_codec_cs8409,snd_hda_intel,snd_soc_hdac_hda
snd_hda_core 110592 9 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_codec_cs8409,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_sof_intel_hda
snd_hwdep 16384 1 snd_hda_codec
snd_pcm 147456 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_sof_utils,snd_hda_core
snd_timer 45056 1 snd_pcm
snd 114688 19 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_sof,snd_timer,snd_compress,snd_soc_core,snd_pcm
Code: Select all
$ lspci -knn
0000:00:00.0 Host bridge [0600]: Intel Corporation Device [8086:4650] (rev 05)
Subsystem: Dell Device [1028:0ad3]
0000:00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:4692] (rev 0c)
Subsystem: Dell Device [1028:0ad3]
Kernel driver in use: i915
Kernel modules: i915
0000:00:04.0 Signal processing controller [1180]: Intel Corporation Device [8086:461d] (rev 05)
Subsystem: Dell Device [1028:0ad3]
Kernel driver in use: proc_thermal_pci
Kernel modules: processor_thermal_device_pci
0000:00:0e.0 RAID bus controller [0104]: Intel Corporation Volume Management Device NVMe RAID Controller [8086:467f]
Subsystem: Dell Volume Management Device NVMe RAID Controller [1028:0ad3]
Kernel driver in use: vmd
Kernel modules: vmd, ahci
0000:00:14.0 USB controller [0c03]: Intel Corporation Device [8086:7ae0] (rev 11)
Subsystem: Dell Device [1028:0ad3]
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
0000:00:14.2 RAM memory [0500]: Intel Corporation Device [8086:7aa7] (rev 11)
Subsystem: Dell Device [1028:0ad3]
0000:00:14.3 Network controller [0280]: Intel Corporation Device [8086:7af0] (rev 11)
Subsystem: Intel Corporation Device [8086:4070]
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi
0000:00:16.0 Communication controller [0780]: Intel Corporation Device [8086:7ae8] (rev 11)
Subsystem: Dell Device [1028:0ad3]
Kernel driver in use: mei_me
Kernel modules: mei_me
0000:00:17.0 System peripheral [0880]: Intel Corporation Device [8086:09ab]
Subsystem: Dell Device [1028:0ad3]
0000:00:1a.0 System peripheral [0880]: Intel Corporation Device [8086:09ab]
Subsystem: Dell Device [1028:0ad3]
0000:00:1c.0 PCI bridge [0604]: Intel Corporation Device [8086:7aba] (rev 11)
Kernel driver in use: pcieport
0000:00:1f.0 ISA bridge [0601]: Intel Corporation Device [8086:7a86] (rev 11)
Subsystem: Dell Device [1028:0ad3]
0000:00:1f.3 Audio device [0403]: Intel Corporation Device [8086:7ad0] (rev 11)
Subsystem: Dell Device [1028:0ad3]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel, snd_sof_pci_intel_tgl
0000:00:1f.4 SMBus [0c05]: Intel Corporation Device [8086:7aa3] (rev 11)
Subsystem: Dell Device [1028:0ad3]
Kernel driver in use: i801_smbus
Kernel modules: i2c_i801
0000:00:1f.5 Serial bus controller [0c80]: Intel Corporation Device [8086:7aa4] (rev 11)
Subsystem: Dell Device [1028:0ad3]
0000:01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
Subsystem: Dell RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [1028:0ad3]
Kernel driver in use: r8169
Kernel modules: r8169
10000:e0:17.0 SATA controller [0106]: Intel Corporation Device [8086:7ae2] (rev 11)
Subsystem: Dell Device [1028:0ad3]
Kernel driver in use: ahci
Kernel modules: ahci
10000:e0:1a.0 PCI bridge [0604]: Intel Corporation Device [8086:7ac8] (rev 11)
Kernel driver in use: pcieport
10000:e1:00.0 Non-Volatile memory controller [0108]: Micron Technology Inc Device [1344:5404] (rev 03)
Subsystem: Micron Technology Inc Device [1344:1100]
Kernel driver in use: nvme
Kernel modules: nvme
Code: Select all
sudo dmesg | grep audio
[sudo] password for donald:
[ 4.970610] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[ 5.099579] snd_hda_codec_cs8409 hdaudioC0D0: autoconfig for CS8409: line_outs=1 (0x25/0x0/0x0/0x0/0x0) type:line
[ 5.099584] snd_hda_codec_cs8409 hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 5.099586] snd_hda_codec_cs8409 hdaudioC0D0: hp_outs=1 (0x24/0x0/0x0/0x0/0x0)
[ 5.099587] snd_hda_codec_cs8409 hdaudioC0D0: mono: mono_out=0x0
[ 5.099588] snd_hda_codec_cs8409 hdaudioC0D0: inputs:
[ 5.099590] snd_hda_codec_cs8409 hdaudioC0D0: Mic=0x34
Code: Select all
$ groups
donald cdrom floppy sudo audio dip video plugdev netdev bluetooth lpadmin scanner
In alsamixer > F6(select sound card) I changed the S/pdif settings from 00 to MM (mute).
Unplugged and reconnected the cable.
Speakers on, unmuted in Gnome and alsamixer.
Sound card is default in alsamixer.
Pavucontrol > Configuration set to Analog Stereo Duplex but I also tried Analog Stereo output.
Reinstalled pulseaudio package.
Ran
Code: Select all
$ rm -r ~/.config/pulse
$ systemctl --user restart pulseaudio.service
I tried various ways of making my sound card the default card but I think from aplay -l above it already is the default card. I didn't realize this until later. I can put in what I did if someone wants.