Mint 20: No sound after startup

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
cap227

Re: Mint 20: No sound after startup

Post by cap227 »

This problem has been a thorn in my side for a long time. I tried MrEen's suggestion:

sudo tee /etc/modprobe.d/snd-hda-intel-fix.conf <<<'options snd-hda-intel probe_mask=1'

That didn't fix it. I found this post, https://bugzilla.kernel.org/show_bug.cgi?id=206813, which seems to suggest that setting CONFIG_SND_HDA_CODEC_HDMI=y might fix the problem, but I don't know where that setting is (sheepish grin).

Here's the output from dmesg | grep -C1 -E 'ALSA|HDA|sof|HDMI|snd[_-]|sound|hda.codec|hda.intel'

Code: Select all

[    0.106109] ACPI: Added _OSI(Linux-Dell-Video)
[    0.106110] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[    0.106111] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
--
[    0.706283] Freeing initrd memory: 40364K
[    0.706292] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    0.706293] software IO TLB: mapped [mem 0xc3db3000-0xc7db3000] (64MB)
[    0.706490] check: Scanning for low memory corruption every 60 seconds
--
[   15.097147] mc: Linux media interface: v0.10
[   15.099602] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
[   15.099604] snd_hda_intel 0000:01:00.1: Force to non-snoop mode
[   15.101656] ATOM BIOS: Venus
[   15.101678] [drm] GPU not posted. posting now...
[   15.102051] snd_hda_intel 0000:00:1b.0: no codecs found!
[   15.106348] radeon 0000:01:00.0: VRAM: 2048M 0x0000000000000000 - 0x000000007FFFFFFF (2048M used)
--
[   15.791800] [drm] radeon: irq initialized.
[   15.854047] snd_hda_intel 0000:00:03.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[   15.855722] input: HDA ATI HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card2/input12
[   15.855779] input: HDA ATI HDMI HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card2/input13
[   15.855824] input: HDA ATI HDMI HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card2/input14
[   15.855865] input: HDA ATI HDMI HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card2/input15
[   15.855908] input: HDA ATI HDMI HDMI/DP,pcm=10 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card2/input16
[   15.855952] input: HDA ATI HDMI HDMI/DP,pcm=11 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card2/input17
[   15.859477] input: HDA Intel HDMI HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.0/sound/card0/input18
[   15.859533] input: HDA Intel HDMI HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:03.0/sound/card0/input19
[   15.859578] input: HDA Intel HDMI HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:03.0/sound/card0/input20
[   15.859617] input: HDA Intel HDMI HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:03.0/sound/card0/input21
[   15.859657] input: HDA Intel HDMI HDMI/DP,pcm=10 as /devices/pci0000:00/0000:00:03.0/sound/card0/input22
[   15.935074] iwlwifi 0000:03:00.0: Detected Intel(R) Dual Band Wireless AC 7260, REV=0x144
Last edited by xenopeek on Fri Mar 12, 2021 6:54 am, edited 1 time in total.
Reason: single line [c] tag replaced by mutli line [code] tag
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: Mint 20: No sound after startup

Post by MrEen »

Hi cap227, and welcome to the forum.

Let's start with a fresh state first:

Code: Select all

sudo rm /etc/modprobe.d/snd-hda-intel-fix.conf
Run that in the terminal then reboot, then run this command and paste the output:

Code: Select all

curl https://gitlab.freedesktop.org/pulseaudio/pulseaudio/raw/master/src/utils/pa-info?inline=false | bash | nc termbin.com 9999
User avatar
Jeronimo17
Level 3
Level 3
Posts: 194
Joined: Fri Jun 08, 2018 6:48 pm

Re: Mint 20: No sound after startup

Post by Jeronimo17 »

It happens to me every so often. Why? When it happens, mpv stays in a short video/audio loop, firefox with youtube for example too, Audacious and Vlc don't seem to affect it

Code: Select all

$ journalctl | grep "No response from codec"

ene 11 14:05:05 jeronimo17-GIGABYTE-AORUS-7-KB kernel: snd_hda_intel 0000:00:1f.3: No response from codec, disabling MSI: last cmd=0x009350bf
ene 11 14:05:06 jeronimo17-GIGABYTE-AORUS-7-KB kernel: snd_hda_intel 0000:00:1f.3: No response from codec, resetting bus: last cmd=0x009350bf
ene 23 19:10:59 jeronimo17-GIGABYTE-AORUS-7-KB kernel: snd_hda_intel 0000:00:1f.3: No response from codec, resetting bus: last cmd=0x009360bf
ene 27 14:41:50 jeronimo17-GIGABYTE-AORUS-7-KB kernel: snd_hda_intel 0000:00:1f.3: No response from codec, resetting bus: last cmd=0x009360bf
ene 28 12:05:52 jeronimo17-GIGABYTE-AORUS-7-KB kernel: snd_hda_intel 0000:00:1f.3: No response from codec, disabling MSI: last cmd=0x009350bf
ene 28 12:05:53 jeronimo17-GIGABYTE-AORUS-7-KB kernel: snd_hda_intel 0000:00:1f.3: No response from codec, resetting bus: last cmd=0x009350bf
feb 14 11:28:34 jeronimo17-GIGABYTE-AORUS-7-KB kernel: snd_hda_intel 0000:00:1f.3: No response from codec, disabling MSI: last cmd=0x01439000
feb 14 11:28:35 jeronimo17-GIGABYTE-AORUS-7-KB kernel: snd_hda_intel 0000:00:1f.3: No response from codec, resetting bus: last cmd=0x01439000
mar 06 15:37:28 jeronimo17-GIGABYTE-AORUS-7-KB kernel: snd_hda_intel 0000:00:1f.3: No response from codec, disabling MSI: last cmd=0x01236001
mar 06 15:37:29 jeronimo17-GIGABYTE-AORUS-7-KB kernel: snd_hda_intel 0000:00:1f.3: No response from codec, resetting bus: last cmd=0x01236001
abr 24 11:06:59 jeronimo17-GIGABYTE-AORUS-7-KB kernel: snd_hda_intel 0000:00:1f.3: No response from codec, disabling MSI: last cmd=0x0143a000
abr 24 11:07:00 jeronimo17-GIGABYTE-AORUS-7-KB kernel: snd_hda_intel 0000:00:1f.3: No response from codec, resetting bus: last cmd=0x0143a000

Code: Select all

abr 24 11:06:58 jeronimo17-GIGABYTE-AORUS-7-KB kernel: Bluetooth: hci0: Found Intel DDC parameters: intel/ibt-20-1-3.ddc
abr 24 11:06:58 jeronimo17-GIGABYTE-AORUS-7-KB kernel: Bluetooth: hci0: Applying Intel DDC parameters completed
abr 24 11:06:58 jeronimo17-GIGABYTE-AORUS-7-KB kernel: Bluetooth: hci0: Firmware revision 0.0 build 121 week 36 2020
abr 24 11:06:58 jeronimo17-GIGABYTE-AORUS-7-KB kernel: NET: Registered protocol family 38
abr 24 11:06:59 jeronimo17-GIGABYTE-AORUS-7-KB kernel: snd_hda_intel 0000:00:1f.3: No response from codec, disabling MSI: last cmd=0x0143a000
abr 24 11:07:00 jeronimo17-GIGABYTE-AORUS-7-KB kernel: snd_hda_intel 0000:00:1f.3: No response from codec, resetting bus: last cmd=0x0143a000
abr 24 11:07:00 jeronimo17-GIGABYTE-AORUS-7-KB kernel: r8169 0000:0d:00.1 enp13s0f1: Link is Up - 1Gbps/Full - flow control rx/tx
abr 24 11:07:00 jeronimo17-GIGABYTE-AORUS-7-KB kernel: IPv6: ADDRCONF(NETDEV_CHANGE): enp13s0f1: link becomes ready
abr 24 11:07:00 jeronimo17-GIGABYTE-AORUS-7-KB kernel: vboxdrv: Found 12 processor cores
User avatar
Jeronimo17
Level 3
Level 3
Posts: 194
Joined: Fri Jun 08, 2018 6:48 pm

Re: Mint 20: No sound after startup

Post by Jeronimo17 »

It happened again today without changing anything, after much without it happening, now I restart and it no longer happens

Code: Select all

[    5.293757] iwlwifi 0000:0c:00.0: base HW address: e0:d4:e8:73:2b:a7
[    5.305810] thermal thermal_zone3: failed to read out thermal zone (-61)
[    5.306780] input: ELAN0412:00 04F3:3162 Mouse as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-2/i2c-ELAN0412:00/0018:04F3:3162.0001/input/input28
[    5.306841] input: ELAN0412:00 04F3:3162 Touchpad as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-2/i2c-ELAN0412:00/0018:04F3:3162.0001/input/input30
[    5.306888] hid-multitouch 0018:04F3:3162.0001: input,hidraw0: I2C HID v1.00 Mouse [ELAN0412:00 04F3:3162] on i2c-ELAN0412:00
[    5.309626] iwlwifi 0000:0c:00.0 wlp12s0: renamed from wlan0
[    5.725387] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    5.725642] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 1
[    5.946793] nvidia-gpu 0000:01:00.3: i2c timeout error e0000000
[    5.947244] ucsi_ccg 0-0008: i2c_transfer failed -110
[    5.947693] ucsi_ccg 0-0008: ucsi_ccg_init failed - -110
[    5.948146] ucsi_ccg: probe of 0-0008 failed with error -110
[    6.061624] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    6.061625] Bluetooth: BNEP filters: protocol multicast
[    6.061628] Bluetooth: BNEP socket layer initialized
[    6.177269] Generic FE-GE Realtek PHY r8169-d01:00: attached PHY driver [Generic FE-GE Realtek PHY] (mii_bus:phy_addr=r8169-d01:00, irq=IGNORE)
[    6.179391] audit: type=1400 audit(1624656195.406:27): apparmor="DENIED" operation="capable" profile="/usr/sbin/cups-browsed" pid=1011 comm="cups-browsed" capability=23  capname="sys_nice"
[    6.301237] snd_hda_intel 0000:00:1f.3: azx_get_response timeout, switching to polling mode: last cmd=0x009360bf
[    6.337371] r8169 0000:0d:00.1 enp13s0f1: Link is Down
[    6.560257] Bluetooth: hci0: Waiting for firmware download to complete
[    6.560578] Bluetooth: hci0: Firmware loaded in 1511040 usecs
[    6.560599] Bluetooth: hci0: Waiting for device to boot
[    6.575611] Bluetooth: hci0: Device booted in 14666 usecs
[    6.575805] Bluetooth: hci0: Found Intel DDC parameters: intel/ibt-20-1-3.ddc
[    6.577668] Bluetooth: hci0: Applying Intel DDC parameters completed
[    6.578594] Bluetooth: hci0: Firmware revision 0.0 build 121 week 36 2020
[    6.650587] NET: Registered protocol family 38
[    7.309367] snd_hda_intel 0000:00:1f.3: No response from codec, disabling MSI: last cmd=0x009360bf
[    8.317328] snd_hda_intel 0000:00:1f.3: No response from codec, resetting bus: last cmd=0x009360bf
[   11.008693] Bluetooth: RFCOMM TTY layer initialized
[   11.008696] Bluetooth: RFCOMM socket layer initialized

After reboot:

Code: Select all

[    4.992631] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
[    5.015904] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input22
[    5.024146] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC293: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[    5.024148] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    5.024149] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1 (0x15/0x0/0x0/0x0/0x0)
[    5.024149] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
[    5.024150] snd_hda_codec_realtek hdaudioC0D0:    inputs:
[    5.024151] snd_hda_codec_realtek hdaudioC0D0:      Mic=0x18
[    5.024152] snd_hda_codec_realtek hdaudioC0D0:      Internal Mic=0x12
[    5.029686] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  460.80  Fri May  7 06:55:54 UTC 2021
[    5.033421] intel_rapl_common: Found RAPL domain package
[    5.033422] intel_rapl_common: Found RAPL domain core
[    5.033423] intel_rapl_common: Found RAPL domain uncore
[    5.033423] intel_rapl_common: Found RAPL domain dram
[    5.036028] audit: type=1400 audit(1624660337.506:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="libreoffice-senddoc" pid=733 comm="apparmor_parser"
[    5.036324] audit: type=1400 audit(1624660337.506:3): apparmor="STATUS" operation="profile_load" profile="unconfined" name="lsb_release" pid=730 comm="apparmor_parser"
[    5.036820] audit: type=1400 audit(1624660337.506:4): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe" pid=732 comm="apparmor_parser"
[    5.036822] audit: type=1400 audit(1624660337.506:5): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe//kmod" pid=732 comm="apparmor_parser"
[    5.036855] audit: type=1400 audit(1624660337.506:6): apparmor="STATUS" operation="profile_load" profile="unconfined" name="libreoffice-oopslash" pid=725 comm="apparmor_parser"
[    5.038022] audit: type=1400 audit(1624660337.510:7): apparmor="STATUS" operation="profile_load" profile="unconfined" name="system_tor" pid=723 comm="apparmor_parser"
[    5.038209] audit: type=1400 audit(1624660337.510:8): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/sbin/ntpd" pid=724 comm="apparmor_parser"
[    5.038733] audit: type=1400 audit(1624660337.510:9): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/sbin/cups-browsed" pid=734 comm="apparmor_parser"
[    5.038863] audit: type=1400 audit(1624660337.510:10): apparmor="STATUS" operation="profile_load" profile="unconfined" name="libreoffice-xpdfimport" pid=737 comm="apparmor_parser"
[    5.094390] input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1f.3/sound/card0/input27
[    5.094645] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  460.80  Fri May  7 06:48:29 UTC 2021
[    5.096463] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
[    5.097753] usbcore: registered new interface driver uvcvideo
[    5.097756] USB Video Class driver (1.1.1)
[    5.097775] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input23
[    5.097819] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input24
[    5.097864] input: HDA Intel PCH Front Headphone as /devices/pci0000:00/0000:00:1f.3/sound/card0/input28
[    5.097983] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input25
[    5.098026] input: HDA NVidia HDMI/DP,pcm=10 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input26
[    5.118871] ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20200528/nsarguments-59)
[    5.126870] input: ELAN0412:00 04F3:3162 Mouse as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-2/i2c-ELAN0412:00/0018:04F3:3162.0001/input/input29
[    5.126926] input: ELAN0412:00 04F3:3162 Touchpad as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-2/i2c-ELAN0412:00/0018:04F3:3162.0001/input/input31
[    5.126968] hid-multitouch 0018:04F3:3162.0001: input,hidraw0: I2C HID v1.00 Mouse [ELAN0412:00 04F3:3162] on i2c-ELAN0412:00
[    5.154430] iwlwifi 0000:0c:00.0: base HW address: e0:d4:e8:73:2b:a7
[    5.167209] thermal thermal_zone3: failed to read out thermal zone (-61)
[    5.171055] iwlwifi 0000:0c:00.0 wlp12s0: renamed from wlan0
[    5.693872] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    5.693873] Bluetooth: BNEP filters: protocol multicast
[    5.693876] Bluetooth: BNEP socket layer initialized
[    5.698707] NET: Registered protocol family 38
[    5.730625] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    5.730864] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 1
[    5.781428] kauditd_printk_skb: 16 callbacks suppressed
[    5.781429] audit: type=1400 audit(1624660338.250:27): apparmor="DENIED" operation="capable" profile="/usr/sbin/cups-browsed" pid=1007 comm="cups-browsed" capability=23  capname="sys_nice"
[    5.781453] Generic FE-GE Realtek PHY r8169-d01:00: attached PHY driver [Generic FE-GE Realtek PHY] (mii_bus:phy_addr=r8169-d01:00, irq=IGNORE)
[    5.898501] nvidia-gpu 0000:01:00.3: i2c timeout error e0000000
[    5.898994] ucsi_ccg 0-0008: i2c_transfer failed -110
[    5.899394] ucsi_ccg 0-0008: ucsi_ccg_init failed - -110
[    5.899794] ucsi_ccg: probe of 0-0008 failed with error -110
[    5.973675] r8169 0000:0d:00.1 enp13s0f1: Link is Down
[    8.724097] r8169 0000:0d:00.1 enp13s0f1: Link is Up - 1Gbps/Full - flow control off
[    8.724119] IPv6: ADDRCONF(NETDEV_CHANGE): enp13s0f1: link becomes ready
[    8.762563] vboxdrv: Found 12 processor cores
[    8.785704] vboxdrv: TSC mode is Invariant, tentative frequency 2591980923 Hz
[    8.785705] vboxdrv: Successfully loaded version 6.1.16_Ubuntu (interface 0x00300000)
[    8.789798] VBoxNetFlt: Successfully started.
[    8.793373] VBoxNetAdp: Successfully started.
[   10.184078] bpfilter: Loaded bpfilter_umh pid 1346
[   10.184126] Started bpfilter
[   11.118146] Bluetooth: RFCOMM TTY layer initialized
[   11.118150] Bluetooth: RFCOMM socket layer initialized
[   11.118152] Bluetooth: RFCOMM ver 1.11
Locked

Return to “Sound”