Skip to contentSkip to conversation

Realtek ALC892 / snd-hda-intel breakage between 3.16 & 3.19

DISCUSSION Sander Smeenk 3 participants 5 messages May 27, 2015 – May 31, 2015

lore
Share & tools
lore
#0 lore raw

Hi,

After upgrading from 3.16.0-38-generic (Ubuntu Utopic) to 3.19.0-18-generic (Ubuntu Vivid) my audio stopped working. The issue appears to be in the snd-hda-intel driver.

'Alsa-info' is attached as gzip text, or online in paste bins:
- 3.19, broken: https://8n1.org/10575/e5c1
- 3.16, working: https://8n1.org/10576/0631

With 3.19, tools fail like:

| [sanders@msi:~] % aplay test.wav
| Playing WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
| ALSA lib pcm_pulse.c:752:(pulse_prepare) PulseAudio: Unable to create stream: No such entity
| aplay: set_params:1297: Unable to install hw params:
| [ .. ]
|
| [sanders@msi:~] % mplayer -ao alsa test.wav
| Selected audio codec: Uncompressed PCM [pcm]
| [ .. ]
| AUDIO: 44100 Hz, 2 ch, s16le, 1411.2 kbit/100.00% (ratio:
| 176400->176400)
| [AO_ALSA] alsa-lib: pcm_pulse.c:752:(pulse_prepare) PulseAudio: Unable to create stream: No such entity
| [AO_ALSA] Unable to set hw-parameters: Input/output error
| Failed to initialize audio driver 'alsa'
| Could not open/initialize audio device -> no sound.

And i have only one card listed in /proc/asound/cards, index 1 not 0:

| [sanders@msi:~] % cat /proc/asound/cards
|  1 [PCH            ]: HDA-Intel - HDA Intel PCH
|                       HDA Intel PCH at 0xf7b10000 irq 36

This all works perfectly fine with 3.16.

Please let me know when i can supply more information to dig into this!

Regards,
-Sndr.

Signature · 2 lines
| Alles hat ein ende, nur die wurst hat zwei.
| 4096R/20CC6CD2 - 6D40 1A20 B9AA 87D4 84C7  FBD6 F3A9 9442 20CC 6CD2
#1 lore raw

2015-5-28 上午3:01 於 "Sander Smeenk" <[email protected]> 寫道:

Quoted 7 lines

Hi,

After upgrading from 3.16.0-38-generic (Ubuntu Utopic) to 3.19.0-18-generic (Ubuntu Vivid) my audio stopped working. The issue appears to be in the snd-hda-intel driver.

Quoted 7 lines

'Alsa-info' is attached as gzip text, or online in paste bins:
- 3.19, broken: https://8n1.org/10575/e5c1
- 3.16, working: https://8n1.org/10576/0631

With 3.19, tools fail like:
| [sanders@msi:~] % aplay test.wav
| Playing WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz,

Stereo

Quoted 1 line

| ALSA lib pcm_pulse.c:752:(pulse_prepare) PulseAudio: Unable to create

stream: No such entity

Quoted 9 lines
| aplay: set_params:1297: Unable to install hw params:
| [ .. ]
|
| [sanders@msi:~] % mplayer -ao alsa test.wav
| Selected audio codec: Uncompressed PCM [pcm]
| [ .. ]
| AUDIO: 44100 Hz, 2 ch, s16le, 1411.2 kbit/100.00% (ratio:
| 176400->176400)
| [AO_ALSA] alsa-lib: pcm_pulse.c:752:(pulse_prepare) PulseAudio: Unable

to create stream: No such entity

Quoted 4 lines
| [AO_ALSA] Unable to set hw-parameters: Input/output error
| Failed to initialize audio driver 'alsa'
| Could not open/initialize audio device -> no sound.
Quoted 9 lines

And i have only one card listed in /proc/asound/cards, index 1 not 0:

| [sanders@msi:~] % cat /proc/asound/cards
|  1 [PCH            ]: HDA-Intel - HDA Intel PCH
|                       HDA Intel PCH at 0xf7b10000 irq 36

This all works perfectly fine with 3.16.

Please let me know when i can supply more information to dig into this!

HDMI fail because drm/i915 fail

Quoted 1 line

| ALSA lib pcm_pulse.c:752:(pulse_prepare) PulseAudio: Unable to create

stream: No such entity

This seem pulseaudio fail

[000d00h02m01s] [drm] Initialized i915 1.6.0 20141121 for 0000:00:02.0 on minor 0
[000d00h02m01s] snd_hda_intel 0000:00:03.0: enabling device (0000 -> 0002) [000d00h02m01s] snd_hda_intel 0000:00:1b.0: enabling device (0000 -> 0002) [000d00h02m01s] fbcon: inteldrmfb (fb0) is primary device
--
[000d00h02m01s] iwlwifi 0000:05:00.0: enabling device (0000 -> 0002) [000d00h02m01s] sound hdaudioC1D0: autoconfig: line_outs=1 (0x1b/0x0/0x0/0x0/0x0) type:speaker

[000d00h02m01s] sound hdaudioC1D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[000d00h02m01s] sound hdaudioC1D0:    hp_outs=1 (0x14/0x0/0x0/0x0/0x0)
[000d00h02m01s] sound hdaudioC1D0:    mono: mono_out=0x0
[000d00h02m01s] sound hdaudioC1D0:    dig-out=0x1e/0x0
[000d00h02m01s] sound hdaudioC1D0:    inputs:

[000d00h02m01s] sound hdaudioC1D0: Internal Mic=0x19
[000d00h02m01s] sound hdaudioC1D0: Mic=0x18
[000d00h02m01s] input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1b.0/sound/card1/input10 [000d00h02m01s] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card1/input11 [000d00h02m01s] iwlwifi 0000:05:00.0: loaded firmware version 25.17.12.0 op_mode iwlmvm
--
[000d00h02m01s] Could not create debugfs 'i915_pipe_update_start' directory [000d00h02m01s] snd_hda_intel 0000:00:03.0: Cannot turn on display power on i915
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#2 lore raw
Quoted 3 lines · Raymond Yau
Quoted 3 lines

After upgrading from 3.16.0-38-generic (Ubuntu Utopic) to 3.19.0-18-generic (Ubuntu Vivid) my audio stopped working. The issue appears to be in the snd-hda-intel driver.

[ .. ]

Quoted 1 line

HDMI fail because drm/i915 fail

So it appears. I hadn't noticed these:
| [000d00h02m01s] Could not create debugfs 'i915_pipe_update_start' directory | [000d00h02m01s] snd_hda_intel 0000:00:03.0: Cannot turn on display power on i915

Quoted 2 lines
Quoted 1 line

| ALSA lib pcm_pulse.c:752:(pulse_prepare) PulseAudio: Unable to create stream: No such entity

This seem pulseaudio fail

Yes. This error is because PulseAudio is also unable to communicate with the soundcard while 3.19 is running. However, the issue at hand is not PulseAudio related. Even with no Pulse running, aplay and friends fail to work the card.

Thnx,
-Sndr

Signature · 3 lines
| Decafalon (n.): The grueling event of getting through the day consuming
| only things that are good for you.
| 4096R/20CC6CD2 - 6D40 1A20 B9AA 87D4 84C7  FBD6 F3A9 9442 20CC 6CD2
#3 lore raw
Quoted 9 lines
Quoted 4 lines
Quoted 4 lines

After upgrading from 3.16.0-38-generic (Ubuntu Utopic) to 3.19.0-18-generic (Ubuntu Vivid) my audio stopped working. The issue appears to be in the snd-hda-intel driver.

[ .. ]

Quoted 1 line

HDMI fail because drm/i915 fail

So it appears. I hadn't noticed these:
| [000d00h02m01s] Could not create debugfs 'i915_pipe_update_start'

directory

Quoted 1 line

| [000d00h02m01s] snd_hda_intel 0000:00:03.0: Cannot turn on display

power on i915

Quoted 2 lines

This patch add the error messge " Cannot turn on display power on i915"

https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/patch/sound/pci/hda/hda_intel.c?id=74b0c2d75fb4cc89173944e6d8f9eb47aca0c343

#4 lore raw

At Sat, 30 May 2015 20:03:01 +0800,

Quoted 11 lines · Raymond Yau
Quoted 10 lines
Quoted 5 lines
Quoted 5 lines

After upgrading from 3.16.0-38-generic (Ubuntu Utopic) to 3.19.0-18-generic (Ubuntu Vivid) my audio stopped working. The issue appears to be in the snd-hda-intel driver.

[ .. ]

Quoted 1 line

HDMI fail because drm/i915 fail

So it appears. I hadn't noticed these:
| [000d00h02m01s] Could not create debugfs 'i915_pipe_update_start'

directory

Quoted 8 lines
Quoted 1 line

| [000d00h02m01s] snd_hda_intel 0000:00:03.0: Cannot turn on display

power on i915

Quoted 2 lines

This patch add the error messge " Cannot turn on display power on i915"

https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/patch/sound/pci/hda/hda_intel.c?id=74b0c2d75fb4cc89173944e6d8f9eb47aca0c343

... and this is irrelevant with the i915 problem itself. It merely propagates the error properly. Please don't mislead.

Takashi