You are not logged in.

#1 2016-08-20 08:08:48

Triver
Member
Registered: 2009-03-29
Posts: 71

[SOLVED] Audio stopped working in linux 4.7

Audio worked fine in 4.6 and earlier (using ALSA for playback), however after doing a recent system update, audio stopped working completely.

I didn't immediately notice after the update since my sound device only occasionally gets used on my system but looking at the update log it happened after updating alsa-lib/utils (1.1.1 -> 1.1.2) and linux (4.6 -> 4.7).

These messages showed up in dmesg (the first three at the end of boot up, the latter three after trying to play some audio):

[    8.572375] snd_hda_intel 0000:00:1f.3: azx_get_response timeout, switching to polling mode: last cmd=0x201f0500
[    9.575035] snd_hda_intel 0000:00:1f.3: No response from codec, disabling MSI: last cmd=0x201f0500
[   10.578856] snd_hda_intel 0000:00:1f.3: azx_get_response timeout, switching to single_cmd mode: last cmd=0x201f0500
[   37.462692] azx_single_send_cmd: 216 callbacks suppressed
[   37.482138] snd_hda_codec_realtek hdaudioC0D0: Unable to sync register 0x1f0e00. -5
[   37.482235] snd_hda_codec_realtek hdaudioC0D0: Unable to sync register 0x1f0e00. -5

I did an update in between to linux 4.7.1 but the problem persisted. Then I tried downgrading alsa-lib/utils to 1.1.1 but still nothing (and the same messages were still appearing in the log).
Finally I downgraded the kernel to 4.6 and the audio playback worked again.

After that I tried updating alsa-lib/utils to 1.1.2, just to see which of the updates caused this and audio still works fine after that, so I'm suspecting that the kernel update is the cause for the problem.

edit: Forgot to mention my laptop model in case it matters - Lenovo Thinkpad T460s

Last edited by Triver (2016-08-27 10:54:51)

Offline

#2 2016-08-20 17:26:43

thecellarguardian
Member
Registered: 2009-06-27
Posts: 5

Re: [SOLVED] Audio stopped working in linux 4.7

Same conditions (alsa-lib 1.1.1->1.1.2, linux 4.6->4.7), same problem.
I switched to linux-lts but the problem is still there.

When booting with linux 4.7 I've seen this message:

[drm:intel_dp_start_link_train [i915]] *ERROR* failed to train DP, aborting

Such message does not appear when I boot with linux-lts.

With both kernels the output of dmesg | grep snd is:

[   10.701704] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC233: line_outs=1
(0x14/0x0/0x0/0x0/0x0)
type:speaker
[   10.701705] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[   10.701706] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[   10.701707] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
[   10.701707] snd_hda_codec_realtek hdaudioC0D0:    inputs:
[   10.701708] snd_hda_codec_realtek hdaudioC0D0:      Mic=0x19
[   10.701709] snd_hda_codec_realtek hdaudioC0D0:      Internal Mic=0x12
[   11.323497] snd_hda_intel 0000:00:03.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])

The last line may suggest a correlation between the audio failure and the strange boot error.

Last thing I did, I downgraded alsa-lib to 1.1.1 and reboot with both linux 4.7 and linux-lts, but the problem is still there! sad

Has anyone experienced a similar issue?

By the way, I have a Lenovo too.

Last edited by thecellarguardian (2016-08-20 17:38:40)

Offline

#3 2016-08-22 12:12:33

Pet0r
Member
Registered: 2016-05-03
Posts: 10

Re: [SOLVED] Audio stopped working in linux 4.7

Dell Precision 5510 here and the same problem since updating this morning (didn't update over the weekend).  Audio is just gone (although input to that port does work, it's a combined jack).  Audio works fine through other means for me (speakers & DisplayPort), but I had to increase the volumes in pavucontrol which had all been zeroed.

Last edited by Pet0r (2016-08-22 12:12:52)

Offline

#4 2016-08-23 09:49:15

loonies
Member
Registered: 2009-04-24
Posts: 6

Re: [SOLVED] Audio stopped working in linux 4.7

Same symptoms, only that my microphone is not working properly i.e. produces really poor, crackling sound quality. It was working bespoke for 3+ years. I've tried everything, upgrade / downgrade, changing configs, etc. without success. No Pulseaudio, ALSA only.

It works properly if booted with LTS kernel.

Offline

#5 2016-08-26 16:18:45

Triver
Member
Registered: 2009-03-29
Posts: 71

Re: [SOLVED] Audio stopped working in linux 4.7

Still nothing in kernel 4.7.2.

Here is a little more info than I initially provided:

> dmesg | grep snd_hda
[    4.616252] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops update_polyphase_filter [i915])
[    4.656563] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC293: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[    4.656573] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    4.656578] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=2 (0x16/0x15/0x0/0x0/0x0)
[    4.656582] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
[    4.656585] snd_hda_codec_realtek hdaudioC0D0:    inputs:
[    4.656589] snd_hda_codec_realtek hdaudioC0D0:      Dock Mic=0x19
[    4.656594] snd_hda_codec_realtek hdaudioC0D0:      Mic=0x1a
[    4.656598] snd_hda_codec_realtek hdaudioC0D0:      Internal Mic=0x12
[    8.710992] snd_hda_intel 0000:00:1f.3: azx_get_response timeout, switching to polling mode: last cmd=0x201f0500
[    9.714139] snd_hda_intel 0000:00:1f.3: No response from codec, disabling MSI: last cmd=0x201f0500
[   10.717479] snd_hda_intel 0000:00:1f.3: azx_get_response timeout, switching to single_cmd mode: last cmd=0x201f0500
[   31.851707] snd_hda_codec_realtek hdaudioC0D0: Unable to sync register 0x1f0e00. -5
[   31.851809] snd_hda_codec_realtek hdaudioC0D0: Unable to sync register 0x1f0e00. -5

(again, the last two messages appeared after trying to play audio)

> aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC293 Analog [ALC293 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
> lspci
00:00.0 Host bridge: Intel Corporation Skylake Host Bridge/DRAM Registers (rev 08)
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 520 (rev 07)
00:08.0 System peripheral: Intel Corporation Skylake Gaussian Mixture Model
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
00:17.0 SATA controller: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] (rev 21)
00:1c.0 PCI bridge: Intel Corporation Device 9d10 (rev f1)
00:1c.2 PCI bridge: Intel Corporation Device 9d12 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Sunrise Point-LP LPC Controller (rev 21)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection I219-LM (rev 21)
02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS522A PCI Express Card Reader (rev 01)
04:00.0 Network controller: Intel Corporation Wireless 8260 (rev 3a)
> lsmod | grep snd_hda
snd_hda_codec_hdmi     45056  1
snd_hda_codec_realtek    69632  1
snd_hda_codec_generic    69632  1 snd_hda_codec_realtek
snd_hda_ext_core       20480  1 snd_soc_skl
snd_hda_intel          32768  0
snd_hda_codec         106496  4 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel
snd_hda_core           65536  7 snd_hda_codec_realtek,snd_hda_ext_core,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hd _codec,snd_hda_intel,snd_soc_skl
snd_hwdep              16384  1 snd_hda_codec
snd_pcm                86016  8 snd_hda_ext_core,snd_soc_core,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_soc_skl,snd_pcm_dmaengine,snd_hda_core
snd                    65536  11 snd_hda_codec_realtek,snd_soc_core,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,thinkpad_acpi,snd_compress

edit: After doing a bit of research on the dmesg messages I found this (for more info, look here under "Codec-Probing Problem")

So basically I added the option "probe_mask=1" to the snd_hda_intel module (as described in the ubuntu link) and audio now works again.

I don't know why the codec probing behavior changed in 4.7 but I hope its just a regression that gets resolved in the next (few) kernel release(s).

Last edited by Triver (2016-08-27 12:09:30)

Offline

Board footer

Powered by FluxBB