Bug 55591

Summary: [BISECTED]Intel HDA / Nouveau: HDMI audio broken
Product: Drivers Reporter: bugtracker.apriori
Component: Video(DRI - non Intel)Assignee: drivers_video-dri
Status: CLOSED CODE_FIX    
Severity: normal CC: alan, rickard, superquad.vortex2, tiwai, wouaren
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 3.8.4 Subsystem:
Regression: Yes Bisected commit-id:
Attachments: alsa-info for kernel 3.7.10 (HDMI audio working)
alsa-info output for kernel 3.8.5 (HDMI audio defunct)
Kernel log re: EDID, comparing 3.7.10 and 3.8.5

Description bugtracker.apriori 2013-03-22 11:06:35 UTC
As of kernel 3.8, no sound is transmitted anymore when connecting my Nouveau driven graphics adapter to a TV over HDMI. I'm unsure if this is pertinent to nouveau or to intel_hda. I may reproduce the bug via the following steps:

1. Connect graphics card to TV via HDMI. [Video output switches correctly.]
2. aplay -D something to the Intel HDA device.
3. aplay succeeds, but not sound is heard.

I am aware that some TVs disable audio when no signal is playing during a handshake phase, so I kept some audio running when plugging the HDMI and also tried power cycling the TV, to no avail. Also, this did not affect me with the 3.7 kernels.

My hardware is the following:

> 00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio
> Controller (rev 03)
> 01:00.0 VGA compatible controller: NVIDIA Corporation G96 [GeForce 9600M GS]
> (rev a1)

Is there any additional information I could provide? The kernel log makes no mention of anything HDMI related.
Comment 1 bugtracker.apriori 2013-03-22 11:08:45 UTC
My current kernel version is 3.8.4, but the problem also occured with 3.8.3
Comment 2 bugtracker.apriori 2013-03-31 18:51:20 UTC
Bug persists in 3.8.5.

Something I hadn't noticed when last testing this: aplay currently gives me:

> aplay: set_params:1108: Channels count non available
Comment 3 Raymond 2013-04-02 06:56:35 UTC
post the output of alsa-info.sh

did your video driver obtain eld (EDID) from your HDMI TV ?
Comment 4 bugtracker.apriori 2013-04-05 07:03:33 UTC
Created attachment 97391 [details]
alsa-info for kernel 3.7.10 (HDMI audio working)
Comment 5 bugtracker.apriori 2013-04-05 07:05:45 UTC
Created attachment 97401 [details]
alsa-info output for kernel 3.8.5 (HDMI audio defunct)

This is for 3.8.5-ck. For vanilla 3.8.5, no different behavior re HDMI audio was observed.
Comment 6 bugtracker.apriori 2013-04-05 07:13:49 UTC
Created attachment 97411 [details]
Kernel log re: EDID, comparing 3.7.10 and 3.8.5

This shows kernel log output when switching HDMI output from the desktop screen to the TV.
Comment 7 Rickard Närström 2013-05-18 09:20:14 UTC
I can report the same problem. After a bisect the problem seems to have been introduced in commit 8e9e3d2deacc460fbb8a4691140318f6e85e6891
Comment 8 Takashi Iwai 2013-11-13 16:20:47 UTC
Looks like rather a regression in Nouveau driver...

Does the problem still happen with the latest kernel?
Comment 9 Rickard Närström 2013-11-13 16:42:30 UTC
I do not have this problem since version 3.11 of the kernel.
Comment 10 Alan 2013-11-13 17:49:57 UTC
Thanks