Bug 65730 - no sound via HDMI for Radeon 6850
Summary: no sound via HDMI for Radeon 6850
Status: RESOLVED INVALID
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Radeon (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-13 19:55 UTC by Jason
Modified: 2015-07-13 20:26 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
fix AVI infoframe (4.35 KB, patch)
2013-06-13 22:49 UTC, Alex Deucher
no flags Details | Splinter Review

Description Jason 2013-06-13 19:55:23 UTC
Greetings, this is my first bug report so I apologize if it is placed in the wrong section.  I am unable to get sound via HDMI cable using the open source driver for my Radeon 6850.  I have (X)ubuntu 13.04 32bit system, using mesa 9.2, as provided by the xorg-edgers ppa, using all appropriate updates as passed downstream by the ppa.  Using the FGLRX driver does fix the sound issue along with providing a high level of hardware acceleration, but it does cripple me being able to play on some emulators due to the well-known buggy nature of the FGLRX driver.  I already made a report on the askubuntu.com forums, but so far there has been no response.  My motherboard's native sound card is broken, so currently I have my computer speakers plugged into the HD monitor, hence HDMI sound is my only choice at this time.  Here is a link to my askubuntu question (so as to avoid duplication of effort with providing info).

http://askubuntu.com/questions/306196/no-sound-via-hdmi-using-xubuntu-13-04-32-bit-amd-mesa-9-2

Thanks in advance for any assistance.
Comment 1 Alex Deucher 2013-06-13 20:33:38 UTC
You need to boot with radeon.audio=1 on the kernel command line in grub to enable audio.
Comment 2 Jason 2013-06-13 22:42:28 UTC
Indeed I had already tried that in my /etc/default/grub file.  I edited both lines and rebooted...
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash radeon.audio=1"
GRUB_CMDLINE_LINUX="radeon.audio=1"

Sound does not work.
Comment 3 Alex Deucher 2013-06-13 22:49:41 UTC
Created attachment 80801 [details] [review]
fix AVI infoframe

Does the attached kernel patch along with the radeon.audio=1 help?
Comment 4 Jason 2013-06-14 00:04:34 UTC
Before I being, I must make a disclaimer that I am not a Linux genius by any means, but a moderate user, able and willing to find my way around things.  I do occasionally assist one of the pcsx2 emulator devs with me applying and testing various patches for the code.  Sometimes I need help, though, finding the correct file to patch, as I am not a coder.  Anyways, back to the topic at hand.

I'm assuming the file in question should be r600_hdmi.c?

I have checked using catfish file searcher and also manually for this file.  This includes the /lib/modules/3.8.0-23-generic/kernel/drivers/gpu/drm/radeon directory.  All I have is radeon.ko in that directory.  In other words, I don't see any trace of where r600_hdmi.c is or should be anywhere in my file system.

Again I apologize for the inconvenenience.
Comment 5 Andy Furniss 2013-06-14 08:57:16 UTC
(In reply to comment #4)
> Before I being, I must make a disclaimer that I am not a Linux genius by any
> means, but a moderate user, able and willing to find my way around things. 
> I do occasionally assist one of the pcsx2 emulator devs with me applying and
> testing various patches for the code.  Sometimes I need help, though,
> finding the correct file to patch, as I am not a coder.  Anyways, back to
> the topic at hand.
> 
> I'm assuming the file in question should be r600_hdmi.c?
> 
> I have checked using catfish file searcher and also manually for this file. 
> This includes the
> /lib/modules/3.8.0-23-generic/kernel/drivers/gpu/drm/radeon directory.  All
> I have is radeon.ko in that directory.  In other words, I don't see any
> trace of where r600_hdmi.c is or should be anywhere in my file system.
> 
> Again I apologize for the inconvenenience.

I am not a dev and don't know ubuntu or any distro really.

You would need to be building your own kernels and so have the kernel source tree to find hdmi.c.

One thing that puzzles me is the use of grub command line to pass module parameters - I thought that would be if radeon was built into kernel, but as you show you are using a module.

If you search for how to set module parameters in ubuntu you may have more luck - it will involve putting 

option radeon audio=1 

somewhere and regenerating something ...
Comment 6 Andy Furniss 2013-06-14 09:32:07 UTC
(In reply to comment #5)

> option radeon audio=1 

Oops, should be 

options radeon audio=1
Comment 7 Michel Dänzer 2013-06-14 11:03:08 UTC
The kernel command line works regardless of whether the driver was built into the kernel or as a module.
Comment 8 Andy Furniss 2013-06-14 11:43:54 UTC
(In reply to comment #7)
> The kernel command line works regardless of whether the driver was built
> into the kernel or as a module.

Oh OK, sorry for the noise.
Comment 9 Jason 2013-06-14 18:01:14 UTC
Well, I downloaded the latest stable 3.9.6 kernel from www.kernel.org and applied the patch.  Apparently my system didn't like the new kernel because it broke my X.  I'm just not going to worry about this one for now.  Thanks for the assistance.
Comment 10 Igor 2013-08-04 06:39:30 UTC
It looks like the proposed patch is included into the 3.10.4 kernel. I've tried installing it and still no luck. I'm using Archlinux.

My output from the lspci and aplay utils is pretty the same.

I will be happy to provide more info. Please let me know if you need it.
Comment 11 Igor 2013-08-04 07:40:35 UTC
Well, I'm able to hear sound in Chromium and Firefox in youtube. However, I cannot hear any sound when I'm issuing
aplay -D plughw:1,3 /usr/share/sounds/alsa/Front_Center.wav
I cannot hear sound in KDE apps as well (kde sound test, vlc, mplayer).

I was able to hear "Center" when I tried switching to fglrx. Not sure if this is related to opensource driver or not.
Comment 12 Alex Deucher 2014-02-09 23:43:53 UTC
Is this still an issue with a newer kernel?


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.