no more hdmi audio output

Bug #708957 reported by Rainer Perske
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
High
Canonical Kernel Team

Bug Description

Binary package hint: linux-image-2.6.32-28-generic

Upgrading from 2.6.32-27-generic to 2.6.32-28-generic breaks HDMI audio output.

Test case: When running the command: aplay -D plughw:0,3 /usr/share/sounds/alsa/Noise.wav
a) with kernel image 2.6.32-27-generic, I hear the noise
b) after applying all updates, including installing kernel image 2.6.32-28-generic, I do not hear the noise,
c) after manually removing only the new kernel, keeping all other updates, I hear the noise again.
The same is true for any other way of playing sound via HDMI.
The problem does not occur with analog output, only with HDMI output.

My system: Xubuntu 10.04.1 LTS (64 bit) on Gigabyte GA-H55M-US2H

Output of "aplay -L":

pulse
    Playback/recording through the PulseAudio sound server
front:CARD=Intel,DEV=0
    HDA Intel, ALC889 Analog
    Front speakers
surround40:CARD=Intel,DEV=0
    HDA Intel, ALC889 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
    HDA Intel, ALC889 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
    HDA Intel, ALC889 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
    HDA Intel, ALC889 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
    HDA Intel, ALC889 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Intel,DEV=0
    HDA Intel, ALC889 Digital
    IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=Intel,DEV=0
    HDA Intel, INTEL HDMI 0
    HDMI Audio Output

No relevant messages in dmesg.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: linux-image (not installed)
Regression: Yes
Reproducible: Yes
ProcVersionSignature: Ubuntu 2.6.32-27.49-generic 2.6.32.26+drm33.12
Uname: Linux 2.6.32-27-generic x86_64
AlsaVersion:
 Advanced Linux Sound Architecture Driver Version 1.0.23.
 Compiled on Dec 2 2010 for kernel 2.6.32-27-generic (SMP).
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: perske 2047 F.... pulseaudio
                      perske 2084 F.... xfce4-volumed
CRDA: Error: [Errno 2] Bestand of map bestaat niet
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xfbff4000 irq 35'
   Mixer name : 'Intel G45 DEVIBX'
   Components : 'HDA:10ec0889,1458a022,00100004 HDA:80862804,80860101,00100000'
   Controls : 49
   Simple ctrls : 25
Date: Fri Jan 28 00:33:24 2011
HibernationDevice: RESUME=UUID=f066cb86-b53b-4af6-baed-7f8207c3048d
MachineType: Gigabyte Technology Co., Ltd. H55M-UD2H
ProcCmdLine: BOOT_IMAGE=/vmlinuz-2.6.32-27-generic root=/dev/mapper/hostname-hostnameroot ro quiet splash
ProcEnviron:
 LANGUAGE=de_DE:de:nl_NL:nl:en_US:en_GB:en
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
RelatedPackageVersions: linux-firmware 1.34.3
RfKill:

SourcePackage: linux
dmi.bios.date: 02/12/2010
dmi.bios.vendor: Award Software International, Inc.
dmi.bios.version: F8
dmi.board.name: H55M-UD2H
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.modalias: dmi:bvnAwardSoftwareInternational,Inc.:bvrF8:bd02/12/2010:svnGigabyteTechnologyCo.,Ltd.:pnH55M-UD2H:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnH55M-UD2H:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvr:
dmi.product.name: H55M-UD2H
dmi.sys.vendor: Gigabyte Technology Co., Ltd.

Revision history for this message
Rainer Perske (perske) wrote :
Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

In triaging this bug report, I subscribed Ubuntu Audio instead of Ubuntu Audio Team. I am unable to unsubscribe a team from the report.

tags: added: kernel-sound
Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

Thank you for taking the time to report this bug and helping to make Xubuntu better. If you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Brian Murray (brian-murray) wrote :

The reporter is indicating that this used to work with one kernel in Lucid and now it doesn't. I'm not sure testing the upstream kernel, for a bug with a regression in a stable release is really necessary.

Changed in linux (Ubuntu):
assignee: nobody → Canonical Kernel Team (canonical-kernel-team)
importance: Undecided → High
status: Incomplete → New
Revision history for this message
Rainer Perske (perske) wrote :

Replying to comment #3: I tried as requested. After installing
  linux-headers-2.6.32-0206322813-generic_2.6.32-0206322813.201101280908_amd64.deb
  linux-headers-2.6.32-0206322813_2.6.32-0206322813.201101280908_all.deb
  linux-image-2.6.32-0206322813-generic_2.6.32-0206322813.201101280908_amd64.deb
the problem persists; i.e. these kernels do not play sound via hdmi, too.

tags: removed: needs-upstream-testing
Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

Thanks for reporting this bug and any supporting documentation. Since this bug has enough information provided for a developer to begin work, I'm going to mark it as confirmed and let them handle it from here. Thanks for taking the time to make Ubuntu better!

Changed in linux (Ubuntu):
status: New → Triaged
Revision history for this message
Rainer Perske (perske) wrote :

With kernel 2.6.32-33-generic the bug still exists. Please do not ignore this bug report, importance is really high for me.

Revision history for this message
Rainer Perske (perske) wrote :

I just found a workaround: After entering:

sudo cp -p /lib/modules/2.6.32-27-generic/updates/alsa/snd-hda-codec-intelhdmi.ko /lib/modules/2.6.32-33-generic/updates/alsa/snd-hda-codec-intelhdmi.ko

HDMI output works immediately, without reboot.

Revision history for this message
Julian Wiedmann (jwiedmann) wrote :

Which linux-backports-modules-alsa-* packages are installed on your system?

Revision history for this message
Rainer Perske (perske) wrote :

Currently linux-backports-modules-alsa-lucid-generic and its dependencies, i.e. currently linux-backports-modules-alsa-2.6.32-33-generic. But the problem started, when the following packages were added:

linux-headers-2.6.32-28 (2.6.32-28.55)
linux-headers-2.6.32-28-generic (2.6.32-28.55)
linux-image-2.6.32-28-generic (2.6.32-28.55)

and the following packages were updated:

apparmor (2.5.1-0ubuntu0.10.04.2) to 2.5.1-0ubuntu0.10.04.3
apparmor-utils (2.5.1-0ubuntu0.10.04.2) to 2.5.1-0ubuntu0.10.04.3
icedtea-6-jre-cacao (6b20-1.9.2-0ubuntu1~10.04.1) to 6b20-1.9.4-0ubuntu1~10.04.1
icedtea6-plugin (6b20-1.9.2-0ubuntu1~10.04.1) to 6b20-1.9.4-0ubuntu1~10.04.1
libapparmor-perl (2.5.1-0ubuntu0.10.04.2) to 2.5.1-0ubuntu0.10.04.3
libapparmor1 (2.5.1-0ubuntu0.10.04.2) to 2.5.1-0ubuntu0.10.04.3
libmysqlclient16 (5.1.41-3ubuntu12.8) to 5.1.41-3ubuntu12.9
libplymouth2 (0.8.2-2ubuntu2.1) to 0.8.2-2ubuntu2.2
linux-generic (2.6.32.27.29) to 2.6.32.28.31
linux-headers-generic (2.6.32.27.29) to 2.6.32.28.31
linux-image-generic (2.6.32.27.29) to 2.6.32.28.31
linux-libc-dev (2.6.32-27.49) to 2.6.32-28.55
mysql-common (5.1.41-3ubuntu12.8) to 5.1.41-3ubuntu12.9
openjdk-6-jre (6b20-1.9.2-0ubuntu1~10.04.1) to 6b20-1.9.4-0ubuntu1~10.04.1
openjdk-6-jre-headless (6b20-1.9.2-0ubuntu1~10.04.1) to 6b20-1.9.4-0ubuntu1~10.04.1
openjdk-6-jre-lib (6b20-1.9.2-0ubuntu1~10.04.1) to 6b20-1.9.4-0ubuntu1~10.04.1
plymouth (0.8.2-2ubuntu2.1) to 0.8.2-2ubuntu2.2
plymouth-label (0.8.2-2ubuntu2.1) to 0.8.2-2ubuntu2.2
plymouth-theme-ubuntu-text (0.8.2-2ubuntu2.1) to 0.8.2-2ubuntu2.2
plymouth-x11 (0.8.2-2ubuntu2.1) to 0.8.2-2ubuntu2.2
xubuntu-docs (9.10.1) to 9.10.1.10.04.1
during auto-update.

I.e. linux-backports-modules-alsa-* was not touched at the moment of the start of the problem.

Revision history for this message
Julian Wiedmann (jwiedmann) wrote :

I trust you already tried removing all linux-backports-modules-alsa-* packages? Specifically, have you tried
a) booting 2.6.32-27 with no alsa-backports installed
b) booting 2.6.32-33 with no alsa-backports installed

If the 2.6.32-28 kernel update didn't come with the corresponding linux-backports-modules-alsa-$version package, a change in audio behaviour sounds reasonable.

(Note: always report a bug from the *non*-working kernel so the proper logfiles get added)

Revision history for this message
Rainer Perske (perske) wrote :

@Julian: Thank you very much, your comment most probably contains the solution for this bug.

I just re-tested all combinations:

kernel 2.6.32-27 without alsa-backports: HDMI sound does NOT work.
kernel 2.6.32-27 with alsa backports: HDMI sound DOES work.
kernel 2.6.32-33 without alsa-backports: HDMI sound does NOT work.
kernel 2.6.32-33 with alsa backports: HDMI sound DOES work.
(The hack described in my previous post was not needed.)

> If the 2.6.32-28 kernel update didn't come with the corresponding linux-backports-modules-alsa-$version package, a change in audio behaviour sounds reasonable.

As far as I can see: That's it! According to my Synaptic chronics, on 2011-01-27 01:15 indeed only linux-image-* but not linux-backports-modules-alsa-* were updated to 2.6.32-28. After submitting the bug report above, I reverted to kernel 2.6.32-27 and inhibited any later kernel update by uninstalling all virtual packages depending on the most recent kernel version number. So linux-backports-modules-alsa-2.6.32-28 (which must have been released later) has never been installed on my system.

Solution for my problem: Defer all future kernel updates until the corresponding alsa backport update is also available and always install them together.

Thanks!

Revision history for this message
Rainer Perske (perske) wrote :

My last sentence can be misunderstood: I will defer the updates, not the Canonical kernel team :-)

Revision history for this message
Julian Wiedmann (jwiedmann) wrote :

Right, that would explain why the new alsa-backports package wasn't pulled in automatically after it was released.
Note that this is only an issue if the kernel ABI changes. So updating 2.6.32-33 shouldn't cause any issues, but when installing 2.6.32-34 make sure that the new alsa-backports package is available as well.

Now that you know the reason for this issue: if you notice any significant, reoccuring delays - don't hesitate to open a bug about it. Maybe there's a way to improve the workflow and/or packaging.

Changed in linux (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Rainer Perske (perske) wrote : Re: [Bug 708957] Re: no more hdmi audio output

Hi, Julian,

direct reply, to avoid pollution of the bug tracking system:

Thank you very much for your help!

> Now that you know the reason for this issue: if you notice any
> significant, reoccuring delays - don't hesitate to open a bug about
> it. Maybe there's a way to improve the workflow and/or packaging.

I'll have an eye on it :-)

Best greetings
--
Rainer Perske, Münster, Germany

Diese E-Mail ist mit einer digitalen Signatur versehen. Mit einer
OpenPGP-Software (z. B. GnuPG) können Sie die Echtheit überprüfen.

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.