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.
You need to boot with radeon.audio=1 on the kernel command line in grub to enable audio.
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.
Created attachment 80801 [details] [review] fix AVI infoframe Does the attached kernel patch along with the radeon.audio=1 help?
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.
(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 ...
(In reply to comment #5) > option radeon audio=1 Oops, should be options radeon audio=1
The kernel command line works regardless of whether the driver was built into the kernel or as a module.
(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.
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.
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.
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.
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.