https://bugs.freedesktop.org/show_bug.cgi?id=65730
Priority: medium Bug ID: 65730 Assignee: dri-devel@lists.freedesktop.org Summary: no sound via HDMI for Radeon 6850 mesa driver Severity: normal Classification: Unclassified OS: Linux (All) Reporter: jasontheparamedic@hotmail.com Hardware: x86-64 (AMD64) Status: NEW Version: unspecified Component: Drivers/DRI/R600 Product: Mesa
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-...
Thanks in advance for any assistance.
https://bugs.freedesktop.org/show_bug.cgi?id=65730
--- Comment #1 from Alex Deucher agd5f@yahoo.com --- You need to boot with radeon.audio=1 on the kernel command line in grub to enable audio.
https://bugs.freedesktop.org/show_bug.cgi?id=65730
--- Comment #2 from Jason jasontheparamedic@hotmail.com --- 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.
https://bugs.freedesktop.org/show_bug.cgi?id=65730
--- Comment #3 from Alex Deucher agd5f@yahoo.com --- Created attachment 80801 --> https://bugs.freedesktop.org/attachment.cgi?id=80801&action=edit fix AVI infoframe
Does the attached kernel patch along with the radeon.audio=1 help?
https://bugs.freedesktop.org/show_bug.cgi?id=65730
--- Comment #4 from Jason jasontheparamedic@hotmail.com --- 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.
https://bugs.freedesktop.org/show_bug.cgi?id=65730
--- Comment #5 from Andy Furniss adf.lists@gmail.com --- (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 ...
https://bugs.freedesktop.org/show_bug.cgi?id=65730
--- Comment #6 from Andy Furniss adf.lists@gmail.com --- (In reply to comment #5)
option radeon audio=1
Oops, should be
options radeon audio=1
https://bugs.freedesktop.org/show_bug.cgi?id=65730
--- Comment #7 from Michel Dänzer michel@daenzer.net --- The kernel command line works regardless of whether the driver was built into the kernel or as a module.
https://bugs.freedesktop.org/show_bug.cgi?id=65730
--- Comment #8 from Andy Furniss adf.lists@gmail.com --- (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.
https://bugs.freedesktop.org/show_bug.cgi?id=65730
--- Comment #9 from Jason jasontheparamedic@hotmail.com --- 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.
https://bugs.freedesktop.org/show_bug.cgi?id=65730
--- Comment #10 from Igor cheer6@gmail.com --- 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.
https://bugs.freedesktop.org/show_bug.cgi?id=65730
--- Comment #11 from Igor cheer6@gmail.com --- 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.
https://bugs.freedesktop.org/show_bug.cgi?id=65730
Andreas Boll andreas.boll.dev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|no sound via HDMI for |no sound via HDMI for |Radeon 6850 mesa driver |Radeon 6850 Product|Mesa |DRI Component|Drivers/DRI/R600 |DRM/Radeon
https://bugs.freedesktop.org/show_bug.cgi?id=65730
--- Comment #12 from Alex Deucher agd5f@yahoo.com --- Is this still an issue with a newer kernel?
https://bugs.freedesktop.org/show_bug.cgi?id=65730
Rafał Miłecki zajec5@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID
dri-devel@lists.freedesktop.org