[1002:9715] Radeon HD 4250 HDMI: no sound

Bug #897008 reported by Fabrizio Gennari
34
This bug affects 6 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Triaged
Low
Unassigned

Bug Description

Since the 11.10 upgrade, when Digital stereo (HDMI) is chosen as audio ouptut (audio settings, Output tab), no sound comes, and video playback is very fast, as if there's no pause between frames.

There are 2 entries in the output tab. One is RS880 Audio Device [Radeon HD 4200] Digital Stereo [HDMI], the other is Internal audio stereo analog.

No problems when the other output is selected. Even video oplayback is OK.

Some search results say that this happen when the HDMI monoitor is disconnected and HDMI is selected. In this case, the monitor is connected with HDMI and video has no problem. Also. the exact same configuration did not have this problem in 11.04

WORKAROUND: adding "radeon.audio=1" to your GRUB boot options.

---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: SB [HDA ATI SB], device 0: VT1828S Analog [VT1828S Analog]
   Subdevices: 2/2
   Subdevice #0: subdevice #0
   Subdevice #1: subdevice #1
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: fabrizio 1621 F.... pulseaudio
 /dev/snd/pcmC0D0p: fabrizio 1621 F...m pulseaudio
CRDA: Error: [Errno 2] File o directory non esistente
Card0.Amixer.info:
 Card hw:0 'SB'/'HDA ATI SB at 0xfe8f4000 irq 16'
   Mixer name : 'VIA VT1828S'
   Components : 'HDA:11064441,14627623,00100100'
   Controls : 37
   Simple ctrls : 21
Card1.Amixer.info:
 Card hw:1 'HDMI'/'HDA ATI HDMI at 0xfeae8000 irq 19'
   Mixer name : 'ATI RS690/780 HDMI'
   Components : 'HDA:1002791a,00791a00,00100000'
   Controls : 4
   Simple ctrls : 1
Card1.Amixer.values:
 Simple mixer control 'IEC958',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
DistroRelease: Ubuntu 11.10
HibernationDevice: RESUME=UUID=5e838942-9dc9-4e7d-81c9-5f2b4aaa7d67
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
IwConfig:
 lo no wireless extensions.

 eth0 no wireless extensions.
MachineType: MSI MS-7623
Package: linux (not installed)
ProcEnviron:
 PATH=(custom, no user)
 LANG=it_IT.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-13-generic root=UUID=10b9da6b-d735-48a7-bc45-2c1fc81183dd ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 3.0.0-13.22-generic 3.0.6
RelatedPackageVersions:
 linux-restricted-modules-3.0.0-13-generic N/A
 linux-backports-modules-3.0.0-13-generic N/A
 linux-firmware 1.60
RfKill:

Tags: oneiric running-unity
Uname: Linux 3.0.0-13-generic x86_64
UpgradeStatus: Upgraded to oneiric on 2011-10-15 (44 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 08/10/2010
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: V11.5
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: 880GM-E41 (MS-7623)
dmi.board.vendor: MSI
dmi.board.version: 2.0
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: MSI
dmi.chassis.version: 2.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrV11.5:bd08/10/2010:svnMSI:pnMS-7623:pvr2.0:rvnMSI:rn880GM-E41(MS-7623):rvr2.0:cvnMSI:ct3:cvr2.0:
dmi.product.name: MS-7623
dmi.product.version: 2.0
dmi.sys.vendor: MSI

Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 897008

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Fabrizio Gennari (fabrizio-ge) wrote : AcpiTables.txt

apport information

tags: added: apport-collected oneiric running-unity
description: updated
Revision history for this message
Fabrizio Gennari (fabrizio-ge) wrote : AlsaDevices.txt

apport information

Revision history for this message
Fabrizio Gennari (fabrizio-ge) wrote : AplayDevices.txt

apport information

Revision history for this message
Fabrizio Gennari (fabrizio-ge) wrote : BootDmesg.txt

apport information

Revision history for this message
Fabrizio Gennari (fabrizio-ge) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
Fabrizio Gennari (fabrizio-ge) wrote : Card0.Codecs.codec.3.txt

apport information

Revision history for this message
Fabrizio Gennari (fabrizio-ge) wrote : Card1.Codecs.codec.0.txt

apport information

Revision history for this message
Fabrizio Gennari (fabrizio-ge) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Fabrizio Gennari (fabrizio-ge) wrote : Lspci.txt

apport information

Revision history for this message
Fabrizio Gennari (fabrizio-ge) wrote : Lsusb.txt

apport information

Revision history for this message
Fabrizio Gennari (fabrizio-ge) wrote : PciMultimedia.txt

apport information

Revision history for this message
Fabrizio Gennari (fabrizio-ge) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Fabrizio Gennari (fabrizio-ge) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Fabrizio Gennari (fabrizio-ge) wrote : ProcModules.txt

apport information

Revision history for this message
Fabrizio Gennari (fabrizio-ge) wrote : PulseSinks.txt

apport information

Revision history for this message
Fabrizio Gennari (fabrizio-ge) wrote : PulseSources.txt

apport information

Revision history for this message
Fabrizio Gennari (fabrizio-ge) wrote : UdevDb.txt

apport information

Revision history for this message
Fabrizio Gennari (fabrizio-ge) wrote : UdevLog.txt

apport information

Revision history for this message
Fabrizio Gennari (fabrizio-ge) wrote : WifiSyslog.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote : Re: HDMI: no sound, video too fast

Would it be possible for you to test the latest upstream kernel? It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . If possible, please test the latest v3.2-rcN kernel (Not a kernel in the daily directory). Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag(Only that one tag, please leave the others). 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.

If this bug is fixed by the mainline kernel, please add the following tag 'kernel-fixed-upstream-KERNEL-VERSION'. For example, if kernel version 3.2-rc1 fixed and issue, the tag would be: 'kernel-fixed-upstream-v3.2-rc1'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'. If you believe this bug does not require upstream testing, please add the tag: 'kernel-upstream-testing-not-needed'.

Thanks in advance.

tags: added: regression-release
Changed in linux (Ubuntu):
importance: Undecided → Medium
tags: added: needs-upstream-testing
tags: added: kernel-bug-exists-upstream
Revision history for this message
Fabrizio Gennari (fabrizio-ge) wrote :

Installed packages
 linux-headers-3.2.0-030200rc2-generic_3.2.0-030200rc2.201111151435_amd64.deb
 linux-headers-3.2.0-030200rc2_3.2.0-030200rc2.201111151435_all.deb
 linux-image-3.2.0-030200rc2-generic_3.2.0-030200rc2.201111151435_amd64.deb
from http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.2-rc2-oneiric/.

Rebooted. Verified that the newest kernel was running:
fabrizio@fabrizio-MS-7623:~$ uname -r
3.2.0-030200rc2-generic

The problem is still there.

Something to report: an error while installing one of the above 3 packages.
fabrizio@fabrizio-MS-7623:~$ sudo dpkg -i /home/fabrizio/Scaricati/linux-headers-3.2.0-030200rc2-generic_3.2.0-030200rc2.201111151435_amd64.deb
(Lettura del database... 278852 file e directory attualmente installati.)
Preparativi per sostituire linux-headers-3.2.0-030200rc2-generic v.3.2.0-030200rc2.201111151435 (utilizzando .../linux-headers-3.2.0-030200rc2-generic_3.2.0-030200rc2.201111151435_amd64.deb)...
Estrazione del sostituto di linux-headers-3.2.0-030200rc2-generic...
Configurazione di linux-headers-3.2.0-030200rc2-generic (3.2.0-030200rc2.201111151435)...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 3.2.0-030200rc2-generic /boot/vmlinuz-3.2.0-030200rc2-generic
Error! Bad return status for module build on kernel: 3.2.0-030200rc2-generic (x86_64)
Consult /var/lib/dkms/alsa-hda/0.1/build/make.log for more information.

fabrizio@fabrizio-MS-7623:~$ cat /var/lib/dkms/alsa-hda/0.1/build/make.log
DKMS make.log for alsa-hda-0.1 for kernel 3.2.0-030200rc2-generic (x86_64)
mer 30 nov 2011, 09.09.22, CET
make -C /lib/modules/3.2.0-030200rc2-generic/build M=/var/lib/dkms/alsa-hda/0.1/build modules
make[1]: ingresso nella directory "/usr/src/linux-headers-3.2.0-030200rc2-generic"
  CC [M] /var/lib/dkms/alsa-hda/0.1/build/patch_analog.o
/var/lib/dkms/alsa-hda/0.1/build/patch_analog.c:5064:14: error: expected declaration specifiers or ‘...’ before string constant
/var/lib/dkms/alsa-hda/0.1/build/patch_analog.c:5066:16: error: expected declaration specifiers or ‘...’ before string constant
/var/lib/dkms/alsa-hda/0.1/build/patch_analog.c:5067:20: error: expected declaration specifiers or ‘...’ before string constant
/var/lib/dkms/alsa-hda/0.1/build/patch_analog.c:5071:11: error: ‘THIS_MODULE’ undeclared here (not in a function)
make[2]: *** [/var/lib/dkms/alsa-hda/0.1/build/patch_analog.o] Errore 1
make[1]: *** [_module_/var/lib/dkms/alsa-hda/0.1/build] Errore 2
make[1]: uscita dalla directory "/usr/src/linux-headers-3.2.0-030200rc2-generic"
make: *** [all] Errore 2

Revision history for this message
madbiologist (me-again) wrote :

HDMI audio was disabled by the upstream kernel developers as it causes blank screens on a lot of systems.

You can re-enable HDMI audio by adding "radeon.audio=1" to your GRUB boot options. There are reports on the Phoronix forums that this also fixes the fast video playback problem.

Revision history for this message
Fabrizio Gennari (fabrizio-ge) wrote :

Thank you, radeon.audio=1 solved.

A cleanup of /var/lib/dkms/ from old cruft also solved the compilation problems

Revision history for this message
Fabrizio Gennari (fabrizio-ge) wrote :

So, basically, if radeon.audio=1 is added manually, HDMI audio works (with blank screens on a lot of systems, but not here). Instead, the default is that an HDMI audio device is shown in the list of audio devices, but it is broken. This goes against the policy of having sane defaults. If HDMI audio is disabled upstream, the HDMI audio device must not be shown at all. Or, alternatively, it must be shown greyed out with instructions on how to activate it (and warnings about possibility of blank screens). For sure, the way Ubuntu 11.10 works is not the right way.

Revision history for this message
madbiologist (me-again) wrote :

Re comment #25 - those are some good ideas. I encourage you to create a blueprint by going to https://blueprints.launchpad.net/ubuntu/ and clicking on "Register a blueprint" on the top right of the page.

tags: removed: needs-upstream-testing
Revision history for this message
freenity (anton-galitch) wrote :

This bug only affects open source radeon driver.
Adding radeon.audio=1 to /etc/default/grub solved the issue.

penalvch (penalvch)
summary: - HDMI: no sound, video too fast
+ HDMI: no sound
tags: added: kernel-sound kernel-sound-hdmi
removed: audio hdmi playback
description: updated
Revision history for this message
Mtt.Castelli (mtt.castelli) wrote : Re: HDMI: no sound

:$ aplay -l
**** Lista di PLAYBACK dispositivi hardware ****
scheda 0: Intel [HDA Intel], dispositivo 0: STAC92xx Analog [STAC92xx Analog]
  Sottoperiferiche: 1/1
  Sottoperiferica #0: subdevice #0
scheda 0: Intel [HDA Intel], dispositivo 1: STAC92xx Digital [STAC92xx Digital]
  Sottoperiferiche: 1/1
  Sottoperiferica #0: subdevice #0
scheda 0: Intel [HDA Intel], dispositivo 3: HDMI 0 [HDMI 0]
  Sottoperiferiche: 1/1
  Sottoperiferica #0: subdevice #0

Revision history for this message
falstaff (falstaff) wrote :

After installing Ubuntu 12.10 on a system with a ATI Radeon HD 4650 (RV730) I had no sound over HDMI. The HDMI adapter wasn't in the list of chooseable output devices for Pulseaudio (Sound configuration), so this works correctly for 12.10.

 The mentioned parameter radeon.audio=1 added the entry in the Pulseaudio configuration (Sound configuration) and the HDMI audio output works so far flawless.

Revision history for this message
molecule-eye (niburu1) wrote :

I have the same problem using Catalyst blobs (currently 13.2 beta 6). No HDMI audio on resume, and playback is sped up. HDMI is still selectable from pavucontrol.

I added radeon.audio=1 to /etc/default/grub and then did an update-grub, but I get the following error:

/usr/sbin/grub-mkconfig: 37: /etc/default/grub: radeon.audio=1: not found

Is that a problem? Also, how does one go about adding radeon.audio=1 to their pulseaudio configuration as mentioned by falstaff in comment #29?

Revision history for this message
madbiologist (me-again) wrote :

molecule-eye - The radeon.audio=1 parameter is only applicable when using the open-source radeon driver, and not when using the closed source Catalyst driver. This probably explains the error you are getting.

What falstaff was saying is that when they added the radeon.audio=1 parameter to their kernel boot options it caused the HDMI adapter to be added to the list of chooseable output devices in the Pulseaudio (Sound configuration) dialog.

Revision history for this message
Björn Lindqvist (bjourne) wrote :

Seeing this issue on a fresh install of 12.04. Is there a fix or workaround yet?

Revision history for this message
GizmoChicken (gizmochicken) wrote :

I've been testing Ubuntu 13.04 with an AMD Radeon HD 6670 graphics card attached to a big screen TV via HDMI. Until very recently (within the last week or so), adding "radeon.audio=1" to my GRUB boot options had allowed HDMI audio to work flawlessly.

But after a recent update to Ubuntu 13.04, the above mentioned workaround (adding "radeon.audio=1" to my GRUB boot options) no longer works. In fact, after the update, HDMI audio can't even be seen as an audio output option any longer.

What's changed in the last week or so?

Revision history for this message
madbiologist (me-again) wrote :

Nothing that I can see in the logs.

Revision history for this message
GizmoChicken (gizmochicken) wrote :

Hmm. That's strange. I've updated two different installations of Ubuntu 13.04, and I lost HDMI audio for both of them. I'll update again in a few days just to see if the problem corrects itself. If not self-correcting, I'll try a clean install from the final release in a few weeks.

Revision history for this message
Ivan Mikushin (i-mikushin) wrote :

The same here, on Ubuntu 13.04 Gnome Remix: 2 weeks ago I had audio over HDMI, now it's gone. Something has definitely changed.

Revision history for this message
GizmoChicken (gizmochicken) wrote :

Regarding Ubuntu 13.04: I just noticed that audio over HDMI can be made to work using a kernel from an earlier daily release. In particular, so long as I keep "radeon.audio=1" added to my GRUB boot options, HDMI audio works in Ubuntu 13.04 with the Linux 3.8.0-7-generic kernel.

I also tried kernel versions 17, 18, and 19, but none of those kernel versions worked for me with HDMI audio. I would imagine that some versions between 7 and 17 also work. Unfortunately, versions 7, 17, 18, and 19 are the only versions that I have readily available for testing.

So the problem seems to integral to the recent kernels updates.

Revision history for this message
madbiologist (me-again) wrote :

Thanks, that helps a bit but it is still a fairly large range. The versions in-between are listed at http://kernel.ubuntu.com/~kernel-ppa/info/kernel-version-map.html alongside the corresponding mainline kernel versions. The Ubuntu mainline kernel PPAs are at http://kernel.ubuntu.com/~kernel-ppa/mainline/ and instructions on how to install and uninstall them are at https://wiki.ubuntu.com/Kernel/MainlineBuilds

Could you please the output of "pacmd ls" and an alsa-info according to https://wiki.ubuntu.com/Audio/AlsaInfo ?

Revision history for this message
madbiologist (me-again) wrote :

Oops, I meant "please attach the output..."

Revision history for this message
GizmoChicken (gizmochicken) wrote :

CORRECTION: Contrary to what I wrote in comment #37, the Ubuntu 3.8.0-17-generic kernel DOES support HDMI audio in Ubuntu 13.04. However, at least for me, HDMI audio continues not to work with the Ubuntu 3.8.0-18-generic kernel or with the Ubuntu 3.8.0-19-generic kernel.

So the bug seems to have appeared with the Ubuntu 3.8.0-18-generic kernel.

I can also confirm that HDMI audio DOES work in Ubuntu 13.04 with the following mainline kernels:
3.8.0, 3.8.1, 3.8.2, 3.8.6, and 3.8.8. (I'll just add that lots of other problems appeared with 3.8.1, 3.8.2, 3.8.6, and 3.8.8. But for me, most everything seems to work well with mainline 3.8.0.)

Interesting to note that HDMI audio works with mainline 3.8.6 and mainline 3.8.8, but not with Ubuntu 3.8.0-18 or Ubuntu 3.8.0-19, which are based on mainline 3.8.6 and mainline 3.8.8, respectively.

I haven't had a chance to obtain also-info yet.

Revision history for this message
madbiologist (me-again) wrote :

The same problem seems to be getting some more traction over at bug #1169761. They have also identified the same regression window that you have.

Revision history for this message
madbiologist (me-again) wrote :

Unless I am mistaken this is caused by one of the SAUCE patches or config changes listed at https://launchpad.net/ubuntu/raring/+source/linux/3.8.0-18.28

Revision history for this message
madbiologist (me-again) wrote :

The cause of this new issue has been identified in bug 1169984. A fix is on the way.

Revision history for this message
madbiologist (me-again) wrote :

The new issue has been fixed in kernel 3.8.0-22.33 which is available in raring-updates. Adding radeon.audio=1 to the GRUB boot options will once again enable HDMI audio on AMD/ATI Radeon hardware.

penalvch (penalvch)
summary: - HDMI: no sound
+ 1002:9715 HDMI: no sound
Revision history for this message
madbiologist (me-again) wrote : Re: 1002:9715 HDMI: no sound

The upstream 3.13 kernel is currently under development. The radeon.audio=1 kernel boot option will no longer be necessary with this kernel. Instead, HDMI audio on ATI/AMD Radeon cards can be enabled and disabled on the fly by typing the following in a terminal window:

xrandr --output HDMI-0 --set audio on

or

xrandr --output HDMI-0 --set audio off

If your HDMI port is numbered differently (type "xrandr" to check) - you might need to change HDMI-0 in the above command to HDMI-1 or HDMI-2.

The 3.13-rc2 kernel is currently available at http://kernel.ubuntu.com/~kernel-ppa/mainline/ and instructions on how to install and uninstall it are available at https://wiki.ubuntu.com/Kernel/MainlineBuilds

Revision history for this message
penalvch (penalvch) wrote :

Fabrizio Gennari, the WORKAROUND documented in https://help.ubuntu.com/community/RadeonDriver#HDMI_Audio would be the current method of enablement going forward due to commit 108dc8e8b44a4c64ac53676cc05f6234340ccd4a so further testing at this point is unnecessary. I'll mark this Triaged for now, and we can keep an eye on upstream progress towards this chipset:
Author: Alex Deucher <email address hidden> 2013-10-14 12:17:50
Committer: Alex Deucher <email address hidden> 2013-10-18 15:16:19
    drm/radeon: rework audio option
    In 3.12 I changed audio to be enabled by default, but you still had to turn it on via xrandr. This was confusing to users so change it to minic the previous behavior:
    - audio option is set to -1 (auto) by default which is the current 3.12 behavior (audio is enabled but requires xrandr to turn it on).
    - if audio = 1, the audio is enabled without needing to mess with xrandr (previous behavior)
    - audio = 0 disables audio
    It retains the new feature of allowing the user to enable audio on the fly with xrandr, but turns audio on automatically if radeon.audio=1 is set which is what most users expect.

Changed in linux (Ubuntu):
importance: Medium → Low
status: Confirmed → Triaged
tags: added: kernel-bug-exists-upstream-v3.13-rc3
removed: kernel-bug-exists-upstream
madbiologist (me-again)
summary: - 1002:9715 HDMI: no sound
+ [1002:9715] Radeon HD 4250 HDMI: no sound
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.