Audio stops working when HDMI monitor cycles power

Bug #863937 reported by mikekchar
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Linux Mint
Confirmed
Undecided
Unassigned
Ubuntu
Invalid
Undecided
Unassigned

Bug Description

Version 11, 64 bit

output of aplay -l:

**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC889 Analog [ALC889 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC889 Digital [ALC889 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Asus HD6950 graphics card using the Catalyst driver
Sony Bravia TV using HDMI input

Sound is working perfectly, but when I power off the TV and power it back on again, I lose audio (both HDMI and the HDA Intel PCH). Using aplay to play a sound file creates no errors but there is no sound. Removing the HDMI cable from the computer and putting it back in again restores the sound.

It seems clear to me that this is related to the HDMI hot plug, but I'm not sure if the problem lies in pulseaudio, the catalyst driver or somewhere else.

If there are any questions, feel free to contact me.

Revision history for this message
Jon Hermansen (jonhermansen) wrote :

I'm experiencing the same issue on an up-to-date Ubuntu 12.04 beta machine.

[jherm@htpc ~]$ sudo aplay -l
**** List of PLAYBACK Hardware Devices ****
Home directory /home/jherm not ours.
card 0: SB [HDA ATI SB], device 0: ALC662 rev1 Analog [ALC662 rev1 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 1: ALC662 rev1 Digital [ALC662 rev1 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
  Subdevices: 0/1
  Subdevice #0: subdevice #0

Here's the unique HDMI-related links from my syslog:

$ sudo grep HDMI /var/log/syslog | cut -d' ' -f11- | sort -n | uniq
Codec=0 Pin=3 Presence_Detect=0 ELD_Valid=0
Codec=0 Pin=3 Presence_Detect=1 ELD_Valid=1
HDMI hot plug event: Codec=0 Pin=3 Presence_Detect=0 ELD_Valid=1
HDMI hot plug event: Codec=0 Pin=3 Presence_Detect=1 ELD_Valid=0
HDMI status: Codec=0 Pin=3 Presence_Detect=0 ELD_Valid=0
HDMI status: Codec=0 Pin=3 Presence_Detect=1 ELD_Valid=1
hot plug event: Codec=0 Pin=3 Presence_Detect=0 ELD_Valid=0
hot plug event: Codec=0 Pin=3 Presence_Detect=0 ELD_Valid=1
hot plug event: Codec=0 Pin=3 Presence_Detect=1 ELD_Valid=0
hot plug event: Codec=0 Pin=3 Presence_Detect=1 ELD_Valid=1
input: HD-Audio Generic HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.0/0000:01:00.1/sound/card1/input11
input: HD-Audio Generic HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.0/0000:01:00.1/sound/card1/input12
input: HD-Audio Generic HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.0/0000:01:00.1/sound/card1/input8
plug event: Codec=0 Pin=3 Presence_Detect=0 ELD_Valid=0
plug event: Codec=0 Pin=3 Presence_Detect=0 ELD_Valid=1
plug event: Codec=0 Pin=3 Presence_Detect=1 ELD_Valid=0
plug event: Codec=0 Pin=3 Presence_Detect=1 ELD_Valid=1
status: Codec=0 Pin=3 Presence_Detect=0 ELD_Valid=0
status: Codec=0 Pin=3 Presence_Detect=1 ELD_Valid=1

This issue occurs after I power cycle my TV and A/V receiver (HDMI passes through receiver) while the machine stays on, I have not yet debugged whether it's caused by the receiver or TV itself. It seems like if I power cycle ONLY the receiver after getting into this scenario that audio out starts working again.

Please let me know if I can provide more details. Thanks!

Revision history for this message
Fabio Marconi (fabiomarconi) wrote :

while your symptoms sound similar, you're likely experiencing an unrelated issue. Please file a new bug for it using the command 'ubuntu-bug linux'.

Changed in ubuntu:
status: New → Incomplete
status: Incomplete → Invalid
Revision history for this message
Ken Phillis Jr (kphillisjr) wrote :

I am able to Confirm this bug on Linux Mint 12 Lisa. Anyways, This is a recently introduced Bug ( within the last couple of weeks ), and i am able to reproduce the bug regardless of desktop environment ( Tested on LXDE, Cinnamin, and GNOME 3 ).

Anyways, A temporary fix to this bug is to switch to a non-X11 termal ( CTRL +ALT+F1 ), and then back to the X11 terminal ( ALT+F1 ).

As for testing:
Set the Default Audio Output to the HDMI Port.
Start Playing a music File
Cycle the Monitor Power.
(At this Point The Sound stops)
Appy the Temporary fix Press CTRL+ALT+F1 and then ALT+F7.
(At this Point The Sound Resumes at whatever Position the Stream is)

Changed in linuxmint:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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