[MS-7823, Realtek ALC892, Green SPDIF Out, Rear] No sound at all snd_hda_intel Cannot turn on display power on i915

Bug #1458136 reported by Michel Verbist on 2015-05-23
34
This bug affects 5 people
Affects Status Importance Assigned to Milestone
ALSA driver
Invalid
Medium
alsa-driver (Ubuntu)
Undecided
Unassigned

Bug Description

after the last update, and restart, the sound didn't work anymore

output from 'uname -a':
Linux poseidon 3.19.0-18-generic #18-Ubuntu SMP Tue May 19 18:31:35 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: alsa-base 1.0.25+dfsg-0ubuntu4
ProcVersionSignature: Ubuntu 3.19.0-18.18-generic 3.19.6
Uname: Linux 3.19.0-18-generic x86_64
ApportVersion: 2.17.2-0ubuntu1.1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: michel 1967 F.... pulseaudio
CurrentDesktop: GNOME
Date: Sat May 23 08:54:23 2015
InstallationDate: Installed on 2014-10-18 (216 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
PackageArchitecture: all
SourcePackage: alsa-driver
Symptom: audio
Symptom_AlsaPlaybackTest: ALSA playback test through plughw:PCH failed
Symptom_Card: Intern geluid - HDA Intel PCH
Symptom_DevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: michel 1967 F.... pulseaudio
Symptom_Jack: Green SPDIF Out, Rear
Symptom_Type: No sound at all
Title: [MS-7823, Realtek ALC892, Green SPDIF Out, Rear] No sound at all
UpgradeStatus: Upgraded to vivid on 2015-04-27 (25 days ago)
dmi.bios.date: 06/07/2013
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: V1.2
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: H87M-G43 (MS-7823)
dmi.board.vendor: MSI
dmi.board.version: 1.0
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: MSI
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrV1.2:bd06/07/2013:svnMSI:pnMS-7823:pvr1.0:rvnMSI:rnH87M-G43(MS-7823):rvr1.0:cvnMSI:ct3:cvr1.0:
dmi.product.name: MS-7823
dmi.product.version: 1.0
dmi.sys.vendor: MSI

Michel Verbist (michel-verbist) wrote :
Raymond (superquad-vortex2) wrote :

post pulseaudio verbose log

https://wiki.ubuntu.com/PulseAudio/Log

are there any error message in pulseaudio verbose log

when the stream tag of analog convertor and digital convertor are same vlaue 8

this imply driver output signal to both analog and digital

the driver should return EBUSY error when pulseaudio open digital device

you have to turn off "IEC958 Default PCM"

Simple mixer control 'IEC958 Default PCM',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]

Node 0x02 [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Control: name="Front Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Device: name="ALC892 Analog", type="Audio", device=0
  Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals: [0x3f 0x3f]
  Converter: stream=8, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states: D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x03 [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Control: name="Surround Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals: [0x3f 0x3f]
  Converter: stream=8, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states: D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x04 [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Control: name="Center Playback Volume", index=0, device=0
    ControlAmp: chs=1, dir=Out, idx=0, ofs=0
  Control: name="LFE Playback Volume", index=0, device=0
    ControlAmp: chs=2, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals: [0x3f 0x3f]
  Converter: stream=8, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states: D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x05 [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Control: name="Side Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
  Amp-Out vals: [0x3f 0x3f]
  Converter: stream=8, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states: D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x06 [Audio Output] wcaps 0x611: Stereo Digital
  Control: name="IEC958 Playback Con Mask", index=0, device=0
  Control: name="IEC958 Playback Pro Mask", index=0, device=0
  Control: name="IEC958 Playback Default", index=0, device=0
  Control: name="IEC958 Playback Switch", index=0, device=0
  Control: name="IEC958 Default PCM Playback Switch", index=0, device=0
  Device: name="ALC892 Digital", type="SPDIF", device=1
  Converter: stream=8, channel=0
  Digital: Enabled
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x5f0]: 32000 44100 48000 88200 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states: D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0

Changed in alsa-driver (Ubuntu):
status: New → Incomplete
Michel Verbist (michel-verbist) wrote :

added pulseverbose.log as requested

Michel Verbist (michel-verbist) wrote :

I did an extra test, just to see if there was faulty hardware : I started up with an Antergos Live CD
And there the sound worked fine, so we can rule out hardware problems.

Michel Verbist (michel-verbist) wrote :

I noticed the bug status = 'incomplete'

I attached the pulseverbose.log as requested.
Is there anything else I need to provide ?

Raymond (superquad-vortex2) wrote :

control.39 {
  iface CARD
  name 'Line Out Front Jack'
  value false
  comment {
   access read
   type BOOLEAN
   count 1
  }
 }
 control.40 {
  iface CARD
  name 'Line Out Surround Jack'
  value false
  comment {
   access read
   type BOOLEAN
   count 1
  }
 }
 control.41 {
  iface CARD
  name 'Line Out CLFE Jack'
  value false
  comment {
   access read
   type BOOLEAN
   count 1
  }
 }
 control.42 {
  iface CARD
  name 'Line Out Side Jack'
  value false
  comment {
   access read
   type BOOLEAN
   count 1
  }
 }
 control.43 {
  iface CARD
  name 'Front Headphone Jack'
  value false
  comment {
   access read
   type BOOLEAN
   count 1
  }
 }

do you mean that you are using spdif output since all analog output jacks are unplugged ?

control.39 {
  iface CARD
  name 'Line Out Front Jack'
  value false
  comment {
   access read
   type BOOLEAN
   count 1
  }
 }
 control.40 {
  iface CARD
  name 'Line Out Surround Jack'
  value false
  comment {
   access read
   type BOOLEAN
   count 1
  }
 }
 control.41 {
  iface CARD
  name 'Line Out CLFE Jack'
  value false
  comment {
   access read
   type BOOLEAN
   count 1
  }
 }
 control.42 {
  iface CARD
  name 'Line Out Side Jack'
  value false
  comment {
   access read
   type BOOLEAN
   count 1
  }
 }
 control.43 {
  iface CARD
  name 'Front Headphone Jack'
  value false
  comment {
   access read
   type BOOLEAN
   count 1
  }
 }

Default sink name: alsa_output.pci-0000_00_1b.0.iec958-stereo
Default source name: alsa_input.pci-0000_00_1b.0.analog-stereo

but you have turn on IEC958 Default PCM which driver copy audio to both analog and digital
and digital spdif won't work

Simple mixer control 'IEC958 Default PCM',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]

Raymond (superquad-vortex2) wrote :

mei 23 08:35:03 hostname kernel: Could not create debugfs 'switch_mm' directory
mei 23 08:35:03 hostname kernel: Could not create debugfs 'i915_context_free' directory
mei 23 08:35:03 hostname kernel: Could not create debugfs 'i915_context_create' directory
mei 23 08:35:03 hostname kernel: Could not create debugfs 'i915_ppgtt_release' directory
mei 23 08:35:03 hostname kernel: Could not create debugfs 'i915_ppgtt_create' directory
mei 23 08:35:03 hostname kernel: Could not create debugfs 'intel_gpu_freq_change' directory
mei 23 08:35:03 hostname kernel: Could not create debugfs 'i915_reg_rw' directory
mei 23 08:35:03 hostname kernel: Could not create debugfs 'i915_flip_complete' directory
mei 23 08:35:03 hostname kernel: Could not create debugfs 'i915_flip_request' directory
mei 23 08:35:03 hostname kernel: Could not create debugfs 'i915_ring_wait_end' directory
mei 23 08:35:03 hostname kernel: Could not create debugfs 'i915_ring_wait_begin' directory
mei 23 08:35:03 hostname kernel: Could not create debugfs 'i915_gem_request_wait_end' directory
mei 23 08:35:03 hostname kernel: Could not create debugfs 'i915_gem_request_wait_begin' directory
mei 23 08:35:03 hostname kernel: Could not create debugfs 'i915_gem_request_complete' directory
mei 23 08:35:03 hostname kernel: Could not create debugfs 'i915_gem_request_retire' directory
mei 23 08:35:03 hostname kernel: Could not create debugfs 'i915_gem_request_add' directory
mei 23 08:35:03 hostname kernel: Could not create debugfs 'i915_gem_ring_flush' directory
mei 23 08:35:03 hostname kernel: Could not create debugfs 'i915_gem_ring_dispatch' directory
mei 23 08:35:03 hostname kernel: Could not create debugfs 'i915_gem_ring_sync_to' directory
mei 23 08:35:03 hostname kernel: Could not create debugfs 'i915_gem_evict_vm' directory
mei 23 08:35:03 hostname kernel: Could not create debugfs 'i915_gem_evict_everything' directory
mei 23 08:35:03 hostname kernel: Could not create debugfs 'i915_gem_evict' directory
mei 23 08:35:03 hostname kernel: Could not create debugfs 'i915_gem_object_destroy' directory
mei 23 08:35:03 hostname kernel: Could not create debugfs 'i915_gem_object_clflush' directory
mei 23 08:35:03 hostname kernel: Could not create debugfs 'i915_gem_object_fault' directory
mei 23 08:35:03 hostname kernel: Could not create debugfs 'i915_gem_object_pread' directory
mei 23 08:35:03 hostname kernel: Could not create debugfs 'i915_gem_object_pwrite' directory
mei 23 08:35:03 hostname kernel: Could not create debugfs 'i915_gem_object_change_domain' directory
mei 23 08:35:03 hostname kernel: Could not create debugfs 'i915_vma_unbind' directory
mei 23 08:35:03 hostname kernel: Could not create debugfs 'i915_vma_bind' directory
mei 23 08:35:03 hostname kernel: Could not create debugfs 'i915_gem_object_create' directory
mei 23 08:35:03 hostname kernel: Could not create debugfs 'i915_pipe_update_end' directory
mei 23 08:35:03 hostname kernel: Could not create debugfs 'i915_pipe_update_vblank_evaded' directory
mei 23 08:35:03 hostname kernel: Could not create debugfs 'i915_pipe_update_start' directory
mei 23 08:35:03 hostname kernel: snd_hda_intel 0000:00:03.0: Cannot turn on display power on i915

Michel Verbist (michel-verbist) wrote :

I'm connected through HDMI to my monitor, and my monitor plays the sound, normally.

Michel Verbist (michel-verbist) wrote :

Now, if I go in the settings -> Sound, I don't see any device for output, to choose from.

Raymond (superquad-vortex2) wrote :

0:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)

your card 0 hdmi seem fail to be loaded when i915 cound not create debugfs

mei 23 08:35:03 hostname kernel: snd_hda_intel 0000:00:03.0: Cannot turn on display power on i915

summary: [MS-7823, Realtek ALC892, Green SPDIF Out, Rear] No sound at all
+ snd_hda_intel Cannot turn on display power on i915

Yes, but what should I do with that information ??
I don't have a clue on how to fix it, so that it works like before the update.

Do you need any more information to pinpoint the problem ?,

Raymond (superquad-vortex2) wrote :

you have to ask the author since this patch add the error message

http://www.spinics.net/lists/intel-gfx/msg47275.html

Created attachment 116177
the original automatic bug report to ubuntu launchpad

After an update my HDMI sound stopped working.

I filed an (automatic) bug report on ubuntu launchpad:
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1458136

After a while they re-directed me to the author of a certain patch (mr Takashi Iwai of alsa-project.org
He then told me to file the bug here.

I'm attaching the original automatic bug report
I'm attaching pulseaudio log

Created attachment 116179
the pulseaudio log (verbose)

Created attachment 116180
dmesg output

Please try a new kernel with drm.debug=14 module parameter set, and attach the dmesg.

Created attachment 116269
dmesg output with drm.debug=14

As requested, added the dmesg output with kernel boot param drm.debug=14

as suggested by Takashi Iwai of alsa-project.org, I opened a bug report at
https://bugs.freedesktop.org/show_bug.cgi?id=90785

Changed in alsa-driver:
importance: Unknown → Medium
status: Unknown → Incomplete

I see that the Status remains at NEEDINFO.
Do you need any additional information ?

http://mailman.alsa-project.org/pipermail/alsa-devel/2015-June/093370.html

Advanced information - PCI Vendor/Device/Subsystem ID's
!!--------------------------------------------------------

00:03.0 0403: 8086:0c0c (rev 06)
 Subsystem: 1462:7823

do the patch fix your problem ?

Well, to be honest, I don't know if I have that patch.

I couldn't find in the patch mail message in which kernel it was included.
I only found references to 4.2 and 4.1

I have this kernel:
$ uname -a
Linux poseidon 3.19.0-20-generic #20-Ubuntu SMP Fri May 29 10:10:47 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

I decided to update, and see what the result was.
Apparently, sound started working again for all users, except for myself.
That's why I didn't notice it right away, that the sound worked again.
In my user account it didn't work.
And I even had no sound device to choose from in the sound setting dialog box.
After some googling, I decided to try this, and it worked:
$ rm -r ~/.config/pulse/*
And then i copied the pulse config from a user where the sound did work.
Rebooted...
And my sound works again.

Thanks for everything.

(In reply to michel.verbist from comment #7)
> And my sound works again.
>
> Thanks for everything.

Awesome, thanks, closing.

Changed in alsa-driver:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.